Closed onegentig closed 1 year ago
Hello @onegentig, you've described the issue being tracked at https://github.com/ValveSoftware/Proton/issues/6859 and Steam waiting on the first run setup worker task to complete.
Closing in favor of the older issue report.
Any new updates or solutions? I am on AMD GPU and the issue still persists. None of the solutions I found online worked for me (disabling shader pre-caching, reinstalling, downloading additional drivers etc.). I am on Arch Linux
Two days ago (10. Sep), I found that Steam started behaving strangely – after closing, it could not open again (did not fully close before) and some games became not just unplayable, but also unmovable (couldn’t move, uninstall or even check integrity). I tried to narrow this issue, and it strangely seems to be caused by Proton prefix creation on some games and some Proton versions…
Update: Duplicate of https://github.com/ValveSoftware/Proton/issues/6859. The cause seems to be overflow of address space leading to the corruption. Issue is known to devs but not resolved (as of 2. Oct). There are no workarounds, just gotta wait for NVIDIA or whoever to fix their crap.
Update 2: I got tired of waiting and started using Windows for games. If you don’t plan to wait for an eternity, this would be your best bet.
Table of Contents
System Information
``` Installed Packages steam.i686 1.0.0.78-1.fc38 @rpmfusion-nonfree-steam steam-devices.i686 1.0.0.78-1.fc38 @rpmfusion-nonfree-updates ```$ dnf list installed "*steam*"
``` Installed Packages akmod-nvidia.x86_64 3:535.104.05-1.fc38 @rpmfusion-nonfree-nvidia-driver kmod-nvidia-6.4.14-200.fc38.x86_64.x86_64 3:535.104.05-1.fc38 @@commandline libva-nvidia-driver.x86_64 0.0.10-3.fc38 @updates nvidia-gpu-firmware.noarch 20230804-153.fc38 @updates nvidia-persistenced.x86_64 3:535.104.05-1.fc38 @rpmfusion-nonfree-nvidia-driver nvidia-settings.x86_64 3:535.104.05-1.fc38 @rpmfusion-nonfree-nvidia-driver xorg-x11-drv-nvidia.x86_64 3:535.104.05-1.fc38 @rpmfusion-nonfree-nvidia-driver xorg-x11-drv-nvidia-cuda.x86_64 3:535.104.05-1.fc38 @rpmfusion-nonfree-nvidia-driver xorg-x11-drv-nvidia-cuda-libs.i686 3:535.104.05-1.fc38 @rpmfusion-nonfree-nvidia-driver xorg-x11-drv-nvidia-cuda-libs.x86_64 3:535.104.05-1.fc38 @rpmfusion-nonfree-nvidia-driver xorg-x11-drv-nvidia-kmodsrc.x86_64 3:535.104.05-1.fc38 @rpmfusion-nonfree-nvidia-driver xorg-x11-drv-nvidia-libs.i686 3:535.104.05-1.fc38 @rpmfusion-nonfree-nvidia-driver xorg-x11-drv-nvidia-libs.x86_64 3:535.104.05-1.fc38 @rpmfusion-nonfree-nvidia-driver xorg-x11-drv-nvidia-power.x86_64 3:535.104.05-1.fc38 @rpmfusion-nonfree-nvidia-driver ```$ dnf list installed "*nvidia*"
``` System: Host: fedora Kernel: 6.4.14-200.fc38.x86_64 arch: x86_64 bits: 64 Desktop: GNOME v: 44.4 Distro: Fedora release 38 (Thirty Eight) Machine: Type: Desktop System: Gigabyte product: Z270X-Ultra Gaming v: N/A serial:$ inxi -F
Description
Behaviour
Relevant to #6811 but with "extra steps" – similarly, Steam cannot shut down properly. When exited from app, I would expect a message like
[2023-09-12 04:32:44] Shutdown
, but instead, I get something like this:Afterwards, the last line about a WorkThreadPool failing to shut down is repeated and Steam never really quits – it has to be killed manually with
killall -9 steam
. I do not observe a higher CPU usage, or at least I haven’t noticed. But not being able to shut down Steam would be the least of all the problems…The worst of all is that most games cannot start anymore – pressing "Play" either stalls on "Launching" or starts "Running" with no window opening (Proton runs in the background, but does nothing of note). Games affected by this problem cannot be un-installed, moved or have a broken (never-ending never-updating) integrity check.
The only way out of this state for me was to wipe Steam’s folders
~/.steam
+~/.local/share/Steam
(reinstall without wiping these folders did not work). This clean slate was able to work properly, until it somehow broke again. (ADDENDUM: Games were installed in the default directory.)Cause
It’s weird. My initial guess was a permission issue or something but no logs pointed to it, and no adjustments, permission settings or even just plain removing all safety features of my PC did anything to resolve the issue. The issue was not spontaneous though, and I was able to tell by a failed launch attempt (where game did not start and crash, but stalled on "Launching" or started "Running" without a window) that this Steam install is now "corrupt."
I did some experimenting, and it seems that the issue was caused by prefix creation for seemingly specific games on random Proton versions. It may not be the root cause, but that’s what I have seen during Proton version switching and watching the logs. Flower worked for the 5.0-10 and 4.11-13, crashed but didn’t "corrupt" on 4.11-13, but versions 7.0-6, 6.3-8 and 5.13-6 caused Steam to get "corrupted". Proton 8.0-3 was listed as "worked," but exactly as I was writing this, I installed that version and it broke.
Why this game in particular? Because it was small, and I had to reinstall everything a lot (and I have a VERY sluggish internet). For another example TES3: Morrowind had no issue with Proton 5.13-6, which Flower always "rejected". I tried several Proton versions with Morrowind, and even if some of them crashed, none "corrupted". On the other hand, Freefall Tournament, an ancient Flash game, "corrupted" Steam on Proton 8.0-3.
This problem also seemed to have occurred not during the game execution or running, but as soon as prefix creation. Starting a game download and setting Proton version to one I knew would cause "the corruption" would corrupt during "Finalising" stage with no need to run the game itself. Finalisation would not finish on it’s own either – pressing "Pause" would make it seem like it was complete, but of course, the game would not start.
The "corruption" happened around the time this was logged to the terminal:
Potentially unrelated, but I noticed that this line gets printed during the prefix creation when it gets corrupted (unconfirmed, would need more testing to be sure):DISPROVENGhostrunner Demo was the first game I noticed this error on, running on default Proton Experimental. Due to its size, I did not test it further. I usually play same games over and over and only seldom, so this error could have "happened" anytime. I remember that Warframe worked on Experimental (would’ve noticed very soon if it caused the problem).
I wish I had more to go on (specific games to specific versions, types of games etc.), I was even writing down version that failed to each try, but there just was no game-to-version consistency… :/
Steps for reproducing this issue
What I tried so far
DRI_PRIME=0 steam
dnf reinstall steam
dnf remove steam && dnf install steam
dnf remove protontricks