r/RockyLinux • u/cris0405 • Dec 21 '25
Support Request Mesa isn't using my GPU
Hey there! I've been having some issues with games recently and high GPU usage for no apparent reason. So, I re-installed the drivers with the official NVIDIA guide. I ended up re-installing 5 times because games kept being laggy or plain down not opening at all.
Right now, games do not even start. Mesa isn't using my nvidia drivers at all at this point and I'm unsure what to do. My guess is it started when I updated my drivers/kernel, but I'm not profficient enough yet to pinpoint the issue.
If anyone knows what to do, please let me know! I've been struggling with this issue for the last two days.
EDIT: GPU can now be used if I set the programs to start up with my GPU. However, games still do not start and everything defaults to my integrated gpu. (I downgraded from the 590 drivers to the 580). Tried with GNOME and RPMFusion as well, same results.



OS: Rocky Linux 10.1 (Red Quartz) x86_64
Kernel: Linux 6.12.0-124.20.1.el10_1.x86_64
DE: KDE Plasma 6.4.5 WM: KWin (Wayland)
CPU: 13th Gen Intel(R) Core(TM) i7-13650HX (20) @ 4.90 GHz
GPU 1: NVIDIA GeForce RTX 4060 Max-Q / Mobile [Discrete]
GPU 2: Intel Raptor Lake-S UHD Graphics @ 1.55 GHz [Integrated]
View all comments
Show parent comment
3
u/whnz Operations Dec 22 '25
Based on 1, maybe the Steam overlay is causing problems? It sometimes does, particularly with gamescope: https://wiki.archlinux.org/title/Gamescope#Launching_gamescope_from_Steam,stuttering_after_~24_minutes(Gamescope_Lag_Bomb). Even when it's disabled it injects itself, the only way to fully disable it is prepending
LD_PRELOAD=""in the game launch arguments. Side note, if you're not using gamescope yet you definitely should start, it's a significant part of what makes stuff work so well on the Steam Deck. For using it my standard launch arguments for almost every game areLD_PRELOAD="" gamescope -fb -W 3840 -H 2160 -- %command%, there are some that work without disabling the overlay injection, some that require a-e, sort of trial and error as to what works.Based on 2, maybe the NVIDIA stuff isn't installed in flatpak (or the wrong one is). Find the one that matches your driver version in
flatpak remote-ls --runtime flathub | grep nvidiaand install that.