Bug 106979 - Cannot suspend system with Radeon RX550 [1002:699f] , kernel 4.17.0-0.rc7.git2.2.fc29
Summary: Cannot suspend system with Radeon RX550 [1002:699f] , kernel 4.17.0-0.rc7.git...
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-20 15:51 UTC by Adam Williamson
Modified: 2018-06-21 16:29 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Adam Williamson 2018-06-20 15:51:50 UTC
Yesterday I bought a Radeon RX550 adapter (PCI ID 1002:699f) to replace a dying GeForce for my desktop. It worked OK all day, but when I tried to suspend the system at the end of the day, it failed - the system was left running but unresponsive and had to be reset.

Looking at the logs of the boot which ended with the failed suspend attempt, I see this:

Jun 19 23:00:06 adam.happyassassin.net NetworkManager[1317]: <info>  [1529474406.7296] manager: sleep: sleep requested (sleeping: no  enabled: yes)
Jun 19 23:00:06 adam.happyassassin.net NetworkManager[1317]: <info>  [1529474406.7300] manager: NetworkManager state is now ASLEEP
Jun 19 23:00:06 adam.happyassassin.net gnome-shell[1729]: Screen lock is locked down, not locking
Jun 19 23:00:06 adam.happyassassin.net gnome-shell[1729]: Failed to set power save mode for output DP-1: Permission denied
Jun 19 23:00:06 adam.happyassassin.net gnome-shell[1729]: Failed to set power save mode for output DVI-D-1: Permission denied
Jun 19 23:00:07 adam.happyassassin.net kernel: ------------[ cut here ]------------
Jun 19 23:00:07 adam.happyassassin.net kernel: kernel BUG at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:4708!

...and that's all - the trace I'd expect to follow the 'kernel BUG' line does not appear.

This is on Fedora Rawhide with kernel 4.17.0-0.rc7.git2.2.fc29.x86_64 . The desktop is GNOME on Wayland, and I have two displays attached to the adapter, one via DVI and one via DisplayPort.
Comment 1 Adam Williamson 2018-06-20 15:52:45 UTC
Just noticed that kernel is a few weeks old, will re-test with 4.17 final and 4.18 RC shortly.
Comment 2 Michel Dänzer 2018-06-20 16:30:01 UTC
Should be fixed by commit bc13f2f88eae63af943ab967cb14bb602f8f2eeb "drm/amd/display: Update color props when modeset is required".
Comment 3 Adam Williamson 2018-06-21 16:29:06 UTC
Yup, confirmed, works fine with 4.18.0-0.rc1.git0.1.fc29. Thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.