Nach Update bzw. Installation keine GPU unterstütung mehr

nach einer Neuinstallation auf einem HP Elitebook 745 AMD Pro 3500 Radeon Vega Ryzen 5 funktionieren die Distros Manjaro KDE, Cinnamon oder auch Mint nicht. KDE und Mint fahren gar nicht hoch, auch eine Konsole läßt sich nicht starten, Cinnamon hat eine 1024x768 Bildschirmauflösung die sich auch nicht ändern läßt. Als Live System funktionieren alle Distros einwandfrei, auch in der richtigen 1920x1080 Bildschirmauflösung. Einen GPU Treiber o.ä. finde ich nicht.
Wer kann helfen ?
( Wie man an dieser Frage erkennen kann habe ich als Linuxänfänger wenig Ahnung, ich bin aber noch lernfähig )

lspci sagt folgendes:

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:01.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:01.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 7
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0e)
01:00.1 Serial controller: Realtek Semiconductor Co., Ltd. RTL8111xP UART #1 (rev 0e)
01:00.2 Serial controller: Realtek Semiconductor Co., Ltd. RTL8111xP UART #2 (rev 0e)
01:00.3 IPMI Interface: Realtek Semiconductor Co., Ltd. RTL8111xP IPMI interface (rev 0e)
01:00.4 USB controller: Realtek Semiconductor Co., Ltd. RTL811x EHCI host controller (rev 0e)
02:00.0 Network controller: Intel Corporation Wireless-AC 9260 (rev 29)
03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series] (rev d2)
04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
04:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
04:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
04:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
04:00.7 Non-VGA unclassified device: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/Renoir Non-Sensor Fusion Hub KMDF driver

Hilfreicher wäre:

inxi -Fza

Ist sonst noch ein OS auf dem Laptop installiert?
Wurde in UEFI- oder BIOS-Modus installiert?
Disk in msdos (mit MBR) oder gpt partitioniert?
Welcher Grafik-Treiber (frei oder proprietär) wurde bei der Installation gewählt?

In der Firmware sollten “Legacy boot” und “CSM” deaktiviert sein, falls im UEFI-Modus installiert werden soll, die Disks sind in “AHCI”-Modus zu setzen.

Vielen Dank, soweit habe ich überprüft:
… ein Win 11 ist noch auf dem Laptop, alles im UEFI-Modus installiert.
Disk ist gpt. Treiber sollten frei sein, proprietär funktioniert gar nicht. Bios Einstellungen passen auch.

inxi -Fza :

  Kernel: 6.5.5-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: hpet available: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.5-x86_64
    root=UUID=22cc94dc-63b5-4e02-8b83-acb5153c88d2 rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: Cinnamon v: 5.8.4 tk: GTK v: 3.24.38 dm: LightDM v: 1.32.0
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP EliteBook 745 G6 v: DBXEnabled
    serial: <filter> Chassis: type: 10 serial: <filter>
  Mobo: HP model: 8584 v: KBC Version 57.3D.00 serial: <filter> UEFI: HP
    v: R74 Ver. 01.25.00 date: 06/26/2023
Battery:
  ID-1: BAT0 charge: 35.2 Wh (100.0%) condition: 35.2/50.2 Wh (70.1%)
    volts: 12.3 min: 11.6 model: Hewlett-Packard Primary type: Li-ion
    serial: <filter> status: full cycles: 153
CPU:
  Info: model: AMD Ryzen 5 PRO 3500U w/ Radeon Vega Mobile Gfx socket: FP5
    bits: 64 type: MT MCP arch: Zen/Zen+ note: check gen: 1 level: v3
    note: check built: 2019 process: GF 12nm family: 0x17 (23)
    model-id: 0x18 (24) stepping: 1 microcode: 0x8108109
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 384 KiB desc: d-4x32 KiB; i-4x64 KiB L2: 2 MiB desc: 4x512 KiB L3: 4 MiB
    desc: 1x4 MiB
  Speed (MHz): avg: 1400 min/max: 1400/2100 boost: enabled
    base/boost: 2100/3700 scaling: driver: acpi-cpufreq governor: schedutil
    volts: 1.2 V ext-clock: 100 MHz cores: 1: 1400 2: 1400 3: 1400 4: 1400
    5: 1400 6: 1400 7: 1400 8: 1400 bogomips: 33549
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT vulnerable
  Type: spec_rstack_overflow mitigation: safe RET
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
    disabled, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series]
    vendor: Hewlett-Packard driver: N/A alternate: amdgpu arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 04:00.0 chip-ID: 1002:15d8 class-ID: 0300
  Device-2: Quanta HP HD Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 4-2:3 chip-ID: 0408:5343
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.org v: 1.21.1.8 driver: X:
    loaded: modesetting,radeon alternate: fbdev,vesa gpu: N/A display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1024x768 s-size: <missing: xdpyinfo>
  Monitor-1: Unknown-1 mapped: None-1 res: 1024x768 hz: 60 size: N/A
    modes: 1024x768
  API: EGL v: 1.5 platforms: device: 0 drv: swrast gbm: drv: kms_swrast
    surfaceless: drv: swrast x11: drv: swrast inactive: wayland
  API: OpenGL v: 4.5 vendor: mesa v: 23.1.9-manjaro1.1 glx-v: 1.4
    direct-render: yes renderer: llvmpipe (LLVM 16.0.6 256 bits)
    device-ID: ffffffff:ffffffff memory: 28.63 GiB unified: yes
Audio:
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 04:00.1
    chip-ID: 1002:15de class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: snd_pci_acp3x
    v: kernel alternate: snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x,
    snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir,
    snd_sof_amd_rembrandt pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 04:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 04:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.5.5-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 0.3.81 status: off tools: pw-cli
  Server-3: PulseAudio v: 16.1 status: active (root, process)
    with: pulseaudio-alsa type: plugin tools: pacat,pactl,pavucontrol
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 3300 bus-ID: 01:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp1s0f0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Intel Wireless-AC 9260 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:2526 class-ID: 0280
  IF: wlp2s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 9260 Bluetooth Adapter driver: btusb v: 0.8
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 4-1.2:4
    chip-ID: 8087:0025 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives:
  Local Storage: total: 953.87 GiB used: 15.57 GiB (1.6%)
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 970 PRO 1TB
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 1B2QEXP7 temp: 37.9 C
    scheme: GPT
  SMART: yes health: PASSED on: 159d 17h cycles: 1,178
    read-units: 30,246,469 [15.4 TB] written-units: 32,945,626 [16.8 TB]
Partition:
  ID-1: / raw-size: 491.68 GiB size: 482.89 GiB (98.21%)
    used: 15.52 GiB (3.2%) fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p5
    maj-min: 259:5
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
    used: 49.4 MiB (51.5%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
    maj-min: 259:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 60.4 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Processes: 254 Uptime: 5m wakeups: 1 Memory: total: 32 GiB note: est.
  available: 29.31 GiB used: 2.37 GiB (8.1%) Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
  Packages: pm: pacman pkgs: 1317 libs: 356 tools: pamac,yay pm: flatpak
  pkgs: 0 Shell: Sudo (sudo) v: 1.9.14p3 default: Bash v: 5.1.16
  running-in: gnome-terminal inxi: 3.3.30

Hier ist nicht der richtige Treiber installiert. Mal

sudo mhwd -a pci free 0300

ausführen und anschließend Laptop neu starten.

Dann

mhwd -li -d

ausführen, um zu schauen, was dann tatsächlich installiert ist.

mhwd -li -d
NAME: video-linux
ATTACHED: PCI
VERSION: 2018.05.04
INFO: Standard open source drivers.
PRIORITY: 2
FREEDRIVER: true
DEPENDS: -
CONFLICTS: -
CLASSIDS: 0300 0380 0302
VENDORIDS: 1002 8086 10de

Warning: no installed configs for USB devices found!

OK, and what says

inxi -Gza

Can you change the resolution now?

nein, der Bildschirm läßt sich nicht ändern.

Graphics:
  Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series]
    vendor: Hewlett-Packard driver: N/A alternate: amdgpu arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 04:00.0 chip-ID: 1002:15d8 class-ID: 0300
  Device-2: Quanta HP HD Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 4-2:3 chip-ID: 0408:5343
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.org v: 1.21.1.8 driver: X:
    loaded: modesetting,radeon alternate: fbdev,vesa gpu: N/A display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1024x768 s-size: <missing: xdpyinfo>
  Monitor-1: Unknown-1 mapped: None-1 res: 1024x768 hz: 60 size: N/A
    modes: 1024x768
  API: EGL v: 1.5 platforms: device: 0 drv: swrast gbm: drv: kms_swrast
    surfaceless: drv: swrast x11: drv: swrast inactive: wayland
  API: OpenGL v: 4.5 vendor: mesa v: 23.1.9-manjaro1.1 glx-v: 1.4
    direct-render: yes renderer: llvmpipe (LLVM 16.0.6 256 bits)
    device-ID: ffffffff:ffffffff memory: 28.63 GiB unified: yes

Don’t know why, but it seems that the amdgpu driver isn’t installed… :thinking:

meiner Meinung nach wird da kein Treiber geladen

Sehr interessant dazu

Mal 2 Zitate von da
"

Driver is not found or not configured.

The device is supported by kernel versions 4.20 and newer.

You are probably need to configure system for the device to work properly (modify kernel boot parameters, connect card to a monitor, etc.).
"
"
Using Debian testing:

GNOME did not work by default;
Had to download amdgpu firmware from linux-firmware and copy it to /lib/firmware/amdgpu and update the kernel.

git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
mkdir /lib/firmware/amdgpu
cp linux-firmware/amdgp/* /lib/firmware/amdgpu/
update-initramfs -u
"

Danke,
das werde ich mal probieren,
scheint aber grade keine Übung für Anfänger zu sein.

die linux-firmware gibt es ja fertig. Hast du die installiert ?

ja, das habe ich gemacht. Hat aber keine Wirkung.

Wenn ich ein Live System starte wird der amdgpu geladen, alles funktioniert wie es soll. Wie kann ich nun mein System dazu überreden diesen zu nutzen, installiert ist der ja. Muß ich da irgendwas Blacklisten ?

Wenn ich mir das anschaue, dann sieht es so aus, als wenn dein Monitor keine ordentlichen EDID Informationen bereithält, was mit dem modesetting Treiber zwingend erforderlich ist.

Die Manjaro ISO startet mit aktiviertem Modeset für i915, radeon und nouveau, aber nicht für amdgpu, da es dort zwingend erforderlich ist. Mir ist allerdings schleierhaft warum es bei dir in der Live-Sitzung funktioniert.

Mehr Informationen zu dem Verhalten kann man in den Kernel Messages lesen:

sudo dmesg

oder da auch x11 im Spiel ist die Xorg logs in:

/var/log/

Könntest du mal information zu deiner EDID posten:

# Baue und Installiere:
pamac build edid-decode-git
# Finde edid und dekodiere es:
find -L /sys/class/drm/ -maxdepth 2 -type f -iname "*edid" -exec sh -c 'echo "##>{}"' \; -exec edid-decode "{}" 2>/dev/null \;

Und bitte verwendet Codeblocks (preformatted text) für lange Terminalausgaben :pray:

Also um nochmal klar zu machen: Wenn beim Erkennen der Kompatibilität (EDID) des Monitor keine validen Informationen kommen, dann muss der Treiber Annahmen machen. Im Zweifel stellt dieser einfach in den Safe-Mode um, damit man keine Schäden verursacht werden.

EDID of '/sys/class/drm/card0-Unknown-1/edid' was empty.

Da sollte wohl etwas mehr stehen ?

Also hat der Monitor keine EDID infos? Hast diesen vielleicht ausgetauscht mit einem No-Name China Model?

Aber ja, das ist genau dein Problem. Diese Infos sind für den amdgpu Treiber sehr wichtig. Ohne diese gibts standardmäßig, nur Safemode und keinen GPU Beschleunigung, da man hier raten müsste, was es sein könnte.

Monitor sollte Orginal sein, sicher weiß ich das aber nicht.
Wenn ich mit dem 6.1… Kernel starte bekomme ich kein Xwindow, wenn ich dann reboote
lädt Kernel 6.5…so wie es soll, allerdings nur einmal !

Graphics:
  Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series]
    vendor: Hewlett-Packard driver: amdgpu v: kernel arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
    ports: active: eDP-1 empty: DP-1,DP-2,DP-3 bus-ID: 04:00.0
    chip-ID: 1002:15d8 class-ID: 0300 temp: 59.0 C
  Device-2: Quanta HP HD Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 4-2:3 chip-ID: 0408:5343
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.org v: 1.21.1.8 driver: X: loaded: amdgpu
    unloaded: modesetting alternate: fbdev,vesa dri: radeonsi gpu: amdgpu
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-size: <missing: xdpyinfo>
  Monitor-1: eDP-1 mapped: eDP model: BOE Display 0x0868 built: 2019
    res: 1920x1080 hz: 60 dpi: 158 gamma: 1.2 size: 309x174mm (12.17x6.85")
    diag: 355mm (14") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast surfaceless: drv: radeonsi x11: drv: radeonsi
    inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.1.9-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Vega 8 Graphics (raven
    LLVM 16.0.6 DRM 3.54 6.5.5-1-MANJARO) device-ID: 1002:15d8
    memory: 1.95 GiB unified: no

Joa, hier sieht man doch, dass es ne EDID gibt. Ich kann dir allerdings auch nicht sagen, woran es genau liegt, aber ich vermute es hat mit der HP Firmware (UEFI Settings) zu tun. Wenn möglich kann man da an ein paar Schrauben drehen. Vielleicht mal Fastboot (Schneller Start) ausstellen?

:notebook: “Fastboot” ist eine Methode, um Initialisierungsschritte zu überspringen. Das verusacht Probleme bei Linux, da es vom UEFI dann nicht alle erforderlichen Informationen bekommt.

Was meinst du damit? Funktioniert dann? Warum nur einmal? Machst du nen Neustart (warmer Start) oder fährst du runter und startest (kalter Start).