fholger / vrperfkit

VR Performance Toolkit
Other
1.32k stars 53 forks source link

VR not working with Oculus Quest 3 in iRacing #164

Open KhardanOne opened 1 year ago

KhardanOne commented 1 year ago

I have a very similar issue to this, maybe the same: https://github.com/fholger/vrperfkit/issues/126 iRacing starts on the monitor but it stucks on the loading screen inside Quest 3.

I'd also avoid using OpenVR, as it uses SteamVR, and it is buggy with iRacing. I prefer the Oculus setting in iRacing, but also tried with OpenXR. No matter what I choose, I get a similar error message. I tried disabling upscaling as you suggested in the linked ticket, but it did not help. Then I enabled it and disabled foveated rendering. Same error, see the two logs, both with Oculus setting.

Virtual Desktop is not an option for me as I don't have good enough WiFi, and I also prefer wires (through QuestLink) to minimize latency. VD doesn't work wired.

System: Win 11 Pro 22H2, Quest 3 update 59, AMD 7900X CPU, NVidia 4070.

Log 1: upscaling only

12:54:10 [24240] ====================== 12:54:10 [24240] VR Performance Toolkit 12:54:10 [24240] ======================

12:54:10 [24240] Current configuration: 12:54:10 [24240] Upscaling (FSR) is enabled 12:54:10 [24240] Render scale: 0.77 12:54:10 [24240] Sharpness: 0.7 12:54:10 [24240] Radius: 0.6 12:54:10 [24240] MIP bias: enabled 12:54:10 [24240] Debug mode is disabled 12:54:10 [24240] Currently active hotkeys: 12:54:10 [24240] cycleUpscalingMethod 17 113 12:54:10 [24240] increaseUpscalingRadius 17 114 12:54:10 [24240] decreaseUpscalingRadius 17 115 12:54:10 [24240] increaseUpscalingSharpness 17 116 12:54:10 [24240] decreaseUpscalingSharpness 17 117 12:54:10 [24240] toggleDebugMode 17 112 12:54:10 [24240] toggleUpscalingApplyMipBias 17 118 12:54:10 [24240] toggleFixedFoveated 18 112 12:54:10 [24240] * captureOutput 17 119 12:54:10 [24240] Installing hook for LoadLibraryA from 00007FFC735492C0 to 00007FFC3541B2C0 12:54:10 [24240] Installing hook for LoadLibraryExA from 00007FFC73548050 to 00007FFC3541B310 12:54:10 [24240] Installing hook for LoadLibraryW from 00007FFC73548BE0 to 00007FFC3541B3F0 12:54:10 [24240] Installing hook for LoadLibraryExW from 00007FFC73543D90 to 00007FFC3541B380 12:54:10 [24240] d3d11.dll is loaded in the process, installing hooks... 12:54:10 [24240] Installing hook for D3D11CreateDevice from 00007FFC6CFA0130 to 00007FFC353FCBA0 12:54:10 [24240] Installing hook for D3D11CreateDeviceAndSwapChain from 00007FFC6CFA0240 to 00007FFC353FD020 12:54:13 [24240] Loading DLL at "C:\Windows\system32\dxgi.dll" 12:54:14 [24240] LibOVRRT64_1.dll is loaded in the process, installing hooks... 12:54:14 [24240] Installing hook for ovr_Initialize from 00007FFC00B3DBF0 to 00007FFC353FF090 12:54:14 [24240] Installing hook for ovr_GetFovTextureSize from 00007FFC00B3F3C0 to 00007FFC353FEFA0 12:54:14 [24240] Installing hook for ovr_EndFrame from 00007FFC00B3F840 to 00007FFC353FEE20 12:54:14 [24240] Installing hook for ovr_SubmitFrame from 00007FFC00B3F990 to 00007FFC353FF300 12:54:14 [24240] Installing hook for ovr_SubmitFrame2 from 00007FFC00B3FB30 to 00007FFC353FF180 12:54:14 [24240] Oculus runtime initialization for version 26 12:54:18 [24240] Initializing Oculus frame submission... 12:54:18 [24240] Game is using D3D11 swapchains, initializing D3D11 resources 12:54:18 [24240] Swap chain has format 5, bind flags 1 and misc flags 9 12:54:18 [24240] Eye 0: submitted textures have resolution 3648x1984 12:54:18 [24240] Eye 0: output resolution is 4738x2578 12:54:18 [24240] Creating output swapchain in format 5 12:54:18 [24240] Game is using a single texture for both eyes 12:54:18 [24240] Trying to load NVAPI... 12:54:18 [24240] Successfully initialized NVAPI; Variable Rate Shading is available. 12:54:18 [24240] Installing virtual function hook for ID3D11DeviceContext::PSSetSamplers 12:54:18 [24240] Installing virtual function hook for ID3D11DeviceContext::OMSetRenderTargets 12:54:18 [24240] Installing virtual function hook for ID3D11DeviceContext::OMSetRenderTargetsAndUnorderedAccessViews 12:54:18 [24240] D3D11 resource creation complete 12:54:18 [24240] Creating D3D11 resources for FSR upscaling... 12:54:18 [24240] (!) ERROR: Failed during post processing: Failed getting current swapchain index: Null chain pointer provided. 12:54:18 [24240] Removing hook to 00007FFC6D060D00 12:54:19 [24240] Removing hook to 00007FFC6D060640 12:54:19 [24240] Removing hook to 00007FFC6D05FA70

Log 2: fixed foveated only

13:12:27 [5348] ====================== 13:12:27 [5348] VR Performance Toolkit 13:12:27 [5348] ======================

13:12:27 [5348] Current configuration: 13:12:27 [5348] Upscaling (FSR) is disabled 13:12:27 [5348] Debug mode is disabled 13:12:27 [5348] Currently active hotkeys: 13:12:27 [5348] cycleUpscalingMethod 17 113 13:12:27 [5348] increaseUpscalingRadius 17 114 13:12:27 [5348] decreaseUpscalingRadius 17 115 13:12:27 [5348] increaseUpscalingSharpness 17 116 13:12:27 [5348] decreaseUpscalingSharpness 17 117 13:12:27 [5348] toggleDebugMode 17 112 13:12:27 [5348] toggleUpscalingApplyMipBias 17 118 13:12:27 [5348] toggleFixedFoveated 18 112 13:12:27 [5348] * captureOutput 17 119 13:12:27 [5348] Installing hook for LoadLibraryA from 00007FFC735492C0 to 00007FFC355CB2C0 13:12:27 [5348] Installing hook for LoadLibraryExA from 00007FFC73548050 to 00007FFC355CB310 13:12:27 [5348] Installing hook for LoadLibraryW from 00007FFC73548BE0 to 00007FFC355CB3F0 13:12:27 [5348] Installing hook for LoadLibraryExW from 00007FFC73543D90 to 00007FFC355CB380 13:12:27 [5348] d3d11.dll is loaded in the process, installing hooks... 13:12:27 [5348] Installing hook for D3D11CreateDevice from 00007FFC6CFA0130 to 00007FFC355ACBA0 13:12:28 [5348] Installing hook for D3D11CreateDeviceAndSwapChain from 00007FFC6CFA0240 to 00007FFC355AD020 13:12:30 [5348] Loading DLL at "C:\Windows\system32\dxgi.dll" 13:12:31 [5348] LibOVRRT64_1.dll is loaded in the process, installing hooks... 13:12:31 [5348] Installing hook for ovr_Initialize from 00007FFC00B3DBF0 to 00007FFC355AF090 13:12:31 [5348] Installing hook for ovr_GetFovTextureSize from 00007FFC00B3F3C0 to 00007FFC355AEFA0 13:12:31 [5348] Installing hook for ovr_EndFrame from 00007FFC00B3F840 to 00007FFC355AEE20 13:12:31 [5348] Installing hook for ovr_SubmitFrame from 00007FFC00B3F990 to 00007FFC355AF300 13:12:31 [5348] Installing hook for ovr_SubmitFrame2 from 00007FFC00B3FB30 to 00007FFC355AF180 13:12:31 [5348] Oculus runtime initialization for version 26 13:12:35 [5348] Initializing Oculus frame submission... 13:12:35 [5348] Game is using D3D11 swapchains, initializing D3D11 resources 13:12:35 [5348] Swap chain has format 5, bind flags 1 and misc flags 9 13:12:35 [5348] Eye 0: submitted textures have resolution 4736x2576 13:12:35 [5348] Eye 0: output resolution is 4736x2576 13:12:35 [5348] Creating output swapchain in format 5 13:12:35 [5348] Game is using a single texture for both eyes 13:12:35 [5348] Trying to load NVAPI... 13:12:35 [5348] Successfully initialized NVAPI; Variable Rate Shading is available. 13:12:35 [5348] Installing virtual function hook for ID3D11DeviceContext::PSSetSamplers 13:12:35 [5348] Installing virtual function hook for ID3D11DeviceContext::OMSetRenderTargets 13:12:35 [5348] Installing virtual function hook for ID3D11DeviceContext::OMSetRenderTargetsAndUnorderedAccessViews 13:12:36 [5348] D3D11 resource creation complete 13:12:36 [5348] (!) ERROR: Failed during post processing: Failed getting current swapchain index: Null chain pointer provided. 13:12:36 [5348] Removing hook to 00007FFC6D060D00 13:12:36 [5348] Removing hook to 00007FFC6D060640 13:12:36 [5348] Removing hook to 00007FFC6D05FA70 13:13:05 [5348] Shutting down