пятница

[Bug 2128729] Re: Black screen when booting 5.15.0-160 (on AMD Lucienne / Cezanne / Navi / Renoir / Rembrandt)

This bug is awaiting verification that the linux-
azure-5.15/5.15.0-1107.116~20.04.1 kernel in -proposed solves the
problem. Please test the kernel and update this bug with the results. If
the problem is solved, change the tag 'verification-needed-focal-linux-
azure-5.15' to 'verification-done-focal-linux-azure-5.15'. If the
problem still exists, change the tag 'verification-needed-focal-linux-
azure-5.15' to 'verification-failed-focal-linux-azure-5.15'.


If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.


See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: kernel-spammed-focal-linux-azure-5.15-v2 verification-needed-focal-linux-azure-5.15

--
You received this bug notification because you are subscribed to linux
in Ubuntu.
Matching subscriptions: Bgg, Bmail, Nb
https://bugs.launchpad.net/bugs/2128729

Title:
Black screen when booting 5.15.0-160 (on AMD Lucienne / Cezanne / Navi
/ Renoir / Rembrandt)

Status in linux package in Ubuntu:
Confirmed
Status in linux source package in Jammy:
Fix Released

Bug description:
SRU Justification:

[Impact]

The Ubuntu backport of e6a7df96facdc ("drm/amd/display: Fix MST Null Ptr
for RV") to fix CVE-2024-26700 does not consider that
compute_mst_dsc_configs_for_state() returns a boolean to
indicate success or failure in 5.15, while it returns an integer
in later kernel versions with 0 indicating success. This means
we need to flip the error condition when checking whether the
call succeeded when backporting this to 5.15 and older.

Currently, the error path is taken even though the call to
compute_mst_dsc_configs_for_state() succeeds which causes some systems
to have no video output or a black screen while the system is running.

This is causing loss of video output to screens on affected amdgpu
hardware.

[Fix]

Check the return value of compute_mst_dsc_configs_for_state() in
amdgpu_dm_atomic_check() correctly.

[Test Plan]

Without the fix, there will be no video output to the screen and the
following messages can be found in the kernel log if the kernel is
booted with drm.debug=0x2:

kernel: [drm:amdgpu_dm_atomic_check [amdgpu]] compute_mst_dsc_configs_for_state() failed
kernel: [drm:amdgpu_dm_atomic_check [amdgpu]] Atomic check failed with err: -22

With the fix applied, video output should return to normal and the
kernel warnings will disappear from the log.

[Where problems could occur]

Problems would be observed in odd behavior of the amdgpu driver,
particularly for hardware with DSC support.

[Original Bug Report]

Updated to Kernel 5.15.0-160 from Kernel 5.15.0-157, System seemed to boot but I never got the usual splash logo while booting. Eventually the fans stop and the system sits idle with no video output. I updated the kernel using the system update tool. This system is down stream on Mint, so I can't use the instructions as written in the submission form. But I will do my best. I had to roll back to -157 to write this report. Hope this helps. Logs attached.
_____

[code]
System:
  Kernel: 5.15.0-157-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 6.0.4
    tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia
    base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop System: Gigabyte product: X570S AERO G v: -CF serial: <superuser required>
  Mobo: Gigabyte model: X570S AERO G v: x.x serial: <superuser required>
    UEFI: American Megatrends LLC. v: F3 date: 01/04/2022
CPU:
  Info: 8-core model: AMD Ryzen 7 5800X bits: 64 type: MT MCP smt: enabled arch: Zen 3 rev: 0
    cache: L1: 512 KiB L2: 4 MiB L3: 32 MiB
  Speed (MHz): avg: 4017 high: 4850 min/max: 2200/3800 boost: enabled cores: 1: 4850 2: 3879
    3: 3884 4: 3876 5: 3879 6: 3879 7: 3879 8: 3878 9: 4840 10: 3880 11: 3900 12: 3879 13: 3878
    14: 3880 15: 3878 16: 4140 bogomips: 121593
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] vendor: Sapphire driver: amdgpu
    v: kernel pcie: speed: 16 GT/s lanes: 16 ports: active: DP-2 empty: DP-1,DP-3,HDMI-A-1
    bus-ID: 0f:00.0 chip-ID: 1002:73bf class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,radeon,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1080 s-dpi: 96 s-size: 677x285mm (26.7x11.2") s-diag: 735mm (28.9")
  Monitor-1: DisplayPort-1 mapped: DP-2 model: LG (GoldStar) 34UC89G serial: <filter>
    res: 2560x1080 dpi: 81 size: 798x335mm (31.4x13.2") diag: 865mm (34.1") modes: max: 2560x1080
    min: 640x480
  OpenGL: renderer: AMD Radeon RX 6900 XT (navi21 LLVM 15.0.7 DRM 3.42 5.15.0-157-generic)
    v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.3 direct render: Yes
Audio:
  Device-1: AMD Navi 21 HDMI Audio [Radeon RX 6800/6800 XT / 6900 XT] driver: snd_hda_intel
    v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 0f:00.1 chip-ID: 1002:ab28 class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 16 bus-ID: 11:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: HP HyperX Cloud Alpha Wireless type: USB
    driver: cdc_acm,hid-generic,snd-usb-audio,usbhid bus-ID: 5-2:2 chip-ID: 03f0:098d class-ID: 0a00
    serial: <filter>
  Sound Server-1: ALSA v: k5.15.0-157-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: speed: 5 GT/s lanes: 1
    bus-ID: 08:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp8s0 state: up mac: <filter>
  Device-2: Intel Ethernet I225-V vendor: Gigabyte driver: igc v: kernel pcie: speed: 5 GT/s
    lanes: 1 port: N/A bus-ID: 09:00.0 chip-ID: 8086:15f3 class-ID: 0200
  IF: enp9s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 5-5:3 chip-ID: 8087:0029
    class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 3.0 lmp-v: 5.2
    sub-v: 2184 hci-v: 5.2 rev: 2184
Drives:
  Local Storage: total: 3.18 TiB used: 1.77 TiB (55.5%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 500GB size: 465.76 GiB speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 1B4QFXO7 temp: 34.9 C scheme: GPT
  ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 980 1TB size: 931.51 GiB speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 3B4QFXO7 temp: 35.9 C scheme: GPT
  ID-3: /dev/nvme2n1 vendor: Samsung model: SSD 980 1TB size: 931.51 GiB speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 2B4QFXO7 temp: 37.9 C
  ID-4: /dev/nvme3n1 vendor: Samsung model: SSD 980 1TB size: 931.51 GiB speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 2B4QFXO7 temp: 52.9 C scheme: GPT
Partition:
  ID-1: / size: 915.32 GiB used: 640.68 GiB (70.0%) fs: ext4 dev: /dev/nvme3n1p2
  ID-2: /boot/efi size: 96 MiB used: 31.4 MiB (32.7%) fs: vfat dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 1 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 2-0:1 info: Super-speed hub ports: 1 rev: 3.1 speed: 20 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 6 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-1:2 info: Integrated Express ITE Device type: HID driver: hid-generic,usbhid
    interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 048d:5702 class-ID: 0300
  Hub-4: 3-5:3 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s power: 100mA
    chip-ID: 05e3:0610 class-ID: 0900
  Device-1: 3-5.1:5 info: Mad Catz Catz C.A.T. 9 type: HID driver: hid-generic,usbhid
    interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 400mA chip-ID: 0738:0309 class-ID: 0300
  Hub-5: 3-6:4 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s power: 100mA
    chip-ID: 05e3:0608 class-ID: 0900
  Device-1: 3-6.1:6 info: DEXIN MADCATZ R.A.T. 8+ gaming mouse type: Mouse,Keyboard
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 50mA chip-ID: 12cf:0c05
    class-ID: 0300
  Hub-6: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-7: 4-3:2 info: Genesys Logic USB3.1 Hub ports: 4 rev: 3.2 speed: 5 Gb/s chip-ID: 05e3:0626
    class-ID: 0900
  Hub-8: 5-0:1 info: Hi-speed hub with single TT ports: 6 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 5-2:2 info: HP HyperX Cloud Alpha Wireless
    type: Audio,Keyboard,Abstract (modem),CDC-Data driver: cdc_acm,hid-generic,snd-usb-audio,usbhid
    interfaces: 6 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 03f0:098d class-ID: 0a00
    serial: <filter>
  Device-2: 5-5:3 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb interfaces: 2
    rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0029 class-ID: e001
  Hub-9: 5-6:4 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s power: 100mA
    chip-ID: 05e3:0608 class-ID: 0900
  Device-1: 5-6.1:5 info: Logitech G910 Orion Spark Mechanical Keyboard type: Keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 500mA chip-ID: 046d:c32b
    class-ID: 0300 serial: <filter>
  Hub-10: 6-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-11: 7-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 7-1:2 info: Elan Micro Gaming KB type: Keyboard driver: hid-generic,usbhid
    interfaces: 2 rev: 1.1 speed: 1.5 Mb/s power: 100mA chip-ID: 04f3:152e class-ID: 0301
  Device-2: 7-2:3 info: SiGma Micro USB HANDLE type: Keyboard,HID driver: hid-generic,usbhid
    interfaces: 2 rev: 1.1 speed: 12 Mb/s power: 100mA chip-ID: 1c4f:007c class-ID: 0300
    serial: <filter>
  Hub-12: 8-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
  Device-1: 8-4:2 info: Pioneer Blu-ray Drive type: Mass Storage driver: usb-storage
    interfaces: 1 rev: 3.0 speed: 5 Gb/s power: 8mA chip-ID: 08e4:017a class-ID: 0802
    serial: <filter>
Sensors:
  System Temperatures: cpu: 16.8 C mobo: 16.8 C gpu: amdgpu temp: 43.0 C mem: 46.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 0
Repos:
  Packages: 3131 apt: 3092 flatpak: 39
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
    1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https: //brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //packages.linuxmint.com virginia main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 456 Uptime: 24m wakeups: 0 Memory: 62.69 GiB used: 4.52 GiB (7.2%) Init: systemd
  v: 249 runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Unknown python3.10 client
  inxi: 3.3.13
[/code]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2128729/+subscriptions

Комментариев нет:

Отправить комментарий