#Can’t run game on NixOS

1 messages · Page 1 of 1 (latest)

keen quest
#

I tried using both FlatPak and AppImage.

FlatPak downloads the game and updates it properly and I can run until I click Play. Then it starts loading for a while until the game crashes with “Spring error: null”

For AppImage, download starts but gets stuck at step 5: checking for update launcher

Anyone succeeded in running the game on NixOS?

Thanks in advance!

cold lily
#

Share logs please, click upload log and paste link here

#

"checking for launcher updates" is only doing request to GitHub, that's all it does. Flatpak version doesn't have this step at all because it's updated via flatpak

#

Flatpak version should work without issues

rugged merlin
#

PC specs? Older PC, integrated graphics?

upper prairie
upper prairie
#

Is this what the "You are using an integrated graphics card. This is not supported, and the game will not work" message is about?

keen quest
#

Kinda old but it has OK specs. GTX970 i5 and 16GB Ram

#

Will grab the logs soon, thanks for the answer

#

I think something else is happening now because I can't even get to the game menu this time

cold lily
#

and I see it just crashing all over the place about graphical things

keen quest
keen quest
cold lily
#

I'm not sure what do you mean by "these settings" ?

keen quest
#

Sorry, I meant NixOS with an older NVIDIA (GTX970). I'm thinking that I don't have an unusual setup by using NixOS, my configuration.nix is pretty vanilla

cold lily
#

In the logs I see:

  • crashes in the nouveau driver nouveau: kernel rejected pushbuf: No such device
  • SDL failing to even create window becauseerror "Couldn't find matching GLX visual" using with different combinations following
keen quest
#

I might be wrong though

shell roost
#

You may need to blacklist the nouveau driver

cold lily
#

So, I don't have nvidia hardware, but I don't know about people playing BAR using open source nouveau driver, because it's not very stable from my experience. Most people are installing official proprietary NViDia driver. I don't know how that is done on NixOS

You can experiment with it more, e.g. I see you are using wayland, maybe you can try to run also game natively on wayland by setting environment variable SDL_VIDEODRIVER=wayland

cold lily
upper prairie
#
$ swapon --show
/swapfile file   2G 1.5G   -2
#

I guess I should try bumping that up to 8GiB? Haven't done this before but I think I can figure it out...

keen quest
#

They are still GL related so maybe not so correct

shell roost
cold lily
upper prairie
analog pulsar
#

I was experiencing an issue on NixOS where it could not find libopenal.so.1, I was able to circumvent this by extracting the AppImage to a folder with appimage-run -x bar Beyond-All-Reason-1.2124.0.AppImage (which will extract it into the bar folder) followed by changing directory into the folder cd bar, and running the game with steam-run (you can load an environment with nix-shell -p steam-run and run the game with steam-run ./AppRun).

limber folio
obtuse mauve
#

NVRM version: NVIDIA UNIX x86_64 Kernel Module 535.183.01

updated kubuntu, on nvidia 535 (tried a downgrade to 470, then reupgrade to 535 fix i found online, same spring null error)

uploaded log before and after this .... no dice so far

#

im on a 1060... so older, which is why this system has linux 😛

obtuse mauve