OptiScaler icon indicating copy to clipboard operation
OptiScaler copied to clipboard

FSR 3.1 not working in No Man's Sky

Open Cheesy1576 opened this issue 1 year ago • 16 comments

Can this problem be fixed on your side, or no? If yes, when can we expect a fix for this?

Cheesy1576 avatar Aug 01 '24 07:08 Cheesy1576

Hi,

It crashes at when I call methods from AMD's Vulkan dll, because of that I haven't tried finding the issue tbh. So I can't tell you if I can fix it or when for now.

cdozdil avatar Aug 02 '24 07:08 cdozdil

Hi,

I think I have solved the No Man's Sky issue. Could you test this build?

nvngx.zip

cdozdil avatar Aug 04 '24 10:08 cdozdil

Absolutely, I will do this today in a few hours.

Cheesy1576 avatar Aug 04 '24 13:08 Cheesy1576

I'm not sure if I installed it correctly. I followed ,,Install as non-nvngx" instruction and it doesn't work. I made a copy of nvngx_dlss.dll in the No Man's Sky\Binaries folder, I renamed that copy to nvngx.dll (i understand from this that the original nvngx_dlss.dll stays there and only a copy of this file have to be renamed), I moved the file you sent to that folder and renamed it to dxgi.dll, I moved nvngx.ini file from the latest OptiScaler release, in this file i changed default Vulcan upscaler to fsr31, Nvidia GPU spoofing for Vulkan and Nvidia extention spoofing for Vulkan to true. I assume that in game there was supposed to be an option to enable Nvidia DLSS (as FSR 3.1), but there is no such option. It does show however that I use RTX 4090.

Cheesy1576 avatar Aug 04 '24 15:08 Cheesy1576

I tried to test it as well and had the same result. OptiScaler loads and creates a log file but that's all it does. OptiScaler.log

@Cheesy1576 You should get 2 new Anti-Aliasing options when it works. DLSS and DLAA.

Nygglatho avatar Aug 04 '24 16:08 Nygglatho

For No Man's Sky with latest update you can use dxgi.dll approach. You need to add nvapi-dummy to same folder.

nvngx.ini should not be renamed and needs following settings:

; -------------------------------------------------------
[Spoofing]
; -------------------------------------------------------
; Enables Nvidia GPU spoofing for Vulkan
; true or false - Default (auto) is false
Vulkan=true

; Enables Nvidia extension spoofing for Vulkan
; true or false - Default (auto) is false
VulkanExtensionSpoofing=true

; -------------------------------------------------------
[NvApi]
; -------------------------------------------------------
; Override loading of nvapi64.dll 
; true or false - Default (auto) is false
OverrideNvapiDll=true

image

cdozdil avatar Aug 04 '24 16:08 cdozdil

I tried this earlier, just didn't mention it because I thought we weren't supposed to use the nvapi-dummy. Is this FakeMichau/nvapi-dummy the correct one? I tried it with that and my game looked this and froze after a few seconds. NMS_XuZvuRnxmD OptiScaler.log

Nygglatho avatar Aug 04 '24 16:08 Nygglatho

@Nygglatho I have the same result and it crashes my game

Cheesy1576 avatar Aug 04 '24 16:08 Cheesy1576

Ah we experienced same issue with RDNA2 cards. Any chance you both using RDNA2 cards?

My screenshot is from Vega APU, works with Nvidia too but some AMD GPUs are not happy after update :/

cdozdil avatar Aug 04 '24 17:08 cdozdil

I'm on RDNA3 (RX 7900 XTX)

Nygglatho avatar Aug 04 '24 17:08 Nygglatho

Ah so RDNA3 affected too. I will check what has changed with this patch (I already know depth format is changed).

If I can find a solution will inform you guys. Thanks for checking 👍

cdozdil avatar Aug 04 '24 17:08 cdozdil

RX 6700 XT

Cheesy1576 avatar Aug 04 '24 17:08 Cheesy1576

Any update / progress with this?

dcog989 avatar Jan 25 '25 04:01 dcog989

When I try opti+fakenvapi (i got gtx1080) on no mans sky, it lets me select dlss but the screen is black(i can still move and hear stuff) but if i select fsr 3 as an upscaler in opti the game just freezes and i need to alt+f4.

These are the .ini settings I had to use to get DLSS to show up in game

; -------------------------------------------------------
[Spoofing]
; -------------------------------------------------------
; Enables Nvidia GPU spoofing for Vulkan
; true or false - Default (auto) is false
Vulkan=true

; Enables Nvidia extension spoofing for Vulkan
; true or false - Default (auto) is false
VulkanExtensionSpoofing=true

; -------------------------------------------------------
[NvApi]
; -------------------------------------------------------
; Override loading of nvapi64.dll 
; true or false - Default (auto) is false
OverrideNvapiDll=true

Image

OptiScaler.log

Berwve avatar Jan 31 '25 16:01 Berwve

So i managed to get the game to finally show up DLSS/DLAA in game. I used the files from OptiScaler 0.7.0-pre66, renamed OptiScaler nvngx.dll to winmm.dll as dxgi.dll doesn't open up dlss/dlaa options ingame. I renamed the already contained nvngx-dlss.dll to nvngx.dll. Used EnableSignatureOverride.reg

I set nvngx.ini content to

Vulkan=true
VulkanExtensionSpoofing=true
OverrideNvapiDll=true

I copied fakenvapi.ini and nvapi64.dll from fakenvapi 1.2.0

Finally i can select dlss/dlaa ingame, but framegen is greyed out though. NVidia Reflex is available but i can't say if it actually does anything. As soon as i select dlss/dlaa, picture looks just like @Nygglatho provided.

6800 XT on 24.7.1 with 5900 X

dEEkAy2k9 avatar Feb 07 '25 22:02 dEEkAy2k9

This is still true to this day, all the settings working correctly, finally able to select DLSS, just for the game to either show a garbled image or just freeze as soon as it loads.

Is there any idea on what the problem could be regarding the garbled image?

UleyeyeUwma avatar May 17 '25 19:05 UleyeyeUwma

The issue reproduces for RX 9070 XT

MBrsoian avatar Jun 01 '25 00:06 MBrsoian

With todays update, it is now possible to wrap XeSS to FSR3/4. Couldn't get DLSS/FG options to appear unfortunately.

koffiato avatar Jun 05 '25 00:06 koffiato

Just tried the https://github.com/cdozdil/OptiScaler/commit/556e2154163e9970f30f396d4eac48b0205a5f83 build, now the Vulkan Extension Spoofing works, and DLSS option shows up. However it has the same visual corruption seen in the earlier screenshots. Image Image

koffiato avatar Jun 09 '25 22:06 koffiato

If any of you guys could checked the linked PR. With Vulkan and Vulkan extensions spoofing enabled. DLSSG should also work but you ofc need Nukem's mod and fakenvapi.

Including a precompiled dll for those unable to compile themselves.

OptiScaler_20250616_213345.zip

FakeMichau avatar Jun 16 '25 19:06 FakeMichau

If any of you guys could checked the linked PR. With Vulkan and Vulkan extensions spoofing enabled. DLSSG should also work but you ofc need Nukem's mod and fakenvapi.

Including a precompiled dll for those unable to compile themselves.

OptiScaler_20250616_213345.zip

Works like a charm using archive you provided with latest versions of Fakenvapi and Nukem's mod! My 7900XTX is seen as RTX4090 and i was able to turn on DLSS. EDIT: Framegen works too, just tested it.

  1. I've downloaded latest version of OptiScaler,
  2. Went trough the installation process,
  3. Replaced OptiScale's dxgi.dll with the one from the archive you provided.
  4. I've set nvngx.ini content to
Vulkan=true
VulkanExtensionSpoofing=true
OverrideNvapiDll=true
  1. Installed Fakenvapi and Nukem
  2. Run the game.

Image

bedle avatar Jun 16 '25 21:06 bedle