You are not logged in.

#1 2017-11-16 01:20:30

guanto
Member
Registered: 2017-11-16
Posts: 2

radeon freezes on suspend

I just installed arch on a lenovo x100e.  When I suspend the system, either by closing the lid or by hitting the suspend button, the radeon driver seems to stall, causing X to crash.  I can switch to another tty and the system is still functional.

here are details on the graphics card:

01:05.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RS780M [Mobility Radeon HD 3200] [1002:9612] (prog-if 00 [VGA controller])
	Subsystem: Lenovo RS780M [Mobility Radeon HD 3200] [17aa:21b2]
	Flags: bus master, fast devsel, latency 0, IRQ 18, NUMA node 0
	Memory at c0000000 (32-bit, prefetchable) [size=256M]
	I/O ports at 9000 [size=256]
	Memory at d0200000 (32-bit, non-prefetchable) [size=64K]
	Memory at d0100000 (32-bit, non-prefetchable) [size=1M]
	[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: [50] Power Management version 3
	Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
	Kernel driver in use: radeon
	Kernel modules: radeon


output from dmesg showing GPU lockup:

[   13.553595] Console: switching to colour frame buffer device 170x48
[   13.593677] radeon 0000:01:05.0: fb0: radeondrmfb frame buffer device
[   13.600399] [drm] Initialized radeon 2.50.0 20080528 for 0000:01:05.0 on minor 0
[  745.172965] PM: Syncing filesystems ... done.
[  745.341456] PM: Preparing system for sleep (mem)
[  745.341766] Freezing user space processes ... (elapsed 0.001 seconds) done.
[  745.343068] OOM killer disabled.
[  745.343069] Freezing remaining freezable tasks ... (elapsed 0.076 seconds) done.
[  745.420020] PM: Suspending system (mem)
[  745.420045] Suspending console(s) (use no_console_suspend to debug)
[  745.744117] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  745.744370] sd 0:0:0:0: [sda] Stopping disk
[  774.613336] radeon 0000:01:05.0: ring 0 stalled for more than 10133msec
[  774.613341] radeon 0000:01:05.0: GPU lockup (current fence id 0x00000000000003ef last fence id 0x00000000000003f0 on ring 0)
[  775.119993] radeon 0000:01:05.0: ring 0 stalled for more than 10640msec
[  775.119995] radeon 0000:01:05.0: GPU lockup (current fence id 0x00000000000003ef last fence id 0x00000000000003f0 on ring 0)
[  775.626662] radeon 0000:01:05.0: ring 0 stalled for more than 11146msec
[  775.626665] radeon 0000:01:05.0: GPU lockup (current fence id 0x00000000000003ef last fence id 0x00000000000003f0 on ring 0)
[  776.133326] radeon 0000:01:05.0: ring 0 stalled for more than 11653msec
[  776.133328] radeon 0000:01:05.0: GPU lockup (current fence id 0x00000000000003ef last fence id 0x00000000000003f0 on ring 0)
[  776.639992] radeon 0000:01:05.0: ring 0 stalled for more than 12160msec
[  776.639995] radeon 0000:01:05.0: GPU lockup (current fence id 0x00000000000003ef last fence id 0x00000000000003f0 on ring 0)
[  777.146659] radeon 0000:01:05.0: ring 0 stalled for more than 12666msec
[  777.146661] radeon 0000:01:05.0: GPU lockup (current fence id 0x00000000000003ef last fence id 0x00000000000003f0 on ring 0)
[  777.653325] radeon 0000:01:05.0: ring 0 stalled for more than 13173msec
[  777.653328] radeon 0000:01:05.0: GPU lockup (current fence id 0x00000000000003ef last fence id 0x00000000000003f0 on ring 0)
[  778.159995] radeon 0000:01:05.0: ring 0 stalled for more than 13680msec
[  778.159998] radeon 0000:01:05.0: GPU lockup (current fence id 0x00000000000003ef last fence id 0x00000000000003f0 on ring 0)
[  778.666659] radeon 0000:01:05.0: ring 0 stalled for more than 14186msec
[  778.666662] radeon 0000:01:05.0: GPU lockup (current fence id 0x00000000000003ef last fence id 0x00000000000003f0 on ring 0)
[  779.173326] radeon 0000:01:05.0: ring 0 stalled for more than 14693msec
[  779.173328] radeon 0000:01:05.0: GPU lockup (current fence id 0x00000000000003ef last fence id 0x00000000000003f0 on ring 0)
[  779.573567] [TTM] Buffer eviction failed
[  779.580660] [TTM] Buffer eviction failed
[  779.596704] PM: suspend of devices complete after 34176.476 msecs
[  779.597286] PM: late suspend of devices complete after 0.576 msecs
[  779.696700] PM: noirq suspend of devices complete after 99.408 msecs
[  779.696804] ACPI: Preparing to enter system sleep state S3
[  780.140140] ACPI: EC: event blocked
[  780.140141] ACPI: EC: EC stopped
[  780.140142] PM: Saving platform NVS memory
[  780.140150] Disabling non-boot CPUs ...
[  780.140150] ACPI: Low-level resume complete
[  780.140150] ACPI: EC: EC started
[  780.140150] PM: Restoring platform NVS memory
[  780.140150] Suspended for 5.990 seconds
[  780.140150] ACPI: Waking up from system sleep state S3
[  780.227268] PM: noirq resume of devices complete after 17.190 msecs
[  780.227590] PM: early resume of devices complete after 0.298 msecs
[  780.227691] ACPI: EC: event unblocked
[  780.239982] [drm] PCIE GART of 512M enabled (table at 0x00000000C0146000).
[  780.240047] radeon 0000:01:05.0: WB enabled
[  780.240051] radeon 0000:01:05.0: fence driver on ring 0 use gpu addr 0x00000000a0000c00 and cpu addr 0xffff9ba5e72ecc00
[  780.247254] radeon 0000:01:05.0: fence driver on ring 5 use gpu addr 0x00000000c0056038 and cpu addr 0xffffb2d701616038
[  780.299649] [drm] ring test on 0 succeeded in 0 usecs
[  780.356639] sd 0:0:0:0: [sda] Starting disk
[  780.368189] r8169 0000:02:00.0 enp2s0: link down
[  780.479974] usb 2-2: reset high-speed USB device number 3 using ehci-pci
[  780.489990] usb 1-3: reset high-speed USB device number 2 using ehci-pci
[  780.609326] [drm] ring test on 5 succeeded in 1 usecs
[  780.609332] [drm] UVD initialized successfully.
[  780.609409] [drm:r600_ib_test [radeon]] *ERROR* radeon: fence wait failed (-35).
[  780.609582] [drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon: failed testing IB on GFX ring (-35).
[  780.609613] [drm:radeon_resume_kms [radeon]] *ERROR* ib ring test failed (-35).
[  780.629194] qcserial ttyUSB0: Qualcomm USB modem converter now disconnected from ttyUSB0
[  780.629211] qcserial 1-3:1.1: device disconnected

output from journalctl -b is a bit lengthy so here's a pastebin: https://pastebin.com/s4u72pa1
Also, here's the output of Xorg.0.log, which also shows errors: https://pastebin.com/21sjFjdF

I've tried enabling/disabling dpm as a kernel parameter, but that hasn't helped.  Also tried downgrading to the LTS kernel.

not sure what else to try... thanks in advance for any help.

Offline

#2 2017-11-16 20:05:04

Hi-Angel
Member
Registered: 2016-07-16
Posts: 43

Re: radeon freezes on suspend

What I'd do is to check whether the latest kernel fixes the problem (since main repository have outdated kernel ATM, you can install one from ᴬᵁᴿ) — doubtful though, but you need to check it for the record. Then, if it doesn't help, report a bug against "radeon" kernel driver.

Offline

#3 2017-11-16 20:30:54

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: radeon freezes on suspend

Hi-Angel wrote:

What I'd do is to check whether the latest kernel fixes the problem (since main repository have outdated kernel ATM, you can install one from ᴬᵁᴿ)

Yes it is outdated but the linux package tracks linux-stable so the current upstream release would be 4.13.13 not 4.14 that linux-mainline is currently on,
although checking if it is fixed in the mainline kernel tree or drm-tip kernel tree would detect if the issue is already fixed upstream (would suggest waiting for the 4.15 merge window to close before trying drm-tip)

Hi-Angel wrote:

if it doesn't help, report a bug against "radeon" kernel driver.

The kernel bugzilla not https://bugs.freedesktop.org product DRI component DRM/Radeon?

Offline

#4 2017-11-16 20:38:06

Hi-Angel
Member
Registered: 2016-07-16
Posts: 43

Re: radeon freezes on suspend

loqs wrote:
Hi-Angel wrote:

if it doesn't help, report a bug against "radeon" kernel driver.

The kernel bugzilla not https://bugs.freedesktop.org product DRI component DRM/Radeon?

Hmm, looks correct — I didn't report myself, so I expected it to be on the kernel bugzilla.

Last edited by Hi-Angel (2017-11-16 20:38:55)

Offline

#5 2017-11-16 22:38:47

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: radeon freezes on suspend

What Desktop environment (GL compositing?) and is there a screen locker as well?

Offline

#6 2017-11-16 22:54:01

guanto
Member
Registered: 2017-11-16
Posts: 2

Re: radeon freezes on suspend

thanks... I'll report a bug if all else fails.
I'm using i3, with very little added on, as I noticed this problem early on.. but even if I don't use i3 and just start X and open a terminal, it will still crash when suspending.
no screen lock either
thanks

Offline

Board footer

Powered by FluxBB