Ubuntu 24.04.3 install any AMD driver
https://askubuntu.com/questions/1560432/ubuntu-24-04-3-install-any-amd-driver
After years I had problem with the AMD driver. Discord crashed while I was sharing my webcam. I tried to update or change to the Ubuntu driver, but I am stuck.
$dpkg -l | grep amdgpu
ii libdrm-amdgpu1:amd64 2.4.122-1~ubuntu0.24.04.2 amd64 Userspace interface to amdgpu-specific kernel DRM services -- runtime
ii libdrm-amdgpu1:i386 2.4.122-1~ubuntu0.24.04.2 i386 Userspace interface to amdgpu-specific kernel DRM services -- runtime
ii xserver-xorg-video-amdgpu 23.0.0-1ubuntu0.24.04.1 amd64 X.Org X server -- AMDGPU display driver
$dpkg -l | grep mesa
ii libegl-mesa0:amd64 25.0.7-0ubuntu0.24.04.2 amd64 free implementation of the EGL API -- Mesa vendor library
ii libegl-mesa0:i386 25.0.7-0ubuntu0.24.04.2 i386 free implementation of the EGL API -- Mesa vendor library
ii libgl1-mesa-dev:amd64 25.0.7-0ubuntu0.24.04.2 amd64 transitional dummy package
ii libgl1-mesa-dri:amd64 25.0.7-0ubuntu0.24.04.2 amd64 free implementation of the OpenGL API -- DRI modules
ii libgl1-mesa-dri:i386 25.0.7-0ubuntu0.24.04.2 i386 free implementation of the OpenGL API -- DRI modules
ii libglu1-mesa:amd64 9.0.2-1.1build1 amd64 Mesa OpenGL utility library (GLU)
ii libglu1-mesa-dev:amd64 9.0.2-1.1build1 amd64 Mesa OpenGL utility library -- development files
ii libglw1-mesa-dev:amd64 8.0.0-3 amd64 GL widget library for Athena and Motif -- development files
ii libglw1t64-mesa:amd64 8.0.0-3 amd64 GL widget library for Athena and Motif -- runtime
ii libglx-mesa0:amd64 25.0.7-0ubuntu0.24.04.2 amd64 free implementation of the OpenGL API -- GLX vendor library
ii libglx-mesa0:i386 25.0.7-0ubuntu0.24.04.2 i386 free implementation of the OpenGL API -- GLX vendor library
ii libosmesa6:amd64 25.0.7-0ubuntu0.24.04.2 amd64 Mesa Off-screen rendering extension
ii libosmesa6:i386 25.0.7-0ubuntu0.24.04.2 i386 Mesa Off-screen rendering extension
ii mesa-common-dev:amd64 25.0.7-0ubuntu0.24.04.2 amd64 Developer documentation for Mesa
ii mesa-drm-shim:amd64 25.0.7-0ubuntu0.24.04.2 amd64 DRM shim libraries
ii mesa-libgallium:amd64 25.0.7-0ubuntu0.24.04.2 amd64 shared infrastructure for Mesa drivers
ii mesa-libgallium:i386 25.0.7-0ubuntu0.24.04.2 i386 shared infrastructure for Mesa drivers
ii mesa-opencl-icd:amd64 25.0.7-0ubuntu0.24.04.2 amd64 free implementation of the OpenCL API -- ICD runtime
ii mesa-utils 9.0.0-2 amd64 Miscellaneous Mesa utilities -- symlinks
ii mesa-utils-bin:amd64 9.0.0-2 amd64 Miscellaneous Mesa utilities -- native applications
ii mesa-va-drivers:amd64 25.0.7-0ubuntu0.24.04.2 amd64 Mesa VA-API video acceleration drivers
ii mesa-va-drivers:i386 25.0.7-0ubuntu0.24.04.2 i386 Mesa VA-API video acceleration drivers
ii mesa-vdpau-drivers:amd64 25.0.7-0ubuntu0.24.04.2 amd64 Mesa VDPAU video acceleration drivers
ii mesa-vdpau-drivers:i386 25.0.7-0ubuntu0.24.04.2 i386 Mesa VDPAU video acceleration drivers
ii mesa-vulkan-drivers:amd64 25.0.7-0ubuntu0.24.04.2 amd64 Mesa Vulkan graphics drivers
ii mesa-vulkan-drivers:i386 25.0.7-0ubuntu0.24.04.2 i386 Mesa Vulkan graphics drivers
ii mesaflash 3.4.6-1 amd64 Mesa Electronics utility tool
ls /etc/modprobe.d/
alsa-base.conf blacklist-ath_pci.conf blacklist-firewire.conf blacklist-modem.conf blacklist-rare-network.conf intel-microcode-blacklist.conf
amd64-microcode-blacklist.conf.bak blacklist.conf blacklist-framebuffer.conf blacklist-oss.conf dkms.conf.bak iwlwifi.conf
ls /etc/apt/sources.list.d/
spotify.list.distUpgrade spotify.list.save spotify.sources third-party.sources ubuntu-esm-apps.sources ubuntu-esm-infra.sources ubuntu.sources
vulkaninfo --summary
ERROR: [Loader Message] Code 0 : loader_get_json: Failed to open JSON file amd_icd64.json
WARNING: [Loader Message] Code 0 : loader_parse_icd_manifest: Can not find 'ICD' object in ICD JSON file /etc/vulkan/icd.d/amd_icd64.json. Skipping ICD JSON
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
==========
VULKANINFO
==========
Vulkan Instance Version: 1.3.275
Instance Extensions: count = 24
-------------------------------
VK_EXT_acquire_drm_display : extension revision 1
VK_EXT_acquire_xlib_display : extension revision 1
VK_EXT_debug_report : extension revision 10
VK_EXT_debug_utils : extension revision 2
VK_EXT_direct_mode_display : extension revision 1
VK_EXT_display_surface_counter : extension revision 1
VK_EXT_headless_surface : extension revision 1
VK_EXT_surface_maintenance1 : extension revision 1
VK_EXT_swapchain_colorspace : extension revision 5
VK_KHR_device_group_creation : extension revision 1
VK_KHR_display : extension revision 23
VK_KHR_external_fence_capabilities : extension revision 1
VK_KHR_external_memory_capabilities : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2 : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2 : extension revision 1
VK_KHR_portability_enumeration : extension revision 1
VK_KHR_surface : extension revision 25
VK_KHR_surface_protected_capabilities : extension revision 1
VK_KHR_wayland_surface : extension revision 6
VK_KHR_xcb_surface : extension revision 6
VK_KHR_xlib_surface : extension revision 6
VK_LUNARG_direct_driver_loading : extension revision 1
Instance Layers: count = 7
--------------------------
VK_LAYER_INTEL_nullhw INTEL NULL HW 1.1.73 version 1
VK_LAYER_MESA_device_select Linux device selection layer 1.4.303 version 1
VK_LAYER_MESA_overlay Mesa Overlay layer 1.4.303 version 1
VK_LAYER_VALVE_steam_fossilize_32 Steam Pipeline Caching Layer 1.3.207 version 1
VK_LAYER_VALVE_steam_fossilize_64 Steam Pipeline Caching Layer 1.3.207 version 1
VK_LAYER_VALVE_steam_overlay_32 Steam Overlay Layer 1.3.207 version 1
VK_LAYER_VALVE_steam_overlay_64 Steam Overlay Layer 1.3.207 version 1
Devices:
========
GPU0:
apiVersion = 1.4.305
driverVersion = 25.0.7
vendorID = 0x1002
deviceID = 0x67df
deviceType = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
deviceName = Radeon RX 580 Series (RADV POLARIS10)
driverID = DRIVER_ID_MESA_RADV
driverName = radv
driverInfo = Mesa 25.0.7-0ubuntu0.24.04.2
conformanceVersion = 1.4.0.0
deviceUUID = 00000000-2d00-0000-0000-000000000000
driverUUID = 414d442d-4d45-5341-2d44-525600000000
GPU1:
apiVersion = 1.4.305
driverVersion = 0.0.1
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.0.7-0ubuntu0.24.04.2 (LLVM 20.1.2)
conformanceVersion = 1.3.1.1
deviceUUID = 6d657361-3235-2e30-2e37-2d3075627500
driverUUID = 6c6c766d-7069-7065-5555-494400000000
$vkcube
Selected GPU 0: Radeon RX 580 Series (RADV POLARIS10), type: DiscreteGpu
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
Could not find both graphics and present queues
glxgears is working, but makes a noise on the speaker (tested this with the old driver, was not so intense. I'm not sure if it's related.)
At the moment the aim is to be able to use Discord, Steam, and Lutris again. The main window does not launch, just frees the display until I close it.
I tried to uninstall all packages, remove the PPAs that I do not need, and reboot and update and install the packages for AMD support, but that did not work too well. What have I missed? I would like to continue using Ubuntu until Ubuntu 26.04 before doing a clean install.
Edit: The Ask output, I checked the motherboard GPU, should not be configured to be used, as far as I can tell. @user7215 or what are you looking for?
lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:05.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
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] Matisse/Vermeer Data Fabric: Device 18h; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 7
20:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse Switch Upstream
21:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
21:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
21:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
21:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
21:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
21:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
26:00.0 SATA controller: ASMedia Technology Inc. ASM1061/ASM1062 Serial ATA Controller (rev 02)
27:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
29:00.0 Network controller: Intel Corporation Dual Band Wireless-AC 3168NGW [Stone Peak] (rev 10)
2a:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
2a:00.1 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
2a:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
2b:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
2c:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
2d:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev e7)
2d:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
2e:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
2f:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
2f:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
2f:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller