Radeon rv635 with KMS and no dpm, intermittent/random GPU lockup
https://bugs.freedesktop.org/show_bug.cgi?id=93911
Bug ID: 93911
Summary: Radeon rv635 with KMS and no dpm, intermittent/random
GPU lockup
Product: Mesa
Version: 11.0
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
I am running Slackware Linux on my laptop with ATI/AMD Mobility Radeon HD 3670.
I have a recurring crash/lockup that happens intermittently while running X:
my screen will spontaneously freeze for a few seconds, then the screen goes blank black or white, or slowly change colors, for a few seconds, during which it's still frozen (mouse/keyboard input has no effect, even CTRL-ALT-F1 or CTRL-ALT-BACKSPACE). Afterwards it returns me to a distorted/garbled version of my desktop, and I can switch to a virtual terminal and kill X or reboot. Sometimes instead -- rarely -- the system recovers successfully and I am returned to a fully functional X desktop after the lockup. I have saved dmesg from both versions of the crash.
I haven't figured out a way to trigger it. The only common thread I've noticed is it seems to only happen when the system is under some kind of load, and is updating the display. But it happens fairly regularly, something like once a week.
I have tried adjusting some X radeon settings (man radeon), and some kernel radeon settings (modinfo radeon). After I added dpm=0 to radeon module parameters, the crash behavior became more simple and consistent (now it's almost always a slow fade to white followed by a glitched desktop screen) and showed closer to a full recovery. Nothing I've tried has stopped the lockup from occurring entirely, except disabling kernel modesetting (which leaves me with poor resolution options).
root@Dell-XPS:~# uname -a Linux Dell-XPS 4.1.15 #2 SMP Tue Dec 15 21:00:31 CST 2015 x86_64 Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz GenuineIntel GNU/Linux
Signature · 2 lines
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
https://bugs.freedesktop.org/show_bug.cgi?id=93911
--- Comment #1 from David Breese <[email protected]> --- Created attachment 121365
--> https://bugs.freedesktop.org/attachment.cgi?id=121365&action=edit
dmesg (after recovery failed)
Signature · 2 lines
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
https://bugs.freedesktop.org/show_bug.cgi?id=93911
--- Comment #2 from David Breese <[email protected]> --- Created attachment 121366
--> https://bugs.freedesktop.org/attachment.cgi?id=121366&action=edit
dmesg (after recovery succeeded)
Signature · 2 lines
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
https://bugs.freedesktop.org/show_bug.cgi?id=93911
--- Comment #3 from David Breese <[email protected]> --- Created attachment 121367
--> https://bugs.freedesktop.org/attachment.cgi?id=121367&action=edit/etc/X11/xorg.conf.d/radeon.conf
Signature · 2 lines
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
https://bugs.freedesktop.org/show_bug.cgi?id=93911
--- Comment #4 from David Breese <[email protected]> --- Created attachment 121368
--> https://bugs.freedesktop.org/attachment.cgi?id=121368&action=edit/etc/modprobe.d/radeon.conf
Signature · 2 lines
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
https://bugs.freedesktop.org/show_bug.cgi?id=93911
--- Comment #5 from David Breese <[email protected]> --- Created attachment 121369
--> https://bugs.freedesktop.org/attachment.cgi?id=121369&action=edit/proc/cmdline
Signature · 2 lines
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
https://bugs.freedesktop.org/show_bug.cgi?id=93911
--- Comment #6 from David Breese <[email protected]> --- Created attachment 121370
--> https://bugs.freedesktop.org/attachment.cgi?id=121370&action=edit
Versions of software currently installed
The attached dmesg (after successful recovery) is from a month or two ago, some software versions were not quite the same.
Signature · 2 lines
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
https://bugs.freedesktop.org/show_bug.cgi?id=93911
Michel D�nzer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE--- Comment #7 from Michel D�nzer <[email protected]> --- Probably a duplicate of bug 91268, please try a newer kernel or the fix referenced there.
*** This bug has been marked as a duplicate of bug 91268 ***
Signature · 2 lines
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
https://bugs.freedesktop.org/show_bug.cgi?id=93911
--- Comment #8 from David Breese <[email protected]> ---
Thank you very much for pointing me to that, it looks right. I didn't manage to find it when searching the bug tracker.
I've now upgraded to kernel 4.4 which contains the relevant commit. No more crashes so far after 3 days of heavy use -- normally I would have expected a crash sometime.
I'll post back if I do see the crash again, but provisionally I'll say this did the trick.
Thanks!
Signature · 2 lines
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
https://bugs.freedesktop.org/show_bug.cgi?id=93911
David Breese <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|DUPLICATE |------ Comment #9 from David Breese <[email protected]> --- This did not fix the issue. Still present in kernel 4.4 and 4.4.1, both of which I believe contain the relevant commit mentioned in bug 91268.
No idea what this means or if it will be any use, but I notice that running without "iommu=soft" on the kernel command line, suddenly the bug starts occurring more than once an hour. I have been running with "iommu=soft", in which case the bug seems to happen more like once every 20 hours of X11 use.
Otherwise, mostly still the same package versions and dmesg as posted above, but I can post the precise new info if desired. Let me know what info I can provide that would be useful.
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
https://bugs.freedesktop.org/show_bug.cgi?id=93911
David Breese <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |DUPLICATE--- Comment #10 from David Breese <[email protected]> ---
Seems to be fixed by either 4.4.2 or 4.4.3. I haven't experienced the issue in a month now since upgrading from 4.4.1. I can only assume this was indeed a duplicate of bug 91268 as Michel guessed, and I was somehow wrong in thinking that Slackware's 4.4 and 4.4.1 kernels contained the commit from that bug (96ea47c0ec8c012509116bee8c57414281428fc4).
Thanks a bunch to the radeon devs for all your work.
David
*** This bug has been marked as a duplicate of bug 91268 ***
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