-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dota 2 does not load in SteamLinuxRuntime with Steam installed via Snap / Flatpak (Ubuntu 23 /endeavouros) #586
Comments
Hello @KleinerKobold, this is a key detail: https://gist.github.com/KleinerKobold/6e163360cf23af535fbe7ad52c31d6aa#file-steam-info-L48 LLVMpipe is mesa's faster CPU renderer and the fact that Steam is using it means that there is a general system configuration issue that is causing trouble with using your GPU. Please let Steam finish collecting the extended diagnostics information and update your system information gist. The Linux client of Dota 2 is currently intended to be run in the scout-on-soldier Steam Linux Runtime configuration. This is configured automatically for Linux users. If you've set a per-game Steam Play compatibility tool override, please uncheck that setting. |
Sorry I Updated the gist |
Your issue is between Ubuntu's Snap packaging and the Steam runtime container environment (https://gist.github.com/KleinerKobold/6e163360cf23af535fbe7ad52c31d6aa#file-steam-info-L3342-L3356) and Dota 2 isn't being allowed access to the video card. I've transferred this to the steam-runtime issue tracker for a runtime dev to ponder, but really this is a Steam-in-Snap packaging issue and should be reported to those package maintainers. Please give https://github.com/ValveSoftware/steam-runtime/blob/master/doc/reporting-steamlinuxruntime-bugs.md#essential-information a read and share the requested information. |
I think there are several problems here, potentially all connected to running Steam as a Snap app instead of an OS-level app (e.g. .deb). In the legacy
If that's the case when not using the container runtime, the container runtime is not going to be able to solve that for you. 32-bit VDPAU and VA-API are also not working, and 32-bit OpenGL is using llvmpipe as @kisak-valve mentioned. 64-bit OpenGL, VDPAU and maybe Vulkan are working outside the container - there's a known bug in the diagnostic tool for Vulkan that is causing it to crash on Nvidia systems, but at least it gets far enough to crash, which is better than 32-bit. 64-bit VA-API is not working, but unfortunately that's expected on Nvidia systems. Then we get into the container. These warnings indicate potential incompatibilities between Steam-in-Snap and the container runtime which can maybe be addressed from our side. A detailed log with
These warnings indicate incompatibilities between this diagnostic tool and Steam-in-Snap, which can only be addressed from the Steam-in-Snap side:
We cannot tell what does or doesn't work beyond that, because Steam-in-Snap is breaking our diagnostic tool. The diagnostic tool needs permission to run anything in the container environment, without gaining or losing privileges ( |
I tried doing this, but Steam-in-Snap's AppArmor profile doesn't allow bind-mounting |
I fixed it. |
Since Dota Update today, problem is back, I will look to collect more data |
@kisak-valve, please could you retitle this to something like "Dota 2 does not load in SteamLinuxRuntime with Steam installed via Snap" to set the scope of this issue? |
The problem still exists, but I went away from ubuntu back to endeavouros and installed steam as native app (pac. No complications anymore.
If you like to fix the error keep it open, my incident is now closed. |
To confirm: installing Steam as a native app (pacman, apt/dpkg, RPM, or your OS's equivalent) is the only thing that Valve can realistically support. Sandboxed app frameworks like Flatpak and Snap are not a particularly great fit for Steam, because Steam isn't really an "app" in the sense that those sandboxed app frameworks are designed to work with: it's more like an app-store with its own app framework and user-installable apps (games), so there's a nearly unlimited amount of code that needs to be runnable as part of "Steam". Third-party Flatpak and Snap versions of Steam exist, but issues that exist with those versions cannot necessarily be solved by Valve or the maintainers of the Steam Runtime: some issues can only be solved by their third-party packagers or the authors of the app frameworks themselves, and some are impossible to solve at all. The Flatpak version works reasonably well by now, but has a performance penalty and some unavoidable glitches. The Snap version seems to be rather fragile, and will break very easily when things in Steam change. |
Reported to Canonical as canonical/steam-snap#358. |
Reported to Canonical as canonical/steam-snap#359. |
Your system information
Steam
->Help
->System Information
) in a gist infoPlease describe your issue in as much detail as possible:
I start Dota, the logo is coming up, the cursor changes nothing else happens.
The Game does not load any further
gist Vulkan Info
Sometimes it loads, but only every 2 to 3 days. All started with 7.33 update
Steps for reproducing this issue:
The text was updated successfully, but these errors were encountered: