Skip to contentSkip to conversation

New: Large images displayed in Firefox appear corrupted

Bug 32422 [email protected] 1 participant 22 messages Dec 15, 2010 – Nov 20, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=32422

Summary: Large images displayed in Firefox appear corrupted
Product: DRI
Version: unspecified
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]

Created an attachment (id=41150)
--> (https://bugs.freedesktop.org/attachment.cgi?id=41150)
Picture describing a thousand words.

"A picture says more than a thousand words" (aka see attachment)

This is what happens when I try to view the XKCD "Online Communities 2" map
(http://xkcd.com/802_large/) or other large images in firefox.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 32422] Large images displayed in Firefox appear corrupted

https://bugs.freedesktop.org/show_bug.cgi?id=32422

--- Comment #1 from Da Fox <[email protected]> 2010-12-15 11:30:51 PST --- (In reply to comment #0)

Quoted 1 line

Created an attachment (id=41150)

--> (https://bugs.freedesktop.org/attachment.cgi?id=41150)

Quoted 6 lines

Picture describing a thousand words.

"A picture says more than a thousand words" (aka see attachment)

This is what happens when I try to view the XKCD "Online Communities 2" map
(http://xkcd.com/802_large/) or other large images in firefox.

Additional information:
This only happens with 'Option NoAccel="false"' in xorg.conf. Enabling NoAccel (e.g. turning acceleration OFF, using 'softpipe') the image renders as expected.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 32422] Large images displayed in Firefox appear corrupted

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=32422

--- Comment #2 from Alex Deucher <[email protected]> 2010-12-15 11:32:20 PST --- What GPU is this? Can you attach your xorg log and dmesg?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 32422] Large images displayed in Firefox appear corrupted

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=32422

--- Comment #3 from Da Fox <[email protected]> 2010-12-15 11:35:43 PST --- Created an attachment (id=41151)
--> (https://bugs.freedesktop.org/attachment.cgi?id=41151)
xorg log

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 32422] Large images displayed in Firefox appear corrupted

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=32422

--- Comment #4 from Da Fox <[email protected]> 2010-12-15 11:42:19 PST --- Created an attachment (id=41152)
--> (https://bugs.freedesktop.org/attachment.cgi?id=41152)
output of /var/log/messages since bootup

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 32422] Large images displayed in Firefox appear corrupted

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=32422

--- Comment #5 from Da Fox <[email protected]> 2010-12-15 11:48:18 PST --- Hardware is an IBM Thinkpad T42, which has a ATI Radeon 9600 Mobility M10 / rv350 graphics card.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 32422] Large images displayed in Firefox appear corrupted

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=32422

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #41152|application/octet-stream    |text/plain
          mime type|                            |
  Attachment #41152|0                           |1
           is patch|                            |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 32422] Large images displayed in Firefox appear corrupted

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=32422

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #6 from Alex Deucher <[email protected]> 2010-12-15 12:11:49 PST ---

*** This bug has been marked as a duplicate of bug 31708 ***

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 32422] Large images displayed in Firefox appear corrupted

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=32422

--- Comment #7 from Manuel Lauss <[email protected]> 2010-12-15 12:22:40 PST --- (In reply to comment #6)

Quoted 2 lines

*** This bug has been marked as a duplicate of bug 31708 ***

I don't think this bug is related to 31708: Even with the patch for bug 31708 applied, I see the same corruption in firefox (and only firefox; chrome, imagemagick, the KDE image viewer for example all display these large images correctly).

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 32422] Large images displayed in Firefox appear corrupted

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=32422

--- Comment #8 from Michel Dänzer <[email protected]> 2010-12-16 08:40:47 PST --- (In reply to comment #7)

Quoted 1 line

Even with the patch for bug 31708 applied, I see the same corruption in firefox [...]

That's with the latest version (v3) of the patch? (Jerome even submitted v4 later, but I don't think the difference from v3 should be relevant for this problem; wouldn't hurt to try of course)

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#10 lore raw

[Bug 32422] Large images displayed in Firefox appear corrupted

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=32422

--- Comment #9 from Da Fox <[email protected]> 2010-12-20 10:35:54 PST --- (In reply to comment #8)

Quoted 6 lines

(In reply to comment #7)

Quoted 1 line

Even with the patch for bug 31708 applied, I see the same corruption in firefox [...]

That's with the latest version (v3) of the patch? (Jerome even submitted v4 later, but I don't think the difference from v3 should be relevant for this problem; wouldn't hurt to try of course)

I have tried with the version present in 2.6.37-rc6, which according to the changelog
(http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.37-rc6) is v3.

ps.
I only noticed that there were new posts on this bug after submitting my comment on the other bug.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 32422] Large images displayed in Firefox appear corrupted

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=32422

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |

--- Comment #10 from Michel Dänzer <[email protected]> 2010-12-21 00:14:02 PST --- Really looks like a separate bug.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#12 lore raw

[Bug 32422] Large images displayed in Firefox appear corrupted

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=32422

--- Comment #11 from Michel Dänzer <[email protected]> 2010-12-21 01:48:11 PST --- Created an attachment (id=41339)
View: https://bugs.freedesktop.org/attachment.cgi?id=41339
Review: https://bugs.freedesktop.org/review?bug=32422&attachment=41339

Always include CPU domain for BO eviction

Does this patch help?

Though even if it does, I don't understand why it fails to evict to GTT with Jerome's v3 fix, might be interesting to add some debugging output to find out why ttm_bo_mem_space() fails.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#13 lore raw

[Bug 32422] Large images displayed in Firefox appear corrupted

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=32422

--- Comment #12 from Da Fox <[email protected]> 2010-12-21 14:22:11 PST --- (In reply to comment #11)

Quoted 1 line

Created an attachment (id=41339)

View: https://bugs.freedesktop.org/attachment.cgi?id=41339
Review: https://bugs.freedesktop.org/review?bug=32422&attachment=41339

Quoted 7 lines

Always include CPU domain for BO eviction

Does this patch help?

Though even if it does, I don't understand why it fails to evict to GTT with Jerome's v3 fix, might be interesting to add some debugging output to find out why ttm_bo_mem_space() fails.

Sorry, it still fails to render properly. I did notice that at least for the xkcd image it sometimes displays properly, even with only the v3 patch. However I haven't yet been able to determine when this happens. I just happened to notice this because I left the xkcd image open in a tab, and when I later came back to that tab I could see the whole image and pan around without issue. I also don't know yet if this also happens on 2.6.36, I would need to 'test'(try) that.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#14 lore raw

[Bug 32422] [RADEON:KMS:TTM] large images displayed in Firefox appear corrupted

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=32422

Jerome Glisse <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|Large images displayed in   |[RADEON:KMS:TTM] large
                   |Firefox appear corrupted    |images displayed in Firefox
                   |                            |appear corrupted
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#15 lore raw

[Bug 32422] [RADEON:KMS:TTM] large images displayed in Firefox appear corrupted

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=32422

--- Comment #13 from Veli-Jussi Raitila <[email protected]> 2011-08-12 09:34:01 PDT --- I've had this same issue for ages on X1400. I has been seemingly random, but always with large images. With this one I can finally reproduce it reliably! Just pan around the xkcd-image for a while, keep switching between tabs and it will happen eventually.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#16 lore raw

[Bug 32422] [RADEON:KMS:TTM] large images displayed in Firefox appear corrupted

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=32422

--- Comment #14 from Veli-Jussi Raitila <[email protected]> 2011-08-12 09:38:47 PDT --- Created an attachment (id=50166)
--> (https://bugs.freedesktop.org/attachment.cgi?id=50166)
Image corruption on Firefox

linux-3.0.1
xf86-video-ati-6.14.2
xorg-server-1.10.3.901
firefox-5.0

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#17 lore raw

[Bug 32422] [RADEON:KMS:TTM] large images displayed in Firefox appear corrupted

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=32422

--- Comment #15 from Michel Dänzer <[email protected]> 2011-08-15 02:44:43 PDT --- Created an attachment (id=50224)
View: https://bugs.freedesktop.org/attachment.cgi?id=50224
Review: https://bugs.freedesktop.org/review?bug=32422&attachment=50224

Some additional debugging output for the failure

Please attach dmesg from reproducing the problem with this kernel patch applied.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#18 lore raw

[Bug 32422] [RADEON:KMS:TTM] large images displayed in Firefox appear corrupted

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=32422

--- Comment #16 from Veli-Jussi Raitila <[email protected]> 2011-08-15 08:39:26 PDT --- Ah. Sorry. I examined the original reporter's logs and compared them to mine. I have no errors in dmesg related to TTM (or anything else for that matter) whatsoever. Or do I need to enable some particular debugging?

Might be that my problem is different - however the symptoms are identical.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#19 lore raw

[Bug 32422] [RADEON:KMS:TTM] large images displayed in Firefox appear corrupted

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=32422

--- Comment #17 from Da Fox <[email protected]> 2012-03-15 04:02:49 PDT --- asasassadadasdasdasdasdasdadasdad

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#20 lore raw

[Bug 32422] [RADEON:KMS:TTM] large images displayed in Firefox appear corrupted

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=32422

--- Comment #18 from Da Fox <[email protected]> 2012-03-15 04:03:48 UTC --- (In reply to comment #17)

Quoted 1 line

asasassadadasdasdasdasdasdadasdad

I'm terribly sorry, please ignore that.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#21 lore raw

[Bug 32422] [RADEON:KMS:TTM] large images displayed in Firefox appear corrupted

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=32422

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|REOPENED                    |RESOLVED

--- Comment #19 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/965.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel