Bug 1981039 - Black screen when starting Plasma and GNOME on Wayland with the 5.13.1 kernel involving amdgpu driver
Summary: Black screen when starting Plasma and GNOME on Wayland with the 5.13.1 kernel...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL: https://gitlab.freedesktop.org/drm/am...
Whiteboard:
: 1984686 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-10 20:51 UTC by Matt Fagnani
Modified: 2022-06-07 22:41 UTC (History)
22 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-07 22:41:13 UTC
Type: Bug


Attachments (Terms of Use)
Journal with 5.13.1 kernel and drm.debug=14 log_buf_len=16M added to the kernel command-line with the black screen when logging into Plasma on Wayland (394.23 KB, text/plain)
2021-07-10 20:51 UTC, Matt Fagnani
no flags Details

Description Matt Fagnani 2021-07-10 20:51:10 UTC
Created attachment 1800284 [details]
Journal with 5.13.1 kernel and drm.debug=14 log_buf_len=16M added to the kernel command-line with the black screen when logging into Plasma on Wayland

Created attachment 1800284 [details]
Journal with 5.13.1 kernel and drm.debug=14 log_buf_len=16M added to the kernel command-line with the black screen when logging into Plasma on Wayland

1. Please describe the problem:

I booted the 5.13.1 kernel in a Fedora 34 KDE Plasma installation on a laptop with an integrated Radeon R5 GPU. When I logged into Plasma 5.22.2 on Wayland from sddm, the screen turned black and remained so before the splash screen would normally be shown. The screen remained black when I tried to switch VTs with ctrl+alt+f2 etc. The screen remained black when I used sysrq+alt+r,e,i,s,u,b though the system rebooted after multiple tries with sysrq+alt+b. Looking at the previous boots' journals showed that Plasma appeared to start up normally, but no clear errors related to the problem were apparent. I booted the 5.13.1 kernel with drm.debug=14 log_buf_len=16M added to the kernel commandline to get more details from the amdgpu driver. The journal when logging into Plasma included the following most relevant part. The following messages might be involved in the problem
 [drm:amdgpu_dm_atomic_check [amdgpu]] Atomic check failed with err: -22 
 [drm:dm_update_crtc_state [amdgpu]] Disabling DRM crtc: 47


Jul 10 14:49:12 systemd[1]: Started User Manager for UID 1000.
Jul 10 14:49:12 systemd[1]: Started Session 2 of user matt.
Jul 10 14:49:12 sddm-helper[2263]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket
Jul 10 14:49:12 audit[2242]: USER_START pid=2242 uid=0 auid=1000 ses=2 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_selinux,pam_loginuid,pam_selinux,pam_keyinit,pam_namespace,pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_gnome_keyring,pam_kwallet5,pam_umask,pam_lastlog acct="matt" exe="/usr/libexec/sddm-helper" hostname=localhost.localdomain addr=? terminal=/dev/tty1 res=success'
Jul 10 14:49:12 sddm-helper[2242]: Starting: "/etc/sddm/wayland-session /usr/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland"
Jul 10 14:49:12 kernel: [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
Jul 10 14:49:12 abrt-dump-journal-oops[2211]: abrt-dump-journal-oops: Found oopses: 1
Jul 10 14:49:12 abrt-dump-journal-oops[2211]: abrt-dump-journal-oops: Creating problem directories
Jul 10 14:49:12 kernel: [drm:drm_mode_addfb2 [drm]] [FB:73]
Jul 10 14:49:12 kernel: [drm:drm_mode_setcrtc [drm]] [CRTC:47:crtc-0]
Jul 10 14:49:12 kernel: [drm:drm_mode_setcrtc [drm]] [CONNECTOR:53:eDP-1]
Jul 10 14:49:12 audit: BPF prog-id=46 op=LOAD
Jul 10 14:49:12 audit: BPF prog-id=47 op=LOAD
Jul 10 14:49:12 audit: BPF prog-id=48 op=LOAD
Jul 10 14:49:12 systemd[1]: Starting Locale Service...
Jul 10 14:49:12 systemd[1]: Started Locale Service.
Jul 10 14:49:12 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-localed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 10 14:49:12 systemd[2246]: Starting D-Bus User Message Bus...
Jul 10 14:49:12 dbus-broker-launch[2319]: Service file '/usr/share//dbus-1/services/sealert.service' is not named after the D-Bus name 'org.fedoraproject.Setroubleshootd'.
Jul 10 14:49:12 dbus-broker-launch[2319]: Service file '/usr/share//dbus-1/services/org.kde.dolphin.FileManager1.service' is not named after the D-Bus name 'org.freedesktop.FileManager1'.
Jul 10 14:49:12 dbus-broker-launch[2319]: Ignoring duplicate name 'org.freedesktop.FileManager1' in service file '/usr/share//dbus-1/services/org.freedesktop.FileManager1.service'
Jul 10 14:49:12 dbus-broker-launch[2319]: Service file '/usr/share//dbus-1/services/org.kde.kscreen.service' is not named after the D-Bus name 'org.kde.KScreen'.
Jul 10 14:49:12 dbus-broker-launch[2319]: Policy to allow eavesdropping in /usr/share/dbus-1/session.conf +31: Eavesdropping is deprecated and ignored
Jul 10 14:49:12 dbus-broker-launch[2319]: Policy to allow eavesdropping in /usr/share/dbus-1/session.conf +33: Eavesdropping is deprecated and ignored
Jul 10 14:49:12 dbus-broker-launch[2319]: Service file '/usr/share//dbus-1/services/org.kde.plasma.Notifications.service' is not named after the D-Bus name 'org.freedesktop.Notifications'.
Jul 10 14:49:12 systemd[2246]: Started D-Bus User Message Bus.
Jul 10 14:49:12 dbus-broker-lau[2319]: Ready
Jul 10 14:49:12 abrt-server[2233]: Can't find a meaningful backtrace for hashing in '.'
Jul 10 14:49:12 abrt-server[2233]: Preserving oops '.' because DropNotReportableOopses is 'no'
Jul 10 14:49:13 kernel: [drm:amdgpu_vm_init [amdgpu]] VM update mode is SDMA
Jul 10 14:49:13 kernel: [drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR:53:eDP-1]
Jul 10 14:49:13 kernel: [drm:drm_add_edid_modes [drm]] ELD: no CEA Extension found
Jul 10 14:49:13 kernel: [drm:drm_add_display_info [drm]] Supported Monitor Refresh rate range is 0 Hz - 0 Hz
Jul 10 14:49:13 kernel: [drm:drm_add_display_info [drm]] non_desktop set to 0
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:1366  height:768
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:1366  height:768
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:1280  height:720
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:1024  height:768
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:800  height:600
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:640  height:480
Jul 10 14:49:13 kernel: [drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR:53:eDP-1] probed modes :
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "1366x768": 60 76300 1366 1374 1384 1556 768 771 777 816 0x48 0xa
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "1366x768": 40 50870 1366 1374 1384 1556 768 771 777 816 0x40 0xa
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 76300 1280 1374 1384 1556 720 771 777 816 0x40 0xa
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 60 76300 1024 1374 1384 1556 768 771 777 816 0x40 0xa
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "800x600": 60 76300 800 1374 1384 1556 600 771 777 816 0x40 0xa
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 60 76300 640 1374 1384 1556 480 771 777 816 0x40 0xa
Jul 10 14:49:13 kernel: [drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR:53:eDP-1]
Jul 10 14:49:13 kernel: [drm:drm_add_edid_modes [drm]] ELD: no CEA Extension found
Jul 10 14:49:13 kernel: [drm:drm_add_display_info [drm]] Supported Monitor Refresh rate range is 0 Hz - 0 Hz
Jul 10 14:49:13 kernel: [drm:drm_add_display_info [drm]] non_desktop set to 0
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:1366  height:768
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:1366  height:768
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:1280  height:720
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:1024  height:768
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:800  height:600
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:640  height:480
Jul 10 14:49:13 kernel: [drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR:53:eDP-1] probed modes :
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "1366x768": 60 76300 1366 1374 1384 1556 768 771 777 816 0x48 0xa
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "1366x768": 40 50870 1366 1374 1384 1556 768 771 777 816 0x40 0xa
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 76300 1280 1374 1384 1556 720 771 777 816 0x40 0xa
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 60 76300 1024 1374 1384 1556 768 771 777 816 0x40 0xa
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "800x600": 60 76300 800 1374 1384 1556 600 771 777 816 0x40 0xa
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 60 76300 640 1374 1384 1556 480 771 777 816 0x40 0xa
Jul 10 14:49:13 kernel: [drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR:58:HDMI-A-1]
Jul 10 14:49:13 kernel: [drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR:58:HDMI-A-1] disconnected
Jul 10 14:49:13 kernel: [drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR:58:HDMI-A-1]
Jul 10 14:49:13 kernel: [drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR:58:HDMI-A-1] disconnected
Jul 10 14:49:13 kernel: [drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR:62:DP-1]
Jul 10 14:49:13 kernel: [drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR:62:DP-1] disconnected
Jul 10 14:49:13 kernel: [drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR:62:DP-1]
Jul 10 14:49:13 kernel: [drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR:62:DP-1] disconnected
Jul 10 14:49:13 kernel: [drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR:53:eDP-1]
Jul 10 14:49:13 kernel: [drm:drm_add_edid_modes [drm]] ELD: no CEA Extension found
Jul 10 14:49:13 kernel: [drm:drm_add_display_info [drm]] Supported Monitor Refresh rate range is 0 Hz - 0 Hz
Jul 10 14:49:13 kernel: [drm:drm_add_display_info [drm]] non_desktop set to 0
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:1366  height:768
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:1366  height:768
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:1280  height:720
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:1024  height:768
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:800  height:600
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:640  height:480
Jul 10 14:49:13 kernel: [drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR:53:eDP-1] probed modes :
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "1366x768": 60 76300 1366 1374 1384 1556 768 771 777 816 0x48 0xa
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "1366x768": 40 50870 1366 1374 1384 1556 768 771 777 816 0x40 0xa
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 76300 1280 1374 1384 1556 720 771 777 816 0x40 0xa
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 60 76300 1024 1374 1384 1556 768 771 777 816 0x40 0xa
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "800x600": 60 76300 800 1374 1384 1556 600 771 777 816 0x40 0xa
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 60 76300 640 1374 1384 1556 480 771 777 816 0x40 0xa
Jul 10 14:49:13 kernel: [drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR:53:eDP-1]
Jul 10 14:49:13 kernel: [drm:drm_add_edid_modes [drm]] ELD: no CEA Extension found
Jul 10 14:49:13 kernel: [drm:drm_add_display_info [drm]] Supported Monitor Refresh rate range is 0 Hz - 0 Hz
Jul 10 14:49:13 kernel: [drm:drm_add_display_info [drm]] non_desktop set to 0
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:1366  height:768
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:1366  height:768
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:1280  height:720
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:1024  height:768
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:800  height:600
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:640  height:480
Jul 10 14:49:13 kernel: [drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR:53:eDP-1] probed modes :
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "1366x768": 60 76300 1366 1374 1384 1556 768 771 777 816 0x48 0xa
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "1366x768": 40 50870 1366 1374 1384 1556 768 771 777 816 0x40 0xa
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "1280x720": 60 76300 1280 1374 1384 1556 720 771 777 816 0x40 0xa
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "1024x768": 60 76300 1024 1374 1384 1556 768 771 777 816 0x40 0xa
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "800x600": 60 76300 800 1374 1384 1556 600 771 777 816 0x40 0xa
Jul 10 14:49:13 kernel: [drm:drm_mode_debug_printmodeline [drm]] Modeline "640x480": 60 76300 640 1374 1384 1556 480 771 777 816 0x40 0xa
Jul 10 14:49:13 kernel: [drm:drm_mode_addfb2 [drm]] [FB:77]
Jul 10 14:49:13 kernel: [drm:drm_mode_addfb2 [drm]] [FB:79]
Jul 10 14:49:13 kernel: [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
Jul 10 14:49:13 abrt-dump-journal-oops[2211]: Reported 1 kernel oopses to Abrt
Jul 10 14:49:13 kernel: [drm:amdgpu_dm_atomic_check [amdgpu]] Atomic check failed with err: -22 
Jul 10 14:49:13 kernel: [drm:dm_update_crtc_state [amdgpu]] Disabling DRM crtc: 47
Jul 10 14:49:13 kernel: [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
Jul 10 14:49:13 kernel: [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] Disabling psr if psr is enabled on any stream
Jul 10 14:49:13 kernel: [drm:dc_commit_state [amdgpu]] dc_commit_state: 0 streams
Jul 10 14:49:13 kernel: [drm:dce110_edp_backlight_control [amdgpu]] dce110_edp_backlight_control: backlight action: Off
Jul 10 14:49:13 kernel: [drm:dce110_stream_encoder_dp_blank [amdgpu]] REG_WAIT taking a while: 1ms in dce110_stream_encoder_dp_blank line:955
Jul 10 14:49:13 kernel: [drm:dce110_edp_backlight_control [amdgpu]] dce110_edp_backlight_control: panel already powered up/off. Do nothing.
Jul 10 14:49:13 kernel: [drm:dce110_edp_power_control [amdgpu]] dce110_edp_power_control: transition: power_up=0 current_ts=24767800281 edp_poweroff=0 edp_poweron=0 time_since_edp_poweroff_ms=24767 time_since_edp_poweron_ms=24767
Jul 10 14:49:13 kernel: [drm:dce110_edp_power_control [amdgpu]] dce110_edp_power_control: BEGIN: Panel Power action: Off
Jul 10 14:49:13 kernel: [drm:dce110_edp_power_control [amdgpu]] dce110_edp_power_control: END: Panel Power action: Off bp_result=0
Jul 10 14:49:13 kernel: [drm:dce110_edp_power_control [amdgpu]] dce110_edp_power_control: updated values: edp_poweroff=24768897824 edp_poweron=0
Jul 10 14:49:13 kernel: [drm:event_mall_stutter [amdgpu]] Allow idle optimizations (MALL): 1
Jul 10 14:49:13 kernel: [drm:amdgpu_dm_audio_eld_notify [amdgpu]] Notify ELD: -1
Jul 10 14:49:13 kernel: [drm:amdgpu_vm_init [amdgpu]] VM update mode is SDMA
Jul 10 14:49:13 kernel: [drm:drm_mode_addfb2 [drm]] [FB:70]
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:1366  height:768
Jul 10 14:49:13 kernel: [drm:create_stream_for_sink [amdgpu]] Destination Rectangle x:0  y:0  width:1366  height:768
Jul 10 14:49:13 kernel: [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] Disabling psr if psr is enabled on any stream
Jul 10 14:49:13 kernel: [drm:dc_commit_state [amdgpu]] dc_commit_state: 1 streams
Jul 10 14:49:13 kernel: [drm:dc_stream_log [amdgpu]] core_stream 0x000000006c314c91: src: 0, 0, 1366, 768; dst: 0, 0, 1366, 768, colorSpace:1
Jul 10 14:49:13 kernel: [drm:dc_stream_log [amdgpu]]         pix_clk_khz: 76300, h_total: 1556, v_total: 816, pixelencoder:1, displaycolorDepth:1
Jul 10 14:49:13 kernel: [drm:dc_commit_state [amdgpu]]         link: 0
Jul 10 14:49:13 kernel: [drm:dce110_edp_power_control [amdgpu]] dce110_edp_power_control: transition: power_up=1 current_ts=25147601565 edp_poweroff=24768897824 edp_poweron=0 time_since_edp_poweroff_ms=378 time_since_edp_poweron_ms=25147
Jul 10 14:49:13 kernel: [drm:dce110_edp_power_control [amdgpu]] dce110_edp_power_control: remaining_min_edp_poweroff_time_ms=122: begin wait.
Jul 10 14:49:13 kernel: [drm:dce110_edp_power_control [amdgpu]] dce110_edp_power_control: remaining_min_edp_poweroff_time_ms=122: end wait.
Jul 10 14:49:13 kernel: [drm:dce110_edp_power_control [amdgpu]] dce110_edp_power_control: wait 122 ms to power on eDP.
Jul 10 14:49:13 kernel: [drm:dce110_edp_power_control [amdgpu]] dce110_edp_power_control: BEGIN: Panel Power action: On
Jul 10 14:49:13 kernel: [drm:dce110_edp_power_control [amdgpu]] dce110_edp_power_control: END: Panel Power action: On bp_result=0
Jul 10 14:49:13 kernel: [drm:dce110_edp_power_control [amdgpu]] dce110_edp_power_control: updated values: edp_poweroff=24768897824 edp_poweron=25288504540
Jul 10 14:49:13 kernel: [drm:drm_dp_dpcd_access [drm_kms_helper]] AMDGPU DM aux hw bus 0: Too many retries, giving up. First error: -5
Jul 10 14:49:13 kernel: [drm:dce110_edp_power_control [amdgpu]] dce110_edp_power_control: Skipping Panel Power action: On
Jul 10 14:49:13 kernel: [drm:dp_set_panel_mode [amdgpu]] Link: 0 eDP panel mode supported: 1 eDP panel mode enabled: 0 
Jul 10 14:49:13 kernel: [drm:perform_link_training_with_retries [amdgpu]] Link: 0 ASSR enabled: 0
Jul 10 14:49:13 kernel: [drm:print_status_message.constprop.0 [amdgpu]] HBRx1 pass VS=0, PE=0, DS=0.5% 30KHz
Jul 10 14:49:13 kernel: [drm:dce110_edp_backlight_control [amdgpu]] dce110_edp_backlight_control: backlight action: On
Jul 10 14:49:13 kernel: [drm:dc_commit_state [amdgpu]] {1366x768, 1556x816@76300Khz}
Jul 10 14:49:13 kernel: [drm:amdgpu_dm_audio_eld_notify [amdgpu]] Notify ELD: -1
Jul 10 14:49:13 kernel: [drm:amdgpu_dm_audio_eld_notify [amdgpu]] Notify ELD: -1
Jul 10 14:49:14 kernel: [drm:drm_mode_addfb2 [drm]] [FB:81]
Jul 10 14:49:14 kernel: [drm:event_mall_stutter [amdgpu]] Allow idle optimizations (MALL): 0
Jul 10 14:49:14 kernel: [drm:amdgpu_vm_init [amdgpu]] VM update mode is SDMA
Jul 10 14:49:14 kernel: [drm:amdgpu_vm_init [amdgpu]] VM update mode is SDMA


I'll attach the journal for that boot. Plasma on X started normally with 5.13.1. GNOME 40.2 on Wayland had the same black screen problem when starting. GNOME on X started without the problem. The problem is specific to Wayland. Plasma on Wayland and GNOME on Wayland started normally when I added amdgpu.dc=0 the 5.13.1 kernel command line, so the problem might be in the amdgpu DC. 

The 5.13.1 kernel is the first of the 5.13 branch that I've tried. Plasma and GNOME on Wayland started normally with 5.12.15 and earlier.

I tried reporting this problem at https://gitlab.freedesktop.org/drm/amd/-/issues but there was an error on the site which prevented that.

2. What is the Version-Release number of the kernel:
kernel-5.13.1-300.fc34.x86_64

3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :
Plasma and GNOME on Wayland started normally with 5.12.15 and earlier.
5.13.1 is the first version I tested that was affected by this problem.

4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:
Yes, this problem happened each of several times I tried to start Plasma on Wayland and 2 of 2 times starting GNOME on Wayland with 5.13.1

1. Boot a Fedora 34 KDE Plasma installation with the 5.12.15 kernel installed updated to 2021-7-10 with updates-testing enabled. The system might need to have an AMD GPU affected by this problem.
2. Log in to Plasma 5.22.2 on Wayland from sddm
3. Start Konsole
4. sudo dnf upgrade https://kojipkgs.fedoraproject.org//packages/kernel/5.13.1/300.fc34/x86_64/kernel-5.13.1-300.fc34.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/kernel/5.13.1/300.fc34/x86_64/kernel-core-5.13.1-300.fc34.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/kernel/5.13.1/300.fc34/x86_64/kernel-devel-5.13.1-300.fc34.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/kernel/5.13.1/300.fc34/x86_64/kernel-modules-5.13.1-300.fc34.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/kernel/5.13.1/300.fc34/x86_64/kernel-modules-extra-5.13.1-300.fc34.x86_64.rpm
5. Reboot into the 5.13.1 kernel
6. Log in to Plasma on Wayland 

5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:
I haven't tried the latest Rawhide kernel.

6. Are you running any modules that not shipped with directly Fedora's kernel?:
No.

7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.

Comment 1 Matt Fagnani 2021-07-11 13:47:59 UTC
I reported this problem at https://gitlab.freedesktop.org/drm/amd/-/issues/1644 
The latest Rawhide kernel kernel-5.14.0-0.rc0.20210709gitf55966571d5e.14.fc35 had this problem also.

Comment 2 Matt Fagnani 2021-07-17 18:42:56 UTC
I heard that most kernel problems were introduced in the merge window, so I tried 5.13.0-0.rc1.13.fc35 from koji first. 5.13.0-0.rc1.13.fc35 had the same problem. The only successful 5.13 merge window Rawhide build 5.13.0-0.rc0.20210428gitacd3d2859453.2.fc35 in koji didn't have the problem. I take that to mean the problem was introduced in the 5.13 merge window after 5.13.0-0.rc0.20210428gitacd3d2859453.2.fc35. Michel Dänzer suggested using git bisect at https://gitlab.freedesktop.org/drm/amd/-/issues/1644#note_988139 I bisected the 5.13 merge window of the mainline kernel using the Fedora instructions at https://docs.fedoraproject.org/en-US/quick-docs/kernel/troubleshooting/index.html#_bisecting_the_kernel The first bad commit according to git bisect was the following.

1f928f51593ca07e2b125ca862fcff687e9e498b is the first bad commit
commit 1f928f51593ca07e2b125ca862fcff687e9e498b
Author: Oak Zeng <Oak.Zeng>
Date:   Sat Jan 23 11:34:45 2021 -0600

    drm/amdgpu: Use physical translation mode to access page table
    
    On A+A platform, CPU write page directory and page table in cached
    mode. So it is necessary for page table walker to snoop CPU cache.
    This setting is necessary for page walker to snoop page directory
    and page table data out of CPU cache.
    
    Signed-off-by: Oak Zeng <Oak.Zeng>
    Acked-by: Christian Konig <christian.koenig>
    Reviewed-by: Felix Kuehling <felix.kuehling>
    Signed-off-by: Alex Deucher <alexander.deucher>

 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c |  9 +++++++--
 drivers/gpu/drm/amd/amdgpu/mmhub_v1_7.c  | 13 +++++++++++--
 2 files changed, 18 insertions(+), 4 deletions(-)

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.14-rc1&id=1f928f51593ca07e2b125ca862fcff687e9e498b

5.13.2 is affected by this problem. I attached the journal for a boot of 5.13.1 with drm.debug=94 as suggested by Michel where I reproduced the black screen problem by logging into Plasma on Wayland at https://gitlab.freedesktop.org/drm/amd/-/issues/1644#note_988861 There were a lot more repeated messages from amdgpu with drm.debug=94 after the login, but I'm not sure which of them might indicate the error.

I booted the 5.12.15 kernel with drm.debug=94, and it also had the messages like 
[drm:amdgpu_dm_atomic_check [amdgpu]] Atomic check failed with err: -22 
[drm:dm_update_crtc_state [amdgpu]] Disabling DRM crtc: 47
So those messages might not be indicative of the problem.

Comment 3 Gerald Cox 2021-07-21 22:41:03 UTC
*** Bug 1984686 has been marked as a duplicate of this bug. ***

Comment 4 Matt Fagnani 2021-07-26 02:39:28 UTC
5.13.4 and earlier 5.13 kernels had this problem. 5.14.0-0.rc2.20210723git8baef6386baa.26.fc35 didn't have this problem with the default kernel command line in a Fedora 34 KDE Plasma installation and Fedora-KDE-Live-x86_64-Rawhide-20210724.n.0.iso from https://koji.fedoraproject.org/koji/buildinfo?buildID=1805690 5.14.0-0.rc2.20210722git3d5895cd3517.25.fc35 had this issue. I bisected the mainline kernel after 5.14-rc2 from 3d5895cd3517 to 8baef6386baa. The first commit that fixed the problem was 6be50f5d83adc9541de3d5be26e968182b5ac150 which fixed a regression in the amdgpu DC on some embedded panels as follows.

6be50f5d83adc9541de3d5be26e968182b5ac150 is the first new commit
commit 6be50f5d83adc9541de3d5be26e968182b5ac150
Author: Stylon Wang <stylon.wang>
Date:   Wed Jul 21 12:25:24 2021 +0800

    drm/amd/display: Fix ASSR regression on embedded panels
    
    [Why]
    Regression found in some embedded panels traces back to the earliest
    upstreamed ASSR patch. The changed code flow are causing problems
    with some panels.
    
    [How]
    - Change ASSR enabling code while preserving original code flow
      as much as possible
    - Simplify the code on guarding with internal display flag
    
    Bug: https://bugzilla.kernel.org/show_bug.cgi?id=213779
    Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1620
    Reviewed-by: Alex Deucher <alexander.deucher>
    Signed-off-by: Stylon Wang <stylon.wang>
    Signed-off-by: Alex Deucher <alexander.deucher>
    Cc: stable.org

 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Comment 5 Gerald Cox 2021-08-20 21:25:55 UTC
Kernel 5.13.12 still has the same issue.

Comment 6 Justin M. Forbes 2021-08-20 22:00:40 UTC
The issue you have linked in upstream was closed as a duplicate of another, which was fixed in 5.13.9. It would probably be worth mentioning that 5.13.9 did not fix your issue in the upstream bug so that they can figure out what the real fix is.

Comment 7 Matt Fagnani 2021-08-23 18:28:47 UTC
I updated to F35 on my main drive two weeks ago, and 5.14-rc4 to 5.14-rc6 haven't had this problem. 5.13.12 has this problem in a F34 installation on another drive. 

Alex Deucher wrote at https://gitlab.freedesktop.org/drm/amd/-/issues/1620#note_1006759
patches are in 5.14, they should be landing in stable soon: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=715bfff397634c44d616e27e11c873be1d442977 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6be50f5d83adc9541de3d5be26e968182b5ac150

6be50f5d83adc9541de3d5be26e968182b5ac150 was included in 5.13.9 as fad0494f626f1a6b2ea76cd7c6d137d1b4961636 according to https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.13.9 I couldn't find 715bfff397634c44d616e27e11c873be1d442977 drm/amd/display: Revert "Guard ASSR with internal display flag" in the 5.13 repo or changelogs, even though it was cced to stable. Adding 715bfff397634c44d616e27e11c873be1d442977 to 5.13 might be needed to fix this problem. I commented on the above in my upstream report https://gitlab.freedesktop.org/drm/amd/-/issues/1644#note_1038663 Thanks.

Comment 8 Ben Cotton 2022-05-12 15:49:04 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '34'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 9 Ben Cotton 2022-06-07 22:41:13 UTC
Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07.

Fedora Linux 34 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release.

Thank you for reporting this bug and we are sorry it could not be fixed.


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