this post was submitted on 16 Feb 2025
74 points (98.7% liked)
Linux Gaming
16375 readers
1171 users here now
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:
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Okay, after some poking around, I did find at least one mechanism that could possibly cause OpenGL to not be accelerated but Vulkan to be accelerated:
https://superuser.com/questions/106056/force-software-based-opengl-rendering-on-ubuntu
I also confirmed that it produces the output that you're seeing on my system -- with that set,
glxinfo
returns llvmpipe, even thoughvulkaninfo
has GPU id 0 being the Radeon card. So if you've got that environment variable set somewhere, that could produce the behavior you're seeing.@zamithal@programming.dev, I don't know how you could have gotten that set, but in whatever terminal you were running
glxinfo
andvulkaninfo
, can you runset|strings|grep LIBGL
and see if maybe that's set? If it is, maybeunset LIBGL_ALWAYS_SOFTWARE
and then from that terminal startsteam
again and see if Kerbal Space Program runs fine then?It doesn't appear to be set and additionally I don't appear to have the
libgl1-mesa-swx11
package mentioned in that post.set|strings|grep LIBGL
apt list | grep libgl1-mesa
This does remind me that while developing a webgl canvas based javascript app the other day I was forced to go into firefox's about:config and set webgl.force-enabled = true. I should have dug deeper on that.
Ah, okay. Bit of a long shot.
You shouldn't need it -- that's for software rendering.
You might want libgl1-mesa-glx, but it sounds from that page like that was restructured prior to your distro release.
https://askubuntu.com/questions/1517352/issues-installing-libgl1-mesa-glx
Both libgl1:amd64 and libglx-mesa-0:amd64 are installed on my system. Are they installed on yours? If not, if they are available in your apt repo, maybe do so and see if your problems disappear?