9
How can I tell if my GPU is being utilized properly?
(programming.dev)
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.
No memes/shitposts/low-effort posts, please.
WWW:
Discord:
IRC:
Matrix:
Telegram:
glxinfo | grep Vendor
Vendor: Mesa (0xffffffff)
glxinfo | grep Device
Device: llvmpipe (LLVM 17.0.6, 256 bits) (0xffffffff)
glxinfo | grep "OpenGL rend"
OpenGL renderer string: llvmpipe (LLVM 17.0.6, 256 bits)
Let me know if that's not right. glxinfo dumps a lot of text but those are the only hits for your comment.
When I launch radeontop it prints this before launching, and then the output suggests it isn't working:
Unknown Radeon card. <= R500 won't work, new cards might.
All stats sit at 0.00% except for Memory Clock @ 9%.
EDIT:
xorg, not wayland
vulkan-tools | grep "GPU id":
cat /var/log/Xorg.*.log | grep amd
cat /var/log/Xorg.*.log | grep gpu
Make sure that you actually have permission to that /dev/dri/card1 device. This may be arranged by udev or "video" group membership.
Regarding AMD vs Nvidia, unless you need CUDA you probably made the right choice. This sounds like a config issue and you'd probably be dealing with the same thing with Nvidia too.
Yeah I'm pleasantly surprised by the unanimous responses that AMD seems to be the way to go in this space. At this point I know it's not using my GPU at all, so you are right that nvidia wouldn't be any different
Yep, you're using software rendering and your extremely fast GPU is sitting there idle. Talk to System76 about enabling the correct driver.
(That was obvious from the initial "0-10 FPS in KSP" symptom, of course -- even my 7-year-old AMD GPU, a Vega 56, can run that game just fine, and I'm pretty sure the AMD GPU I had before that could too.)
Yeah, so it's not using hardware acceleration then -- your (poor) CPU has been trying to do all this in software emulation. I updated my comment above -- take a look in Xorg.0.log if you're on Xorg. My first guess is that you most-likely need newer drivers.
I know that these are new enough for the 7900 XTX; that's current for Debian trixie, just to provide a known-good point in terms of driver version.
EDIT: You don't say what distro you're using. If you're using Debian stable -- I think I was when I first got my 7900 XTX, and IIRC they didn't have driver support in at that point, though that was a while back now -- you might check whether you have the backports repository present.
EDIT2: The first results for my search as to minimum supported version, though I wouldn't take this as authoritative:
https://old.reddit.com/r/debian/comments/1301rph/radeon_7900_support/
EDIT3: Sorry, you did say which OS you were using -- PopOS.
dpkg -l|grep radeon
I don't know exactly what i'm looking for in the xorg logs... cat /var/log/Xorg.*.log | grep "EE"
cat /var/log/Xorg.*.log | grep "WW"
cat /var/log/Xorg.*.log | grep "gpu"
sudo journalctl -kb | grep gpu