AMD Annoyances – closingtags </>
Categories
Linux

AMD Annoyances

Frustrations encountered with AMD Pro drivers on Pop!_OS.

#linux #amd

Last year, I ran up against the limitations of my desktop computer as it could no longer satisfy my needs. Nvidia effectively killed support for my video card by no longer releasing driver updates. It was patched together over the years and needed to be put out to pasture. Obviously, I had no choice but to build a brand new AMD-based machine.

A black desktop PC with the side opened showing the internals.
Specs: AMD Ryzen 9 5900X 12-core CPU, 32GB RAM, 1TB NVM.e SSD, and AMD Radeon RX 6900 XT GPU

It was that new GPU I was most excited about. I wanted to game but also try my hand at more intense tasks like cracking hashes or training machine learning algorithms. I quickly that the open source drivers included in the Linux kernel won’t cut it. To do those things, I would need to install the AMD Pro drivers.

Almost immediately, I ran into issues. My distribution of choice; Pop!_OS, is not an officially supported distribution even though for these purposes it’s identical to Ubuntu. But it was trivial to make a minor change in the AMD installation bash script that added a check for “pop”. However, there were also problems with dependencies being unsupported in this version of Ubuntu. Once I resolved all of the various issues, I was able to get ROCm installed and I could then begin playing around with Hashcat for “password recovery purposes.”

The problems didn’t start immediately but when they did start, they demanded attention. The biggest and most frustrating issue encountered was when kernel upgrades were applied. For some unknown reason, the newer kernels didn’t want to play nicely with the AMD Pro drivers. Each boot with a new kernel would mean that I’d lose video drivers and no video drivers meant no support for dual monitors, no animations on my desktop (never thought I’d miss those), and of course, no gaming.

In the end, I removed the AMD Pro drivers and went back to using the open source ones packaged with the kernel. I haven’t had any performance issues since but I’m also unable to run Hashcat. However, I did still notice problems with video drivers not being loaded after kernel upgrades.

Solution

If you’re noticing issues with an AMD graphics card after kernel upgrades and have also installed the AMD Pro drivers at some point, I’d suggest checking whether or not the drivers are being blocked from loading. For me, the file /etc/modprobe.d/blacklist-amdgpu.conf was preventing video drivers from ever loading. I’ve since removed it and have yet to encounter issues. The contents of this file consisted of the text blaclist amdgpu so it’s no wonder I didn’t have video drivers! It seems to be a remnant from the AMD Pro drivers.

I spent far too long troubleshooting this issue which kept me from doing actual work. I know this post isn’t web development related but even web developers need to fix their computer from time to time. Hopefully, this information can help someone else out there.

By Dylan Hildenbrand

Dylan Hildenbrand smiling at the camera. I have tossled, brown hair, rounded glasses, a well-trimmed and short beard. I have light complexion and am wearing a dark sweater with a white t-shirt underneath.

Author and full stack web developer experienced with #PHP, #SvelteKit, #JS, #NodeJS, #Linux, #WordPress, and #Ansible. Check out my book at sveltekitbook.dev!

Do you like these posts? Consider sponsoring me on GitHub!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.