Bug 93167 - radeon/drm fails to restore graphics mode after s2disk
Summary: radeon/drm fails to restore graphics mode after s2disk
Status: RESOLVED INVALID
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-29 20:06 UTC by Elmar Stellnberger
Modified: 2016-08-30 19:06 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log captured directly after resume (40.58 KB, text/plain)
2015-11-29 20:07 UTC, Elmar Stellnberger
no flags Details
Xorg.0.log.old captured directly after resume (69.62 KB, text/plain)
2015-11-29 20:07 UTC, Elmar Stellnberger
no flags Details
journal/messages of a few boots with s2disk (and pretty nothing else) (960.03 KB, text/plain)
2015-11-29 20:08 UTC, Elmar Stellnberger
no flags Details

Description Elmar Stellnberger 2015-11-29 20:06:22 UTC
The DRM module seems to have problems to restore the graphics mode for my XFX Radeon R7 240 4K UHD graphics card after resume from s2disk. I just get pixel soup the mouse pointer being a pixel square moving around. When I switch to another vt-console I get a different pixel soup without mouse pointer. The same pixel soup can be seen on the splash screen during preparations for s2disk. At first radeon sets the graphics mode correctly on resume but when it comes to restore the screen content then the pixel soup is going to come along. Consider the logs for any further details (s2ram does not work either with this card though there is a very different, likely an ACPI related issue: https://bugzilla.kernel.org/show_bug.cgi?id=108541).
Comment 1 Elmar Stellnberger 2015-11-29 20:07:18 UTC
Created attachment 120196 [details]
Xorg.0.log captured directly after resume
Comment 2 Elmar Stellnberger 2015-11-29 20:07:53 UTC
Created attachment 120197 [details]
Xorg.0.log.old captured directly after resume
Comment 3 Elmar Stellnberger 2015-11-29 20:08:51 UTC
Created attachment 120198 [details]
journal/messages of a few boots with s2disk (and pretty nothing else)
Comment 4 Michel Dänzer 2015-11-30 03:41:28 UTC
Looks like acceleration fails to initialize during resume:

[drm:r600_ring_test [radeon]] *ERROR* radeon: ring 0 test failed (scratch(0x850C)=0xCAFEDEAD)
[drm:si_resume [radeon]] *ERROR* si startup failed on resume

Everything else is likely cascaded failure caused by this.
Comment 5 Elmar Stellnberger 2015-12-02 15:21:22 UTC
Michel, is there anything we can do about it?
Comment 6 Elmar Stellnberger 2016-08-30 19:06:58 UTC
likely an issue of the mainboard manufacturer as this works with the same card and another motherboard; closing.


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.