https://bugs.freedesktop.org/show_bug.cgi?id=94933
Bug ID: 94933 Summary: [RV610] Freeze when turning on an external monitor after resume from suspend Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/Radeon Assignee: dri-devel@lists.freedesktop.org Reporter: nicolamori@aol.com
I have a laptop with a Mobility Radeon HD3470 (RV610) and Plasma 5.6.2 as desktop environment. After suspending to RAM and resuming, I experience a system freeze when trying to switch to a dual monitor setup using an external monitor connected to the VGA output. The dual monitor can be turned on without problems before the suspend/resume cycle. I don't know which logs/information could be useful to diagnose the problem, so I will provide it on demand. Thanks.
System details -------------- VGA: Mobility Radeon HD3470 (RV610) OS: ArchLinux 64 bit, kernel 4.4.7, xf86-video-ati 7.7.0 Desktop: Plasma 5.6.2 (with KF5 5.21 and Qt 5.6.0)
Steps to reproduce ------------------ - Start the system with only the laptop panel turned on - Suspend to RAM and then resume - Connect an external monitor - Enable the external monitor with xrandr or with the KCM module (System settings -> Display and Monitor -> Display configuration)
https://bugs.freedesktop.org/show_bug.cgi?id=94933
--- Comment #1 from Alex Deucher alexdeucher@gmail.com --- Please attach your xorg log and dmesg output. Does the whole system freeze or just X?
https://bugs.freedesktop.org/show_bug.cgi?id=94933
--- Comment #2 from Nicola Mori nicolamori@aol.com --- Created attachment 122958 --> https://bugs.freedesktop.org/attachment.cgi?id=122958&action=edit dmesg
https://bugs.freedesktop.org/show_bug.cgi?id=94933
--- Comment #3 from Nicola Mori nicolamori@aol.com --- Created attachment 122959 --> https://bugs.freedesktop.org/attachment.cgi?id=122959&action=edit Xorg.0.log
https://bugs.freedesktop.org/show_bug.cgi?id=94933
--- Comment #4 from Nicola Mori nicolamori@aol.com --- The freeze is only related to X, I guess. If, after triggering it, I'm quick enough to switch to a tty then the system is still responsive, I can log in and input commands to the shell (this is how I got the dmesg after the freeze). If instead I wait a bit after the freeze then the keyboard and the mouse become unresponsive, and pressing Ctrl+Alt+F2 has no effect. The system gets stuck with a black screen, the mouse cursor can still be moved around but clicks have no effect. The same happens when switching back to X from the tty after the "quick switch to tty" mentioned above.
https://bugs.freedesktop.org/show_bug.cgi?id=94933
--- Comment #5 from Michel Dänzer michel@daenzer.net --- The X desktop size changes from 1280x800 to 3200x1080 around the time the GPU hangs. Can you also reproduce the problem by only changing the desktop size, without changing anything about the external monitor, e.g. using something like
xrandr --fb 3200x1080
?
https://bugs.freedesktop.org/show_bug.cgi?id=94933
--- Comment #6 from Nicola Mori nicolamori@aol.com --- Changing the desktop size screws the screen but the system is still responsive. I can go back to a fully working situation with
xrandr --fb 1280x800
I attach the relevant parts of dmesg and Xorg.0.log.
https://bugs.freedesktop.org/show_bug.cgi?id=94933
--- Comment #7 from Nicola Mori nicolamori@aol.com --- Created attachment 122961 --> https://bugs.freedesktop.org/attachment.cgi?id=122961&action=edit dmesg on screen resize
https://bugs.freedesktop.org/show_bug.cgi?id=94933
--- Comment #8 from Nicola Mori nicolamori@aol.com --- Created attachment 122962 --> https://bugs.freedesktop.org/attachment.cgi?id=122962&action=edit Xorg.0.log for screen resize
https://bugs.freedesktop.org/show_bug.cgi?id=94933
--- Comment #9 from Alex Deucher alexdeucher@gmail.com --- Does disabling dpm fix the issue? remove radeon.dpm=1 from your kernel command line in grub. dpm is disabled by default on r6xx due to stability issues.
https://bugs.freedesktop.org/show_bug.cgi?id=94933
--- Comment #10 from Nicola Mori nicolamori@aol.com --- Yes, disabling dpm the problem vanishes.
https://bugs.freedesktop.org/show_bug.cgi?id=94933
Martin Peres martin.peres@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED
--- Comment #11 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/707.
dri-devel@lists.freedesktop.org