Open enjoycowboy opened 1 year ago
Running dota directly through ./dota.sh isn't support afaik. Pretty sure this bypasses sniper. Does it also crash if you run it the normal way through steam?
Running dota directly through ./dota.sh isn't support afaik. Pretty sure this bypasses sniper.
That's correct, the supported way to run Dota 2 is to launch it via Steam.
When you launch Dota 2 through Steam, there are two main things that could be going wrong:
The first step here is to check whether (1.) is the problem. If it is, we need to solve that first. If it is not, we can move on to (2.).
Please try running Steam from a terminal (or with its output sent to a log file, or with its output sent to the systemd Journal) with the STEAM_LINUX_RUNTIME_LOG
environment variable set to 1
, for example:
STEAM_LINUX_RUNTIME_LOG=1 steam
In Steam's output, you should see that it is running a command that looks something like this:
/bin/sh\0-c\0
.../reaper SteamLaunch AppId=570 --
.../steam-launch-wrapper --
.../SteamLinuxRuntime_sniper/_v2-entry-point --verb=waitforexitandrun --
.../dota 2 beta/game/dota.sh +engine_experimental_drop_frame_ticks 1 +@panorama_min_comp_layer_dimension 0 -prewarm_panorama
\0
(It will be logged as one very long line, and ... will be replaced by paths to your Steam installation and Steam library - I've broken it into shorter lines and abbreviated the paths here to make it more readable.)
If you do not see a command that looks like that, then please see https://github.com/ValveSoftware/Dota-2/issues/2404#issuecomment-1653541234 for more information and some possible causes.
If you do see a command that looks like that, then the next step is to investigate why Dota 2 isn't launching successfully. Because of the STEAM_LINUX_RUNTIME_LOG=1
variable, Dota 2's output should be redirected into a log file, with a symbolic link steamapps/common/SteamLinuxRuntime_sniper/var/slr-latest.log
pointing to it, along with debugging information about the container runtime. Please attach that log file.
Your system information
Steam
->Help
->System Information
) in a gist:Game crashes before even loading screen
Steps for reproducing this issue: