How-to Radeon Ubuntu

The Link to download Ubuntu 22.04.4 is here, or in the middle of this page.

The radeon amd drivers install the same regardless of what graphics card you have, your system is customized by the AMD install script “amdgpu-install”

But, we want the best possible configuration that we can get, and that configuration or set of instructions to configure the configuration script is always the same, so I can provide it here for you. I have been working with my AMD Radeon graphics card for 3 or 4 years now, and i’ve got some knowledge on the subject of installing the graphics drivers.

Don’t install these drivers on any version of ubuntu except these versions:

Bash
Ubuntu 22.04.3
Ubuntu 22.04.4

This is not about RHEL, although that operating system is supported I have no experience on it, but the configuration of the install script is likely the same as this. Once you have ubuntu 22.04.3 installed, by the way we will be using ubuntu 22.04.3 and not ubuntu 22.04.4 as .3 supports rocm, and that is how you program your graphics card (with rocm)

And as I have tried to find a link to 22.04.3 it eludes me. There is only 22.04.4 available for download, but I do have one I can upload, I have .3 saved on my operating systems drive.

The radeon driver is still installing on my system, but lets get to it:

Bash
sudo apt update
wget https://repo.radeon.com/amdgpu-install/23.40.2/ubuntu/jammy/amdgpu-install_6.0.60002-1_all.deb
sudo apt install ./amdgpu-install_6.0.60002-1_all.deb
sudo amdgpu-install -y --usecase=graphics,rocm --vulkan=amdvlk,pro --opencl=rocr
sudo usermod -a -G render,video $LOGNAME

What this means is that you intend to use your graphics card as a workstation, which leaves like everything open, and you also want to use rocm, the programming interface provided by AMD for Radeon graphics cards, –usecase=workstation,rocm and vulkan is like some shared library between nvidia and amd, and we want to install both amdvlk and pro, the first one is open source, and the second one is the closed source (pro).

The other lines are kinda self explainatory, except maybe usermod -a -G render,video $LOGNAME I don’t quite know what that is, I don’t really have experiencce with either of these user types, so I can’t tell you.

Anyway that’s my story and i’m sticking to it. What’s to come next is a “Hello, World!” in Radeon ROCM, I think I will use LLVM/Clang to accomplish this…

madness

This is like my 7th or 8th or 9th website. Each one had about ~50 posts and pages on it. All that writing has been lost, but it's effects are still felt. When I write I always have a goal of getting past like 100 post count, but I almost always chicken out, all this sensitive information just out there, it makes you bug out. I'm also very into computers, as many of the posts are computer related. I work with C++, Python on Bytecode Virtual Machines but I haven't made anything really useful yet, it's like there's a block or something preventing me from developing an Ai that builds upgrades for humanity. The project just goes nowhere, it's been 4 years of researching into how to work with C++, i've come a long way, but nothing ever transpires, it makes me think there's a lock on it or something.

You may also like...

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x