Skip to content
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

Horizon Forbidden West (2420110) #7590

Open
2 tasks done
agurenko opened this issue Mar 21, 2024 · 105 comments
Open
2 tasks done

Horizon Forbidden West (2420110) #7590

agurenko opened this issue Mar 21, 2024 · 105 comments
Labels
Game compatibility - Unofficial Games not expected to work without issues NVIDIA drivers Possibly involves an issue with the NVIDIA proprietary driver

Comments

@agurenko
Copy link

Compatibility Report

  • Name of the game with compatibility issues: Horizon Forbidden West
  • Steam AppID of the game: 2420110

System Information

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

steam-2420110.tar.gz
runtime-information.tar.gz

Symptoms

Mouse sensitivity is off the charts, single movement results in camera moving at insane speed

Reproduction

Just load the game, try to move the mouse.

@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Mar 21, 2024
@urbenlegend
Copy link

Mouse works fine for me here on Nvidia X11, but I can't seem to enable DLSS. When I launch the game, it warns me about a missing graphics card:
image
Maybe that has something to do with it if it can't detect my Nvidia GPU at all.

@agurenko
Copy link
Author

Yeah, Fedora 40 KDE is now wayland only, so it looks exactly like the Star Citizen issue on wayland :(

@agurenko
Copy link
Author

Just tried GE-Proton9.2 and no issues with a mouse there!

@tooSadman
Copy link

tooSadman commented Mar 21, 2024

@urbenlegend if you try Proton 9.0 (beta) you'll get this message:
image

but still you won't be able to enable dlss for some reason

@urbenlegend
Copy link

Odd, I am on Proton Experimental which should have changes up to Proton 9.0 (beta 15), but it still says no graphics card detected.

@tooSadman
Copy link

tooSadman commented Mar 21, 2024

@urbenlegend for some reason with proton 9.0 I get different message than with proton experimental

@kodatarule
Copy link

I tried the game on my nvidia gpu under both X and Wayland, haven't had issues with the mouse.
However as stated above right you cannot get neither DLSS nor reflex(which got merged in vkd3d) to work as there seems to be an issue with the game + nvapi(you can force enable it with PROTON_FORCE_NVAPI=1 %command% however the launcher doesn't show)

Operating System: EndeavourOS
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.9-273-tkg-bmq (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5800X3D 8-Core Processor
Memory: 31,3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3090/PCIe/SSE2

@frozen-sea
Copy link

frozen-sea commented Mar 21, 2024

I tried the game on my nvidia gpu under both X and Wayland, haven't had issues with the mouse. However as stated above right you cannot get neither DLSS nor reflex(which got merged in vkd3d) to work as there seems to be an issue with the game + nvapi(you can force enable it with PROTON_FORCE_NVAPI=1 %command% however the launcher doesn't show)

PROTON_FORCE_NVAPI=1 makes DLSS works on Proton 8 and 9 Beta since those show the correct GPU in the warning, but on Experimental/Exp bleeding edge it says "no installed graphics card" and doesn't work.

For me the bigger issue is the audio crackles and drops out a lot. Unfortunately it doesn't get fixed by just throwing some PULSE_LATENCY_MSEC at it.

Quantum 2048 (crackle): https://www.youtube.com/watch?v=jiuqG9opsgE
Quantum 512 (no crackle): https://www.youtube.com/watch?v=E2CGF7kyugc
Specs: https://gist.github.com/frozen-sea/5f1442ef850a341f2a6ce4f596d820fd

@EnLaLuna91
Copy link

EnLaLuna91 commented Mar 21, 2024

I get the information popup too. As it doesn't detect my GPU it doesn't let me enable DLSS, but even so, ignoring the warning, the game starts perfectly.

I tried starting the game with PROTON_HIDE_NVIDIA_GPU=0 PROTON_ENABLE_NVAPI=1, both individually and jointly.

This is my computer information:
OS: Arch Linux x86_64
Kernel: 6.8.1-arch1-1
Session: Wayland
KDE Plasma Version: 6.0.2
CPU: 13th Gen Intel(R) Core(TM) i7-13700KF
GPU: nvidia RTX 4080
GPU Driver: nvidia-dkms
GPU Driver version: 550.54.14-5
more computer info: https://gist.github.com/EnLaLuna91/11386a00303168814015a6035e2ab0a9

@urbenlegend
Copy link

urbenlegend commented Mar 21, 2024

Oddly enough, switching to Proton 9.0 beta was enough to enable DLSS for me. I didn't need to use PROTON_ENABLE_NVAPI or PROTON_FORCE_NVAPI at all. I wonder why @tooSadman couldn't enable it at all and why @frozen-sea required PROTON_FORCE_NVAPI. Weird. What are your driver versions?

Operating System: Arch Linux
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.1-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3090/PCIe/SSE2 550.67
Product Name: X570 Taichi

@matte-schwartz
Copy link

I’m also experiencing extra crunchy audio, I’m using an OLED Deck and not a Nvidia rig though. Happens regardless of proton versions I’ve tried so far.

@leanija
Copy link

leanija commented Mar 21, 2024

So far, the game has been crashing right at the intro video; it would play for a sec (choppily) and crawl to 1 FPS and then crash. Sometimes it gets further, sometimes it crashes right at the start. I tried Proton Experimental (bleeding edge); Hotfix; 8; 9 Beta; and also GE-9.2.

I also get the same messages on startup claiming either there is no GPU or drivers are outdated.

This on Desktop Linux:
OS: Manjaro Linux x86_64
Kernel: 6.7.7-1-MANJARO
DE: Plasma 5.27.11
CPU: AMD Ryzen 5 5600H with Radeon Graphics (12) @ 4.280GHz
GPU: NVIDIA GeForce RTX 3060 Mobile / Max-Q
Memory: 15846MiB

have yet to test on Steam Deck

@kodatarule
Copy link

Which nvidia driver are you using leanija ? Also as I can see it's a laptop do you use a Prime setup to run it or directly the nvidia ?

@Wolfgang0808
Copy link

I managed to resolve the audio crackling for the most part by setting a different buffer size for PipeWire.
Setting it to 50 mostly resolved it for me.

Command to run:
pw-metadata -n settings 0 clock.force-quantum 50

@leanija
Copy link

leanija commented Mar 21, 2024

Which nvidia driver are you using leanija ? Also as I can see it's a laptop do you use a Prime setup to run it or directly the nvidia ?

yes, its a Lenovo Legion 5 laptop, indeed. Im currently running the proprietary nvidia drivers, v 550.54.14 (NVML version 12.550.54.14) – just stock settings, so no Prime setup (I had to google what that is, to be honest)

edit: the crashlog says this:
20:17:17:895 (00000292) > [Crash] Memory statistics:
20:17:17:895 (00000292) > [Crash] Total RAM = 15.5 GB (15846 MB)
20:17:17:895 (00000292) > [Crash] Avail RAM = 11.6 GB (11925 MB)
20:17:17:895 (00000292) > [Crash] Total virtual memory = 131072.0 GB (134217727 MB)
20:17:17:895 (00000292) > [Crash] Avail virtual memory = 131071.8 GB (134217533 MB)
20:17:17:895 (00000292) > [Crash] Total page file = 32.6 GB (33354 MB)
20:17:17:895 (00000292) > [Crash] Avail page file = 28.4 GB (29032 MB)
20:17:17:895 (00000292) > [Crash] Unhandled exception at address 0x00000000fd36dd30 (code: 0xc0000005): "Access violation"

@tooSadman
Copy link

tooSadman commented Mar 21, 2024

Oddly enough, switching to Proton 9.0 beta was enough to enable DLSS for me. I didn't need to use PROTON_ENABLE_NVAPI or PROTON_FORCE_NVAPI at all. I wonder why @tooSadman couldn't enable it at all and why @frozen-sea required PROTON_FORCE_NVAPI. Weird. What are your driver versions?

Operating System: Arch Linux KDE Plasma Version: 6.0.2 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.8.1-arch1-1 (64-bit) Graphics Platform: X11 Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor Memory: 31.3 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 3090/PCIe/SSE2 550.67 Product Name: X570 Taichi

I guess I need to put to clarification one moment here. I'm able to select 'DLSS' as an 'Upscale method' parameter, albeit it's not possible to select 'DLSS Frame Generation' option:
image

@urbenlegend were you able to select 'DLSS Frame Generation'?

btw my specs:
OS: EndeavourOS Linux x86_64
Kernel: 6.8.1-arch1-1
CPU: AMD Ryzen 7 3700X (16) @ 3.600GHz
GPU: NVIDIA GeForce RTX 4060 Ti 16GB
Memory: 32015MiB
NVIDIA Driver: 550.54.14

@frozen-sea
Copy link

I managed to resolve the audio crackling for the most part by setting a different buffer size for PipeWire. Setting it to 50 mostly resolved it for me.

Command to run: pw-metadata -n settings 0 clock.force-quantum 50

Weird. I typically run a fixed 2048 quantum to work around crackling pretty much everywhere else, but lower quantum fixes this game. 1024 still crackles, but it disappears at 512.

@kodatarule
Copy link

kodatarule commented Mar 21, 2024

Replying to #7590 (comment)

I can try on a Lenovo Legion 5 as well rtx 3060, but I use the built in amd as main and nvidia only does heavy lifting(prime setup) and update you with results, but it will take some time.
EDIT: only difference would be cpu the 7 6800H and running 680m gpu with rtx 3060 doing the heavy lifting

@Saancreed
Copy link
Contributor

NVAPI situation appears to be this:

  • On Proton 9.0 Beta, dxvk-nvapi does not yet support Nvidia Reflex so you can use NVAPI for DLSS but Reflex won't be available
  • On Proton Experimental / Bleeding Edge / Hotfix, dxvk-nvapi supports Reflex and will cause the game to crash so it's disabled by default
  • For anyone feeling adventurous, you could try using one of Experimental / Bleeding Edge / Hotfix but with nvapi64.dll replaced by the one from here: https://github.com/jp7677/dxvk-nvapi/actions/runs/8381623474 (then set PROTON_FORCE_NVAPI=1 and that should hopefully allow you to use both Reflex and DLSS)

… or you could wait until the fix lands in Proton proper.

were you able to select 'DLSS Frame Generation'?

Obligatory "DLSS Frame Generation is not supported in Proton" in case you guys forgot or aren't aware yet.

@leanija
Copy link

leanija commented Mar 21, 2024

Replying to #7590 (comment)

I can try on a Lenovo Legion 5 as well rtx 3060, but I use the built in amd as main and nvidia only does heavy lifting(prime setup) and update you with results, but it will take some time. EDIT: only difference would be cpu the 7 6800H and running 680m gpu with rtx 3060 doing the heavy lifting

ah, thats what you meant. I deactivated the amd gpu at some point when it was making problems with something

__

in the meantime, I tried the game on Deck, it runs fine! around 25-35 with medium/high settings, FSR Balanced
the input for the account linking was a bit finnicky, and upon exiting it crashed, but otherwise I had a ~1.5 hr session that was fine.
I did notice the mouse speed problem as well (Having played with mouse and keyboard as well as controller)

@urbenlegend
Copy link

I tried the dxvk-nvapi build @Saancreed linked with Proton Experimental and it worked a treat! I get both DLSS and Nvidia Reflex and it works great so far!

@kodatarule
Copy link

kodatarule commented Mar 22, 2024

Replying to #7590 (comment)

I was able to test it on the Legion 5, the game booted just fine, however:
the mouse snapping on wayland super hard is indeed present I assume this is something with mesa as the desktop is being rendered by the AMD gpu instead of nvidia, nvidia only does the heavy lifting in performance.
I can confirm that DLSS also worked just fine.
Same nvidia driver 550.54.14, you already have the DE and distro above as it is the same as the desktop.

@kivoli
Copy link

kivoli commented Mar 22, 2024

The mouse issue is apparently a bug in Plasma 6 under Wayland, check out #7564.

The suggested workaround with --force-grab-cursor using gamescope works for me:

gamescope --force-grab-cursor -e -W 2560 -H 1440 --adaptive-sync -f %command%

Played over an hour now and did not encounter any other issues so far. What a time to be alive!

@Alexatre
Copy link

I managed to resolve the audio crackling for the most part by setting a different buffer size for PipeWire. Setting it to 50 mostly resolved it for me.

Command to run: pw-metadata -n settings 0 clock.force-quantum 50

This solution works for me too!
Thanks, bro!

@TheWyn
Copy link

TheWyn commented Mar 23, 2024

In GE, Hotfix, and Expermental with args PROTON_ENABLE_NVAPI=1 VKD3D_CONFIG=dxr %command%

Receive this:

image

With no ability to turn on Dlss or reflex, but shows GPU

image


With Proton 9 Beta via Steam Client with same args:

GPU and Driver detected:

image

With option to turn DLSS and Reflex Latency Measurement Only on:

image

@Saancreed
Copy link
Contributor

@TheWyn Please just use bleeding edge for the time being (until next Experimental or Hotfix is released). This way you'll have both DLSS and Reflex.

PROTON_ENABLE_NVAPI=1 VKD3D_CONFIG=dxr

Fyi this does pretty much nothing, you might as well get rid of those options when using Proton 9.

@leanija
Copy link

leanija commented Mar 23, 2024

Replying to #7590 (comment)

I was able to test it on the Legion 5, the game booted just fine, however: the mouse snapping on wayland super hard is indeed present I assume this is something with mesa as the desktop is being rendered by the AMD gpu instead of nvidia, nvidia only does the heavy lifting in performance. I can confirm that DLSS also worked just fine. Same nvidia driver 550.54.14, you already have the DE and distro above as it is the same as the desktop.

thank you for testing! unfortunately no dice for me so far; i tried switching to the prime-setup as well, but it made no difference, I keep getting the same crash

@kodatarule
Copy link

Makes me wonder if it could be something from the kernel or an entirely different setting from Manjaro, iirc back in the days when I was testing a few distros, manjaro had very weird behavior in some games(for example in the messenger the grapple hook rope was always visible even if you don't have it, you would think it's some DRM showing despite you playing the game from steam with proton ...)

@kisak-valve
Copy link
Member

FSR 3.1 causes serious frame pacing issues that are not visible in mangohud in Horizon: Forbidden West under Proton

Issue transferred from #7883.
@tfinnegan937 posted on 2024-07-09T22:16:01:

Compatibility Report

  • Name of the game with compatibility issues: Horizon: Forbidden West
  • Steam AppID of the game: 2420110

System Information

I confirm:

  • [ X] that I haven't found an existing compatibility report for this game.
  • [ X] that I have checked whether there are updates for my system available.

Symptoms

FSR 3.1 seems to be broken under Proton for Horizon: Forbidden West. This is not true for every game -- only this specific title, and only under Proton. I do not experience this issue on Windows.

When enabling FSR 3.1 Frame Generation, steam and mangohud will report a stable framerate, but the framepacing of the image gets noticeably bad, with microstutters and an overall lack of smoothness. Disabling Frame Generation fixes the issue.

This issue is NOT visible in mangohud, or in the steam framerate counter. According to those reports, the performance is fine. The issue is extremely noticeable to the naked eye, though -- the game looks like it's running at 30 FPS.

steam-2420110.log

Reproduction

  1. Start Horizon: Forbidden West on a 144hz monitor
  2. Enable AMD FSR3 upscaling (Any quality level)
  3. Enable Exclusive Fullscreen, with a 144hz refresh rate
  4. Enable FSR3 Frame Generation
  5. While steam (and mangohud) report a solid framerate, the game's frame pacing gets noticeably bad with stutters and poor smoothness.

@tfinnegan937
Copy link

game got a FSR3 frame gen update but it isn't working properly on linux, not generating many frames, works fine on windows 10.

Even triggered a gpu timeout but i missed that crash log.

As per the report that kisak-valve copied over here, I'm experiencing the same issue. It seems to actively cause frame pacing issues when enabled.

@Hadrianneue
Copy link

game got a FSR3 frame gen update but it isn't working properly on linux, not generating many frames, works fine on windows 10.
Even triggered a gpu timeout but i missed that crash log.

As per the report that kisak-valve copied over here, I'm experiencing the same issue. It seems to actively cause frame pacing issues when enabled.

btw this issue doesn't seem to be driver related, tested on amdvlk as well and pretty much got the same results (performance wise, amdvlk has graphical issues), FSR3 FG is not generating half as many frames as it does on windows

@Hadrianneue
Copy link

As per the report that kisak-valve copied over here, I'm experiencing the same issue. It seems to actively cause frame pacing issues when enabled.

btw did you remembered to enable FSR3 FG when logging that? i just checked now and i get this log spam, which doesn't appear on ratchet & clank: rift apart, which also has the same FSR3 FG version

49109.713:0124:04ac:warn:threadname:NtSetInformationThread Thread ID 04b0 renamed to L"AMD FSR Presenter Thread"
49109.714:0124:0128:warn:vkd3d-proton:d3d12_command_list_update_graphics_pipeline: No graphics pipeline bound, skipping draw.
49109.714:0124:0128:warn:vkd3d-proton:d3d12_command_list_DrawInstanced: Failed to begin render pass, ignoring draw call.
49109.715:0124:0128:warn:threadname:NtSetInformationThread Thread ID 04b4 renamed to L"AMD FSR Interpolation Thread"
49109.715:0124:04b4:warn:threadname:NtSetInformationThread Thread ID 04b8 renamed to L"AMD FSR Presenter Thread"

FSR3FG is likely working fine but for whatever reason the generated frames are not being drawn properly

@Hadrianneue
Copy link

commit HansKristian-Work/vkd3d-proton#2082 did improve frame generation reasonably, not up to par with windows still.

@kisak-valve
Copy link
Member

Horizon Forbidden West Freezes at Compiling Shaders Screen

Issue transferred from #8188.
@joshontech posted on 2024-10-24T03:39:02:

Compatibility Report

  • Name of the game with compatibility issues: Horizon Forbidden West
  • Steam AppID of the game: 2420110

System Information

  • GPU: Intel Arc A770 16gb

  • Video driver version:
    client glx vendor string: Mesa Project and SGI Device: Mesa Intel(R) Arc(tm) A770 Graphics (DG2) (0x56a0) OpenGL renderer string: Mesa Intel(R) Arc(tm) A770 Graphics (DG2) OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.2.5-arch1.1 OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.2.5-arch1.1 OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.2.5-arch1.1

  • Kernel version: archlinux 6.11.5-arch1-1

  • System Stats: System-Stats.txt

  • Proton version: Experimental, 9.0-3, I also tried a compiled version from git of proton-ge-custom.

  • Proton Log: steam-2420110.log

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

Symptoms

This issue does not happen on my Steam Deck or my Gaming Laptop with Nvidia running Arch.

The game starts and launches properly. When you either start a new game or continue a previous game the "compiling shaders" screen will then come up but freeze shortly after. The following lines are some errors I saw in the terminal when running steam from there.

Fossilize ERROR: Cannot copy unknown pNext sType: 1000283002.
Fossilize WARN: Recording graphics pipeline failed, usually caused by unsupported pNext.

I tracked down the pNext and sType as to something to do with vulkan variables but didn't dig much farther than that.

Reproduction

I can reproduce this on my PC every time I install this game. It even happens on other distros such as Ubuntu and Fedora.

  1. Install steam
  2. Install Horizon Forbidden West
  3. Enable Proton Compatibility
  4. Run Game and launch it
  5. Either start new or continue
  6. Wait till the title screen loads a little and then it will freeze.

@ExecutorElassus
Copy link

ExecutorElassus commented Nov 13, 2024

After a recent Steam client update (since last week) I've been running into what seems like an out-of-memory problem. Several things happen: multiple sound channels cut out (background music, spoken dialogue, environmental sounds like wind; but not footsteps or animal sounds), then I see a whole lot of tall grass in places where it shouldn't be -- like all over a settlement --, the world map won't load (I just see a black screen with the animated cauldrons icon in the bottom left), and then lastly the textures of clothes get scrambled.
I'm also seeing a lot more breaks in gameplay with a black screen and a "compiling shaders" message.
This happens pretty consistently after about 40 minutes of gameplay. I'm using GE-Proton-9.19, though I had the same problem with 9.15. I did not see problems with 9.11, but that was updated before the steam client update so I don't know if it's related.
I'm using AMD FSR AA, and have frame generation disabled.
(also probably unrelated, I note that I have to explicitly enable and then disable frame generation, or else the framerate starts significantly slowing down. I cannot play for long with frame generation enabled, or the image starts filling up with artifacts).

@daniele-athome
Copy link

Many other users reported a bug similar to yours - including myself (it's probably the same). The only fix was restarting the game. Honestly I didn't try with an older GE-Proton version though...

@ExecutorElassus
Copy link

ExecutorElassus commented Nov 13, 2024

This only started for me last week. However, I had many of the same problems -- texture corruption, prolific tall grass -- before FSR 3.1 was added.
I'm trying it now with frame generation enabled, and some steamwebhelper features disabled in the main client (I read somewhere that steamwebhelper tends to gobble memory). I'll see if that helps and report back. Frame generation seems to make the game much more laggy, though, so I'm not sure I want to stick with it.
UPDATE: nope, downgrading to GE-Proton-9.11 did not fix it. So this is related to the Steam client updating last week. Sure hope they fix it, because it's really unpleasant to have to restart the game every half hour or so. I can even force it to start breaking relatively quickly: fast travel to the campfire next to the door to The Base, walk through The Base, come out the west door, and when you walk out the hillside below is covered with tall grass. Gliding down on the shield-wing almost always triggers a brief black screen for "compiling shaders," and not long after that the other bugs will start accumulating and I'll have to save and restart.


Horizon Forbidden West accumulates graphics/audio errors and then crashes

Issue transferred from ValveSoftware/steam-for-linux#11462.
@ExecutorElassus posted on 2024-11-14T11:51:07:

Your system information

  • Steam client version (build number or date): 2024-11-05
  • Distribution (e.g. Ubuntu): Gentoo Linux
  • Opted into Steam client beta?: Yes (but reverted it because the beta client has no in-game sound)
  • Have you checked for system updates?: Yes
  • Steam Logs: attached
    steam-logs.tar.gz
  • GPU: AMD (Radeon RX 5700 XT)

Please describe your issue in as much detail as possible:

Since last week's update the game rapidly accumulates the following errors:

  • tall grass proliferates in environments where it shouldn't be (ie, covers an entire hillside where normally it's just a couple isolated clumps, or fills an entire settlement)
  • the in-game map won't load, showing instead a black screen (even though hovering the mouse around the screen causes the sound of the map as if the map is there)
  • certain audio channels stop: music, dialogue with NPCs, most environmental sound, most combat sounds; but not the sounds of footsteps.
  • the "compiling shaders" black screen starts interrupting gameplay
  • certain campfires (which are the quick-save points) stop working
  • clothes start showing scrambled textures
  • at this point, I have to save and restart the game, because it freezes not long after.

Steps for reproducing this issue:

  1. steam client auto-updates from last week's update
  2. play the game for maybe 20 minutes
  3. start noticing problems

I did not have any of these problems after the game updated to its current version over the summer. This only started happening after the Steam client updated last week. I am using GE-Proton-9.{11,15,19}, but that doesn't seem to have any effect.

@simifor
Copy link

simifor commented Nov 14, 2024

@ExecutorElassus Please launch the game with stock proton 9.0-3 and leave the game's launch parameter with just the following: PROTON_LOG=1 %command% if you still encounter the issue, then go to your home folder and upload the file named steam-2420110.log, you might need to compress it first if it's too big.

@ExecutorElassus
Copy link

ExecutorElassus commented Nov 14, 2024

steam-2420110.log
Same issue using minimal launch parameters and stock Proton. Logfile attached
For reference, these are the launch parameters I normally use: RADV_PERFTEST=gpl PULSE_LATENCY_MSEC=60 PROTON_ENABLE_NVAPI=1 VKD3D_CONFIG=dxr,dxr11,force_static_cbv VKD3D_FEATURE_LEVEL=12_2

I don't know if it matters, but I also see the following errors repeated in the console when starting the client:

ERROR: unsafe call to setenv count:1 var:'LD_LIBRARY_PATH'
ERROR: unsafe call to setenv count:2 var:'PATH'
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory

The first pair (for the "setenv" count) is new.

@ExecutorElassus
Copy link

@kisak-valve , thank you for moving the issue. Sorry for mis-filing it.

@kisak-valve
Copy link
Member

Hello @ExecutorElassus, WARNING: Low file descriptor limit: 4096 (see https://github.com/ValveSoftware/Proton/wiki/File-Descriptors) looks like a line of interest in your log. Raise your user's open file hard limit and test if that helps.

@ExecutorElassus
Copy link

Hi @kisak-valve , thanks for the tip. Do I need to reboot after changing that file? I'm using PAM, so I changed the limits.conf file and re-logged my user. But that doesn't seem to have helped.
I also see WARNING: Low /proc/sys/vm/max_map_count: 65530 will prevent some games from working in that same log file. Does that make a difference?

@kisak-valve
Copy link
Member

That's a different resource limit, give something like sudo sysctl vm.max_map_count=1048576 a try.

@ExecutorElassus
Copy link

Still no joy :(
what was changed in the update from last week? Is there any way to revert it to check if that's what's causing the issue?

@simifor
Copy link

simifor commented Nov 14, 2024

@ExecutorElassus I haven't reproduced the issue yet, at least where I am in the game, which isn't far from the start. What mesa version are you using? and I don't think you can revert client updates, you can just choose between the default and beta clients.

@ExecutorElassus
Copy link

@simifor I'm using mesa-24.2.6 with the following features: USE="X llvm opencl (opengl) proprietary-codecs vaapi vdpau vulkan wayland zstd -d3d9 -debug -lm-sensors -osmesa (-selinux) -test -unwind -valgrind -vulkan-overlay -xa" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" LLVM_SLOT="18 -15 -16 -17" VIDEO_CARDS="radeonsi -d3d12 (-freedreno) -intel -lavapipe (-lima) -nouveau -nvk (-panfrost) -r300 -r600 -radeon (-v3d) (-vc4) -virgl (-vivante) -vmware -zink"

@simifor
Copy link

simifor commented Nov 15, 2024

@ExecutorElassus nothing seems to be out of the ordinary there, but I can't reproduce the issue on my setup and haven't seen other reports about this. Just to check it off the list, have you tried to verify the game files?

@ExecutorElassus
Copy link

@simifor I verified everything just now, though it didn't find any issues. But I'll try playing again and see if it runs into any problems (I hope you're enjoying the game, btw). So far, since last week, I've only played long enough to fast-travel back to the mountains west of The Base, said, "yup, there's tall grass everywhere where it shouldn't be," and exited again. Maybe that's just a generic texture bug, but I don't think so. As for other reports, take a look at daniele-athome's post just above mine from two days ago: it links to the protondb page where lots of people are reporting issues similar to mine.
What's frustrating for me is that the game has been rock-solid ever since version 1.5.80 was released back in July; it's only the update to the Steam client last week that seems to be causing issues.
One other thing to ask about: I install the GE-Proton versions into .local/share/Steam/compatibilitytools.d/, and the client finds them there on restart. However, in the console output, I now see this every time I run the client:

Proton: Upgrading prefix from GE-Proton9-19 to GE-Proton9-11 (~/.local/share/Steam/steamapps/compatdata/0/)
Proton: Prefix has an invalid version?! You may want to back up user files and delete this prefix.

This message also appears when I reset it to use stock Proton, and my client is currently set to use 9.19, not 9.11, so I'm not sure what this message is. Is there something here I can safely delete?

@ExecutorElassus
Copy link

ExecutorElassus commented Nov 17, 2024

UPDATE: hrm. Welp, after a couple days, in which I didn't play it at all, I did a couple things. One, I verified all the files, as you suggested. But then I found that I had a config file from pipewire (needed for the ardour audio editor) that sets a hard limit on memlock of 8152 kbytes. I set that to unlimited. I have no idea if that makes any difference (I still get the mmap error), but I just played the game for maybe 40 minutes without any issues with textures, music, the map, etc.

I dunno. I got nuthin'. I'll try a longer play session in a day or two and see if I can cause any errors.
(btw, I only just now discovered that turning on pre-caching makes the load screen go way faster, so make sure that's set in your Steam client)

@gurubert
Copy link

gurubert commented Dec 15, 2024

I see the launcher but as soon as I click on "Play" it crashes. Rebooting into the standard Debian kernel version 6.1 did not help.

System Information

I confirm:

  • that I have checked whether there are updates for my system available.

steam-2420110.log.gz
Horizon Forbidden West Complete Edition.log.gz
slr-app2420110-t20241215T175748.log.gz

@kisak-valve
Copy link
Member

Hello @gurubert, err:seh:handle_syscall_fault Syscall stack overrun. backtrace: --- Exception 0xc0000005 at 0x7fa2685776db: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/vulkan/3/libvulkan_radeon.so + 0x3776db. hints towards a mesa/RADV crash. If you're able, retest with a current mesa version instead of mesa from 2 years ago.

@gurubert
Copy link

gurubert commented Dec 15, 2024

If you're able, retest with a current mesa version instead of mesa from 2 years ago.

Thank you! After installing the newer mesa package from Debian backports the game starts and runs smoothly. Never thought of that.

libdrm2_2.4.123-1~bpo12+1_amd64.deb
libdrm2_2.4.123-1~bpo12+1_i386.deb
libdrm-amdgpu1_2.4.123-1~bpo12+1_amd64.deb
libdrm-amdgpu1_2.4.123-1~bpo12+1_i386.deb
libdrm-common_2.4.123-1~bpo12+1_all.deb
libdrm-intel1_2.4.123-1~bpo12+1_amd64.deb
libdrm-intel1_2.4.123-1~bpo12+1_i386.deb
libdrm-nouveau2_2.4.123-1~bpo12+1_amd64.deb
libdrm-radeon1_2.4.123-1~bpo12+1_amd64.deb
libdrm-radeon1_2.4.123-1~bpo12+1_i386.deb
libegl-mesa0_24.2.4-1~bpo12+1_amd64.deb
libegl-mesa0_24.2.4-1~bpo12+1_i386.deb
libgbm1_24.2.4-1~bpo12+1_amd64.deb
libgbm1_24.2.4-1~bpo12+1_i386.deb
libgl1-mesa-dri_24.2.4-1~bpo12+1_amd64.deb
libgl1-mesa-dri_24.2.4-1~bpo12+1_i386.deb
libglapi-mesa_24.2.4-1~bpo12+1_amd64.deb
libglapi-mesa_24.2.4-1~bpo12+1_i386.deb
libglx-mesa0_24.2.4-1~bpo12+1_amd64.deb
libglx-mesa0_24.2.4-1~bpo12+1_i386.deb
libosmesa6_24.2.4-1~bpo12+1_amd64.deb
mesa-libgallium_24.2.4-1~bpo12+1_amd64.deb
mesa-libgallium_24.2.4-1~bpo12+1_i386.deb
mesa-opencl-icd_24.2.4-1~bpo12+1_amd64.deb
mesa-va-drivers_24.2.4-1~bpo12+1_amd64.deb
mesa-vdpau-drivers_24.2.4-1~bpo12+1_amd64.deb
mesa-vdpau-drivers_24.2.4-1~bpo12+1_i386.deb
mesa-vulkan-drivers_24.2.4-1~bpo12+1_amd64.deb
mesa-vulkan-drivers_24.2.4-1~bpo12+1_i386.deb

@ExecutorElassus
Copy link

Hey, somewhat unrelated, in that nothing is currently breaking on my build of the game (though I do still occasionally get the tall-grass-everywhere bug sometimes after fast-traveling): is there anywhere where we can see a changelog of patches for the client? Because my game client seems to have installed a patch every day this week and I'm curious what was being changed.
(I'm not sure if it's related to one of the patches, but my GPU temp dropped about 10°C from where it's been ever since the FSR 3.1 patch came out).

@ExecutorElassus
Copy link

Also, another addendum (I'm not sure if this is the correct place to report it): there is still a bug in my version that Erund, Alva, and Kotallo don't correctly despawn after you talk with them after Singularity. I'm not sure if this is because I didn't go talk to them until after I was finished with the Burning Shores, or if that's always going to be an issue.

I'll try to remember on this, my fifth playthrough, to talk to them before I head to the Burning Shores, to see if it works correctly then. But it's also clear that the conversations with them are rendered differently (it uses the gameplay engine rather than the cinematic one you see on all other conversations) so maybe it goes deeper than that.

Also, has the bug with the explosive canisters/traps been fixed (previously, only damage from the first one or two canisters/traps would apply), or is that still an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Game compatibility - Unofficial Games not expected to work without issues NVIDIA drivers Possibly involves an issue with the NVIDIA proprietary driver
Projects
None yet
Development

No branches or pull requests