Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone. Just good, fresh content! Alternatively, you can donate through PayPal. You can also buy games using our partner links for GOG and Humble Store.
Running Lutris games on steam crashes. How to get logs?
zany130 Sep 22, 2021
My System Info

Linux Distribution: Garuda Linux
Desktop Environment: KDE
Graphics Card: NVIDIA GTX 1080
GPU Driver Version: 470.74-1

Have you checked for system updates?: [Yes]

If this is to do with Steam, please add your system read-out from Steam -> Help -> System Information (please put that into Pastebin/Gist as linked above!):gist
You can note your issue below here
setting a custom steam shortcut to a lutris game crashes the game after playing for a while. launching the game directly through lutris does not crash. Running lutris with lutris -d (to get logs) and then launching the custom shortcut through steam cause steam not to hook into the game (can tell cause steam input is not working and the big picture overlay isn't as well) I can see lutris debug info if I run steam with gdb but I can't get that to output to a file (only outputs partially) even though I did set logging file and set logging



Found this might be the same issue
https://github.com/lutris/lutris/issues/2719

Last edited by zany130 on 23 September 2021 at 11:01 pm UTC
PublicNuisance Sep 23, 2021
Usually if I want a log I set a command.

&> log.txt

It will generate a log file in the folder the executable is located in. In Lutris i'm not sure if it would go in the "arguments" or "executable" field though.
zany130 Sep 23, 2021
Quoting: PublicNuisanceUsually if I want a log I set a command.

&> log.txt

It will generate a log file in the folder the executable is located in. In Lutris i'm not sure if it would go in the "arguments" or "executable" field though.

It would have to be something i add to steam. Lutris has a debug option but i can't use it, because steam only loads the game if lutris is closed. I can't run the game with the lutris client open so i need a way to get logs from within steam. I already tried running steam in a terminal to see if that would print out lutris debug

Last edited by zany130 on 23 September 2021 at 7:07 pm UTC
PublicNuisance Sep 23, 2021
Quoting: zany130
Quoting: PublicNuisanceUsually if I want a log I set a command.

&> log.txt

It will generate a log file in the folder the executable is located in. In Lutris i'm not sure if it would go in the "arguments" or "executable" field though.

It would have to be something i add to steam. Lutris has a debug option but i can't use it, because steam only loads the game if lutris is closed. I can't run the game with the lutris client open so i need a way to get logs from within steam. I already tried running steam in a terminal to see if that would print out lutris debug

You can use that command with Steam. Right click on the game in your library; choose Properties; and insert it under "Launch Options". I just tested it with one of my games on Steam. Not saying it will tell you what's wrong but it may.
zany130 Sep 23, 2021
Quoting: PublicNuisance
Quoting: zany130
Quoting: PublicNuisanceUsually if I want a log I set a command.

&> log.txt

It will generate a log file in the folder the executable is located in. In Lutris i'm not sure if it would go in the "arguments" or "executable" field though.

It would have to be something i add to steam. Lutris has a debug option but i can't use it, because steam only loads the game if lutris is closed. I can't run the game with the lutris client open so i need a way to get logs from within steam. I already tried running steam in a terminal to see if that would print out lutris debug

You can use that command with Steam. Right click on the game in your library; choose Properties; and insert it under "Launch Options". I just tested it with one of my games on Steam. Not saying it will tell you what's wrong but it may.

Didn't work I tried add that to the shortcut's launch options and nothing this is how I have my launch options

LUTRIS_SKIP_INIT=1 lutris -d lutris:rungameid/1 &> log.txt
Ok I was able get logs but there a lot of junk from steam don't know how to filter it out so I can only see the lutris stuff


posted it here but its pretty big full of useless stuff
https://gist.github.com/zany130/c4c0f981370950139722adffa3725823

Last edited by zany130 on 23 September 2021 at 11:03 pm UTC
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.