Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Dota 2 doesn't launch #129

Open
nxjosephofficial opened this issue Mar 5, 2024 · 17 comments
Open

Dota 2 doesn't launch #129

nxjosephofficial opened this issue Mar 5, 2024 · 17 comments

Comments

@nxjosephofficial
Copy link

/bin/sh\0-c\0/home/steam/.steam/steam/ubuntu12_32/reaper SteamLaunch AppId=570 -- /home/steam/.steam/steam/ubuntu12_32/steam-launch-wrapper -- '/home/steam/.steam/steam/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun --  '/home/steam/.steam/steam/steamapps/common/dota 2 beta/game/dota.sh' +@panorama_min_comp_layer_dimension 0 -prewarm_panorama -vulkan\0
chdir "/home/steam/.steam/steam/steamapps/common/dota 2 beta"
ERROR: ld.so: object '/home/steam/.steam/steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/home/steam/.steam/steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
steam-launch-wrapper: $XDG_RUNTIME_DIR not set.
ERROR: ld.so: object '/home/steam/.steam/steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/home/steam/.steam/steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
pressure-vessel-wrap[7546]: E: Cannot run /home/steam/.steam/steam/steamapps/common/SteamLinuxRuntime_sniper/pressure-vessel/bin/pv-bwrap: wait status 256
pressure-vessel-wrap[7546]: E: Diagnostic output:
bwrap: Can't read /proc/sys/kernel/overflowuid: No such file or directory
@shkhln
Copy link
Owner

shkhln commented Mar 5, 2024

The Linux emulation is not advanced enough to run Linux container stuff (that includes pressure-vessel). As an alternative I provide an option to run Steam Runtime in an unprivileged (that is, non-superuser) chroot , but you have to specifically select it in the compatibility tab in the game settings.

@nxjosephofficial
Copy link
Author

nxjosephofficial commented Mar 5, 2024

but you have to specifically select it in the compatibility tab in the game settings.

Which one is it ?
2024-03-05-220850_1366x768_scrot

@nxjosephofficial
Copy link
Author

nxjosephofficial commented Mar 5, 2024

But now i am getting this error. I use amdgpu driver.
2024-03-05-221411_1366x768_scrot

@shkhln
Copy link
Owner

shkhln commented Mar 5, 2024

That's a tough one. I don't think Vulkan ever worked in that configuration. (Other similar reports: https://forums.freebsd.org/threads/linuxulator-vs-intel-amd-gpus.92445/.) Somebody would have to debug it.

@nxjosephofficial
Copy link
Author

with FreeBSD wine (wine-proton) i could launch dota 2.
2024-03-05-223455_1366x768_scrot

@nxjosephofficial
Copy link
Author

nxjosephofficial commented Mar 5, 2024

the game doesn't launch with -vulkan launch parameter. the game doesn't stop after exiting, forcing game to stop doesn't work by clicking stop button. also, the audio of the game is sizzling (i use oss). Sometimes the game crashes.

@nxjosephofficial
Copy link
Author

I've upgraded to 14.0-STABLE and installed drm-61-kmod. Can vulkan run right now?

@shkhln
Copy link
Owner

shkhln commented Mar 8, 2024

The forum thread linked above contains Vulkan testing instructions. The proper complaint place is https://github.com/freebsd/drm-kmod.

@nxjosephofficial
Copy link
Author

I tried the instructions but it doesn't run successfully. I run those commands from steam user.

$ ./linux-chroot /usr/bin/glxgears -info | grep RENDER
mount -o nocover -t tmpfs tmpfs /home/steam/umnt
mount: tmpfs: Device busy
Assuming /home/steam/umnt is already set up.
Authorization required, but no authorization protocol specified

$ ./linux-chroot /usr/bin/vkcube
mount -o nocover -t tmpfs tmpfs /home/steam/umnt
mount: tmpfs: Device busy
Assuming /home/steam/umnt is already set up.
Authorization required, but no authorization protocol specified
Cannot connect to XCB.
Exiting ...

@shkhln
Copy link
Owner

shkhln commented Mar 8, 2024

Something like this?

@nxjosephofficial
Copy link
Author

nxjosephofficial commented Mar 8, 2024

Thanks. xhost + command fixed the problem.
I see llvmpipe in the outputs of the commands. What does it mean?

@shkhln
Copy link
Owner

shkhln commented Mar 8, 2024

It means things are not going well for you. llvmpipe is a fallback CPU renderer, it's too slow for games.

@nxjosephofficial
Copy link
Author

OK, thank you for all.

@shkhln
Copy link
Owner

shkhln commented Mar 8, 2024

Don't forget to complain in the proper place. The drm-kmod people don't react at all if you don't shove issues right in their face. (And even then they might not have time to address those issues.)

@nxjosephofficial
Copy link
Author

I tried again. It launches but i just see weird thing on the screen and it closes immediately.
2024-04-11-010934_1366x768_scrot
2024-04-11-010938_1366x768_scrot
2024-04-11-011026_1366x768_scrot

@shkhln
Copy link
Owner

shkhln commented Apr 11, 2024

It will likely start with LD_PRELOAD=noepollexcl.so %command% in the launch options. Note that this is a rather crude hack, I would not recommend actually playing any multiplayer matches with it (might degrade performance too much, cause deadlocks or get you VAC banned).

@nxjosephofficial
Copy link
Author

nxjosephofficial commented Apr 11, 2024

Yes, it launched successfully with that launch option.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants