ubuntu:gpu:amd_gpu:setup_radeon_rx_7900_xtx
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:gpu:amd_gpu:setup_radeon_rx_7900_xtx [2023/06/01 22:40] – peter | ubuntu:gpu:amd_gpu:setup_radeon_rx_7900_xtx [2023/06/05 12:54] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Ubuntu - GPU - AMD GPU - Setup Radeon RX 7900 XTX ====== | ||
- | [[Ubuntu: | ||
- | |||
- | ---- | ||
- | |||
- | ===== Approach ===== | ||
- | |||
- | - Update the system. | ||
- | - Shutdown the system. | ||
- | - Swap GPU card. | ||
- | - Boot the system. | ||
- | * This should work fine, since minimum support is via the kernel amdgpu. | ||
- | - Optionally, purge Nvidia packages. | ||
- | - Install Mesa. | ||
- | |||
- | <WRAP info> | ||
- | **NOTE:** | ||
- | |||
- | * The NVIDIA packages can be kept, and will not cause any trouble but will just waste space. | ||
- | * Mesa is the open source implementations of OpenGL and Vulkan that AMD GPU users typically use. | ||
- | |||
- | </ | ||
- | |||
- | |||
- | ---- | ||
- | |||
- | ===== Download & Install the AMD Installer Script ===== | ||
- | |||
- | <WRAP info> | ||
- | **NOTE: | ||
- | </ | ||
- | |||
- | |||
- | <code bash> | ||
- | sudo apt update | ||
- | wget https:// | ||
- | sudo apt install ./ | ||
- | </ | ||
- | |||
- | |||
- | <WRAP info> | ||
- | **NOTE: | ||
- | |||
- | Alternatively, | ||
- | |||
- | <code bash> | ||
- | amdgpu-install --usecase=graphics, | ||
- | </ | ||
- | |||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Optionally, install fresh firmware files ===== | ||
- | |||
- | Grab the latest firmware from https:// | ||
- | |||
- | Drop these firmware files into / | ||
- | |||
- | <code bash> | ||
- | wget https:// | ||
- | tar -xf linux-firmware-20230515.tar.gz | ||
- | sudo cp linux-firmware-20230515/ | ||
- | sudo update-initramfs -uk ' | ||
- | </ | ||
- | |||
- | <WRAP info> | ||
- | **NOTE: | ||
- | </ | ||
- | |||
- | |||
- | ---- | ||
- | |||
- | ===== Enable the AMD Kernel Module ===== | ||
- | |||
- | Ensure there is no modprobe blacklist for amdgpu by running the command: | ||
- | |||
- | <code bash> | ||
- | sudo rm / | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Optionally Purge nvidia drivers ===== | ||
- | |||
- | Remove the Nvidia packages and any Nvidia related kernel arguments you might have (DRM Kernel Mode Setting or whatever). | ||
- | |||
- | <WRAP info> | ||
- | **NOTE: | ||
- | |||
- | * Leaving the NVIDIA stack installed ensures that it is ready if you ever need to switch to a backup GPU in a hurry. | ||
- | </ | ||
- | |||
- | |||
- | ---- | ||
- | |||
- | ===== Optionally Install Vulkin ===== | ||
- | |||
- | Install the AMD vulkan package to get vulkan support. | ||
- | |||
- | ---- | ||
- | |||
- | ===== Install Mesa ===== | ||
- | |||
- | <code bash> | ||
- | sudo apt install mesa-utils | ||
- | </ | ||
- | |||
- | <WRAP info> | ||
- | **NOTE:** Mesa is the open source implementations of OpenGL and Vulkan that AMD GPU users typically use. | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Check that the GPU is being picked up ===== | ||
- | |||
- | <code bash> | ||
- | glxinfo | grep OpenGL | ||
- | </ | ||
- | |||
- | returns: | ||
- | |||
- | <code bash> | ||
- | </ | ||
- | |||
- | <WRAP info> | ||
- | **NOTE:** This should show useful info on the GPU. | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Test the GPU ===== | ||
- | |||
- | <code bash> | ||
- | glxgears -info | ||
- | </ | ||
- | |||
- | <WRAP info> | ||
- | **NOTE:** This should show some gears spinning around, together with frames per second. | ||
- | </ | ||
- | |||
- | |||
- | ---- | ||
- | |||
- | ===== References ===== | ||
- | |||
- | |||
- | https:// | ||
- | |||
- | https:// | ||
- | |||
- | https:// |
ubuntu/gpu/amd_gpu/setup_radeon_rx_7900_xtx.1685659227.txt.gz · Last modified: 2023/06/01 22:40 by peter