AMDGPU fail to restore secondary monitor after suspend

Daniel Mota Leite daniel at motaleite.net
Thu May 19 23:11:39 UTC 2016


Hi

I was testing the AMDGPU on the A10-7850k and all seems to work, but
when suspending the machine and then waking up again, i lost my secondary
monitor in both the X11 and the console. xrandr reports only one monitor
connected and only a restart enables the monitor back. I suspect that the
suspend turn off the secondary connector and never turn it on again.

I'm using kernel 4.6.0, slackware-current 64and mesa 11.2.2

Here is the full dmesg since start suspend to the end of the wakeup:

[20801.981301] PM: Syncing filesystems ... done.
[20802.058468] PM: Preparing system for sleep (mem)
[20802.058933] Freezing user space processes ... (elapsed 0.001 seconds) done.
[20802.060228] Freezing remaining freezable tasks ... (elapsed 0.000 seconds) done.
[20802.061194] PM: Suspending system (mem)
[20802.062027] sd 5:0:0:0: [sdd] Synchronizing SCSI cache
[20802.062133] sd 2:0:0:0: [sdc] Synchronizing SCSI cache
[20802.062176] sd 1:0:0:0: [sdb] Synchronizing SCSI cache
[20802.062239] sd 5:0:0:0: [sdd] Stopping disk
[20802.062247] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[20802.062273] sd 1:0:0:0: [sdb] Stopping disk
[20802.062356] sd 2:0:0:0: [sdc] Stopping disk
[20802.064822] i8042 kbd 00:07: System wakeup enabled by ACPI
[20802.074793] sd 0:0:0:0: [sda] Stopping disk
[20802.807638] PM: suspend of devices complete after 746.091 msecs
[20802.808531] PM: late suspend of devices complete after 0.886 msecs
[20802.809749] ohci-pci 0000:00:13.0: System wakeup enabled by ACPI
[20802.809764] ehci-pci 0000:00:13.2: System wakeup enabled by ACPI
[20802.809766] ehci-pci 0000:00:12.2: System wakeup enabled by ACPI
[20802.809806] ohci-pci 0000:00:12.0: System wakeup enabled by ACPI
[20802.809999] xhci_hcd 0000:00:10.1: System wakeup enabled by ACPI
[20802.810018] xhci_hcd 0000:00:10.0: System wakeup enabled by ACPI
[20802.810094] r8169 0000:03:00.0: System wakeup enabled by ACPI
[20802.821173] PM: noirq suspend of devices complete after 12.634 msecs
[20802.821201] ACPI: Preparing to enter system sleep state S3
[20802.821762] PM: Saving platform NVS memory
[20802.821797] Disabling non-boot CPUs ...
[20802.823307] smpboot: CPU 1 is now offline
[20802.834423] smpboot: CPU 2 is now offline
[20802.844014] smpboot: CPU 3 is now offline
[20802.849885] ACPI: Low-level resume complete
[20802.849921] PM: Restoring platform NVS memory
[20802.849969] LVT offset 0 assigned for vector 0x400
[20802.850256] Enabling non-boot CPUs ...
[20802.857823] x86: Booting SMP configuration:
[20802.857825] smpboot: Booting Node 0 Processor 1 APIC 0x11
[20802.860079]  cache: parent cpu1 should not be sleeping
[20802.860241] CPU1 is up
[20802.868852] smpboot: Booting Node 0 Processor 2 APIC 0x12
[20802.871155]  cache: parent cpu2 should not be sleeping
[20802.871332] CPU2 is up
[20802.886873] smpboot: Booting Node 0 Processor 3 APIC 0x13
[20802.889189]  cache: parent cpu3 should not be sleeping
[20802.889375] CPU3 is up
[20802.889751] ACPI: Waking up from system sleep state S3
[20802.890225] ohci-pci 0000:00:12.0: System wakeup disabled by ACPI
[20802.890287] ohci-pci 0000:00:13.0: System wakeup disabled by ACPI
[20802.900692] ehci-pci 0000:00:13.2: System wakeup disabled by ACPI
[20802.900984] xhci_hcd 0000:00:10.0: System wakeup disabled by ACPI
[20802.900984] xhci_hcd 0000:00:10.1: System wakeup disabled by ACPI
[20802.901006] ehci-pci 0000:00:12.2: System wakeup disabled by ACPI
[20802.901169] PM: noirq resume of devices complete after 11.094 msecs
[20802.901557] PM: early resume of devices complete after 0.352 msecs
[20802.901786] rtc_cmos 00:04: System wakeup disabled by ACPI
[20802.901796] bttv: 0: reset, reinitialize
[20802.901805] i8042 kbd 00:07: System wakeup disabled by ACPI
[20802.901817] r8169 0000:03:00.0: System wakeup disabled by ACPI
[20802.901845] bttv: 0: Setting PLL: 28636363 => 35468950 (needs up to 100ms)
[20802.902118] serial 00:08: activated
[20802.904701] [drm] PCIE GART of 2048M enabled (table at 0x0000000000040000).
[20802.906299] switching from power state:
[20802.906300] 	ui class: none
[20802.906301] 	internal class: boot 
[20802.906301] 	caps: 
[20802.906302] 	uvd    vclk: 0 dclk: 0
[20802.906302] 		power level 0    sclk: 20000 vddc: 6200
[20802.906303] 	status: c b 
[20802.906303] switching to power state:
[20802.906303] 	ui class: performance
[20802.906304] 	internal class: none
[20802.906304] 	caps: 
[20802.906305] 	uvd    vclk: 0 dclk: 0
[20802.906305] 		power level 0    sclk: 90000 vddc: 4900
[20802.906305] 		power level 1    sclk: 90000 vddc: 4900
[20802.906306] 		power level 2    sclk: 90000 vddc: 4900
[20802.906306] 		power level 3    sclk: 90000 vddc: 4900
[20802.906307] 		power level 4    sclk: 90000 vddc: 4900
[20802.906307] 	status: r 
[20802.915811] sd 0:0:0:0: [sda] Starting disk
[20802.916735] [drm] ring test on 0 succeeded in 6 usecs
[20802.916793] [drm] ring test on 1 succeeded in 1 usecs
[20802.916798] [drm] ring test on 2 succeeded in 1 usecs
[20802.916804] [drm] ring test on 3 succeeded in 1 usecs
[20802.916810] [drm] ring test on 4 succeeded in 1 usecs
[20802.916815] [drm] ring test on 5 succeeded in 1 usecs
[20802.916821] [drm] ring test on 6 succeeded in 1 usecs
[20802.916826] [drm] ring test on 7 succeeded in 1 usecs
[20802.916832] [drm] ring test on 8 succeeded in 1 usecs
[20802.916917] [drm] ring test on 9 succeeded in 2 usecs
[20802.916922] [drm] ring test on 10 succeeded in 2 usecs
[20802.918632] sd 1:0:0:0: [sdb] Starting disk
[20802.918650] sd 2:0:0:0: [sdc] Starting disk
[20802.918668] sd 5:0:0:0: [sdd] Starting disk
[20802.923627] bttv: PLL set ok
[20802.963331] [drm] ring test on 11 succeeded in 1 usecs
[20802.965631] r8169 0000:03:00.0 peth0: link down
[20802.973349] eth0: port 1(peth0) entered disabled state
[20802.983339] [drm] UVD initialized successfully.
[20803.093642] [drm] ring test on 12 succeeded in 7 usecs
[20803.093648] [drm] ring test on 13 succeeded in 3 usecs
[20803.093648] [drm] VCE initialized successfully.
[20803.093667] [drm] ib test on ring 0 succeeded in 0 usecs
[20803.093680] [drm] ib test on ring 1 succeeded in 0 usecs
[20803.093692] [drm] ib test on ring 2 succeeded in 0 usecs
[20803.093704] [drm] ib test on ring 3 succeeded in 0 usecs
[20803.093715] [drm] ib test on ring 4 succeeded in 0 usecs
[20803.093727] [drm] ib test on ring 5 succeeded in 0 usecs
[20803.093739] [drm] ib test on ring 6 succeeded in 0 usecs
[20803.093751] [drm] ib test on ring 7 succeeded in 0 usecs
[20803.093762] [drm] ib test on ring 8 succeeded in 0 usecs
[20803.093776] [drm] ib test on ring 9 succeeded in 0 usecs
[20803.093788] [drm] ib test on ring 10 succeeded in 0 usecs
[20803.114052] [drm] ib test on ring 11 succeeded
[20803.134523] [drm] ib test on ring 12 succeeded
[20803.196307] [drm:amdgpu_atombios_dp_link_train [amdgpu]] *ERROR* displayport link status failed
[20803.196322] [drm:amdgpu_atombios_dp_link_train [amdgpu]] *ERROR* clock recovery failed
[20803.204753] ata4: SATA link down (SStatus 0 SControl 300)
[20803.204966] ata7: SATA link down (SStatus 0 SControl 300)
[20803.205007] ata8: SATA link down (SStatus 0 SControl 300)
[20803.247858] [drm:amdgpu_atombios_dp_link_train [amdgpu]] *ERROR* displayport link status failed
[20803.247872] [drm:amdgpu_atombios_dp_link_train [amdgpu]] *ERROR* clock recovery failed
[20803.259620] usb 7-2: reset low-speed USB device number 4 using ohci-pci
[20803.357714] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[20803.359650] ata3.00: supports DRM functions and may not be fully accessible
[20803.359703] ata3.00: failed to get NCQ Send/Recv Log Emask 0x1
[20803.359852] ata3.00: supports DRM functions and may not be fully accessible
[20803.359888] ata3.00: failed to get NCQ Send/Recv Log Emask 0x1
[20803.359891] ata3.00: configured for UDMA/133
[20803.510690] ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[20803.556710] ata5.00: configured for UDMA/33
[20804.662457] r8169 0000:03:00.0 peth0: link up
[20804.662635] eth0: port 1(peth0) entered blocking state
[20804.662637] eth0: port 1(peth0) entered forwarding state
[20805.856603] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[20805.864185] ata6.00: configured for UDMA/100
[20810.293439] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[20810.294704] ata2.00: configured for UDMA/133
[20812.945326] ata1: softreset failed (device not ready)
[20814.269286] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[20814.300773] ata1.00: configured for UDMA/133
[20814.309936] PM: resume of devices complete after 11408.827 msecs
[20814.310002] usb 7-2:1.0: rebind failed: -517
[20814.320598] PM: Finishing wakeup.
[20814.320600] Restarting tasks ... done.
[20814.325378] usb 7-2: usbfs: process 2668 (usbhid-ups) did not claim interface 0 before use
[20814.364704] usb 7-2: usbfs: process 2668 (usbhid-ups) did not claim interface 0 before use


I don't know if this is a new bug or a existent bug or a missing feature
only for the SI support. Reverting back to radeon it works fine.

Thanks
higuita
-- 
Naturally the common people don't want war... but after all it is the
leaders of a country who determine the policy, and it is always a 
simple matter to drag the people along, whether it is a democracy, or
a fascist dictatorship, or a parliament, or a communist dictatorship.
Voice or no voice, the people can always be brought to the bidding of
the leaders. That is easy. All you have to do is tell them they are 
being attacked, and denounce the pacifists for lack of patriotism and
exposing the country to danger.  It works the same in every country.
           -- Hermann Goering, Nazi and war criminal, 1883-1946
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160520/63e7f636/attachment.sig>


More information about the dri-devel mailing list