You are not logged in.

#1 2017-08-08 13:29:20

cinemast
Member
Registered: 2017-08-08
Posts: 4

Resume freezes with latest Kernel (4.12.4-1) on amdgpu RX480

Hi!

Since the latest Kernel update, resume from suspend does not work anymore. I see strange artefacts where the mouse pointer should be.
Otherwise the system is not responding, so I have press the reset button.

Does anyone else with a Radeon RX480 have these issues?

Further desc of my system:

* Gnome on X.org (Wayland makes no difference)
* Linux 4.12.4-1
* Open-Source driver amdgpu on RX480
* Intel i7 skylake

With Kernel 4.11.12 it is still working. I am starting to bisect the kernel tree now.

Offline

#2 2017-08-08 20:01:41

cinemast
Member
Registered: 2017-08-08
Posts: 4

Re: Resume freezes with latest Kernel (4.12.4-1) on amdgpu RX480

Ok bisecting revealed the following commit being the problem:

https://git.kernel.org/pub/scm/linux/ke … cf3744a2a7

2dc1889ebf8501b0edf125e89a30e1cf3744a2a7 is the first bad commit
commit 2dc1889ebf8501b0edf125e89a30e1cf3744a2a7
Author: Alex Deucher <alexander.deucher@amd.com>
Date:   Thu Jun 29 16:08:49 2017 -0400

    drm/amdgpu: fix vblank_time when displays are off
    
    commit beb3777682d5c296cc15a2a424f5a7a98476def0 upstream.
    
    If the displays are off, set the vblank time to max to make
    sure mclk switching is enabled.  Avoid mclk getting set
    to high when no displays are attached.
    
    bug: https://bugs.freedesktop.org/show_bug.cgi?id=101528
    fixes: 09be4a5219 (drm/amd/powerplay/smu7: add vblank check for mclk switching (v2))
    Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

:040000 040000 d690b048c013eae777eeddf13488f2d5b49398a0 ec6d1a6809903ec54f7b7d53715daf401fde6e85 M	drivers

Offline

#3 2017-08-08 20:15:55

cinemast
Member
Registered: 2017-08-08
Posts: 4

Re: Resume freezes with latest Kernel (4.12.4-1) on amdgpu RX480

I created an entry on the kernel bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=196615

Offline

#4 2017-08-09 08:42:38

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: Resume freezes with latest Kernel (4.12.4-1) on amdgpu RX480

I experience the same on my RX470.

Offline

#5 2017-08-09 12:13:37

chiya
Member
Registered: 2017-08-09
Posts: 1

Re: Resume freezes with latest Kernel (4.12.4-1) on amdgpu RX480

I'm having the same problem on an RX 470 with amdgpu (not pro).
My display does not turn on after wake, and I have to reboot.

This is the relevant output from dmesg after waking up, retrieved via ssh:

[   48.724867] [drm:amdgpu_vce_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 13 test failed
[   48.724876] [drm:amdgpu_resume [amdgpu]] *ERROR* resume of IP block <vce_v3_0> failed -110
[   48.724885] [drm:amdgpu_device_resume [amdgpu]] *ERROR* amdgpu_resume failed (-110).
[   48.724890] dpm_run_callback(): pci_pm_resume+0x0/0xa0 returns -110
[   48.724891] PM: Device 0000:01:00.0 failed to resume async: error -110

I think it's also worth mentioning that prior to 4.12.4, I always got similar dmesg errors after waking up:

[  733.603215] [drm:amdgpu_vce_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 12 test failed
[  733.603223] [drm:amdgpu_resume [amdgpu]] *ERROR* resume of IP block <vce_v3_0> failed -110
[  733.603232] [drm:amdgpu_device_resume [amdgpu]] *ERROR* amdgpu_resume failed (-110).

But it seemed to be harmless. My screen turned on and I didn't have any GPU problems at all, until 4.12.4.

Could this be a hardware problem in my case?

Offline

#6 2017-08-09 21:23:22

cinemast
Member
Registered: 2017-08-08
Posts: 4

Re: Resume freezes with latest Kernel (4.12.4-1) on amdgpu RX480

Hi chiya!

I don't think its a hardware problem since kernel 4.12.3 is running fine. As indicated above,

https://git.kernel.org/pub/scm/linux/ke … cf3744a2a7

introduced a regression.

Offline

#7 2017-08-10 12:59:41

LonFas
Member
Registered: 2017-08-10
Posts: 2

Re: Resume freezes with latest Kernel (4.12.4-1) on amdgpu RX480

I have this problem too, and already downgrade to 4.9.9-2-ARCH by downgrader

Offline

Board footer

Powered by FluxBB