This is the main README guide. This will get you set up to be able to follow the other guides.
It will get you the correct graphics drivers and ROCm 6.2.
If you don't already have this stuff done, the other guides will be of no use to you as they won't work.
In this guide we will use the 22.04 version of Ubuntu.
Modified: September 26th, 2024.
Install Ubuntu® 22.04 LTS
https://releases.ubuntu.com/jammy/
A more in-depth guide can be found here
Install any pending updates.
sudo apt-get update
sudo apt-get dist-upgrade
Reboot if it asks.
You need to add yourself to render and video.
Run this command:
sudo usermod -aG video,render $LOGNAME
Make sure AMDGPU is uninstalled.
Run these commands:
amdgpu-uninstall
sudo apt-get purge amdgpu-install
If this is a new system this step can be skipped.
Now install the rocm software stack.
Run these commands:
wget https://repo.radeon.com/amdgpu-install/6.2.1/ubuntu/jammy/amdgpu-install_6.2.60201-1_all.deb
sudo apt install ./amdgpu-install_6.2.60201-1_all.deb
sudo apt update
sudo apt install amdgpu-dkms rocm
amdgpu-install -y --usecase=graphics,rocm,hip
You need to reboot now.
Run this command:
reboot
Check if ROCm is installed correctly.
Open the terminal and run this command:
dkms status
you should get something along the lines of:
amdgpu/x.x.x-xxxxxxx.xx.xx, x.x.x-xx-generic, x86_64: installed
After that succeeded run this command:
rocminfo
you should be seeing your gpu in the list:
*******
Agent 2
*******
Name: gfx1100
Uuid: GPU-5ecee39292e80c37
Marketing Name: Radeon RX 7900 XTX
Vendor Name: AMD
Install the prerequisites.
Run this command:
sudo apt install git python3-dev python3-venv libjpeg-dev libpng-dev libstdc++-12-dev cmake
Enjoy. You can now follow the other guides in this repo. Just open the folder which has the name of the program you are trying to set up, and read its README.
For example, you can set up VLAD's fork of automatic1111 by following this guide.