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

GOW: Ragnarök with v0.7.0-pre9 crashes upon startup #66

Open
mserdardogan opened this issue Oct 4, 2024 · 5 comments
Open

GOW: Ragnarök with v0.7.0-pre9 crashes upon startup #66

mserdardogan opened this issue Oct 4, 2024 · 5 comments

Comments

@mserdardogan
Copy link

mserdardogan commented Oct 4, 2024

Installed as dxgi.dll, whenever I try to load the game it instantly crashes, and pop-up says device unknown.
GPU: RTX 3070 Mobile

Log file

[20:03:19.788378] [W] OptiScaler v0.7.0-pre9 loaded
[20:03:19.788430] [W] ---------------------------------
[20:03:19.788447] [W] OptiScaler is freely downloadable from
[20:03:19.788458] [W] GitHub : https://github.com/cdozdil/OptiScaler/releases
[20:03:19.788470] [W] Nexus : https://www.nexusmods.com/site/mods/986
[20:03:19.788480] [W] If you paid for these files, you've been scammed!
[20:03:19.788492] [W] DO NOT USE IN MULTIPLAYER GAMES
[20:03:19.788502] [W]
[20:03:19.788519] [W] LogLevel: 1
[20:03:19.788535] [W] IsRunningOnWine Wine not detected
[20:03:19.788547] [I]
[20:03:19.788873] [I] NVNGXProxy::InitNVNGX trying to load dlss-enabler-ngx.dll
[20:03:19.788991] [I] Util::NvngxPath trying to load nvngx from registry path!
[20:03:19.789037] [I] Util::NvngxPath nvngx registry path: C:\Windows\System32\DriverStore\FileRepository\nvlti.inf_amd64_3aa6688a380906ed
[20:03:19.789048] [I] NVNGXProxy::InitNVNGX trying to load _nvngx.dll path: C:\Windows\System32\DriverStore\FileRepository\nvlti.inf_amd64_3aa6688a380906ed_nvngx.dll
[20:03:19.793477] [I] NVNGXProxy::InitNVNGX _nvngx.dll loaded from C:\Windows\System32\DriverStore\FileRepository\nvlti.inf_amd64_3aa6688a380906ed_nvngx.dll, ptr: 7FFB0AEF0000
[20:03:19.793492] [D] HookNvApi Trying to hook NvApi
[20:03:19.796315] [D] HookNvApi OriginalNvAPI_QueryInterface = 7FFB084CED50
[20:03:19.796327] [I] HookNvApi NvAPI_QueryInterface found, hooking!
[20:03:19.796388] [D] HookNgxApi Trying to hook NgxApi
[20:03:19.796406] [I] HookNgxApi NVSDK_NGX_XXXXXX_GetFeatureRequirements found, hooking!
[20:03:19.796686] [I] NVNGXProxy::InitNVNGX getting nvngx method addresses
[20:03:19.796793] [I] nvngx.dll loaded, setting DLSS as default upscaler and disabling spoofing options set to auto
[20:03:19.796799] [I]
[20:03:19.797133] [I] CheckWorkingMode OptiScaler working as dxgi.dll, system dll loaded
[20:03:19.797209] [I] AttachHooks Attaching LoadLibrary hooks
[20:03:19.797665] [I] hkLoadLibraryExA dxgi.dll call, returning this dll!
[20:03:19.797682] [I] hkLoadLibraryExA dxgi.dll call, returning this dll!
[20:03:19.797690] [I] hkLoadLibraryExA dxgi.dll call, returning this dll!
[20:03:19.797714] [D] LoadFSR31Funcs Loading amd_fidelityfx_dx12.dll methods
[20:03:19.797727] [I] LoadFSR31Funcs Trying to load C:\Games\God of War - Ragnarok\amd_fidelityfx_dx12.dll
[20:03:19.797751] [I] LoadFSR31Funcs amd_fidelityfx_dx12.dll methods loaded!
[20:03:19.797790] [I]
[20:03:19.859768] [I] hkCreateDXGIFactory Hooking native DXGIFactory
[20:03:19.916597] [D] HookedNvAPI_GPU_GetArchInfo From api arch: 170 impl: 4 rev: A1!
[20:03:19.917619] [D] HookedNvAPI_GPU_GetArchInfo From api arch: 170 impl: 4 rev: A1!
[20:03:19.917830] [D] HookedNvAPI_GPU_GetArchInfo From api arch: 170 impl: 4 rev: A1!
[20:03:19.918047] [D] HookedNvAPI_GPU_GetArchInfo From api arch: 170 impl: 4 rev: A1!
[20:03:19.918253] [D] HookedNvAPI_GPU_GetArchInfo From api arch: 170 impl: 4 rev: A1!
[20:03:19.918434] [D] HookedNvAPI_GPU_GetArchInfo From api arch: 170 impl: 4 rev: A1!
[20:03:19.918791] [D] HookedNvAPI_GPU_GetArchInfo From api arch: 170 impl: 4 rev: A1!
[20:03:19.919008] [D] HookedNvAPI_GPU_GetArchInfo From api arch: 170 impl: 4 rev: A1!
[20:03:19.919218] [D] HookedNvAPI_GPU_GetArchInfo From api arch: 170 impl: 4 rev: A1!
[20:03:19.919401] [D] HookedNvAPI_GPU_GetArchInfo From api arch: 170 impl: 4 rev: A1!
[20:03:19.919617] [D] HookedNvAPI_GPU_GetArchInfo From api arch: 170 impl: 4 rev: A1!
[20:03:19.919859] [D] HookedNvAPI_GPU_GetArchInfo From api arch: 170 impl: 4 rev: A1!
[20:03:19.945035] [D] HookedNvAPI_GPU_GetArchInfo From api arch: 170 impl: 4 rev: A1!
[20:03:19.959408] [I] hkLoadLibraryExW nvngx call: c:\windows\system32\driverstore\filerepository\nvlti.inf_amd64_3aa6688a380906ed_nvngx.dll, returning this dll!
[20:03:19.959472] [D] NVSDK_NGX_D3D12_GetFeatureRequirements for (1)
[20:03:19.967143] [D] NVSDK_NGX_D3D12_GetFeatureRequirements for (11)
[20:03:19.967161] [D] NVSDK_NGX_D3D12_GetFeatureRequirements D3D12_GetFeatureRequirements for (11)
[20:03:21.790311] [D] HookedNvAPI_GPU_GetArchInfo From api arch: 170 impl: 4 rev: A1!
[20:03:22.027820] [D] HookedNvAPI_GPU_GetArchInfo From api arch: 170 impl: 4 rev: A1!
[20:03:22.028326] [D] NVSDK_NGX_D3D12_GetFeatureRequirements D3D12_GetFeatureRequirements result for (11): 1
[20:03:22.050877] [I] hkLoadLibraryW dxgi.dll call, returning this dll!
[20:03:22.051416] [I] hkCreateDXGIFactory2 Hooking native DXGIFactory
[20:03:22.261431] [I] hkD3D12CreateDevice Device captured
[20:03:22.265495] [I] NVSDK_NGX_D3D12_Init_ProjectID calling NVNGXProxy::D3D12_Init_ProjectID
[20:03:22.276462] [D] HookedNvAPI_GPU_GetArchInfo From api arch: 170 impl: 4 rev: A1!
[20:03:22.642257] [I] hkLoadLibraryW dxgi.dll call, returning this dll!
[20:03:22.642918] [I] hkLoadLibraryExW dxgi.dll call, returning this dll!
[20:03:22.643310] [I] hkFreeLibrary Call for this module loadCount: 7
[20:03:22.646481] [D] HookedNvAPI_GPU_GetArchInfo From api arch: 170 impl: 4 rev: A1!
[20:03:22.714240] [I] NVSDK_NGX_D3D12_Init_ProjectID calling NVNGXProxy::D3D12_Init_ProjectID result: 1
[20:03:22.714271] [I] NVSDK_NGX_D3D12_Init_Ext AppId: 4919
[20:03:22.714280] [I] NVSDK_NGX_D3D12_Init_Ext SDK: 15
[20:03:22.714288] [I] NVSDK_NGX_D3D12_Init_Ext InApplicationDataPath C:\Users\Serdar\AppData\Local\Temp
[20:03:22.714302] [D] NVSDK_NGX_D3D12_Init_Ext PathListInfo[0] checking nvngx.ini file in: C:\Games\God of War - Ragnarok
[20:03:22.714310] [I] Config::Reload Trying to load ini from: C:\Games\God of War - Ragnarok\nvngx.ini
[20:03:22.714518] [I] NVSDK_NGX_D3D12_Init_Ext PathListInfo[0] nvngx.ini file reloaded from: C:\Games\God of War - Ragnarok
[20:03:22.715360] [D] LoadFSR31Funcs Loading amd_fidelityfx_dx12.dll methods
[20:03:22.715381] [I] LoadFSR31Funcs Trying to load C:\Games\God of War - Ragnarok\amd_fidelityfx_dx12.dll
[20:03:22.715422] [I] LoadFSR31Funcs amd_fidelityfx_dx12.dll methods loaded!
[20:03:22.715436] [D] DU_Dx12::DU_Dx12 DepthUpscaler start!
[20:03:22.767807] [I] NVSDK_NGX_D3D12_Init_ProjectID InProjectId: 868B8900-95BA-43CD-8203-E68DB0ECB561
[20:03:22.767830] [I] NVSDK_NGX_D3D12_Init_ProjectID InEngineType: 0
[20:03:22.767839] [I] NVSDK_NGX_D3D12_Init_ProjectID InEngineVersion: 2024
[20:03:22.767855] [I] NVSDK_NGX_D3D12_GetCapabilityParameters calling NVNGXProxy::D3D12_GetCapabilityParameters
[20:03:22.767944] [I] NVSDK_NGX_D3D12_GetCapabilityParameters calling NVNGXProxy::D3D12_GetCapabilityParameters result: 1, ptr: 2E3D69587E0
[20:03:22.774706] [I] hkLoadLibraryExW nvngx call: c:\windows\system32\driverstore\filerepository\nvlti.inf_amd64_3aa6688a380906ed_nvngx.dll, returning this dll!
[20:03:22.774747] [D] NVSDK_NGX_UpdateFeature FeatureId: 1
[20:03:22.774755] [I] NVSDK_NGX_UpdateFeature Update InProjectId: 868B8900-95BA-43CD-8203-E68DB0ECB561
[20:03:22.774761] [I] NVSDK_NGX_UpdateFeature Update InEngineType: 0
[20:03:22.774767] [I] NVSDK_NGX_UpdateFeature Update InEngineVersion: 2024
[20:03:22.774772] [D] NVSDK_NGX_UpdateFeature FeatureId finished, returning NVSDK_NGX_Result_Success
[20:03:22.912738] [D] hkCreateSwapChainForHwnd Streamline proxy not found
[20:03:22.912782] [D] hkCreateSwapChainForHwnd Width: 1920, Height: 1080, Format: 18, Count: 3, Flags: 840
[20:03:22.912947] [D] hkCreateSwapChainForHwnd created new swapchain: 2E3DF54F2B0, hWnd: 40064
[20:03:22.912964] [I] WrappedIDXGISwapChain4::WrappedIDXGISwapChain4 1 created, real: 2E3DF54F2B0
[20:03:22.912974] [D] hkCreateSwapChainForHwnd created new WrappedIDXGISwapChain4: 2E3DF47F170, pDevice: 2E3DF44FDE0
[20:03:24.280008] [D] Util::GetProcessWindow EnumWindows returned null using GetForegroundWindow()
[20:03:24.280088] [D] Present D3D12CommandQueue captured
[20:03:24.280119] [D] Present D3D12Device captured
[20:03:24.280129] [D] Present Handle changed
[20:03:24.280159] [D] ImGuiCommon::Init Handle: 40064
[20:03:24.280341] [D] ImGuiCommon::Init ImGui_ImplWin32_Init result: true
[20:03:24.280360] [D] ImGuiCommon::Init _oWndProc: 7FF726CCEFC0
[20:03:24.590544] [D] WrappedIDXGISwapChain4::ResizeBuffers BufferCount: 0, Width: 1920, Height: 1080, NewFormat: 24, SwapChainFlags: 840
[20:03:24.601657] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback Display Resolution: 1920x1080
[20:03:24.601750] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback Quality: -1
[20:03:24.601780] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback NVSDK_NGX_DLSS_GetOptimalSettingsCallback: Display Resolution: 1920x1080 Render Resolution: 1129x635
[20:03:24.601796] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback Display Resolution: 1920x1080
[20:03:24.601804] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback Quality: 5
[20:03:24.601815] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback NVSDK_NGX_DLSS_GetOptimalSettingsCallback: Display Resolution: 1920x1080 Render Resolution: 1920x1080
[20:03:24.601827] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback Display Resolution: 1920x1080
[20:03:24.601834] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback Quality: 2
[20:03:24.601843] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback NVSDK_NGX_DLSS_GetOptimalSettingsCallback: Display Resolution: 1920x1080 Render Resolution: 1280x720
[20:03:24.601853] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback Display Resolution: 1920x1080
[20:03:24.601861] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback Quality: 1
[20:03:24.601871] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback NVSDK_NGX_DLSS_GetOptimalSettingsCallback: Display Resolution: 1920x1080 Render Resolution: 1129x635
[20:03:24.601880] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback Display Resolution: 1920x1080
[20:03:24.601888] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback Quality: 0
[20:03:24.601897] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback NVSDK_NGX_DLSS_GetOptimalSettingsCallback: Display Resolution: 1920x1080 Render Resolution: 960x540
[20:03:24.601907] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback Display Resolution: 1920x1080
[20:03:24.601915] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback Quality: 3
[20:03:24.601925] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback NVSDK_NGX_DLSS_GetOptimalSettingsCallback: Display Resolution: 1920x1080 Render Resolution: 640x360
[20:03:24.601934] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback Display Resolution: 1920x1080
[20:03:24.601942] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback Quality: 5
[20:03:24.601950] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback NVSDK_NGX_DLSS_GetOptimalSettingsCallback: Display Resolution: 1920x1080 Render Resolution: 1920x1080
[20:03:24.727183] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback Display Resolution: 1920x1080
[20:03:24.727288] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback Quality: 2
[20:03:24.727315] [D] NVSDK_NGX_DLSS_GetOptimalSettingsCallback NVSDK_NGX_DLSS_GetOptimalSettingsCallback: Display Resolution: 1920x1080 Render Resolution: 1280x720
[20:03:24.727409] [I] NVSDK_NGX_D3D12_CreateFeature HandleId: 1000000
[20:03:24.727432] [I] NVSDK_NGX_D3D12_CreateFeature upscalerChoice: 3
[20:03:24.727444] [I] IFeature::SetHandle Handle: 1000000
[20:03:24.727463] [I] IFeature::SetInitParameters Render Resolution: 1280x720, Display Resolution 1920x1080, Quality: 2
[20:03:24.727479] [D] HookNvApi Trying to hook NvApi
[20:03:24.727565] [D] HookNvApi OriginalNvAPI_QueryInterface = 7FFB084CED50
[20:03:24.727576] [I] HookNvApi NvAPI_QueryInterface found, hooking!
[20:03:24.727629] [D] HookNgxApi Trying to hook NgxApi
[20:03:24.727658] [I] HookNgxApi NVSDK_NGX_XXXXXX_GetFeatureRequirements found, hooking!
[20:03:24.727696] [I] DLSSFeatureDx12::DLSSFeatureDx12 binding complete!
[20:03:24.727722] [I] NVSDK_NGX_D3D12_CreateFeature creating new DLSS feature
[20:03:25.227945] [I] DLSSFeatureDx12::Init Creating DLSS feature
[20:03:25.228098] [I] DLSSFeature::ProcessInitParams featureFlags 4B
[20:03:25.228110] [I] DLSSFeature::ProcessInitParams featureFlags (DepthInverted) 1000
[20:03:25.228120] [I] DLSSFeature::ProcessInitParams featureFlags (AutoExposure) 1001000
[20:03:25.228129] [I] DLSSFeature::ProcessInitParams featureFlags (HDR) 1001001
[20:03:25.228139] [I] DLSSFeature::ProcessInitParams featureFlags (!JitterCancellation) 1001001
[20:03:25.228149] [I] DLSSFeature::ProcessInitParams featureFlags (LowResMV) 1001011
[20:03:25.228163] [I] DLSSFeature::ProcessInitParams featureFlags (!Sharpening) 1001011
[20:03:25.228184] [I] DLSSFeature::ProcessInitParams Render Size: 1280x720, Target Size: 1920x1080, Display Size: 1920x1080
[20:03:25.228202] [D] DLSSFeature::ProcessInitParams Signed Enum: true
[20:03:25.228211] [D] DLSSFeature::ProcessInitParams Final Presets:
[20:03:25.228220] [D] DLSSFeature::ProcessInitParams Preset_DLAA 2147483654
[20:03:25.228229] [D] DLSSFeature::ProcessInitParams Preset_UltraQuality 2147483654
[20:03:25.228237] [D] DLSSFeature::ProcessInitParams Preset_Quality 2147483653
[20:03:25.228246] [D] DLSSFeature::ProcessInitParams Preset_Balanced 2147483653
[20:03:25.228255] [D] DLSSFeature::ProcessInitParams Preset_Performance 2147483653
[20:03:25.228264] [D] DLSSFeature::ProcessInitParams Preset_UltraPerformance 2147483654
[20:03:25.284533] [I] DLSSFeatureDx12::Init _CreateFeature result: NVSDK_NGX_Result_Success
[20:03:25.284735] [I] DLSSFeature::ReadVersion DLSS v3.7.20 loaded.
[20:03:25.284761] [D] RCAS_Dx12::RCAS_Dx12 RCAS start!
[20:03:25.289547] [D] OS_Dx12::OS_Dx12 OutputScaling start!
[20:03:25.299827] [D] NVSDK_NGX_D3D12_EvaluateFeature Handle: 1000000
[20:03:25.299968] [I] DLSSFeature::ProcessEvaluateParams Render Size: 1280x720, Target Size: 1920x1080, Display Size: 1920x1080
[20:03:25.303250] [D] NVSDK_NGX_D3D12_EvaluateFeature done: 1
[20:03:25.325562] [D] Present D3D12CommandQueue captured
[20:03:25.325664] [D] Present D3D12Device captured
[20:03:25.513642] [E] hkCreateSwapChainForHwnd _createContext error: 3
[20:03:37.150979] [I] hkD3D12CreateDevice Device captured
[20:03:37.151367] [I] hkD3D12CreateDevice Device captured
[20:03:37.198703] [I] hkD3D11CreateDeviceAndSwapChain Device captured
[20:03:37.198807] [I] hkD3D11CreateDevice Device captured
[20:03:37.253669] [I] hkD3D11CreateDeviceAndSwapChain Device captured
[20:03:37.253725] [I] hkD3D11CreateDevice Device captured
[20:03:37.298298] [I] hkD3D11CreateDeviceAndSwapChain Device captured
[20:03:37.298353] [I] hkD3D11CreateDevice Device captured
[20:03:37.312878] [I] hkD3D11CreateDevice Overriding D3D_FEATURE_LEVEL, Game requested D3D_FEATURE_LEVEL_11_0, we need D3D_FEATURE_LEVEL_11_1!
[20:03:37.350777] [I] hkD3D11CreateDeviceAndSwapChain Device captured
[20:03:37.350836] [I] hkD3D11CreateDevice Device captured
[20:03:37.395382] [I] hkD3D11CreateDeviceAndSwapChain Device captured
[20:03:37.395441] [I] hkD3D11CreateDevice Device captured
[20:03:37.471485] [I] hkD3D11CreateDeviceAndSwapChain Device captured
[20:03:37.471549] [I] hkD3D11CreateDevice Device captured
[20:03:37.520290] [I] hkD3D11CreateDeviceAndSwapChain Device captured
[20:03:37.520338] [I] hkD3D11CreateDevice Device captured
[20:03:37.566766] [I] hkD3D11CreateDeviceAndSwapChain Device captured
[20:03:37.566826] [I] hkD3D11CreateDevice Device captured
[20:03:37.615923] [I] hkD3D11CreateDeviceAndSwapChain Device captured
[20:03:37.615985] [I] hkD3D11CreateDevice Device captured
[20:03:37.676064] [I] hkD3D12CreateDevice Device captured

@mserdardogan
Copy link
Author

It looks like in-game FSR-FG is the problem, if it is on while Optiscaler is also loaded, game immediately crashes. Also, HUD fix stops FG from working, FPS goes back to the count without FG.

@cdozdil
Copy link
Owner

cdozdil commented Oct 5, 2024

Probably game and Opti both create FSR-FG swapchain and this cause issues.

@mserdardogan
Copy link
Author

Would it be possible to at least warn the user that the game already uses FG instead of leading it to an instant crash?

@heatguye
Copy link

heatguye commented Oct 6, 2024

Why use the mod when FG is natively supported? Why add something like a warning when you can just go to the options yourself?

@mserdardogan
Copy link
Author

@heatguye I was having a stuttering issue with FG on, tried to see if it's any different with Optiscaler FG because the same thing happened to TLOU FSR3. Native FG had a frame pacing issue so people used LukeFZ's FG mod instead, I thought I was facing the same issue so I tried. Also, FG will probably be on stable release, and this behavior isn't stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants