Factorio Crashing in Fedora 32 on Game Launch (Steam + Steam Play)

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
texeon
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Aug 24, 2020 12:56 pm
Contact:

Factorio Crashing in Fedora 32 on Game Launch (Steam + Steam Play)

Post by texeon »

Hi,

I've done some looking around and couldn't find any answers for this specific issue so I'm going to give all the details I can

Platform: Fedora 32
Kernel: 5.7.16-200.fc32.x86_64
Factorio Version: 1.0
Build from Log: 0.000 2020-08-24 14:01:27; Factorio 1.0.0 (build 54889, win64, steam)
Steam Play Version (Proton): 5.0-9
Gfx Card: NVIDIA GTX 1070
Nvidia Driver Version: 450.66

The issue:
- Game crashes to desktop after it's been launched by pressing the 'play' button in steam (I get no progress bar to show it is loading game resources, it's just a black screen)
- This is from a clean install of the game
- I get the following debug message

Failed to compile shader __core__/graphics/
shaders/sprite.vsh as vs_4_0: __/graphics/
shaders/sprites.vsh:1:53: error: syntax error,
unexpected KW_CBUFFER


- Steam play works for every other game I have, this is the only game that does not work


Issue diagnostics:
- What should happen: I should see the loading progress bar as the game loads up all the game assets after I click 'play' in steam
- What actually happens: Crash to desktop, no loading bar
- How often does it happen: everytime
- Has it worked ever: yes, on my windows boot, but that's irrelevant
- Steps to preproduce
1 > Launch steam
2 > Ensure 'steam play' is enabled under 'Steam > settings > steam play > check "Enable steam play for all other titles" > Proton 5.0-9'
3 > Go to factorio in the game library and click 'Play'
4 > Game takes 4 seconds before launching to black screen (game is on an SSD)
5 > Game crashes to desktop with the aforementioned debug message, no loading/progress bar is seen

Things I've tried:
- tried advanced search to see if others have this issue
- Restarted my computer and tried to launch the game a few times now over the last couple of days
- Performed a yum update and upgrade successfully
- Have tried --gfx-safe-mode, --fullscreen=false and --force-d3d
- Deleted sprite.vsh and forced rsteam to redownload the deleted file
- Verified integrity of game cache
- Tried all steam play versions that didn't cause an error
- Tried setting 'steam play' to the 'Steam Linux Runtime' version in the factorio settings
- Tried without steam play

I hope I haven't left anything out! Thanks for any assistance :)
Attachments
factorio-current.log
(2.35 KiB) Downloaded 112 times
texeon
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Aug 24, 2020 12:56 pm
Contact:

Re: Factorio Crashing in Fedora 32 on Game Launch (Steam + Steam Play)

Post by texeon »

Loewchen wrote: Mon Aug 24, 2020 1:42 pm Reinstall your graphics driver.
Thanks for the quick reply. I'll give it a go tomorrow as it's almost midnight for me. Can I ask if reinstalling the graphics driver is the obvious next step or is that based on the attached log, as I saw a D3D buffer error of some sort.
Loewchen
Global Moderator
Global Moderator
Posts: 10279
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Factorio Crashing in Fedora 32 on Game Launch (Steam + Steam Play)

Post by Loewchen »

The version your graphics driver reports is a wildcard number.
texeon
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Aug 24, 2020 12:56 pm
Contact:

Re: Factorio Crashing in Fedora 32 on Game Launch (Steam + Steam Play)

Post by texeon »

Loewchen wrote: Mon Aug 24, 2020 1:49 pm The version your graphics driver reports is a wildcard number.
Hi Loewchen,

I reinstalled the driver and the Gfx card is no longer wild carded, but I get exactly the same error. I have attached the new log.

One thing to note, that while all my other games launch fine, for factorio I need to force it to use proton 5.0-9. If I don't toggle on the custom steam play setting then when I click play the steam logo shows where the play button was and then it goes back to saying play (the game never launches).

Thanks for your help thus far
Attachments
factorio-current.log
(2.35 KiB) Downloaded 112 times
Zavian
Smart Inserter
Smart Inserter
Posts: 1655
Joined: Thu Mar 02, 2017 2:57 am
Contact:

Re: Factorio Crashing in Fedora 32 on Game Launch (Steam + Steam Play)

Post by Zavian »

Factorio has a native linux version. I would try that rather than using proton.

Edit: If you do want to continue to try proton, then I would also try opengl rather than D3D.
texeon
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Aug 24, 2020 12:56 pm
Contact:

Re: Factorio Crashing in Fedora 32 on Game Launch (Steam + Steam Play)

Post by texeon »

Zavian wrote: Mon Aug 24, 2020 2:37 pm Factorio has a native linux version. I would try that rather than using proton.

Edit: If you do want to continue to try proton, then I would also try opengl rather than D3D.
Hi Zavian,

May I ask how exactly I use the native linux version? The other day as a test I disabled steam play globally and when that didn't work afterwards I also toggled on the 'Steam Linux Runtime' version against the game and neither worked in getting the game to launch.

Am I missing something?
Zavian
Smart Inserter
Smart Inserter
Posts: 1655
Joined: Thu Mar 02, 2017 2:57 am
Contact:

Re: Factorio Crashing in Fedora 32 on Game Launch (Steam + Steam Play)

Post by Zavian »

Whilst I run Linux on my home server, I don't play games on that box, so I don't have Steam installed there and don't know what settings to tweak in Steam. My expectation is that the Linux version of Steam would install the Linux version of Factorio.

Your logs say that you are running factorio.exe. I would expect the linux native version to be just called factorio (and of course have the executable bit set). How are you starting Factorio? Did you choose factorio.exe rather than factorio?

If you can't find an option in Steam to get the Linux native version, then you can download the linux native version from Factorio.com. (You might need to create a Factorio.com account, and then link your Steam account to it).
texeon
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Aug 24, 2020 12:56 pm
Contact:

Re: Factorio Crashing in Fedora 32 on Game Launch (Steam + Steam Play)

Post by texeon »

Zavian wrote: Tue Aug 25, 2020 11:22 am Whilst I run Linux on my home server, I don't play games on that box, so I don't have Steam installed there and don't know what settings to tweak in Steam. My expectation is that the Linux version of Steam would install the Linux version of Factorio.

Your logs say that you are running factorio.exe. I would expect the linux native version to be just called factorio (and of course have the executable bit set). How are you starting Factorio? Did you choose factorio.exe rather than factorio?

If you can't find an option in Steam to get the Linux native version, then you can download the linux native version from Factorio.com. (You might need to create a Factorio.com account, and then link your Steam account to it).
So I got the Linux native version from the website as suggested and it worked as soon as I ran it. I can confirm the game works on my Fedora 32 install so it is down to some kind of issue with steam.

I disabled 'steam play' globally in steam, deleted the game and reinstalled and I also ensured 'steam play' was disabled against the properties of the game when I reinstalled it. This made no difference and I got the same shader issue.

I deleted all files relating to the game, including the factorio folder in the steam shadercache directory in case that was causing issues but no luck.

I think it's just my install and I'll play with the native version outside of steam for the time being :)

Thanks all for your help.
Post Reply

Return to “Technical Help”