====== Ubuntu - GPU - AMD GPU - Install on Ubuntu Server ======
===== Download latest driver =====
wget https://repo.radeon.com/amdgpu-install/latest/ubuntu/noble/amdgpu-install_6.4.60403-1_all.deb
====== Install driver ======
sudo amdgpu-install -y --usecase=graphics,rocm
sudo apt update
sudo apt upgrade
----
===== Check display hardware =====
sudo lshw -C display
returns:
*-display
description: VGA compatible controller
product: Navi 48 [Radeon RX 9070/9070 XT/9070 GRE]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:12:00.0
logical name: /dev/fb0
version: c0
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=amdgpu latency=0 resolution=1920,1080
resources: irq:223 memory:d0000000-dfffffff memory:e0000000-e01fffff ioport:f000(size=256) memory:fcc00000-fcc7ffff memory:fcc80000-fcc9ffff
----
===== Check if amd driver is running =====
lsmod | grep amdgpu
returns:
amdgpu 19734528 0
amddrm_ttm_helper 12288 1 amdgpu
amdttm 114688 2 amdgpu,amddrm_ttm_helper
amddrm_buddy 24576 1 amdgpu
amdxcp 12288 1 amdgpu
drm_exec 12288 1 amdgpu
drm_suballoc_helper 16384 1 amdgpu
amd_sched 61440 1 amdgpu
amdkcl 36864 3 amd_sched,amdttm,amdgpu
drm_display_helper 237568 1 amdgpu
cec 94208 2 drm_display_helper,amdgpu
video 77824 1 amdgpu
i2c_algo_bit 16384 1 amdgpu
----
===== Check info on the GPU =====
sudo lspci -v -s $(lspci | grep ' VGA ' | cut -d" " -f 1)
returns:
12:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 48 [Radeon RX 9070/9070 XT/9070 GRE] (rev c0) (prog-if 00 [VGA controller])
Subsystem: Sapphire Technology Limited Navi 48 XTX [Sapphire Pulse Radeon RX 9070 XT]
Flags: bus master, fast devsel, latency 0, IRQ 223
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at e0000000 (64-bit, prefetchable) [size=2M]
I/O ports at f000 [size=256]
Memory at fcc00000 (32-bit, non-prefetchable) [size=512K]
Expansion ROM at fcc80000 [disabled] [size=128K]
Capabilities: [48] Vendor Specific Information: Len=08 >
Capabilities: [50] Power Management version 3
Capabilities: [64] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 >
Capabilities: [150] Advanced Error Reporting
Capabilities: [200] Physical Resizable BAR
Capabilities: [240] Power Budgeting >
Capabilities: [270] Secondary PCI Express
Capabilities: [2a0] Access Control Services
Capabilities: [2d0] Process Address Space ID (PASID)
Capabilities: [320] Latency Tolerance Reporting
Capabilities: [410] Physical Layer 16.0 GT/s >
Capabilities: [450] Lane Margining at the Receiver >
Capabilities: [500] Extended Capability ID 0x2a
Kernel driver in use: amdgpu
Kernel modules: amdgpu
----
===== Check usage of the AMD GPU =====
radentop
----
===== Troubleshooting =====
Check dmesg logs for errors:
sudo dmesg | grep -i amd