From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 111524] GPU doesn't work after resume
Date: Fri, 30 Aug 2019 06:21:20 +0000
Message-ID:
Bug ID
111524
Summary
GPU doesn't work after resume
Product
DRI
Version
XOrg git
Hardware
Other
OS
All
Status
NEW
Severity
not set
Priority
not set
Component
DRM/AMDgpu
Assignee
dri-devel@lists.freedesktop.org
Reporter
samuel@sieb.net
CPU is AMD A9-9420 RADEON R5
GPU is: 00:01.0 0300: 1002:98e4 (rev da)
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Stoney [Radeon R2/R3/R4/R5 Graphics] (rev da) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device 8330
Flags: bus master, fast devsel, latency 0, IRQ 35
Memory at e0000000 (64-bit, prefetchable) [size=3D256M]
Memory at f0800000 (64-bit, prefetchable) [size=3D8M]
I/O ports at 4000 [size=3D256]
Memory at f0400000 (32-bit, non-prefetchable) [size=3D256K]
Expansion ROM at 000c0000 [disabled] [size=3D128K]
Capabilities: [48] Vendor Specific Information: Len=3D08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=3D1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=3D0001 Rev=3D1 =
Len=3D010
<?>
Capabilities: [270] Secondary PCI Express <?>
Capabilities: [2b0] Address Translation Service (ATS)
Capabilities: [2c0] Page Request Interface (PRI)
Capabilities: [2d0] Process Address Space ID (PASID)
Kernel driver in use: amdgpu
Kernel modules: amdgpu
If I suspend the laptop then on resume the GPU does not work. I've tried w=
ith
a 5.0 and a 5.2 kernel, same issue. dc=3D0 or dc=3D1 doesn't make any obvi=
ous
difference. I have gpu recovery enabled, otherwise it really hangs. With
Xorg, the screen looks the same as when suspended. With Wayland, there is
bunch of garbage around. In both cases, the mouse moves around, but there =
are
no screen updates. The following output shows up in dmesg with the last li=
ne
repeating endlessly, probably correlated with screen update attempts:
[ 48.337053] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout,
signaled seq=3D73, emitted seq=3D75
[ 48.337202] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process informati=
on:
process gnome-shell pid 977 thread gnome-shel:cs0 pid 1005
[ 48.337206] [drm] IP block:gfx_v8_0 is hung!
[ 48.337319] amdgpu 0000:00:01.0: GPU reset begin!
[ 48.337761] amdgpu 0000:00:01.0: GRBM_SOFT_RESET=3D0x000F0001
[ 48.337817] amdgpu 0000:00:01.0: SRBM_SOFT_RESET=3D0x00000100
[ 48.468854] [drm] recover vram bo from shadow start
[ 48.468855] [drm] recover vram bo from shadow done
[ 48.468857] [drm] Skip scheduling IBs!
[ 48.500792] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize
parser -125!
[ 48.502030] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize
parser -125!
[ 48.503933] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize
parser -125!
[ 49.144048] amdgpu 0000:00:01.0: GPU reset(2) succeeded!
[ 49.147491] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize
parser -125!
[ 53.186659] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize
parser -125!
[ 56.651026] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize
parser -125!