Horizon Zero Dawn™ Remastered

Horizon Zero Dawn™ Remastered

Not enough ratings
Notes on getting HZDR running on Debian Stable (12)
By Sphere
Fixes for crashing, enabling DLSS, and PSN issues under Debian Stable (12) with stock (535) Nvidia drivers.
   
Award
Favorite
Favorited
Unfavorite
Scope
Here are a few fixes for those running HZDR under Steam and Debian Stable (12) with the stock Nvidia 535 drivers. I'm aware 535 is below the driver release level recommended, but it works. For now. Without breaking Debian.
To fix the "No internet connection" PSN bug:
Add
-showlinkingqr
to launch options
To generate a Proton log in your home directory:
Add
PROTON_LOG=1 %command%
To launch options. Also works with the PSN bug switch.
Fix crash at or just before first cutscene:
If you generate a proton log and it has an entry declaring that "vm.max_map_count is too low and you may have problems with games", HZDR is trying to create too many memory mapped areas. This issue could cause crashing later in the game too.

Add
vm.max_map_count = 262144
to
/etc/sysctl.d/9-sysctl.conf

Reboot. There are tables out there with suggested values based on the amount of RAM in your system.
To Enable DLSS (This also works for Horizon Zero Dawn Complete Edition and the OG version.):
You should already have a working copy of steam and the current Nvidia drivers installed from the stable repo. The Debian WIKI has a great guide to get you through installing Steam and the Nvidia drivers. Use the search function on Nvidia's website to search for the exact version of the driver you are already running. You can find the driver version string in the nvidia-settings utility that is usually installed automatically with the Nvidia driver. Download and unpack the same driver version as is already installed on your system from Nvidias website.
  • cd to the directory where you downloaded the file (usually
    home/username/Downloads)
  • Make the file executable.
    chmod +x NVIDIA-Linux-x86_64-535.183.01.run
  • Run the executable with a switch that just extracts things into a directory. If you don't use the --extract-only switch, the script will attempt to install over the existing driver and make a mess.
    ./NVIDIA-Linux-x86_64-535.183.01.run --extract-only
  • cd into the newly created directory.
  • Copy the two dlls (nvngx.dll, and _nvngx.dll) to /home/username/.steam/debian-installation/steamapps/common/Horizon Zero Dawn Remastered/
  • There will already be several dlls in the Horizon Zero Dawn Remastered directory (nvngx_dlss.dll and nvngx_dlssg.dll).
  • Start Horizon Zero Dawn. There should have a DLSS option now in the launchers settings.
Conclusion
After doing the above, I can run 2560x1440 at a fairly solid 60hz aside from some screen tearing. If I find a fix for that I'll add another section here. Hope this helps a few people get into a great game.