You are not logged in.

#1 2022-10-10 18:02:37

Bednar
Member
Registered: 2015-09-19
Posts: 68

[amdgpu] kernel 6.0.arch1-1 black scren after wake up from suspend

This seems to be a regression in 6.0 as this issue does not manifest itself in Kernel 5.19.13.arch1-1 or the latest lts kernel.

System specs and software:

Operating System: Arch Linux
KDE Plasma Version: 5.25.90
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 6.0.0-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6800 XT

When I wake the system up from sleep, I am getting a black screen. No moue cursor, just a no signal message. I have a single monitor connected via DP.
The log is spammed with the following:

Oct 10 19:31:32 arch-Bednar kwin_wayland[1597]: kwin_wayland_drm: Atomic commit failed! Invalid argument
Oct 10 19:31:32 arch-Bednar kwin_wayland[1597]: kwin_wayland_drm: Presentation failed! Invalid argument
Oct 10 19:31:32 arch-Bednar kwin_wayland[1597]: kwin_wayland_drm: Failed to find a working setup for new outputs!
Oct 10 19:31:32 arch-Bednar kwin_wayland[1597]: kwin_wayland_drm: Failed to find a working setup for new outputs!

but right before we have this:

Oct 10 19:31:32 arch-Bednar kernel: amdgpu: Move buffer fallback to memcpy unavailable
Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: 0000000094037003 pin failed
Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: (-19) kernel bo pin failed
Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: DTM: Failed to initialize DTM
Oct 10 19:31:32 arch-Bednar kernel: amdgpu: Move buffer fallback to memcpy unavailable
Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: 0000000094037003 pin failed
Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: (-19) kernel bo pin failed
Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: RAP: Failed to initialize RAP
Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: SMU is resuming...
Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: smu driver if version = 0x00000040, smu fw if version = 0x00000041, smu fw program = 0, version = 0x003a5400 (58.84.0)
Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: SMU driver if version not matched
Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: use vbios provided pptable
Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: SMU is resumed successfully!
Oct 10 19:31:32 arch-Bednar kernel: [drm] DMUB hardware initialized: version=0x02020013

and

Oct 10 19:31:32 arch-Bednar kernel: amdgpu: Move buffer fallback to memcpy unavailable
Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: 0000000036fd7a68 pin failed
Oct 10 19:31:32 arch-Bednar kernel: [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -19

full log:

https://gist.github.com/Bednar87/c97c41 … dd0f01b899

Offline

#2 2022-10-10 19:35:19

Mortimer Houghton
Member
Registered: 2014-09-28
Posts: 79

Re: [amdgpu] kernel 6.0.arch1-1 black scren after wake up from suspend

I thought you should know that I am running 6.0 also and have not noticed the issue you mention:

OS: Arch Linux x86_64 
Host: HP 255 G6 Notebook PC 
Kernel: 6.0.0-arch1-1 
Uptime: 1 day, 5 hours, 13 mins 
Packages: 548 (pacman) 
Shell: bash 5.1.16 
Resolution: 1366x768 
WM: dwl
Terminal: foot 
CPU: AMD E2-9000e RADEON R2 2C+2G (2) @ 1.500GHz 
GPU: AMD ATI Radeon R2/R3/R4/R5 Graphics 
Memory: 1552MiB / 3810MiB 

Last edited by Mortimer Houghton (2022-10-10 19:36:31)

Offline

#3 2022-10-11 22:25:44

nfp0
Member
Registered: 2022-09-11
Posts: 1

Re: [amdgpu] kernel 6.0.arch1-1 black scren after wake up from suspend

I have the same issue on a Radeon RX 6800. All I get is a black screen after sleep.
More info here:
https://gitlab.freedesktop.org/drm/amd/-/issues/2164

Last edited by nfp0 (2022-10-11 22:26:03)

Offline

#4 2022-10-14 08:38:45

bitterhalt
Member
Registered: 2022-06-19
Posts: 16

Re: [amdgpu] kernel 6.0.arch1-1 black scren after wake up from suspend

I have same issue after kernel 6.***
GPU RX 6600

kernel: amdgpu 0000:28:00.0: amdgpu: 000000008b345326 pin failed
kernel: amdgpu 0000:28:00.0: amdgpu: (-19) kernel bo pin failed
kernel: amdgpu 0000:28:00.0: amdgpu: DTM: Failed to initialize DTM
kernel: amdgpu: Move buffer fallback to memcpy unavailable
kernel: amdgpu 0000:28:00.0: amdgpu: 000000008b345326 pin failed
kernel: amdgpu 0000:28:00.0: amdgpu: (-19) kernel bo pin failed
kernel: amdgpu 0000:28:00.0: amdgpu: RAP: Failed to initialize RAP
kernel: amdgpu: Move buffer fallback to memcpy unavailable
kernel: amdgpu 0000:28:00.0: amdgpu: 00000000e12055a3 pin failed
kernel: [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -19
kernel: amdgpu 0000:28:00.0: amdgpu: Failed to set manual fan control mode
systemd-coredump[64591]: Failed to connect to coredump service: Connection refused

I found out that I can get back to desktop after screen loses signal if I go to TTY2 by pressing; ctl+alt+F2 and then; ctrl+alt+F7 takes me back to desktop.

This works at least with i3wm, I don’t now about other DE:s.

Last edited by bitterhalt (2022-10-14 10:45:55)

Offline

#5 2022-10-18 13:19:53

kon
Member
Registered: 2022-08-02
Posts: 5

Re: [amdgpu] kernel 6.0.arch1-1 black scren after wake up from suspend

Same here. It boots/wakes up fine, gets to the GPU blinking cursor screen and then goes to sleep.
If i turm the monitor on and off it comes back:
Here is the dmesg snippet:

[52744.940627] ACPI: \: failed to evaluate _DSM bf0212f2-788f-c64d-a5b3-1f738e285ade (0x1001)
[52744.940629] ACPI: \: failed to evaluate _DSM bf0212f2-788f-c64d-a5b3-1f738e285ade (0x1001)
[52744.940629] ACPI: \: failed to evaluate _DSM bf0212f2-788f-c64d-a5b3-1f738e285ade (0x1001)
[52744.940630] ACPI: \: failed to evaluate _DSM bf0212f2-788f-c64d-a5b3-1f738e285ade (0x1001)
[52744.940631] ACPI: \: failed to evaluate _DSM bf0212f2-788f-c64d-a5b3-1f738e285ade (0x1001)
[52744.940632] ACPI: \: failed to evaluate _DSM bf0212f2-788f-c64d-a5b3-1f738e285ade (0x1001)
[52744.940783] nvme nvme0: 16/0/0 default/read/poll queues
[52744.963556] [drm] reserve 0xa00000 from 0x8001000000 for PSP TMR
[52745.061873] amdgpu 0000:08:00.0: amdgpu: RAS: optional ras ta ucode is not available
[52745.068327] amdgpu: Move buffer fallback to memcpy unavailable
[52745.068329] amdgpu 0000:08:00.0: amdgpu: 00000000394d68fd pin failed
[52745.068330] amdgpu 0000:08:00.0: amdgpu: (-19) kernel bo pin failed
[52745.068333] amdgpu 0000:08:00.0: amdgpu: DTM: Failed to initialize DTM
[52745.068334] amdgpu: Move buffer fallback to memcpy unavailable
[52745.068335] amdgpu 0000:08:00.0: amdgpu: 00000000394d68fd pin failed
[52745.068335] amdgpu 0000:08:00.0: amdgpu: (-19) kernel bo pin failed
[52745.068336] amdgpu 0000:08:00.0: amdgpu: RAP: Failed to initialize RAP
[52745.068337] amdgpu 0000:08:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[52745.068339] amdgpu 0000:08:00.0: amdgpu: SMU is resuming...
[52745.068342] amdgpu 0000:08:00.0: amdgpu: smu driver if version = 0x0000000f, smu fw if version = 0x00000013, smu fw program = 0, version = 0x003b2900 (59.41.0)
[52745.068344] amdgpu 0000:08:00.0: amdgpu: SMU driver if version not matched
[52745.068397] amdgpu 0000:08:00.0: amdgpu: use vbios provided pptable
[52745.117062] amdgpu 0000:08:00.0: amdgpu: SMU is resumed successfully!
[52745.118366] [drm] DMUB hardware initialized: version=0x02020013
[52745.188920] ata1: SATA link down (SStatus 0 SControl 330)
[52745.188956] ata2: SATA link down (SStatus 0 SControl 330)
[52745.189248] ata6: SATA link down (SStatus 0 SControl 330)
[52745.216248] usb 1-7: reset full-speed USB device number 4 using xhci_hcd
[52745.336358] amdgpu: Move buffer fallback to memcpy unavailable
[52745.336361] amdgpu 0000:08:00.0: amdgpu: 0000000097e413d1 pin failed
[52745.336362] [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -19
[52745.338219] [drm] kiq ring mec 2 pipe 1 q 0
[52745.342482] [drm] VCN decode and encode initialized successfully(under DPG Mode).
[52745.343311] [drm] JPEG decode initialized successfully.

Last edited by kon (2022-10-18 13:21:50)

Offline

#6 2022-10-19 19:09:04

DRFK
Member
Registered: 2020-12-17
Posts: 8

Re: [amdgpu] kernel 6.0.arch1-1 black scren after wake up from suspend

Offline

#7 2022-10-19 19:14:38

DRFK
Member
Registered: 2020-12-17
Posts: 8

Re: [amdgpu] kernel 6.0.arch1-1 black scren after wake up from suspend

DRFK wrote:

Sorry, it has already been mentioned in comment #3.

Offline

Board footer

Powered by FluxBB