Ubuntu Server 26.04 kein Vulkan auf amdgpu, nur llvmpipe

Piktogramm

Fleet Admiral
Registriert
Okt. 2008
Beiträge
10.292
Frische Installation von Ubuntu Server 26.04 erkennt zwar die iGPU, steuert diese mit amdgpu an, es ist aber kein Vulkan auf der GPU nutzbar. Vulkan läuft über die GPU mit llvmpipe, was mir dann doch etwas zu langsam ist.

Differenzen zwischen funktionierendem 24.04 mit HWE und dem 26.04 sind, dass ich der 26.04 Weston installiert habe und RoCm aus den Quellen. Wobei auch vor der Installation von RoCm Vulkan auf der GPU nicht verfügbar war (und RoCm meines Wissens sowieso sich nicht am mesa-vulkan vergreift).

Code:
~$ inxi -Gxxx
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Mobile Series]
    driver: amdgpu v: kernel arch: GCN-5 pcie: speed: 8 GT/s lanes: 16 ports: active: HDMI-A-1
    empty: DP-1,DP-2 bus-ID: 06:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 34.0 C
  Display: server: Xwayland v: 24.1.10 driver: gpu: amdgpu tty: 192x92
  Monitor-1: HDMI-A-1 model: FHD serial: demoset-1 res: 1920x1080 dpi: 163
    size: 300x190mm (11.81x7.48") diag: 355mm (14") modes: max: 1920x1080 min: 640x480
  API: EGL v: 1.5 platforms: device: 1 drv: swrast surfaceless: drv: swrast
    inactive: gbm,wayland,x11,device-0
  API: OpenGL v: 4.5 vendor: mesa v: 26.0.3-1ubuntu1 note: console (EGL sourced)
    renderer: llvmpipe (LLVM 21.1.8 256 bits)
  API: Vulkan v: 1.4.341 layers: 5 surfaces: N/A device: 0 type: cpu driver: mesa llvmpipe
    device-ID: 10005:0000
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo gpu: radeontop x11: xdriinfo, xdpyinfo, xprop,
    xrandr

Code:
~$ vulkaninfo --summary
Devices:
========
GPU0:
        apiVersion         = 1.4.335
        driverVersion      = 26.0.3
        vendorID           = 0x10005
        deviceID           = 0x0000
        deviceType         = PHYSICAL_DEVICE_TYPE_CPU
        deviceName         = llvmpipe (LLVM 21.1.8, 256 bits)
        driverID           = DRIVER_ID_MESA_LLVMPIPE
        driverName         = llvmpipe
        driverInfo         = Mesa 26.0.3-1ubuntu1 (LLVM 21.1.8)
        conformanceVersion = 1.3.1.1
        deviceUUID         = 6d657361-3236-2e30-2e33-2d3175627500
        driverUUID         = 6c6c766d-7069-7065-5555-494400000000


Eigentlich sollte es so ausschauen:
Code:
Devices:
========
GPU0:
        apiVersion         = 1.4.318
        driverVersion      = 25.2.8
        vendorID           = 0x1002
        deviceID           = 0x1636
        deviceType         = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
        deviceName         = AMD Radeon Graphics (RADV RENOIR)
        driverID           = DRIVER_ID_MESA_RADV
        driverName         = radv
        driverInfo         = Mesa 25.2.8-0ubuntu0.24.04.1
        conformanceVersion = 1.4.0.0
        deviceUUID         = 00000000-0700-0000-0000-000000000000
        driverUUID         = 414d442d-4d45-5341-2d44-525600000000
GPU1:
        apiVersion         = 1.4.318
        driverVersion      = 25.2.8
        vendorID           = 0x10005
        deviceID           = 0x0000
        deviceType         = PHYSICAL_DEVICE_TYPE_CPU
        deviceName         = llvmpipe (LLVM 20.1.2, 256 bits)
        driverID           = DRIVER_ID_MESA_LLVMPIPE
        driverName         = llvmpipe
        driverInfo         = Mesa 25.2.8-0ubuntu0.24.04.1 (LLVM 20.1.2)
        conformanceVersion = 1.3.1.1
        deviceUUID         = 6d657361-3235-2e32-2e38-2d3075627500
        driverUUID         = 6c6c766d-7069-7065-5555-494400000000
Code:
~$ inxi -Gxxx
Graphics:
  Device-1: AMD Renoir [Radeon RX Vega 6 ] driver: amdgpu v: kernel arch: GCN-5 pcie:
    speed: 8 GT/s lanes: 16 ports: active: none empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 07:00.0
    chip-ID: 1002:1636 class-ID: 0300 temp: 24.0 C
  Display: server: No display server data found. Headless machine? tty: 192x92
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi device: 1 drv: swrast
    surfaceless: drv: radeonsi inactive: gbm,wayland,x11
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: mesa v: 25.2.8-0ubuntu0.24.04.1
    note: console (EGL sourced) renderer: AMD Radeon Graphics (radeonsi renoir ACO DRM 3.64
    7.0.5-zabbly+), llvmpipe (LLVM 20.1.2 256 bits)
  API: Vulkan v: 1.3.275 layers: 3 surfaces: N/A device: 0 type: integrated-gpu driver: N/A
    device-ID: 1002:1636 device: 1 type: cpu driver: N/A device-ID: 10005:0000

Und ja "mesa-vulkan-drivers" ist installiert :)
 
Zuletzt bearbeitet:
Üblicherweise installiert man keinen Windowmanager auf einem Server, ist das deine Wahl gewesen für eine Minimalinstallation?

Ist nur eine Vermutung, aber es könnte für das was du vor hast ein paar Pakete fehlen, die bei der Desktopvariante vorinstalliert sind.

Im übrigen werden beim Server dafür ein paar Sachen installiert die man Desktop nicht braucht.
Wenn ich das richtig verstanden habe wie Canonical die Software Vorauswahl gestaltet.
 
  • Gefällt mir
Reaktionen: aragorn92
@Linuxfreakgraz
Die Aufgabe eines Servers ist es, Gewünschtes zu liefern. Wenn ich der Meinung bin, dass meine Kiste grafische Anwendungen liefern soll, dann gehört ein Displayserver auf das Ding. -.-

Und ja, Ubuntu Server kommt mit anderen Paketen und mehr oder weniger ist die Frage, welche Pakete ich übersehe, wenn "mesa-vulkan" installiert ist.
 
Also perplexity meint es braucht dazu noch.
mesa-vulkan-drivers
libgl1-mesa-dri
mesa-utils
vulkan-tools

Nennt diesen Thread sogar als konkretes Beispiel.
 
Linuxfreakgraz schrieb:
Habe ich deshalb gemacht, weil ich sonst viele unnötige Pakete vorgeschlagen hätte
Nichtdestotrotz ist es ja trotzdem gut den ganzen Kontext zu kennen. Auch wenn man selbst dazu schreibt, das nur Paket X, Y und Z wichtig sind.
Insbesondere auch deshalb, weil jetzt der Fragesteller nicht den Eindruck macht, das ihn zu viele Informationen verwirren könnten. :-)
 
  • Gefällt mir
Reaktionen: Linuxfreakgraz
journalctl -b | grep -i "drm\|amdgpu"
Code:
May 21 08:27:31 kiste kernel: ACPI: bus type drm_connector registered
May 21 08:27:33 kiste kernel: ata5.00: supports DRM functions and may not be fully accessible
May 21 08:27:33 kiste kernel: ata5.00: supports DRM functions and may not be fully accessible
May 21 08:27:44 kiste systemd[1]: modprobe@drm.service - Load Kernel Module drm skipped, unmet condition check ConditionKernelModuleLoaded=!drm
May 21 08:27:47 kiste kernel: amdgpu: Virtual CRAT table created for CPU
May 21 08:27:47 kiste kernel: amdgpu: Topology: Add CPU node
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: enabling device (0006 -> 0007)
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: initializing kernel modesetting (RENOIR 0x1002:0x1638 0x1002:0x1636 0xD9).
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: register mmio base: 0xFCB00000
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: register mmio size: 524288
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: detected ip block number 0 <common_v2_0_0> (soc15_common)
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: detected ip block number 1 <gmc_v9_0_0> (gmc_v9_0)
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: detected ip block number 2 <ih_v4_0_0> (vega10_ih)
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: detected ip block number 3 <psp_v12_0_0> (psp)
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: detected ip block number 4 <smu_v12_0_0> (smu)
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: detected ip block number 5 <dce_v1_0_0> (dm)
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: detected ip block number 6 <gfx_v9_0_0> (gfx_v9_0)
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: detected ip block number 7 <sdma_v4_0_0> (sdma_v4_0)
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: detected ip block number 8 <vcn_v2_0_0> (vcn_v2_0)
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: detected ip block number 9 <jpeg_v2_0_0> (jpeg_v2_0)
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: Fetched VBIOS from VFCT
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: [drm] ATOM BIOS: 13-CEZANNE-019
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: vgaarb: deactivate vga console
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: Trusted Memory Zone (TMZ) feature enabled
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: VRAM: 512M 0x000000F400000000 - 0x000000F41FFFFFFF (512M used)
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: [drm] Detected VRAM RAM=512M, BAR=512M
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: [drm] RAM width 128bits DDR4
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0:  512M of VRAM memory ready
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0:  7420M of GTT memory ready.
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: [drm] GART: num cpu pages 262144, num gpu pages 262144
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: [drm] PCIE GART of 1024M enabled.
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: [drm] PTB located at 0x000000F41FC00000
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: [drm] Loading DMUB firmware via PSP: version=0x0101002B
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: [VCN instance 0] Found VCN firmware Version ENC: 1.24 DEC: 8 VEP: 0 Revision: 9
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: reserve 0x400000 from 0xf41f800000 for PSP TMR
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: RAS: optional ras ta ucode is not available
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: RAP: optional rap ta ucode is not available
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: SECUREDISPLAY: optional securedisplay ta ucode is not available
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: SMU is initialized successfully!
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: [drm] Display Core v3.2.369 initialized on DCN 2.1
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: [drm] DP-HDMI FRL PCON supported
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: [drm] DMUB hardware initialized: version=0x0101002B
May 21 08:27:47 kiste kernel: snd_hda_intel 0000:06:00.1: bound 0000:06:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: kiq ring mec 2 pipe 1 q 0
May 21 08:27:47 kiste kernel: amdgpu: Virtual CRAT table created for GPU
May 21 08:27:47 kiste kernel: amdgpu: Topology: Add GPU node [0x1002:0x1638]
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: SE 1, SH per SE 1, CU per SH 8, active_cu_number 7
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: ring gfx uses VM inv eng 0 on hub 0
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: ring comp_1.0.0 uses VM inv eng 1 on hub 0
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: ring comp_1.1.0 uses VM inv eng 4 on hub 0
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: ring comp_1.2.0 uses VM inv eng 5 on hub 0
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: ring comp_1.3.0 uses VM inv eng 6 on hub 0
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: ring comp_1.0.1 uses VM inv eng 7 on hub 0
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: ring comp_1.1.1 uses VM inv eng 8 on hub 0
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: ring comp_1.2.1 uses VM inv eng 9 on hub 0
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: ring comp_1.3.1 uses VM inv eng 10 on hub 0
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: ring kiq_0.2.1.0 uses VM inv eng 11 on hub 0
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: ring sdma0 uses VM inv eng 0 on hub 8
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: ring vcn_dec uses VM inv eng 1 on hub 8
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: ring vcn_enc0 uses VM inv eng 4 on hub 8
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: ring vcn_enc1 uses VM inv eng 5 on hub 8
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: ring jpeg_dec uses VM inv eng 6 on hub 8
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: Runtime PM not available
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: [drm] Registered 4 planes with drm panic
May 21 08:27:47 kiste kernel: [drm] Initialized amdgpu 3.64.0 for 0000:06:00.0 on minor 0
May 21 08:27:47 kiste kernel: amdgpu 0000:06:00.0: [drm] Cannot find any crtc or sizes
May 21 08:27:47 kiste kernel: [drm] pre_validate_dsc:1667 MST_DSC dsc precompute is not needed
May 21 08:27:47 kiste sensors[1889]: amdgpu-pci-0600
May 21 08:27:49 kiste gnome-shell[2226]: Added device '/dev/dri/card0' (amdgpu) using atomic mode setting.
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: [drm] PCIE GART of 1024M enabled.
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: [drm] PTB located at 0x000000F41FC00000
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: PSP is resuming...
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: reserve 0x400000 from 0xf41f800000 for PSP TMR
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: RAS: optional ras ta ucode is not available
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: RAP: optional rap ta ucode is not available
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: SECUREDISPLAY: optional securedisplay ta ucode is not available
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: SMU is resuming...
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: dpm has been disabled
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: SMU is resumed successfully!
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: kiq ring mec 2 pipe 1 q 0
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: [drm] DMUB hardware initialized: version=0x0101002B
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: ring gfx uses VM inv eng 0 on hub 0
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: ring comp_1.0.0 uses VM inv eng 1 on hub 0
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: ring comp_1.1.0 uses VM inv eng 4 on hub 0
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: ring comp_1.2.0 uses VM inv eng 5 on hub 0
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: ring comp_1.3.0 uses VM inv eng 6 on hub 0
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: ring comp_1.0.1 uses VM inv eng 7 on hub 0
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: ring comp_1.1.1 uses VM inv eng 8 on hub 0
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: ring comp_1.2.1 uses VM inv eng 9 on hub 0
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: ring comp_1.3.1 uses VM inv eng 10 on hub 0
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: ring kiq_0.2.1.0 uses VM inv eng 11 on hub 0
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: ring sdma0 uses VM inv eng 0 on hub 8
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: ring vcn_dec uses VM inv eng 1 on hub 8
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: ring vcn_enc0 uses VM inv eng 4 on hub 8
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: ring vcn_enc1 uses VM inv eng 5 on hub 8
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: ring jpeg_dec uses VM inv eng 6 on hub 8
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: [drm] Cannot find any crtc or sizes
May 21 08:44:13 kiste kernel: amdgpu 0000:06:00.0: [drm] Cannot find any crtc or sizes
May 21 08:44:13 kiste kernel: ata5.00: supports DRM functions and may not be fully accessible
May 21 08:44:13 kiste kernel: ata5.00: supports DRM functions and may not be fully accessible

Installierte Pakete im Anhang, die Forensoftware meckert bei mageren 10.000 Zeichen langen Posts -.-

andy_m4 schrieb:
Insbesondere auch deshalb, weil jetzt der Fragesteller nicht den Eindruck macht, das ihn zu viele Informationen verwirren könnten. :-)
Stimmt, für gewöhnlich bin ich schon bei minimaler Informationslage mächtig verwirrt!
Ergänzung ()

Linuxfreakgraz schrieb:
Also perplexity meint es braucht dazu noch.
mesa-vulkan-drivers
libgl1-mesa-dri
mesa-utils
vulkan-tools

Nennt diesen Thread sogar als konkretes Beispiel.
Im Ersten Post ist schon gezeigt, dass Mesa Vulkan installiert ist, da u.a. llvmpipe ja als funktionierend angegeben ist.
libgl1-mesa-dri hängt in den Abhänigkeiten vom Mesastack drinnen, mesa-vulkan* ohne DRI zu installieren wäre schon eine gewisse Kunst.
mesa-utils ist ein Metapaket, hauptsächlich auf OpenGL-Tools, ist installiert
vulkaninfo, dessen Ausgabe steht in Post #1

Suchmaschinen und "KI" waren bei dem Problem bisher wenig hilfreich. Das ging immer all zu weit am Problem vorbei.
 

Anhänge

Zuletzt bearbeitet:
Zurück
Oben