Bug 2255626 - Radeon on Wayland - Black screen/crash on suspend/resume
Summary: Radeon on Wayland - Black screen/crash on suspend/resume
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-amdgpu
Version: 39
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Christopher Atherton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-22 14:35 UTC by fedbug22
Modified: 2023-12-30 23:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
serial console log (49.54 KB, text/plain)
2023-12-22 14:38 UTC, fedbug22
no flags Details
journalctl lines with amdgpu problem 30.12.2023 17:28 CET with copr LTS Kernel 6.1.69-200 (663.26 KB, text/plain)
2023-12-30 23:01 UTC, fedbug22
no flags Details

Description fedbug22 2023-12-22 14:35:04 UTC
PC crash on standby/resume:

Fedora 39 - SPIN - KDE Plasma Desktop 
Wayland
AMD Radeon 6750XT
Kernel 6.6.7-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Dec 13 21:43:37 UTC 2023 x86_64 GNU/Linux


$ lspci | grep AMD
01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev c0)
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] (rev c0)
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller
~$ 

User leaves PC, after coming back screen is black but PC is running with fans and Power LED on. PC/screen cannot wakeup by USB mouse/keyboard. Only power button or reset button can be used to trigger reactions.

This appeared a few months/weeks ago and seemed to be related to certain kernel versions and Wayland. The problem reappeared now. Suspect related to kernel 6.6.7-200.

I had prepared a serial console logging which i have now reconnected. I have been able to capture error messages of amdgpu after hitting the power button for a short time (which should be like trigger resume).



Reproducible: Sometimes

Steps to Reproduce:
1. Leave PC unattended, wait for standby or longer
2. Screen goes black but PC never sleeps.
3. PC does not react to keyboard/mouse.
Actual Results:  
PC crashed.

Expected Results:  
Standby-Resume working. I have also an USB switch for mouse/keyboard, sometimes a short press on the PC power button is required for resume but this should be a separate issue of the USB switch.

Might be able to reproduce/provide more logging from serial console.

Comment 1 fedbug22 2023-12-22 14:38:59 UTC
Created attachment 2005452 [details]
serial console log

Comment 2 fedbug22 2023-12-30 23:01:29 UTC
Created attachment 2006663 [details]
journalctl lines with amdgpu problem 30.12.2023 17:28 CET with copr LTS Kernel 6.1.69-200

Comment 3 fedbug22 2023-12-30 23:02:23 UTC
Similar problem appeared with copr LTS Kernel 6.1.69-200 on 30.12.2023 17:28 CET. See attachment..


Note You need to log in before you can comment on or make changes to this bug.