I just got a new computer with a Radeon RX 6600 and a Ryzen 9 5900x, running Ubuntu 22.
I have the snap version of 0ad installed (from ubuntu software center) and when I open 0ad I get the following warnings:
WARNING: You are using 'llvmpipe (LLVM 10.0.0, 128 bits)' graphics driver, expect very poor performance!
WARNING: If possible install a proper graphics driver for your hardware.
And the game only runs at 16 FPS on minimum settings, which is worse than my 5 year old laptop :-(.
When I run “lspci -k | grep -EA3 'VGA|3D|Display'” I get:
Subsystem: Sapphire Technology Limited Navi 23 [Radeon RX 6600/6600 XT/6600M]
Kernel driver in use: amdgpu
Kernel modules: amdgpu
which seems to indicate Linux/Ubuntu is using the correct graphics card and driver. In the Tomb Raider benchmark (Installed through steam) I get 270 FPS, and it runs cool as a cucumber, so I think it’s a snap/0ad issue and not with my system in general.
Any idea what’s going on?
I’m not using a VM or anything weird ;-)
UPDATE:
I tried doing an installation with a simple:
sudo apt-get install 0ad
With this installation, I don't get the warnings, I get frame rates of ~60 and it seems much smother so far.
So I think Stan is on to something with the snap theory.
PS:
As unrelated bonuses, when not installed as a snap, it seems I can finally run /usr/games/pyrogenesis, so I can package mods :-D, and the .desktop entry for 0 A. D. shows up, when I search for "0ad" (I don't have to search for "0 A. D.")