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 Zero Dawn™ Remastered (2561580) #8205

Open
2 tasks done
NTMan opened this issue Oct 31, 2024 · 36 comments
Open
2 tasks done

Horizon Zero Dawn™ Remastered (2561580) #8205

NTMan opened this issue Oct 31, 2024 · 36 comments
Labels
Game compatibility - Unofficial Games not expected to work without issues

Comments

@NTMan
Copy link

NTMan commented Oct 31, 2024

Compatibility Report

Name of the game with compatibility issues: Horizon Zero Dawn™ Remastered

  • Steam AppID of the game: 2561580

System Information

  • GPU: AMD Radeon 7900 XTX
  • Video driver version: Mesa 24.3-dev
  • Kernel version: 6.12.0-0.rc5
  • Link to full system information report as gist
  • Proton version: experimental-bleeding-edge-9.0-131494-20241031-p41100d-w4440f4-d6e43bf-vdd7ad6-unstripped

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-2561580.zip

Symptoms

Something went wrong when trying connect to the internet.
Screenshot From 2024-10-31 20-28-21

Reproduction

Always

@florensie
Copy link

Same here.

  • GPU: AMD Radeon RX 6700XT
  • Video driver version: Mesa 24.2.4
  • Kernel version: 6.11.4
  • Proton version: Proton experimental-9.0-20241022

@nsklaus
Copy link

nsklaus commented Oct 31, 2024

same here .. tried with different versions of proton (proton-experimental, stable, proton-ge, .. ), result is always the same.

@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Oct 31, 2024
@kodatarule
Copy link

If you add SteamDeck=1 %command% it lets you connect, but then it requires you to login into your psn account, haven't tried that yet however.

@florensie
Copy link

Someone on the Nixxes team gave me a workaround. Adding the -showlinkingqr launch option completely disables the PSN requirement.

@italoghost
Copy link

I was able to connect to my PlayStation account just fine. I am using Proton Experimental.

@wouter1602
Copy link

If you add SteamDeck=1 %command% it lets you connect, but then it requires you to login into your psn account, haven't tried that yet however.

This kind of works. At the sign in I had to change my country to the USA for the sign in to work

@Blisto91
Copy link

Nvidia users at the very least probably prefer to use the -showlinkingqr method. Using SteamDeck=1 on Nvidia can trigger a bug (in the games Steam Deck mode) where the image will appear to be jittering/shaking slightly when using DLAA or DLSS.

@kodatarule
Copy link

Someone on the Nixxes team gave me a workaround. Adding the -showlinkingqr launch option completely disables the PSN requirement.

For me it still requests PSN acc.

@Blisto91
Copy link

Blisto91 commented Nov 1, 2024

How are you using it. If you have %command% in your launch options then you have to put it after e.g %command% -showlinkingqr or just on its own If you have no other launch options.

@datenwolf
Copy link

After getting through the PSN account linking issue (which is possible), I now have the issue that after only a few minutes of gameplay (sometimes even less than a minute) the game processes crashes in a failed pointer page alignment assertion in the WINE/Proton implementation of NtAllocateVirtualMemory. So far I've seen mostly the main entry thread, and the threads named Background <n> and Worker <n> being affected.

GDB backtrace:

#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
#1  0x00007fab9beff68f in __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2  0x00007fab9beb0822 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007fab9be994af in __GI_abort () at ./stdlib/abort.c:79
#4  0x00007fab9be993d7 in __assert_fail_base (fmt=0x7fab9c011bf8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7fab9a52d770 "!((UINT_PTR)base & page_mask)", 
    file=file@entry=0x7fab9a528360 "../src-wine/dlls/ntdll/unix/virtual.c", line=line@entry=1907, function=function@entry=0x7fab9a536e98 <__PRETTY_FUNCTION__.65> "create_view") at ./assert/assert.c:94
#5  0x00007fab9bea9342 in __assert_fail (assertion=0x7fab9a52d770 "!((UINT_PTR)base & page_mask)", file=0x7fab9a528360 "../src-wine/dlls/ntdll/unix/virtual.c", line=1907, 
    function=0x7fab9a536e98 <__PRETTY_FUNCTION__.65> "create_view") at ./assert/assert.c:103
#6  0x00007fab9a5180d8 in create_view () from target:/opt/steam/.local/share/Steam/steamapps/common/Proton Hotfix/files/bin/../lib64/wine/x86_64-unix/ntdll.so
#7  0x00007fab9a51a119 in map_view () from target:/opt/steam/.local/share/Steam/steamapps/common/Proton Hotfix/files/bin/../lib64/wine/x86_64-unix/ntdll.so
#8  0x00007fab9a51c2bc in allocate_virtual_memory () from target:/opt/steam/.local/share/Steam/steamapps/common/Proton Hotfix/files/bin/../lib64/wine/x86_64-unix/ntdll.so
#9  0x00007fab9a51ed93 in NtAllocateVirtualMemory () from target:/opt/steam/.local/share/Steam/steamapps/common/Proton Hotfix/files/bin/../lib64/wine/x86_64-unix/ntdll.so
#10 0x00007fab9a4f1a02 in __wine_syscall_dispatcher () from target:/opt/steam/.local/share/Steam/steamapps/common/Proton Hotfix/files/bin/../lib64/wine/x86_64-unix/ntdll.so
#11 0x00007fab9a50e2b4 in start_thread () from target:/opt/steam/.local/share/Steam/steamapps/common/Proton Hotfix/files/bin/../lib64/wine/x86_64-unix/ntdll.so
#12 0x00007fab9befd962 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#13 0x00007fab9bf78b08 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

@kodatarule
Copy link

How are you using it. If you have %command% in your launch options then you have to put it after e.g %command% -showlinkingqr or just on its own If you have no other launch options.

If you have %command% you put it after it just like your example.

@joghert
Copy link

joghert commented Nov 1, 2024

With "steam[5051]: roDawnRemastered.exe: ../src-wine/dlls/ntdll/unix/virtual.c:1907: create_view: Assertion `!((UINT_PTR)base & page_mask)' failed."

I applied vm.max_map_count = 2147483642 to sysctl and for now it seems better, benchmark did not crash and map view did not crash.

https://forums.playdeadlock.com/threads/temp-solution-found-linux-crashes-when-trying-to-enter-map-from-menu.1332/#post-20795
or
https://www.reddit.com/r/linux_gaming/comments/104wop6/steam_dota2_proton/

@joghert
Copy link

joghert commented Nov 1, 2024

Someone on the Nixxes team gave me a workaround. Adding the -showlinkingqr launch option completely disables the PSN requirement.

For me it still requests PSN acc.

for me the QR and the link in game are mangled, after manually following the referral_url part i was able to link steam and PSN

@kisak-valve
Copy link
Member

Horizon Zero Dawn Remastered Crashes during Nixxes logo or early in first cutscene

Issue transferred from #8218.
@wcpenney posted on 2024-11-05T01:49:14:

Compatibility Report

  • Name of the game with compatibility issues:Horizon Zero Dawn Remastered
  • Steam AppID of the game:2561580

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.

Proton log:

steam-2561580.log

Symptoms:

Horizon Zero Dawn Remastered crashes during developer logos or shortly after during first cutscene with Rost and baby Aloy. Maximum amount of cutscene view was approx. 5 seconds.

Horizon Zero Dawn Complete Edition, Horizon Forbidden West, and a host of other AAA titles work fine. Fresh install of Debian 12, Steam, and Nvidia drivers today. Previously tried (many times) with Debian Testing (6.11.4.1) and Nvidia 560.35.03 drivers from Nvidia website.

PSN and Steam previously linked via menu on Horizon Forbidden West. Received bonus Nora outfit during one recent attempt to start the game.

Reproduction:

Start Horizon Zero Dawn Remastered with -showlinkingqr switch in Steam. I have tried Proton Experimental and Proton 9.0-3.

@kisak-valve
Copy link
Member

Hello @wcpenney, WARNING: Low /proc/sys/vm/max_map_count: 65530 will prevent some games from working is the line of interest in your log. Try significantly raising that limit.

@wcpenney
Copy link

wcpenney commented Nov 5, 2024

Added vm.max_map_count=262144 to /etc/sysctl.d/99-sysctl.conf and restarted. Works great. Issue resolved. Thank You!

@robotman40
Copy link

robotman40 commented Nov 11, 2024

Since the game does not complain about the PlayStation PC SDK being missing, does it actually work now aside from the fact the game won't connect to their Internet without workarounds?

@datenwolf
Copy link

Since the game does not complain about the PlayStation PC SDK being missing, does it actually work now aside from the fact the game won't connect to their Internet without workarounds?

I've beat the main quest just yesterday; played through the whole thing using Linux using the -showlinkingqr launch options and after increasing vm.max_map_count to 16744443 (2^24 - 2^16 - 5; default value is 2^16-5).

@robotman40
Copy link

Since the game does not complain about the PlayStation PC SDK being missing, does it actually work now aside from the fact the game won't connect to their Internet without workarounds?

I've beat the main quest just yesterday; played through the whole thing using Linux using the -showlinkingqr launch options and after increasing vm.max_map_count to 16744443 (2^24 - 2^16 - 5; default value is 2^16-5).

I believe the PlayStation Overlay is an indicator. Is it working by any chance?

@florensie
Copy link

I've beat the main quest just yesterday; played through the whole thing using Linux using the -showlinkingqr launch options and after increasing vm.max_map_count to 16744443 (2^24 - 2^16 - 5; default value is 2^16-5).

I'm curious how it ran for you. I'm getting horrible strutters whenever I pan the camera.

@datenwolf
Copy link

I've beat the main quest just yesterday; played through the whole thing using Linux using the -showlinkingqr launch options and after increasing vm.max_map_count to 16744443 (2^24 - 2^16 - 5; default value is 2^16-5).

I'm curious how it ran for you. I'm getting horrible strutters whenever I pan the camera.

I messed up starting OBS properly recording in the latter parts of the game. But here's some actual game play captured doing the "The Queen's Gambit" quest: https://www.youtube.com/watch?v=N5Esiy37_xg

@florensie
Copy link

I messed up starting OBS properly recording in the latter parts of the game. But here's some actual game play captured doing the "The Queen's Gambit" quest: youtube.com/watch?v=N5Esiy37_xg

A 30fps video without a frametime graph doesn't tell me much unfortunately. Here's what it's like for me:
2024-11-11 14-17-08-00.00.08.000-00.00.40.000.webm

@wcpenney
Copy link

wcpenney commented Nov 11, 2024

Here's a benchmark setup: i512600kf, 32Gb ddr4, RTX4060, 2560X1440@120hz. Debian 12, stock Nvidia 535 driver, Proton experimental. Dedicated fullscreen, high settings, vsync on, DLSS set to balanced, antialiasing set to DLAA, Dynamic Res Scaling set to 60, Nvidia reflex off, Frame generation off.

To get DLSS working, I had to download the exact same driver version from the Nvidia website as the one from the Debian repo. I just used the search tool to find it. Unpack it with the --extract-only switch. Find the two dlss dlls and copy them to the root folder of the game. I have a guide up on Steam if you want more details. After copying the dlls, I could select DLSS. There were only intel and amd options present before that.

I get a fairly solid 60fps with dips into the mid to low 50's in Meridian and some stuttering during combat. There is another guide up on the HZDR Steam section that details turning off mouse deceleration by setting a registry key to get rid of the stuttering. I haven't tried it yet. The key is Computer\HKEY_CURRENT_USER\SOFTWARE\Guerrilla Games\Horizon Zero Dawn Remastered\Input Located in the games prefix registry, it should be set to 0.

Hope that helps. I'll post again if I get to test the mouse thing.

@Daniel-MFG
Copy link

Nvidia users at the very least probably prefer to use the -showlinkingqr method. Using SteamDeck=1 on Nvidia can trigger a bug (in the games Steam Deck mode) where the image will appear to be jittering/shaking slightly when using DLAA or DLSS.

I have read about the "-showlinkingqr" switch a bunch of times now but for me it just does nothing...
I still get a QR code and a "Continue" button which tries to open a playstation page (which doesn't load for me... In austria...)
I tried multiple Proton versions Availible in steam with an even bigger list of launch options with and without gamescope...
Proton: Experimental, 9.0-3, 8.0-5, Hotfix...
GPU: NVIDIA 3080TI
OS: Arch (last updated a few days ago)

If anyone has any ideas what other switches or combinations i could try i would be very happy!
(I am gonna try installing the old "complete Edition" and gonna try to convert over a save file to see if they are checking for this separately...)

@LazerFX
Copy link

LazerFX commented Nov 18, 2024

-showlinkingqr only works on the Steam edition of the game. On the Epic edition, which I have, there is no workaround. On that edition, the -steamdeck option doesn't work either. I have been unable to run the official PSN (despite trying to manually pre-run the exe in the prefix to ensure it's enabled).

Proton: Experimental, 9.0-3 and a few others, not sure.
GPU: Nvidia 3070
OS: Bazzite 41 (Updated today)

@Daniel-MFG
Copy link

Daniel-MFG commented Nov 18, 2024

-showlinkingqr only works on the Steam edition of the game.

For me the "-showlinkingqr" option doesn't work on the Steam edition...

@wcpenney
Copy link

I don't think -showlinkingqr bypasses the PSN account requirement. It just shows an alternate QR code menu that's built into the game.

I registered via the PSN website and then linked Steam via the menu option on Horizon Forbidden West. After doing that I received the free items for HFW. The next time I started HZDR I also got the free items for that game and the "No internet" dialog didn't show up. The game just proceeded to the logos then the cutscene.

I no longer need the -showlinkingqr switch to start the game further reinforcing the idea that it's not a bypass, and just an aid to link your Steam account.

I remember someone on Steam mentioning issues with the wrong country showing up in the PSN registration URL page and being able to register after manually changing it. I can't find that thread on Steam again though. It's worth a shot to look into.

@LazerFX
Copy link

LazerFX commented Nov 19, 2024

It doesn't bypass the PSN account requirement, however it does bypass the PSN API Software requirement; this software does not successfully work on Linux, even when run manually.

@robotman40
Copy link

So does anyone happen to know why the PlayStation PC SDK isn't working properly under Proton at this time?

@piotr-gbyliczek
Copy link

I'm experiencing a random freeze on HZDR, seemingly regardless of what graphic settings I have. The game works normally for a while, between 10 and 120 minutes, and then freezes hard and crashes to desktop. Can't see anything obvious in the proton logs, and tried the suggestions here, that is to set vm limit before starting game, and use empty LD_PRELOAD.
I am leaning towards graphic card having an overheating issue, but not had any other game freezing. Attached steam log.
steam-2561580.zip
Note, I haven't had any issues with PSN, maybe due to connecting to it from some other Steam game - HZDR just started for me and had no issues other than that random freeze/crash.

@pflavio
Copy link

pflavio commented Jan 19, 2025

HZDR ran fine for a while, but now I have an issue with audio. It just randomly stops after around 20 minutes. The rest of the game continues normally. I can't see anything in the Proton logs that relates to audio as far as I can tell.

@datenwolf
Copy link

datenwolf commented Jan 20, 2025

HZDR ran fine for a while, but now I have an issue with audio. It just randomly stops after around 20 minutes. The rest of the game continues normally. I can't see anything in the Proton logs that relates to audio as far as I can tell.

Yeah, I have those sometimes, too – also in HFW, for that matter. However, my suspicion is, that this might be an actual RC bug in the game engine itself: Whenever I attach a debugger to the game and look at its thread status I see the audio threads waiting on a synchronization primitive to be released in a different thread. I also noticed, that sometimes that wait times out, and audio resumes.

Add to that, that I observed that bug in Windows, too, just much much rarer, my suspicion is, that there's some unmitigated locking issue there, that depends on peculiarities scheduler timing and the time behavior of the audio subsystem among other things.

On my Linux gaming rig I've given the audio daemon (Pipewire or PulseAudio) a higher priority and that seems to help.

@pflavio
Copy link

pflavio commented Jan 20, 2025

On my Linux gaming rig I've given the audio daemon (Pipewire or PulseAudio) a higher priority and that seems to help.

I checked and both pipewire and pipiwire-pulse were already at a nice value of -11, but I bumped it down (or up, depending on how you want to lock at it) to -15. I'll check tomorrow if it helps. Thank you for the suggestion @datenwolf!

Also to add to the issue somewhat I tried Proton 9.0-4, Proton Experimental, GE-Proton9-23 and GE-Proton9-13. Subjectively Proton 9.0-4 seems to take longer for the audio to crash so I'm using that atm but what's weird is that I'm around 24 hours into the game and the first 20 were on GE-Proton9-13 with absolutely no issues whatsoever.

@pflavio
Copy link

pflavio commented Jan 21, 2025

No luck. Dialogue and/or all audio still cuts out eventually and I need to restart.

EDIT: This fix by a HFW player seems to work for the most part!

@LazerFX
Copy link

LazerFX commented Jan 29, 2025

Needs further discovery, but it may be that the PSN requirement is being ameliorated to some extent.

https://blog.playstation.com/2025/01/29/new-in-game-content-incentives-coming-to-playstation-games-on-pc/

Making PSN optional hopefully means that playing without the PSN API software installed becomes possible, which will lead to Linux gameplay becoming possible without having to somehow figure out how to enable the software. My fingers are crossed...

@LazerFX
Copy link

LazerFX commented Feb 7, 2025

I just got to the main menu on the Epic Games Store edition of HZD:Remastered. I got an error message on the PSN Api screen, however it allowed me to continue, telling me that "Somethign went wrong initialising the API", but it did not stop me from continuing. That's a thank-you to Sony and Nixxes for finally allowing this access.

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
Projects
None yet
Development

No branches or pull requests