Black screen after resume from suspend with kernel 6.0

On one of my machines running a CPU and GPU from AMD, I get stuck on a black screen when resuming from hibernation using the latest Manjaro kernel version 6.0.2-3 from the instable branch or the latest XanMod kernel version 6.0.2 from the AUR. I got no cursor, no console outputs, not any kind of video output. This does not happen on older Manjaro kernels as well as past XanMod kernel versions. There is an arch linux forum entry describing (I think) the same fault: [amdgpu] kernel 6.0.arch1-1 black scren after wake up from suspend / [testing] Repo Forum / Arch Linux Forums

inxi log:

$ inxi -Fxxxz
System:
  Kernel: 6.0.2-3-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    Desktop: KDE Plasma v: 5.26.1 tk: Qt v: 5.15.6 wm: kwin_wayland vt: 2
    dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: ROG STRIX B350-F GAMING v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 5603
    date: 07/28/2020
CPU:
  Info: 6-core model: AMD Ryzen 5 1600 bits: 64 type: MT MCP smt: enabled
    arch: Zen rev: 1 cache: L1: 576 KiB L2: 3 MiB L3: 16 MiB
  Speed (MHz): avg: 1727 high: 2851 min/max: 1550/3200 boost: enabled
    cores: 1: 2851 2: 1358 3: 1546 4: 1478 5: 2844 6: 1550 7: 1550 8: 1357
    9: 1550 10: 1550 11: 1550 12: 1550 bogomips: 76821
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Vega 10 XL/XT [Radeon RX 56/64] vendor: Sapphire
    driver: amdgpu v: kernel arch: GCN-5 pcie: speed: 8 GT/s lanes: 16 ports:
    active: HDMI-A-1,HDMI-A-2 empty: DP-1,DP-2 bus-ID: 0a:00.0
    chip-ID: 1002:687f class-ID: 0300
  Device-2: Microsoft LifeCam HD-3000 type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-6:4 chip-ID: 045e:0779
    class-ID: 0102
  Display: wayland server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.3
    compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu d-rect: 3840x1080
    display-ID: 0
  Monitor-1: HDMI-A-1 pos: primary,left res: 1920x1080 size: N/A modes: N/A
  Monitor-2: HDMI-A-2 pos: right res: 1920x1080 size: N/A modes: N/A
  OpenGL: renderer: AMD Radeon RX Vega (vega10 LLVM 14.0.6 DRM 3.48
    6.0.2-3-MANJARO) v: 4.6 Mesa 22.2.1 direct render: Yes
Audio:
  Device-1: AMD Vega 10 HDMI Audio [Radeon 56/64] driver: snd_hda_intel
    v: kernel pcie: bus-ID: 1-5:3 chip-ID: 046d:0a4d speed: 8 GT/s lanes: 16
    class-ID: 0300 bus-ID: 0a:00.1 chip-ID: 1002:aaf8 class-ID: 0403
  Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 0c:00.3 chip-ID: 1022:1457
    class-ID: 0403
  Device-3: Logitech G430 Surround Sound Gaming Headset type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Device-4: Microsoft LifeCam HD-3000 type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-6:4 chip-ID: 045e:0779
    class-ID: 0102
  Sound API: ALSA v: k6.0.2-3-MANJARO running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.59 running: yes
Network:
  Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
    pcie: speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 03:00.0
    chip-ID: 8086:1539 class-ID: 0200
  IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  IF-ID-1: vethb7JeR8 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-2: waydroid0 state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
Drives:
  Local Storage: total: 3.09 TiB used: 1.28 TiB (41.5%)
  ID-1: /dev/sda vendor: Western Digital model: WD20EZRZ-00Z5HB0
    size: 1.82 TiB speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 0A80 scheme: GPT
  ID-2: /dev/sdb vendor: Patriot model: Burst size: 223.57 GiB
    speed: 6.0 Gb/s type: SSD serial: <filter> rev: 61.2 scheme: GPT
  ID-3: /dev/sdc vendor: Crucial model: CT1000BX500SSD1 size: 931.51 GiB
    speed: 6.0 Gb/s type: SSD serial: <filter> rev: 030 scheme: GPT
  ID-4: /dev/sdd vendor: Samsung model: HD160JJ size: 149.05 GiB
    speed: 3.0 Gb/s type: N/A serial: <filter> rev: 0-33 scheme: MBR
Partition:
  ID-1: / size: 470.89 GiB used: 173.86 GiB (36.9%) fs: ext4 dev: /dev/sdc5
  ID-2: /boot/efi size: 96 MiB used: 30.4 MiB (31.6%) fs: vfat
    dev: /dev/sdc1
Swap:
  ID-1: swap-1 type: partition size: 19.26 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sdb1
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 54.0 C
    mem: 53.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 1167
Info:
  Processes: 400 Uptime: 35m wakeups: 0 Memory: 15.56 GiB used: 4.41 GiB
  (28.4%) Init: systemd v: 251 default: graphical Compilers: gcc: 12.2.0
  clang: 14.0.6 Packages: 1889 pm: pacman pkgs: 1849 pm: flatpak pkgs: 33
  pm: snap pkgs: 7 Shell: fish v: 3.5.1 default: Zsh v: 5.9
  running-in: yakuake inxi: 3.3.22

Kernels are for hardware support. New kernels enable new hardware to function. Looking at your hardware, I dont see any newer hardware. New kernels also introduce new bugs sometimes. I recommend you try the 5.15 LTS (long term support) kernel and see if the problem remains. If it doesnt you can remove the 6.0 kernel.

I confirm this issue with the kernel 6.0.2.
The kernel 5.19 has no issue.



Update:

Someone said the path fixed this issue, but it works on Linux 6.1-rc1 with one monitor. It does not fix multiple monitors yet.

1 Like