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: dri-devel@lists.freedesktop.org ReportedBy: da_fox@mad.scientist.com
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.
https://bugs.freedesktop.org/show_bug.cgi?id=32422
--- Comment #1 from Da Fox da_fox@mad.scientist.com 2010-12-15 11:30:51 PST --- (In reply to comment #0)
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.
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.
https://bugs.freedesktop.org/show_bug.cgi?id=32422
--- Comment #2 from Alex Deucher agd5f@yahoo.com 2010-12-15 11:32:20 PST --- What GPU is this? Can you attach your xorg log and dmesg?
https://bugs.freedesktop.org/show_bug.cgi?id=32422
--- Comment #3 from Da Fox da_fox@mad.scientist.com 2010-12-15 11:35:43 PST --- Created an attachment (id=41151) --> (https://bugs.freedesktop.org/attachment.cgi?id=41151) xorg log
https://bugs.freedesktop.org/show_bug.cgi?id=32422
--- Comment #4 from Da Fox da_fox@mad.scientist.com 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
https://bugs.freedesktop.org/show_bug.cgi?id=32422
--- Comment #5 from Da Fox da_fox@mad.scientist.com 2010-12-15 11:48:18 PST --- Hardware is an IBM Thinkpad T42, which has a ATI Radeon 9600 Mobility M10 / rv350 graphics card.
https://bugs.freedesktop.org/show_bug.cgi?id=32422
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #41152|application/octet-stream |text/plain mime type| | Attachment #41152|0 |1 is patch| |
https://bugs.freedesktop.org/show_bug.cgi?id=32422
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #6 from Alex Deucher agd5f@yahoo.com 2010-12-15 12:11:49 PST ---
*** This bug has been marked as a duplicate of bug 31708 ***
https://bugs.freedesktop.org/show_bug.cgi?id=32422
--- Comment #7 from Manuel Lauss manuel.lauss@gmail.com 2010-12-15 12:22:40 PST --- (In reply to comment #6)
*** 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).
https://bugs.freedesktop.org/show_bug.cgi?id=32422
--- Comment #8 from Michel Dänzer michel@daenzer.net 2010-12-16 08:40:47 PST --- (In reply to comment #7)
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)
https://bugs.freedesktop.org/show_bug.cgi?id=32422
--- Comment #9 from Da Fox da_fox@mad.scientist.com 2010-12-20 10:35:54 PST --- (In reply to comment #8)
(In reply to comment #7)
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.
https://bugs.freedesktop.org/show_bug.cgi?id=32422
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|DUPLICATE |
--- Comment #10 from Michel Dänzer michel@daenzer.net 2010-12-21 00:14:02 PST --- Really looks like a separate bug.
https://bugs.freedesktop.org/show_bug.cgi?id=32422
--- Comment #11 from Michel Dänzer michel@daenzer.net 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.
https://bugs.freedesktop.org/show_bug.cgi?id=32422
--- Comment #12 from Da Fox da_fox@mad.scientist.com 2010-12-21 14:22:11 PST --- (In reply to comment #11)
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.
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.
https://bugs.freedesktop.org/show_bug.cgi?id=32422
Jerome Glisse glisse@freedesktop.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Large images displayed in |[RADEON:KMS:TTM] large |Firefox appear corrupted |images displayed in Firefox | |appear corrupted
https://bugs.freedesktop.org/show_bug.cgi?id=32422
--- Comment #13 from Veli-Jussi Raitila vjr@iki.fi 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.
https://bugs.freedesktop.org/show_bug.cgi?id=32422
--- Comment #14 from Veli-Jussi Raitila vjr@iki.fi 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
https://bugs.freedesktop.org/show_bug.cgi?id=32422
--- Comment #15 from Michel Dänzer michel@daenzer.net 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.
https://bugs.freedesktop.org/show_bug.cgi?id=32422
--- Comment #16 from Veli-Jussi Raitila vjr@iki.fi 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.
https://bugs.freedesktop.org/show_bug.cgi?id=32422
--- Comment #18 from Da Fox da_fox@mad.scientist.com 2012-03-15 04:03:48 UTC --- (In reply to comment #17)
asasassadadasdasdasdasdasdadasdad
I'm terribly sorry, please ignore that.
https://bugs.freedesktop.org/show_bug.cgi?id=32422
--- Comment #17 from Da Fox da_fox@mad.scientist.com 2012-03-15 04:02:49 PDT --- asasassadadasdasdasdasdasdadasdad
https://bugs.freedesktop.org/show_bug.cgi?id=32422
Martin Peres martin.peres@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|REOPENED |RESOLVED
--- Comment #19 from Martin Peres martin.peres@free.fr --- -- 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.
dri-devel@lists.freedesktop.org