Closed Bug 102401 Opened 23 years ago Closed 1 month ago

corrupted, resized image rendering, independent of page

Categories

(Core Graveyard :: Image: Painting, defect)

x86
Windows 98
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INCOMPLETE
Future

People

(Reporter: asanders, Unassigned)

References

Details

Attachments

(3 files)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4+) Gecko/20010929
BuildID:    2001092908

For the past several milestone releases, I've had images corrupted, including
images that are part of the browser skin.  Forcing a redraw usually clears up
the problem.  This current build still exhibits the problem.  I have a screen
grab to demonstrate, if I can figure out how to attach images to bugs.
The skin is usually only corrupted soon after the browser starts.

Reproducible: Often
(Win98; ATI Xpert98 AGP 2X; 128M RAM; Plenty of disk space)
I'm not sure what might be causing this ...

Reporter, can you verify that you installed to a clean dir, and tried a new
profile??  (Just running the checklist here...)
Blocks: 104992
***spam***

This bug has been marked as a dependency of bug 104992, which is a tracking bug
for a possible ATI videocard issue.
No longer blocks: 104992
Blocks: 104992
No longer blocks: 104992
I just got back from vacation and installed Linux on the same machine, and the
corruption doesn't show up on the Linux version of 0.9.4.

The mozillas under Windows were in clean dirs, although I haven't tried removing
the profile yet.
Blocks: 104992
This bug report has the advantage of being very descriptive, and includes a nice
attachment. I think we should confirm this bug as new, and set it as depending
on bug 104992, the ATI graphics card bug. Right now it is blocking 104992, but
we should switch that.

I can confirm this bug on Win 98 with 2001112104. I have an ATI Rage Pro LT,
running driver 4.11. I'm using DirectX 7.0 if it makes a difference.
Sheesh. Sorry. This time, really confirming.

Ignore my earlier comments re: blocking and depending please. It's fine.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → Future
*** Bug 123266 has been marked as a duplicate of this bug. ***
I have a GeForce2MX btw; that's Nvidia, not ATI.  Are we SURE my bug is a dupe
of this one?
Ok, I un-duped the previously duped bug. I missed the fact this was YAAI (yet
another ATI issue).

You need to be more patient. I mid-aired with you. I could have just fixed this
quietly but NO you HAD to humiliate me. :P
Undoing my changes.
This is a complete test case that "works" on Mozilla, Internet Explorer, Opera,
and even WebTV belive it or not. Alpha blended png files.

However on Mozilla the images become corrupted if the window size is too small
or you scroll it. Resizing the window (forcing a redraw) corrects it.
Problem appears on Windows XP with ATI Rage 128 and TNT Vanta cards.

Images are not rendered correctly if the page is scrolled, but will "fix" them
selves if the window is resized or redrawn.
Here is a page of mine with a corrupt image:

http://home.attbi.com/~ashitaka/panyo/

Scroll down (down button or down key) until you hit the W3C Certified button at
the bottom. It loads the bottom half first. Would like a confirmation on this.

The image loads correctly if I flip to it from another window or using PgDown.

Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:0.9.9) Gecko/20020311
I am able to reproduce comment #14.
Component: ImageLib → Image: GFX
Target Milestone: Future → mozilla1.1alpha
I have seen image corruption on web sites, too.

Most recently on http://www.cygwin.com/  The title .jpg banner gets corrupted if
I scroll down then back up.  It is fixed, as comment 13 says, when a refresh is
forced (resize/restore/etc).

I do not see the problem in comment 14.  I have an ATI card on W98.

Upon a little testing, the Cygwin graphic problem only occurrs when the height
of the jpg is scaled down to a size smaller than the original.  The more it is
scaled down, the more noticable the defects are.  Maybe that's a clue, who knows?
This looks the same as bug 151081, but 151081 has a better summary.  Could
someone with permissions change this summary to mention resized image corruption?
Summary: corrupted image rendering, independent of page → corrupted, resized image rendering, independent of page
This problem is very noticable (and reproducible) on this page showing a transit
system map: http://www.octranspo.com/mapscheds/tripplanning/lansdowne_map.htm.

Size your browser window so that only 3/4 of the width of the image is viewable
and ~4/5 its height.

Scrolling vertically has no impact, but scrolling hotizontally causes certain
sections of the image to shift up or down, causing the map to be completely
jumbled and unuseable.

Tested with 1.1 beta, WinXP, GeForce2MX.
Here's some info I found which may help people with ATI cards on Win9x/ME (which
is what this bug was originally filed about.)

Okay, I stumbled across the WinGimp web page at
http://www.gimp.org/~tml/gimp/win32/ and found that they too were having
problems with ATI cards.  I then did some more research and found that there are
a few modifications one can make to their system.ini file (again, don't do this
on Win2K or XP.)

In the [display] section of c:\windows\system.ini, try adding various
combinations of the following lines (and then rebooting):

devbmp = 0
stretchengine = 0
stretchblt = 0
outengine = 0

These will disable various (possibly defective) portions of your video driver. 
This will, of course, slow down various games/graphics.  The main one seems to
be "devbmp".  Try just that line first.  If the problem is still there, try the
adding the other lines.  Don't forget to reboot for each change you make.

Several of the sites I found on google said that ATI is aware of an issue with
the Rage/RageII series cards/drivers, but I couldn't find anything on their website.

If any of these modifications make any difference for anyone, please let us know.

Oh yeah, and if any of this totally hoses your machine, it's not my (or
mozilla.org's) fault :)
I tried those settings in various combinations, to no avail.

The image corruption (and a crasher I found) stopped for when I put the Windows
"Hardware acceleration" slider at the second notch from the left.
Unfortunately, that also caused _much_ choppiness while scrolling.

The settings in the [display] section of c:\windows\system.ini which that slider
changed were:
Mmio=0
SwCursor=1

On a better note, upgrading the video driver with the file wme-j5-30-1-b02.exe
from ATI's website made the scrolling smooth again, even though the "Hardware
acceleration" is still at the second notch from the left.
retargeting
Target Milestone: mozilla1.1alpha → Future
QA Contact: tpreston → image.gfx
Assignee: pavlov → nobody
Product: Core → Core Graveyard
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: