Hi guys! Brand new PC…And I’m trying to install its brand new 7800XT. I’ve chosen KDE Neon, as it was my previous OS, and I’ve grown to like it. I’d like to stick with it if possible…I’m writing this preamble, because when I try to run amdgpu-install from the AMD downloads page, all I get is:

Unsupported OS: /etc/os-release ID 'neon'

So…what can I do? Neon is mostly Ubuntu 22.04 to most effects. Kernel is 6.2.0-36-generic.

Thanks!

22 points

Just for future reference: if you’re on any major Linux distribution, use the drivers they provide in their repositories. For a consumer AMD card, you don’t have to install anything. Nvidia have their proprietary drivers, but still avoid the ones from the website

permalink
report
reply
2 points

Yup…but out of the box I encountered a system failing to boot and unable to recognize my secondary display :)

permalink
report
parent
reply
6 points

I’m not saying this doesn’t happen. I’m saying that if the driver is the actual problem, the solution is different from what you’d expect on a different OS

permalink
report
parent
reply
15 points

For AMD you really should just stick to the drivers that will already be included out of the box, and generally you’ll get a better experience using newer kernels, especially for a relatively recent architecture like RDNA3.

permalink
report
reply
1 point

Yeah well…out of the box I had a non-booting linux, and in safe mode it failed to recognize the secondary display :)

permalink
report
parent
reply
6 points

Oof. I had the same issue when I (back when it was new) used a 6800XT on a Mint install with an old kernel. Maybe it’s worth testing with a newer kernel or on a distro that pushes more frequent kernel/Mesa updates

permalink
report
parent
reply
3 points

Yeah thanks! I got it working in the end with the updated recent AMD firmware from the kernel release, updating to an 6.5-oem kernel, and rebuilding initramfs with the updated firmware files, as detailed here: https://askubuntu.com/questions/1451506/how-to-make-ubuntu-22-04-work-with-a-radeon-rx-7900-xtx

permalink
report
parent
reply
8 points

Sigh…Just for the sake of it…It needed to recompile the kernel with the LATEST firmware you needed to download manually. Instructions here: https://askubuntu.com/questions/1451506/how-to-make-ubuntu-22-04-work-with-a-radeon-rx-7900-xtx

I changed the file download to the latest, which at this moment is linux-firmware-20231111.tar.gz. After the update-initramfs, reboot (since I already ran the PPA earlier…to no avail), and this time it worked, and it immediately showed me the second monitor, which had been dead for the last couple of hours since I started fighting this thing.

permalink
report
reply
2 points

A second update after this is, since I’m using Wayland and multi-monitor (two HDMI connections, one the main monitor, the second to a big LCD TV)…when the TV is turned off, the monitor starts to flicker rearranging the windows (!?). I describe the issue a bit more in detail here… https://lemm.ee/post/14853567

permalink
report
parent
reply
6 points
*

IIRC, the drivers I needed were already in base Debian.

Is it not working out-of-box on your distro?

Once upon a time, they had proprietary drivers that you needed to download separately, but I don’t believe that that’s the situation today.

EDIT: Yeah, according to this, it’s all in the vanilla kernel now:

https://en.wikipedia.org/wiki/AMDgpu_(Linux_kernel_module)

You can go download their stuff if you want the absolute latest or something, but unless I had some kind of problem with the driver my distro shipped, I probably wouldn’t bother.

permalink
report
reply
4 points

I also have a 7800 XT and use Debian. I had to download firmware from git.kernel.org, as not even the package in unstable is new enough: stable has 2023-02-10, unstable currently has 2023-05-15, while 7800 XT (and 7700 XT) needs 2023-08-04 or newer At least bookworm-backports has a new enough kernel now. (6.5, IIRC 6.4 is the minimum.)

But to get ROCm working, I ended up adding AMD repositories and using its drivers with the 6.1 kernel from stable.

permalink
report
parent
reply
5 points
*

As others have said “Ya doin it wrong!”

AMD has the AMDGPU kernel driver already in place in the linux kernel, and excluding the newest generations of cards for about a month or two after they come out, that part should work fine. Additionally, you need Mesa installed for the userspace drivers. It is typically preinstalled and covers the OpenGL and Vulkan drivers for your card.

Pretty much the only time you want to run the driver from AMD’s site is if you’re using some particular professional applications, otherwise Mesa tends to outperform it. There are relatively few games that AMDVLK (the AMD official open source Vulkan driver) is ahead, and it’s got an edge in most (all?) raytracing cases currently.

Lastly, the reason it doesn’t work is because the driver install script is checking your os-release version to see if it matches the Ubuntu version it was packaged for. If you’re confident that you can fix any problems that arise from doing this, you could presumably just change the string in /etc/os-release to match what it’s looking for. I don’t recommend doing this, though, unless you don’t care if the drivers break things because they weren’t packaged for the release you’re using.

permalink
report
reply
11 points
*

AMD has the AMDGPU kernel driver already in place in the linux kernel, and excluding the newest generations of cards for about a month or two after they come out, that part should work fine.

Reading his comment, it looks like KDE Neon ships with a two-year-old kernel, so I assume that that’s the issue.

https://en.wikipedia.org/wiki/KDE_neon

20230706, based on Ubuntu 22.04 and Plasma 5.26.5, kernel Linux 5.15 / 6 July 2023

Linux 5.15 came out in October 2021, and his card was just released.

permalink
report
parent
reply
4 points
*

So…what can I do? Neon is mostly Ubuntu 22.04 to most effects. Kernel is 6.2.0-36-generic.

The kernel in use should support RDNA3, I believe.

Edit: judging from the comment made a bit ago, it wasn’t the kernel or mesa, they were just missing the firmware. And yeah, that’ll do it. I remember being frustrated with my 7900xtx not working on Pop! before I pulled in the firmware back on release.

permalink
report
parent
reply
3 points
*

Thanks. I wasn’t aware of the difference privative vs public ones on AMD. On Nvidia (where I came from) it’s kinda the opposite, noveau kinda works, but if you really want to play with proper performance, you should head for the privative one. In the end it was just easier to download the AMD firmware from the latest linux release, and recompile with that. It worked after that.

permalink
report
parent
reply
2 points

If you were missing firmware, that’s not actually a driver issue. You do need the firmware and (unless you also installed the professional drivers as well) you should be all good now and using the full open source stack.

Anyway, glad to hear it’s working for you!

permalink
report
parent
reply
1 point

Yeah…kinda. Now on multi-monitor setup I have a weird glitch…when one of the monitors are turned off. Screen will start flickering rearranging the windows. Weird.

permalink
report
parent
reply

Linux Gaming

!linux_gaming@lemmy.world

Create post

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

Community stats

  • 2K

    Monthly active users

  • 928

    Posts

  • 12K

    Comments

Community moderators