Proton icon indicating copy to clipboard operation
Proton copied to clipboard

Horizon Zero Dawn™ Remastered (2561580)

Open NTMan opened this issue 1 year ago • 39 comments

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:

  • [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.

steam-2561580.zip

Symptoms

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

Reproduction

Always

NTMan avatar Oct 31 '24 15:10 NTMan

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

florensie avatar Oct 31 '24 15:10 florensie

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

nsklaus avatar Oct 31 '24 15:10 nsklaus

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.

kodatarule avatar Oct 31 '24 16:10 kodatarule

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

florensie avatar Oct 31 '24 16:10 florensie

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

italoghost avatar Oct 31 '24 17:10 italoghost

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

wouter1602 avatar Oct 31 '24 18:10 wouter1602

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.

Blisto91 avatar Oct 31 '24 20:10 Blisto91

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.

kodatarule avatar Nov 01 '24 04:11 kodatarule

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.

Blisto91 avatar Nov 01 '24 06:11 Blisto91

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

datenwolf avatar Nov 01 '24 08:11 datenwolf

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.

kodatarule avatar Nov 01 '24 11:11 kodatarule

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 avatar Nov 01 '24 15:11 joghert

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

joghert avatar Nov 01 '24 15:11 joghert

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

Issue transferred from https://github.com/ValveSoftware/Proton/issues/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:

  • [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.

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 avatar Nov 05 '24 01:11 kisak-valve

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.

kisak-valve avatar Nov 05 '24 02:11 kisak-valve

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

wcpenney avatar Nov 05 '24 02:11 wcpenney

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?

robotman40 avatar Nov 11 '24 00:11 robotman40

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).

datenwolf avatar Nov 11 '24 00:11 datenwolf

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?

robotman40 avatar Nov 11 '24 03:11 robotman40

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.

florensie avatar Nov 11 '24 09:11 florensie

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

datenwolf avatar Nov 11 '24 10:11 datenwolf

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

florensie avatar Nov 11 '24 13:11 florensie

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.

wcpenney avatar Nov 11 '24 17:11 wcpenney

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...)

Daniel-MFG avatar Nov 16 '24 15:11 Daniel-MFG

-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)

LazerFX avatar Nov 18 '24 11:11 LazerFX

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

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

Daniel-MFG avatar Nov 18 '24 11:11 Daniel-MFG

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.

wcpenney avatar Nov 19 '24 14:11 wcpenney

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.

LazerFX avatar Nov 19 '24 14:11 LazerFX

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

robotman40 avatar Dec 01 '24 01:12 robotman40

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.

piotr-gbyliczek avatar Dec 20 '24 22:12 piotr-gbyliczek