I recently installed Zorin OS 17.3 (based on Ubuntu 22.04.4 LTS) on my Lenovo laptop, but the system does not recognize my AMD GPU properly. Instead of using amdgpu, it always falls back to llvmpipe.
Hardware & Software details
OS: Zorin OS 17.3 (Ubuntu 22.04.4 base)
Kernel:6.8.0-65-generic
GPU:Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:1114] (rev d2)
Is this GPU [1002:1114] only supported on newer kernels/Mesa versions (like Ubuntu 24.04), or is there a way to make it work on Ubuntu 22.04/Zorin 17.3?
Has anyone with the same chip managed to get hardware acceleration working?
What's the actual model of the GPU, or if it's integrated, the APU? I'm afraid I don't recognize the code itself, but I could look into a part name. In any case, Zorin 17.3 uses kernel 6.8, which is roughly a year and a half old. If the GPU is newer than that, then it becomes pretty likely it's the kernel.
Edit: if it is the kernel, it should be reasonably easy for you to update the kernel to resolve it, but I'm on a phone at the moment, so finding instructions (they're on the forum in a few places) will need someone else's help...
I only saw this in Combination with not deteced Nvidia Cards in the Past ...
For the Beginning: What AMD Graphics Card Model do You have? Or let me ask in a different Way: What do You think what AMD Graphics is built-in? And the other Hardware Specs would be good to know, too.
The GPU is integrated, part of an AMD APU, PCI ID [1002:1114]. I couldn’t find an official part name yet, but from online sources it seems to be a very recent APU (Ryzen 8000/9000 series with Radeon 800M).
I’m aware Zorin 17.3 uses kernel 6.8, which is roughly 1.5 years old.
I’ve already tried updating Mesa to 24.x via the Oibaf PPA and manually updating the Linux firmware, but the GPU still fails to initialize (dmesg shows Fatal error during GPU init) and glxinfo shows llvmpipe.
The GPU is integrated in an AMD APU. The PCI ID is [1002:1114]. From what I could find online, it seems to be a very recent Ryzen APU, possibly Radeon 800M series.
Hardware specs:
CPU/APU: AMD Ryzen [specific model, if known]
RAM: [amount]
Display: 1920x1200, Wayland/Xorg
Kernel: 6.8.0-65-generic
I’ve already tried updating Mesa (Oibaf PPA) and firmware, but the GPU still fails to initialize, falling back to llvmpipe.
I hope this helps clarify the hardware setup.
So it seems likely that the kernel or the full graphics stack doesn’t yet support this GPU.
I’m planning to test it on a live USB of Ubuntu 24.04 to see if the GPU works there.
Do you know if there are any workarounds to enable this GPU on a 22.04-based system, or is it essentially necessary to move to a newer kernel/distribution?
Oibaf provides excellent packages, but they are cutting edge, short term only.
You can try the Ernst mesa cutting edge:
sudo add-apt-repository ppa:ernstp/mesarc
Then remove the Oibaf repo.
Run
sudo apt update && sudo apt full-upgrade
For the kernel, there are several ways of installing a later kernel (I recommend later than 6.14), and all of them are easy.
You can use the Mainline installer.
I prefer the TuxInvader kernel.
Secure Boot must be off since Microsoft has not signed the later kernels in most sources.
No, that doesn't help. These are no Specs. We have to know the Model. When it should be a Ryzen 8000G Series Processor, a newer Kernel could help. But because You use a Laptop, it wouldn't be a Desktop CPU. It would be a Mobile CPU.
So, it would be good to know more Details. Type in the Terminal sudo lshw -C cpu and then tell us what Model You have.
Right, that's a fairly new processor. It shipped in January of this year from what I can tell. You're almost certainly going to need a newer kernel than Zorin comes with, and should follow Aravisian's instructions above for installing one. The kernel that Zorin comes with is 6.8, and came out in March of 2024. It just doesn't know what your hardware is.
It does not, which is why Aravisian provided instructions above for replacing the default kernel. Zorin 18 later this year, will probably include a newer kernel, but it may or may not be as new as you might like. Zorin is LTS focused, which means it keeps reliable, older components and patches them for security and stability, rather than staying on the cutting edge. In the case of the kernel, it's easily replaced for those who need or prefer a newer one. I'm personally running 6.15.11.