Join us on our own very special Reddit: /r/Linuxers
Running Lutris games on steam crashes. How to get logs?
zany130 22 Sep
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
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 23 Sep
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
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 23 Sep
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:

Patreon, Liberapay or PayPal Donation.

This ensures all of our main content remains totally free for everyone with no article paywalls. We also don't have tons of adverts, there's also no tracking and we respect your privacy. Just 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 Twitter Sign in with Google
Social logins require cookies to stay logged in.

Livestreams & Videos
Community Livestreams