The default bug view has changed. See this FAQ.

Black image when scaled to fit

RESOLVED DUPLICATE of bug 411831

Status

()

Firefox
General
RESOLVED DUPLICATE of bug 411831
9 years ago
9 years ago

People

(Reporter: Mark Stokes, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(2 attachments)

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b2) Gecko/2008012817 Firefox/3.0b2
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b2) Gecko/2008012817 Firefox/3.0b2

When visiting webpages I find some images are black. It seems some scaled images are not working. If I view a large image and firefox3 scales the picture to fit in the browser window I get a black image. Viewing a picture at the original size is no problem. I find this problem shows up frequently on ebay auctions as the thumbnail image at the top is just a rescaled image of a larger picture lower down the page. 

Reproducible: Sometimes

Steps to Reproduce:
1.Look for images that have been rescaled to fit.
2.ebay actions 1 in 10 auctions seem to be affected.
3.
Actual Results:  
Instead of seeing a image I get a 100% black image

Expected Results:  
I would normally see the correct picture

I am using Linux. I am using the xf86-video-ati driver. I have posted this issue on the Archlinux forums others seem to be having the same problem. 1 other poster was using intel driver.
http://bbs.archlinux.org/viewtopic.php?id=43127
(Reporter)

Comment 1

9 years ago
Created attachment 300448 [details]
Screenshot of the image problem.

Comment 2

9 years ago
Same for me using beta3 on debian

Comment 3

9 years ago
Ditto with the black images. I'm using latest xserver-xorg-video-ati, on ubuntu latest (hardy heron development snapshot).

In addition to the above, I'm also seeing odd corruptions where portions of other off-screen bitmaps are getting reused in situations where firefox appears to expect an empty bitmap to exist. This only happens after many images have been browsed through, such as in an image gallery.

I don't know, the latter smells like some sort of refcount problem, while the former appears to be firefox using the video driver to resize and it, perhaps, doing the wrong thing?
I was brought here via the comments on :
http://blogs.sun.com/richb/entry/more_firefox_3_weirdness#comment-1204564956000

Does the suggestion of updating your cairo libs fix the issue or is it unrelated?

Comment 5

9 years ago
@John: "Does the suggestion of updating your cairo libs fix the issue or is it
unrelated?"

No. See my new comment to that blog post.

Comment 6

9 years ago
> In addition to the above, I'm also seeing odd corruptions where portions of
> other off-screen bitmaps are getting reused 

I've seen this when using Netvibes.  I can no longer reproduce the problem.  But when I could, it was strictly with the beta that came with Hardy.  On the same boxes, if I grabbed the latest FF trunk or built FF from source the problem wouldn't happen.  Is there any chance it's something the distro is (or isn't) doing?

Comment 7

9 years ago
I'm experiencing something similar using the latest intel driver (both EXA and XAA but seems to happen more often using XAA).

Also rendering this page displays various parts of my desktop or the previous page instead of showing the build log: http://buildlogs.pld-linux.org/index.php?dist=th&arch=x86_64&ok=0&name=openoffice.org

Comment 8

9 years ago
I just pulled the 3b4 for Linux, unpacked it, wiped out (well, moved out of the way) my ~/.mozilla/firefox/* profile directory, and went to http://www.herdthinners.com - and saw the problem. This happens no matter what the DPI setting of my environment is, although by default I run a 149 DPI display.

Comment 9

9 years ago
Created attachment 309208 [details]
An image from theoildrum.com

I see this all the time. It comes and goes though!
Also, perhaps related, some images partially load, with the rest black, or load misaligned in their boxes (the image is shifted downward in its box). It seems to happen for images that are resized.

I'm using Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5pre) Gecko/2008031304 Minefield/3.0b5pre

Comment 10

9 years ago
same problem, using fglrx driver on r600 video card, Viewsonic VP191b monitor.

Some images are black, some partially load.

Comment 11

9 years ago
Still the same problem with 3.0b5pre. I use xf86-video-intel 2.2.1 with XAA. Images are pratly or fully black when Firefox resizes them.

BTW, why is this bug Unconfirmed yet?


Mozilla/5.0 (X11; U; Linux i686; mk; rv:1.9b5pre) Gecko/2008032104 Minefield/3.0b5pre
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 411831

Comment 13

9 years ago
Same (black boxes on scaled images) here, using FF3.0 and radeon driver

xf86-video-ati-6.8.0-i486-1 Slackware-current package
xorg-server-1.4.0.90-i486-1 Slackware-current package
ATI Radeon Mobility M7 LW [Radeon Mobility 7500]

Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9) Gecko/2008052912 Firefox/3.0

Comment 14

9 years ago
(In reply to comment #13)
> Same (black boxes on scaled images) here, using FF3.0 and radeon driver
> 
> xf86-video-ati-6.8.0-i486-1 Slackware-current package
> xorg-server-1.4.0.90-i486-1 Slackware-current package
> ATI Radeon Mobility M7 LW [Radeon Mobility 7500]
> 
> Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9) Gecko/2008052912 Firefox/3.0
> 
Sorry for bugging... is already solved.
You need to log in before you can comment on or make changes to this bug.