Steam

Steam

Not enough ratings
How To debug? Troble Shoot Start Crashes [very early guide]
By Pixelzul
This is an unofficial guide in how to aboard steam game crashes. guide almost empty, sorry for the inconvenience, i work in all the guides in my free time.
   
Award
Favorite
Favorited
Unfavorite
Theme and guide for the setting of the guide
I often have to hop off some of my projects, so i this section is to make it faster for me to recover the track of for what and the ideas behind the creation of this guide.

easy guide

Troble Shoot Start Crashes

have to work with these:

1.- https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2609076838

2.- https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2843537933
Starting Steam via Terminal
How to run steam with terminal
is simple just open a terminal emulator window and write "steam-runtime" as is

steam
or
steam-runtime
Dependent on what version of steam you have. (native, Runtime or flatpak)
How to track, troubleshoot [add later debug]
Let me know what is the issue, it could be of help for people that visit the guide in the future.

but You can discuss in the collection that i linked on to get some help from the community [/h1]
i leave you with some information so you can start to seek for yourself:

[this requires you to learn some things, but this will set the bases that can help you to help yourself when you are on Linux]

How to "Debug"
How to understand the error

i am moving this section into a dedicated guide in how to troubleshoot
you are here!

So the guide takes less space and i can dedicate sections for clearness and use the same guide across other guides.

(how)

[write better]
sometimes isnt clear what is wrong at plain sight and there is no direct sign of what is happening, when there is no apparent code error to put google.

steam on terminal
Write on terminal:
Steam

Starting Steam Games
You will need the game id (application ID)

remember to always use the prefix "steam"

there are lots of ways to get this appi,

  • The Shop URL (app/4000 )
    https://steamhost.cn/app/4000/Garrys_Mod/

    command
    steam://run/[appid]

    For example Garry's Mod

    steam steam://run/4000

    Run Steam from the terminal and see what the output is, you might find some clues.

    @Rokolell: "How I go about fixing wine/proton bugs:

    Find crash address. (Instruction Pointer)

    Check what dll is at that address.

    Do a trace for the component to check what function crashes.

    Check out what the code does.

    Also I would really recommend using a proton-tkg build using non staging wine , to check if it's a valve proton specific bug. I had this before and those aren't really worth fixing imho, as you can just use plain wine in proton."

    How to run steam with terminal
    is simple just open a terminal emulator window and write "steam-runtime" as is

    how to run steam games via terminal

    @DennisJJ4: "For launching games on Steam via command line, Steam used a URI-scheme for installing or launching games. You need to find out the 'appid' (application ID) for the game you are trying to launch (for example DOTA2 is 570) and execute a steam steam://run/[appid] command. (for example, using DOTA2, steam steam://run/570)"

    source:https://askubuntu.com/questions/710742/how-to-open-steam-via-terminal
Proton
How to enable proton log

You can also run proton in debug mode... just go to the launch setting of the game and use PROTON_LOG=1 %command%

and go to your user home directory and it will have the id of the game.log

https://www.reddit.com/r/linux_gaming/comments/9ahd3k/how_do_you_get_steam_to_output_logs_for_proton/

How to debug proton log

https://www.reddit.com/r/linux_gaming/comments/qg7poy/how_to_debug_a_proton_crash/
Passing Contents
F
Let me know what is the issue, it could be of help for people that visit the guide in the future.

also You can discuss in the collection that i linked on to get some help from the community
i leave you with some information so you can start to seek for yourself:

[this requires you to learn some things, but this will set the bases that can help you to help yourself when you are on Linux]

How to "Debug"
How to understand the error

i am moving this section into a dedicated guide in how to troubleshoot
(is almost empty by now)
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3287870137&preview=true

So the guide takes less space and i can dedicate sections for clearness and use the same guide across other guides.

(how)

[write better]
sometimes isnt clear what is wrong at plain sight and there is no direct sign of what is happening, when there is no apparent code error to put google.

steam on terminal
When you open steam by terminal you can see the loading process and some leading information can appear when running games.

Write on terminal:
Steam

Starting Steam Games
You will need the game id (application ID)

remember to always use the prefix "steam"

there are lots of ways to get this appi,

  • The Shop URL (app/4000 )
    https://steamhost.cn/app/4000/Garrys_Mod/

    command
    steam://run/[appid]

    For example Garry's Mod

    steam steam://run/4000

    Run Steam from the terminal and see what the output is, you might find some clues.

    @Rokolell: "How I go about fixing wine/proton bugs:

    Find crash address. (Instruction Pointer)

    Check what dll is at that address.

    Do a trace for the component to check what function crashes.

    Check out what the code does.

    Also I would really recommend using a proton-tkg build using non staging wine , to check if it's a valve proton specific bug. I had this before and those aren't really worth fixing imho, as you can just use plain wine in proton."

    How to run steam with terminal
    is simple just open a terminal emulator window and write "steam-runtime" as is

    steam
    or
    steam-runtime
    Dependent on what version of steam you have. (native, Runtime or flatpak)

    how to run steam games via terminal

    @DennisJJ4: "For launching games on Steam via command line, Steam used a URI-scheme for installing or launching games. You need to find out the 'appid' (application ID) for the game you are trying to launch (for example DOTA2 is 570) and execute a steam steam://run/[appid] command. (for example, using DOTA2, steam steam://run/570)"

    source:https://askubuntu.com/questions/710742/how-to-open-steam-via-terminal
    How to enable proton log

    You can also run proton in debug mode... just go to the launch setting of the game and use PROTON_LOG=1 %command%

    and go to your user home directory and it will have the id of the game.log

    https://www.reddit.com/r/linux_gaming/comments/9ahd3k/how_do_you_get_steam_to_output_logs_for_proton/

    How to debug proton log

    https://www.reddit.com/r/linux_gaming/comments/qg7poy/how_to_debug_a_proton_crash/

    Path Missing Dependencies
    How to know what dependencies are missing.
    (i am on it, for now i leave this here)

    "When downloading and installing games on Linux from sources like GOG or Steam, you may find that the game tells you that you are missing some ".so" files.

    This usually happens because digital distribution platforms like GOG and Steam only officially support Ubuntu and/or Linux Mint and the games you install expect to find Ubuntu specific libraries on your system. The ones that are missing have to be manually installed or downloaded and loaded before executing the program/game that requires them.

    1 - You can list the required dependencies via the "ldd <game_exe>" command.

    The missing library files will be marked with the "not found" label.

    You can list them only by using grep: ldd <game_exe> | grep "not found"

    2 - If you don't want to manually hunt down the packages for each library file, you can try using the steam runtime to run the game. It usually works.

    ~/.steam/bin32/steam-runtime/run.sh ./<gameExecutable>

    If you're still missing dependencies even after running the game through the steam runtime library, manually install/load them because steam only supports Ubuntu and expects to find Ubuntu specific libraries on your system.

    3 - Manually load the missing ones by downloading and copying them to a folder that you point to the game via "LD_LIBRARY_PATH=<path_to_lib_folder> ./ <game_exe>".

    If the game has a ".sh" file, you can add the "LD_LIBRARY_PATH=<path_to_lib_folder>" line in it and then run "sh <start_script_name>.sh".

    You can also load individual ".so" files via "LD_PRELOAD=<path_to_so_file>"

    Whatever you do, do not create symlinks because that will eventually lead to dependency hell and you'll be wondering why nothing works all of a sudden.

    4 - If you want to manually install the missing packages, you can easily find the package name by searching for the missing ".so" file online. There are also various commands that you can use, depending on your distro.

    5 - Also, keep in mind that these packages usually come in 2 variations; one for 32 bit programs and one for 64 bit programs.

    The ".so" file names are usually the same so you'll have to figure out if your game/program needs the 32/64 bit one. You can do that via the "file <game_exe>" command as explained here.

    I hope this helps. :)
    " thanks to adevland for the Post
    (remmeber to disclosure that when you focus to much in gaming you forgot that you are on linux, and you need to know what command do what and how to fix them. i will.)

    "Also note that you can use export LD_PRELOAD="/path/to/lib.so;/path/to/anotherlib.so" to manually point to libraries. "
1 Comments
Inukaze 31 Dec, 2024 @ 3:52pm 
How i can debug when steam client never pass after login screen just stuck on a window with a Steam Logo in the center and nothing happened after, just stuck the animation forever ( i say forever because i let during 7 days and nothing happened )