https://bugs.freedesktop.org/show_bug.cgi?id=54129
Bug #: 54129 Summary: [bisected] Kernel 3.5.0 breaks KMS on Radeon RV250 Classification: Unclassified Product: DRI Version: unspecified Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: major Priority: medium Component: DRM/Radeon AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: mariofutire@googlemail.com
Created attachment 66187 --> https://bugs.freedesktop.org/attachment.cgi?id=66187 Screenshot of bad rendering
I run Fedora 17 and since they have shipped a kernel 3.5.X I have a lot of artefacts when I log in KDE.
Kernel 3.4.6 works ok.
My hardware in a Thinkpad laptop with a
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV250 [Mobility FireGL 9000] (rev 02)
and I load the R200 microcode.
Basically, as soon as I log on KDE I have a lot of rectangular areas which are left black. They are 100% reproducible always with the same pattern (at least in the few seconds before I logoff again), and they move around when I click or windows are displayed.
If I pass the option radeon.modeset=0 to the kernel (in grub) there are no artefacts, but of course XV support is not there so this is not really an option as video player struggle a lot.
I managed to bisect the issue to the following commits:
bad ========= 3b7a2b2 drm/radeon: rework fence handling, drop fence list v7 skip ======== bb63556 drm/radeon: convert fence to uint64_t v4 good ======== d6999bc drm/radeon: replace the per ring mutex with a global one
"skip" here means that the kernel does not boot: after the linux penguin logo is displayed on the top left of the screen, nothing else happens, even though I am able to reboot pressing Ctrl-Alt-Del.
So there are 2 commits that could be responsible.
Please, let me know if there is anything I can provide on top of that.
https://bugs.freedesktop.org/show_bug.cgi?id=54129
--- Comment #1 from Andrea mariofutire@googlemail.com 2012-08-27 19:38:34 UTC --- Created attachment 66188 --> https://bugs.freedesktop.org/attachment.cgi?id=66188 Other example of bad rendering
https://bugs.freedesktop.org/show_bug.cgi?id=54129
Andrea mariofutire@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freedesktop.or | |g/show_bug.cgi?id=51344, | |https://bugzilla.redhat.com | |/show_bug.cgi?id=845639
https://bugs.freedesktop.org/show_bug.cgi?id=54129
--- Comment #2 from Jerome Glisse glisse@freedesktop.org 2012-08-27 20:19:04 UTC --- Does kernel patch :
http://people.freedesktop.org/~glisse/0001-drm-radeon-extra-type-safe-for-fe...
Helps ?
https://bugs.freedesktop.org/show_bug.cgi?id=54129
--- Comment #3 from Jerome Glisse glisse@freedesktop.org 2012-08-27 20:26:33 UTC --- Also can you test if booting with radeon.no_wb=1 fix the issue ?
https://bugs.freedesktop.org/show_bug.cgi?id=54129
--- Comment #4 from Andrea mariofutire@googlemail.com 2012-08-28 20:26:30 UTC --- (In reply to comment #3)
Also can you test if booting with radeon.no_wb=1 fix the issue ?
this did not make any difference (tested on v3.6-rc3 where the problems still exists)
https://bugs.freedesktop.org/show_bug.cgi?id=54129
--- Comment #5 from Andrea mariofutire@googlemail.com 2012-08-28 21:06:03 UTC --- (In reply to comment #2)
Does kernel patch :
http://people.freedesktop.org/~glisse/0001-drm-radeon-extra-type-safe-for-fe...
Helps ?
no difference.
https://bugs.freedesktop.org/show_bug.cgi?id=54129
Simon Kitching skitching@apache.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |skitching@apache.org
--- Comment #6 from Simon Kitching skitching@apache.org 2012-09-03 15:17:38 UTC --- I also had graphics corruption with a Radeon Mobility X1600 (RV350), and bisected to exactly the same two patches: bb63556 -- hangs on start of Plymouth 3b7a2b2 -- plymouth works again, but graphics corrupted.
The symptoms were somewhat different than described here: I got shimmery 70s paisley patterns rather than "black rectangles".
The problem continues up to 3.5.3. However 3.6.0-rc4 fixes the issue - graphics appear to work fine again.
https://bugs.freedesktop.org/show_bug.cgi?id=54129
--- Comment #7 from Alex Deucher agd5f@yahoo.com 2012-09-03 15:22:43 UTC --- (In reply to comment #6)
The problem continues up to 3.5.3. However 3.6.0-rc4 fixes the issue - graphics appear to work fine again.
Can you bisect to see what commit fixed the issue?
https://bugs.freedesktop.org/show_bug.cgi?id=54129
--- Comment #8 from Andrea mariofutire@googlemail.com 2012-09-03 20:19:45 UTC --- (In reply to comment #6)
I also had graphics corruption with a Radeon Mobility X1600 (RV350), and bisected to exactly the same two patches: bb63556 -- hangs on start of Plymouth 3b7a2b2 -- plymouth works again, but graphics corrupted.
The symptoms were somewhat different than described here: I got shimmery 70s paisley patterns rather than "black rectangles".
The problem continues up to 3.5.3. However 3.6.0-rc4 fixes the issue - graphics appear to work fine again.
Not here.
I've just tried 3.6-rc4 and I get the same corruptions.
https://bugs.freedesktop.org/show_bug.cgi?id=54129
Simon Kitching skitching@apache.org changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freedesktop.or | |g/show_bug.cgi?id=54662
--- Comment #9 from Simon Kitching skitching@apache.org 2012-09-08 06:48:22 UTC --- Sorry, have to take back that comment about 3.6-rc4+ working; I'm now getting the "black screen" problem consistently. I was definitely running the right kernel ("uname -a" was reporting 3.6-rc4+) and can only think that I accidentally fat-fingered the keyboard and selected the grub "recovery" option (ie with "nomodeset").
In short: 3.6-rc4+ just boots to a totally black screen for me, due to something merged in the 3.6-rc series. I've bisected this, and raised a separate bug (54662) for it. Interestingly, that commit is *also* about "radeon fence" handling.
I presume that this bug (54129) is still also present and lurking underneath the black screen - but obviously I can't test that.
https://bugs.freedesktop.org/show_bug.cgi?id=54129
--- Comment #10 from Alex Deucher agd5f@yahoo.com 2012-09-08 15:39:11 UTC --- Does X load ok if you disable acceleration:
Option "NoAccel" "TRUE"
in the device section of your xorg.conf?
https://bugs.freedesktop.org/show_bug.cgi?id=54129
Christian König deathsimple@vodafone.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|dri-devel@lists.freedesktop |deathsimple@vodafone.de |.org |
--- Comment #11 from Christian König deathsimple@vodafone.de 2012-09-09 09:47:55 UTC --- Created attachment 66876 --> https://bugs.freedesktop.org/attachment.cgi?id=66876 Possible fix
Please try the attached patch.
Also please supply the output of "sudo cat /sys/kernel/debug/dri/0/radeon_fence_info" with and without this patch.
Thx, Christian.
dri-devel@lists.freedesktop.org