-
Notifications
You must be signed in to change notification settings - Fork 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
Hogwarts Legacy (990080) #6510
Comments
Can't say I can reproduce the missing/black materials on my RX 570, though performance of the game does seem a bit rough. Long pauses/loading between pausing and unpausing the game. Game seems to want a lot of RAM and running without a swapfile is unadvised if you have only 16GB to work with. Used Proton 7.0-6. |
Looks like |
Using Proton Experimental
Looks and runs really well at Ultra Settings in 1440p+FSR2 Quality. The only issues I encountered are:
|
With an RX 6700 I do not have shaders issue. But yes, sometimes with scene loading or fast travel I have an instant crash. Restarting the game allows me to play past that loading screen but it will eventually crash a few scenes later. |
Played for a few hours, now the game won't launch at all and I am presented with an error box with a link to the following page: https://support.codefusion.technology/pp_inaa2nm/?e=88500006&l=english which I guess is probably broken DRM or something |
I can confirm the crashes on my 1060 6gb, though no shader issues. Looks to me like a memory leak...
|
I'm having issues where the game will crash during a loading screen on my 6700 XT. |
Same crash here, Proton Experimental (bleeding-edge) and Proton-GE 49. I get this in stderr when it crashes: Win64\HogwartsLegacy.exe: ../src-wine/dlls/ntdll/unix/virtual.c:1481: create_view: Assertion `!((UINT_PTR)base & page_mask)' failed. |
I can confirm that game crashes a lot during fast travel/loading screens on my both PC. One with RX 5600 XT and second with RX 6600 XT. |
For me the game stays on the "Warning" screen indefinitely. And I suddenly discovered that my game runs fine when I did not focus the window at the game. (That means I have the game running in background, and it shows up just fine as I am typing this. Once I switched back, making it full screen, the game freezes again. |
Hello. To make it permanent across reboots you'll instead have to add You can read a short description of what it does here https://sysctl-explorer.net/vm/max_map_count/ Steam Deck already ship with a much higher value than default which might be why i haven't seen any report of this on Deck. Edit: On newer versions of systemd a conf file might need to be created in a different location. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
@Blisto91 thanks for the idea, i am trying it out now, changed it in proc, will keep you updated |
I was able to play the game 1 time, but trying to launch it again leads to it crashing. The logs are quite strange... Proton Logs Here: https://filebin.net/96b7nxeu1hld0spc The game seems to enter some kind of loop where it keeps printing:
then I think it tries to create a new pipline, then it complains that pipeline doesn't exist until it hits:
I did try this even though I didn't think it would help with my issue and yeah it didn't help. Any ideas? |
@MichaelAllenHardeman I have been told that might be an esync "issue" (maybe not a issue with esync itself per say, but can trigger it when a low fd limit is set). |
@Blisto91 game has successfully launched three times in a row with that option. Thanks 👍 |
@Blisto91 I think the map count did the trick for the loading screen crashes. I've been able to fast travel to 6 different locations and it still hasn't crashed. My best before the change was 2. My max_map_count was only 65530 before the change |
Hello @MichaelAllenHardeman, please verify that |
On newer versions of systemd you need to create a .conf file inside On the next boot, you can check the value of 1048576 with |
Thanks. Edited my comment to link to yours |
Changing |
|
That's generally too low for eventfd-based thread synchronization to be reliable. The link I posted with the question recommends around a million, and systemd sets it to something like half a million. |
@kisak-valve Is this better?
|
I recall there being downsides to increasing the soft limit, but not any specific details and the soft limit is not relevant to what esync is doing. Regardless, you should test the game without |
@Blisto91 thanks for this tip. My OS limits looks following: |
Can report that $ ulimit -Hn
524288
$ ulimit -Sn
1024
|
Game crashes at startup right after the very first screen with "Warning: Read before playing". This is on kernel 6.2.0-060200rc4-generic with mesa 23.1.0-devel (git-3e2c768), running on Arc 770m. |
I am having trouble getting it working, I have a RTX 2060 TI, 16gb ram, i7 running on Mx Linux(Debian) I can get it to the warning screen then it just crashes.. Ill try to figure out how to get the logs and more details |
I get the same most times with all of Proton 8, Experimental bleeding-edge, and GE 8-25. The crash isn't reliable though, the timing can change and sometimes it starts (about 20%). Weirdly it never allocates even close to 100% of VRAM. Anyway, I have 100% success rate when setting VKD3D_CONFIG=pipeline_library_app_cache No issues to report once it's actually running. Specs: CachyOS (Arch), KDE Plasma X11, 4070 Ti (driver 545.29.06) |
@frozen-sea I don't remember if I had tested this flag, but when I tried to run the game on Windows 11, it just kept crashing as well, switched to an AMD RX 6700 XT, initially I was just going to play on windows but I gave Linux a try and faced the same page fault issue that @zaps166 faced. By sheer dumb luck it solved itself on Proton Experimental if I enabled vsync in game and disabled upscale. It stutters sometimes, but I'll gladly take it from the crash fest that was with Nvidia or crashing the game. Launch Options:
Didn't test any ray tracing though, was able to enter every single room in the castle in one go, something that was impossible before. Played on high settings was well and I'm able to get 60 fps. (Ultra is playable at around 42-47 but it stutters more) This page fault error also appeared on F1 23 and the fix was the same, proton experimental + enable v-sync in game though on F1 it took a long while before it crashed because of it. Funny story: I've bought the Nvidia GPU because I was sick and tired of the page faults errors in Baldurs, Hogwarts and F1. Switched for two months, everything became worse, switched back and everything works 🤷♂️ the universe sometimes has a sick sense of humor. |
I solved Out of video memory error on NVIDIA (driver version 545.29.06) during startup following way : deleted vkd3d-proton.cache (and vkd3d-proton.cache.write ) from Hogwarts Legacy/Phoenix/Binaries/Win64 and modified steam cmd line : VKD3D_SHADER_CACHE_PATH=0 %command% Out of video memory error not appear anymore but nag long black screen at start before "preparing shaders" still irritate. PS : look like problem with proton internal cache (ie DXBC/DXIL -> SPIR-V conversion caching). I think this issue have to be sent to vulkan developers |
I had occasional out of video memory errors on AMD Radeon when using
I always use V-Sync and never use upscale (I just reduce the "resolution" a little) - I have occasional pagefaults on AMD anyway.
I noticed if Hogwarts Legacy drops below 60 FPS on ultra it stutters also with FreeSync enabled (less than FreeSync disabled, but still stutters). It's smooth on Windows. My monitor range is 40-60 FPS. |
Sorry. I ma bit not get what relation your comment have to "out of video memory" issue on NVIDIA. On Nvidia this issue prevent booting of game completely until you change proton version. My workaround prevent constant changes of proton version. |
With proton-experimental or proton-GE-8-27 the game fails to start and shows an error It launches with proton 8.0-4, however it takes 5 to 15 minutes to get past the initial black screen/epilepsy warning, every time. After that, it works well. NVIDIA GTX 1060 6GB with 535.43.02 driver and kernel 6.5.13. |
@bluca Hi there. |
Sure |
@bluca Could you try a few things to try to narrow down the point of failure?
|
|
@bluca Thank you for the info! I'm assuming you aren't set up to build vkd3d-proton and run a bisect? Unfortunately we have been unable to repro, so that is the only way to try to figure out what is going wrong. If you are up for it, I went ahead and put the first build for a bisect here: https://www.codeweavers.com/xfer/alasky/hogwarts-legacy-bisect/ with lock code "hogwarts". To test, you can drop the tarball in ~/.steam/steam/compatibilitytools.d/. (you might need to create this folder) and reboot Steam. After that, the Proton version will show up in your drop-down menu and you can select it and see if this version succeeds or fails. |
The linked version works. But I can bisect it myself - what's the version/sha that was included in 8.0-4? |
nvm found it |
This comment was marked as resolved.
This comment was marked as resolved.
The README said you could just rebuild the same builddir and it should work, but that is apparently not the case, and was causing that build problem. By blasting it away on each bisect step it fixes that. And I found the problem - the first bad build is this commit which enables DXR by default: HansKristian-Work/vkd3d-proton@1a049c6 And sure enough, by setting |
Hello @bluca, NVIDIA 535.43.02 is relatively old and also marked beta in that release series. Are you able to test a newer driver version without treading into the Franken-Debian realm? |
I reproduced the out of memory errors on launch with GTX 1660 Ti and RTX 4070. It happened reliably on both if I deleted the shader cache between launches, though it would usually only happen for a single launch on the 4070, unlike the 1660 where it would continue until I deleted the I tested the 4070 with 535.43.22 (the Vulkan beta driver) and wasn't able to reproduce the errors with that, so hopefully that should work better. |
@kisak-valve @alasky17 I have installed the latest nvidia production branch release, 535.154.05, released two days ago, and it does not make a difference, still the same error. |
Hogwarts Legacy (990080): Crash on boot "Error of failed request: BadMatch (invalid parameter attributes)\ Issue transferred from #7421. Compatibility Report
System Information
I confirm:
SymptomsI just run the game with varius combination of ENV variables.
I tried PROTON 8 and Experimental, even GE. Same error. Reproduction
|
An update... today i've managed to start the game without changes any paramters or variables. It wont starts anymore!!!!! I've tried a dozen times but nothing happend. Same error as before. It is so strange... |
I have a weird reproducible crash of Hogwarts Legacy. In the error condition, a few seconds after starting the game, before even the Epilepsy Warning screen is shown, the game will open a small window titled "The Phoenix game has crashed and will close" with contents only the words "Fatal Error". Note that this is different from the message a lot of Windows users seem to encounter that contains more text and starts with "LowLevelFatalError". Now for the weird part: If I start Steam from a terminal, then Hogwarts starts without issues. If I start Steam with the .desktop file that has Terminal=false from my desktop environment (which is Cinnamon), Hogwarts crashes with the above error. It's 100% reproducible. It does not seem to be related to stdin/stdout/stderr. I can redirect all 3 from/to /dev/null when launching steam and the game will still work if steam is started from a terminal. It's also not necessary that the terminal window is still around, when the game is started. My current start script to work around this bug looks like this:
I launch this from the steam.desktop file with Terminal=true, so the terminal opens for 2 seconds and then closes. Some theories on what could be responsible:
The system is Ubuntu 22.04 with the Cinnamon desktop environment. I've tried both Proton 8.05 and Experimental. Same behavior. |
RE: vm_max_map_count |
I've checked DualSense 5 game pad after game update on Windows - gamepad works very well there with haptics, rumble. On Proton it still doesn't have any haptics. Rumble works only when DS5 gamepad is detected as Xbox (sometimes after hot-plugging). |
Compatibility Report
System Information
I confirm:
Hogwarts_Legacy.mp4SymptomsThe game starts but the window does not display any graphical output. Sound can be heard. ReproductionLaunch the game |
Hello @phodina, as a quick test, can you try an X based user session instead of a wayland based user session and see if the game's behavior changes? The many lines of |
Hi @kisak-valve , Same on the second attempt. Here's the log. steam-990080_first_attempt.log steam-990080-second_attempt.log I'll check the egl render path as you suggested. |
Compatibility Report
System Information
mesa 23.1-devel
)I confirm:
Proton Log (had to compress, took a bit to get it to crash but the incorrect shaders on close NPCs was consistently appearing the entire time):
steam-990080.log.zip
Symptoms
Reference Pictures:
Reproduction
Simply playing the game on a RX 7900 XTX with Proton using the latest stable driver release seems to result in this issue pretty regularly.
The text was updated successfully, but these errors were encountered: