-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Half-Life: Alyx (546560) #3681
Comments
Looks like |
Same Error for me Edit: |
Log of SteamVR launch: Log of game launch: Proton log: System info: https://gist.github.com/radriaanse/8e91a8c6b0fd8a20f12d1af97ba03fe3 |
For me it worked once I chose Proton 5.0-5 but performance is abysmal — that can’t just be my Vega 56, I have sometimes frame times of 50 ms and above. |
system info and proton log please? |
Starts for me. Steam system info: https://gist.githubusercontent.com/zaggynl/19d6a81cd78c88066c7be8f132e63a3e/raw/51cf2ba54ad6cedea97c5648222216beb38ba0c2/gistfile1.txt summary: streamvr beta screenshot: https://imgur.com/2hVVLfb.png Proton log: pending |
I manually chose Proton 5.0-5 and the game ran fairly well, however it always crashes to a black screen(with the headset ostensibly turning off) when entering the train after getting the pistol, where it seems a level change should occur. In some cases the game will display an error complaining about the steamVR library being out of date(even though steamVR is a newer version than the minimum it requests), in others the game will just freeze and must be manually closed. System info: https://gist.github.com/VurtualRuler98/25db38bf420800016515507a88b32c38 |
Hello @VurtualRuler98, |
the game works fine here ( i7-8700K, RTX 2080, up2date arch linux, nvidia-dkms-440.64-5) |
Its general level loads as far as i can see. I could progress by saving before the level load, letting it crash (or not). After starting the game again it progresses just fine. Still, would be nice to have this fixed. Ill try to get a log next crash |
Game launches on proton 5.0-5, but like others have said, performance is bad. I also the game got stuck on the loading screen after the intro chapter, after the 2nd elevator. |
The SteamVR beta branch has some fixes related to loading screens for HL:A on linux. |
I'm on the beta branch already. Or do you mean linux_temp? |
I'm probably missing something, but I'm still unable to launch even with the earlier mentioned launch options. |
https://steamdb.info/app/250820/depots/ |
|
had to symlink my .local/share/Steam/SteamApps folder to .local/share/Steam/steamapps to get the controllers to work |
After loading the game up again, it works better in the levels that I already had been at. But after going forward in the game (in the courtyard which was featured in the steamvr home previews), the performance tanks again. At that point I tried saving and loading, but it got stuck on the load screen, while everything was laggy and slow. Even the controllers and view moved in slow motion. I was using RADV_PERFTEST=ACO on the hl alyx, as well as the beta branch of steamvr. |
I didn't have any launch or even crash problems at all but sometimes HL:A used all of the GPU and had refresh rates and jittering that was horrible. I solved almost all of these by setting the resolution / super sampling of the Index down to 30%. The problem of the loading screen remains: sometimes it uses the GPU to its full extent and takes like 5 minutes to load, while the PC is unresponsive (even the mouse!) and you get 3fps in VR. After that it does recover again though and is completely playable again. |
Found this in my syslog: https://gist.github.com/mkalte666/9eb82820fff62dfc5b9d3e377c042225 |
For me it also crashes when a new level is loaded, sometimes during a train or when arrested. But also when selecting saves. System: Syslog |
I also just lost some saves to god-knows where (basically all reset to the launch before the one that crashed/newer ones just gone). I think that might be a steam cloud issue, but no idea how i should approach this |
@lordkitsuna well, the problem only appears after two or three loading screens so that sounds like it is the issue. Weirdly though right now I have only 4038MB of 8 gigs used and got the problem. |
This happens to me at every level after getting in the train. No matter how quickly a level is completed. |
@mathew2214 Sorry for being a bad reporter earlier: System Information
I crashed on me now after a nice hour of game play just after successfully loading the next level (just after fighting the head crabs), probably because I set down my HMD during the loading. Unfortunately I did not have PROTON_LOG=1 set yet. :-/ The real bummer though is that there was a hot fix release for SteamVR beta just twenty minutes ago and now SteamVR won’t start — I’ll reboot to check if I did something to break things. I had to kill SteamVR due to the earlier crash after all. //edit: I don’t know if it’s the hot fix but my frame times are a lot better now. Still not the desirable 11 ms but absolutely bearable 13-15 ms with better reprojection, too, as it seems. No more frasnell effect — but let’s see, maybe it’s just the level. I’ll keep you posted. //edit2: Added log of latest gameplay which crashed after loading a save — for the second time, due to dying twice … |
@kivoli Seeing that you are on Arch as well, did you do anything special besides adding that launch option to be able to start? |
Tools mode somewhat works if launched outside of proton, with system wine. |
@xDShot @llamasking How did you access the tools? Steam refuses to show me a DLC tab to install them, and I can't find them in the games files. I have updated the game and restarted steam, so that's not the issue. |
@Kartoffelsaft enable proton. Let it download content. Restart Steam. After the DLC usually appears. To access the game with tools mode, launch |
Thanks @xDShot! Is there a way to prevent keep both the Linux version and the tools installed at once? One solution I can think of is just moving the Hammer files somewhere else, but honestly I'm not sure which folders do I need, and I'd prefer not to have to keep two full installations of the game on my drive as, well, it is quite massive in size. |
@kherchel In order to have both the linux native version and the tools, we'd probably just have to install the Proton version of the game with the tools and copy the Alyx folder elsewhere on the system. If you wanted conserve disk space, we could also just link the game's content files from the original to wherever you copied the Proton version so that we don't have two copies of those files, which don't change between Windows and Linux. |
@kherchel @llamasking Only the files specific to either Linux or Windows are re-downloaded when switching and there seems to be no duplication of platform-agnostic assets on disk. Unfortunately Steam currently deletes the platform-dependent stuff, at least hlvr.exe is deleted. Also the workshop crashes for me on startup. When trying to run the Linux-native hlvr with the same parameters as for Windows it complains that the “toolsframework2” is missing but this may be due to it deleting the workshop stuff. Maybe one could backup the workshop tools while on Proton, switch to native and copy them back in to force running the workshop under Linux? :D |
The tools do work using a non-Proton wine. I'm using Lutris to launch with the args of |
@kivoli @kherchel If you want to have both the native Linux version and the Windows version for the tools, you need to make a copy of these files and folders. Then after switching back to the linux version in Steam, you can merge the files back in. Unfortunately Steam won't have a launch option for the tools, so you'd have to use something like Lutris to launch the tools, but you're getting both the native linux version and the windows version with fully functional tools. |
Would anyone like to test this Proton PR #3886? (D/L is available linked at the bottom) I can get here now: |
@stevenlafl Your fix appears to have gotten the tools and game launching again, though the tools have issues still. The preview window is borked for me, while it is not on Lutris wine. I haven't really looked at much else. |
Thank you for your review. It looks like it could now be related to Perhaps https://bugs.winehq.org/show_bug.cgi?id=45277 . I will need to take a look and see if there is an appropriate patch. |
My recent commits on #3886 get this working. Now, hammer seems to have some kind of small issue with dropping frames when another child window is focused. It's more of a user experience problem at this point as it all appears to work okay. Link to precompiled release: https://github.com/stevenlafl/Proton/releases/tag/proton-5.0-7-alyx-2 |
@stevenlafl Thank you. Now I can do this instead of launching the tools hackily through Lutris! |
Sadly Alyx doesn’t want to start with Proton for me anymore.
The log and memory dump (base64 encoded) may be found here: The native version works just fine but mods often don’t work with Vulkan which is why I wanted to run the Windows version via Proton again. I tried to get Windows and Vulkan version to run simultaneously but it didn’t work - probably due to this more generic issue. I tried 5.0-8, 4.11-13 and 5.8-GE-2-MF — it crashes during startup, never leading the loading area of SteamVR. |
Yeah I have been unable to get it working through Proton too, so I can't get past the point at which it crashes. Does anyone have a save file from beyond that specific part or know how much further until chapter 3 (or is it 2?)? I just want to continue my playthough. |
@kivoli Use @stevenlafl's patched Proton.
@lboklin If you're talking about the crashes when loading a new level, the workaround for the bug is to save and quit the game. Then restart the game. Once you load in, immediately jump into the loading screen. Alternatively, the native version does not experience the crash bug at all. |
@llamasking Right - works nicely and apparently I totally overlooked one directory when following your list of files to copy. Thanks again for providing it! |
@kivoli No problem. I added a script to the gist. It just makes it so I don't have to manually dig out the files I need to copy whenever the game updates. I'll be keeping the list updated for as long as is necessary. Updates tend to add and remove some files, but never anything that should ever need a change to the files list. |
@llamasking Sorry I forgot which issue I was in. This is the crash apparently affecting everyone: ValveSoftware/SteamVR-for-Linux#356 and the only way to bypass it is to just load the level that comes after (chapter 3). |
Gathering info from these posts, I created a simple setup script to create a separate install of the Windows version of HL:A and tools, if you want to keep using the linux version too. https://github.com/Okxa/hl_alyx_tools_proton_install It is mostly automated (downloads the game, downloads & installs the patched proton by stevenlafl), but you must manually create a shortcut on steam like in this comment, but the script tells you what you need to do. Ofc it doubles the disk usage, but if you have the space there it is, the script atleast copies the files to save download time/bandwidth. |
It seems that the hammer editor crashes when setting the center panes to Four-view quad. Also it crashes if you resize the right pane while having a map open, perhaps related. Do not know how to log this, as env vars like PROTON_LOG=1 wont work on non-steam games. Maybe there is a log somewhere? Or otherwise would need to switch the native linux version on normal steam client to proton and debug with that. |
AFAIK, you can create a user_settings.py next to the proton executable. There is a template (called user_settings.sample.py), which you can just copy and rename that one. Proton then should create logs for everything you run with it.
|
So here is the proton log for the tools, using this proton: https://github.com/stevenlafl/Proton/releases/tag/proton-5.0-7-alyx-2 by @stevenlafl Hammer crashes when switching to four view quad, same results happen when resizing the right pane smaller when a map is opened. (It does not crash when the right pane is dragged wider) https://gist.github.com/Okxa/70e5776da7754d567b4e4b2505ebecda |
For some reason the game crashes when I am trying to load my map. But when loading a map compiled from one of the template maps, most of the time it does not crash, but I have gotten that to crash the game too once. So maybe not an issue with the map itself. Maybe some kind of memory issues, as sometimes I have gotten messages like: Still using the @stevenlafl 's precompiled proton. Proton log: steam-546560.log mdmp: hlvr_2021_0927_000547_0_accessviolation.mdmp.zip UPDATE: If I quickly open hammer and load the map in engine, it loads. But if I load it afterwards again, or reload it multiple times, the game crashes with "Out of Memory". UPDATE2: The tools now run with Proton Experimental; however they still crash most of the time when loading a map. Proton Experimental log: steam-546560.log |
Maybe I'm a little late to the party 😁 after getting my first VR gear Half Life: Alyx is a must have. It feels like it was getting better after installing a more capable CPU. Something Does anyone had the same issue with this game? It is probably an AMD Graphics library/hardware I'm using Ubuntu/Fedora Linux for this. I don't use any self compiled drivers. Only "vanilla" distributions. If you're interested in I will post all my stuff in detail but since this behaviour is the same on ubuntu 22.04, 24.04 and |
I have an RX 5700 XT which crashed the last time I played. I think the first gen RDNA cards are just more prone to crashes when there's a lot going on, like in HL:A. I hope the newer AMD cards are more stable... |
Compatibility Report
Name of the game with compatibility issues: Half-Life: Alyx
Steam AppID of the game:546560
System Information
Driver/LLVM version:Mesa 20.1
I confirm:
proton log:
https://gist.github.com/mathew2214/a1067ba8bae2d4928c6396b63e14240b
Symptoms
the game does not launch. instead giving the error:
VrOverlay failed initialization with error code
VRInitError_Init_InterfaceNotFound: "Interface Not Found (105)"
The text was updated successfully, but these errors were encountered: