Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

ΔV: Rings of Saturn

Hard sci-fi, top-down space simulator, with every aspect backed up by real physics and science. · By Koder

Random linux freeze on gaming with Nvidia Optimus (using prime-run

A topic by kogolbok created May 17, 2022 Views: 546 Replies: 2
Viewing posts 1 to 2

Hello. Nice game, but, unfortunately, with problems on my Linux laptop.

When sarting game on my laptops Intel GPU it is a bit slow and choppy, so I tried to play on Nvidia GPU. It's a lot more smooth, but I get random freezes. Complete freezes without ability to exit, or switch to different app, desktop, virtual console, no reaction to keyboard, only mouse is moving. Tried different settings, but it looks like there is no difference at all, game accidentally hangs whole system in random places, sometimes right after splashscreen, sometimes on message about epillepsy, sometimes on menu, sometimes in game, no matter what settings. I had no similar issue with any game or Godot engine it self, it's something with the game. Can you help me with this, please?

P.s. I use Manjaro and prime-run comand to start apps on Nvidia.

Developer

Try setting DRI_PRIME=0 in your environment. There are logs in ~/.local/share/dV/ directory, you might take a look there if something seems off.

This DRI_PRIME=0 will start the game no the same intel GPU (which is stable, but sloooow).

Godot Engine v3.4.2.stable.official.45eaa2daf - https://godotengine.org
OpenGL ES 3.0 Renderer: Mesa Intel(R) HD Graphics 5500 (BDW GT2)
OpenGL ES Batching: ON

 On DRI_PRIME=1 it tries to find nouveau and then runs on Intel:

Godot Engine v3.4.2.stable.official.45eaa2daf - https://godotengine.org
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
OpenGL ES 3.0 Renderer: Mesa Intel(R) HD Graphics 5500 (BDW GT2)
And here how prime-run starts games:

__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia "$@"