Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 606710

Summary: >=sys-kernel/gentoo-sources-4.9.0: amdgpu freeze on resume
Product: Gentoo Linux Reporter: Victor Mataré <vmatare+gbug>
Component: Current packagesAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED FIXED    
Severity: normal CC: mlen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Victor Mataré 2017-01-21 16:03:45 UTC
On any of the 4.9.* kernels, my AMD RX480 consistently freezes after resume from suspend. On any of the 4.8.* kernels, everything works smoothly. I'm running x11-drivers/xf86-video-amdgpu-1.2.0 and sys-kernel/linux-firmware-20161205. Nothing is logged to Xorg.0.log when the freeze happens, but the kernel logs the following:

 [ 3998.496476] amdgpu 0000:01:00.0: couldn't schedule ib on ring <sdma0>
 [ 3998.498567] [drm:amdgpu_job_run] *ERROR* Error scheduling IBs (-22)
 [ 3998.500630] [drm:amd_sched_main] *ERROR* Failed to run job!

This keeps repeating many times, sometimes I can switch back to text console after a long delay. The kernel remains responsive, I can use SysRQ and Ctrl-Alt-Del to reboot.
Comment 1 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2017-01-27 18:51:23 UTC
could you try with the latest 4.9.6 ?
Comment 2 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2017-01-27 18:51:31 UTC
could you try with the latest 4.9.6 ?
Comment 3 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2017-02-02 13:41:26 UTC
would be also nice if you paste your dmesg and lspci -k
Comment 4 Mateusz Lenik 2017-06-26 11:42:38 UTC
Works for me on 4.9.33
Comment 5 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2017-06-26 14:52:54 UTC
Thanks,
Alice