Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

NVIDIA NSight Graphics Crashing since recent Oculus Update

jpasekjpasek Posts: 2
NerveGear
edited October 8 in Unity Development
Hello,
Apologies if this isn't the correct Category, but we are building with Unity so it seemed the most relevant.

Some time in the last few weeks (sorry for ambiguous time window, I had a different focus) our Unity game now crashes when attempting to profile in NSight Graphics. Attempting to profile against an old build exhibits the same behaviour, so it looks like something that was introduced externally. I've tested against a blank project and a non-VR build will connect to NSight correctly, but will CTD if the Oculus SDK is enabled.

I'm posting here because I suspect an Oculus update may have introduced this issue. I have since updated NVIDIA drivers in an attempt to mitigate.

Current Stats:
Attempted Unity Version: 2019.2.3
Oculus Runtime Version: 1.41.0.295808
NSight Versions 2019.4 & 2019.5.1
NVIDIA Driver: 436.48

Here is the stack trace from our crash log:
0x000001C844C977D0 (nvwgf2umx) NVAPI_Thunk
0x000001C84450CC95 (nvwgf2umx) NVAPI_Thunk
0x000001C84450CFE6 (nvwgf2umx) NVAPI_Thunk
0x000001C84450CCFA (nvwgf2umx) NVAPI_Thunk
0x000001C844510980 (nvwgf2umx) NVAPI_Thunk
0x000001C844511E73 (nvwgf2umx) NVAPI_Thunk
0x000001C8448F28F9 (nvwgf2umx) NVAPI_Thunk
0x000001C8445FC215 (nvwgf2umx) NVAPI_Thunk
0x000001C844859CC9 (nvwgf2umx) NVAPI_Thunk
0x000001C843D83F29 (nvwgf2umx) OpenAdapter12
0x00007FF9631BBD50 (Nvda.Graphics.Interception) API::APIFrameManager::GetLastPresentTimestamp
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF9EF2A8354)
0x00007FF9EF2A8354 (d3d11) (function-name not available)
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF9EF2A808F)
0x00007FF9EF2A808F (d3d11) (function-name not available)
0x00007FF9EF2FC853 (d3d11) D3DKMTWaitForVerticalBlankEvent
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF9EF29E5BA)
0x00007FF9EF29E5BA (d3d11) (function-name not available)
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF9EF2AB17D)
0x00007FF9EF2AB17D (d3d11) (function-name not available)
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF9EF2AB950)
0x00007FF9EF2AB950 (d3d11) (function-name not available)
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF9EF29A812)
0x00007FF9EF29A812 (d3d11) (function-name not available)
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF9EF29A937)
0x00007FF9EF29A937 (d3d11) (function-name not available)
0x00007FF962F36D2B (Nvda.Graphics.Interception) D3D11_41_D3D11::CD3D11ClassInstanceObject::GetDebugHandle
0x00007FF96319C193 (Nvda.Graphics.Interception) API::APIFrameManager::GetLastPresentTimestamp
0x00007FF963195089 (Nvda.Graphics.Interception) API::APIFrameManager::GetLastPresentTimestamp
0x00007FF9A7DF8A09 (LibOVRRT64_1) ovr_Lookup
0x00007FF9A7DFFBC2 (LibOVRRT64_1) ovr_Lookup
0x00007FF9A7DDF16F (LibOVRRT64_1) ovr_Lookup
0x00007FF9A7D96468 (LibOVRRT64_1) ovr_GetFovStencil
0x00007FF9A7D96925 (LibOVRRT64_1) ovr_GetFovStencil
0x00007FF9A7DA71F8 (LibOVRRT64_1) ovr_SubmitFrame2
0x00007FF95F39ACE6 (OVRPlugin) ovrp_SetFunctionPointer
0x00007FF95F391F00 (OVRPlugin) ovrp_IsCameraDeviceColorFrameAvailable
0x00007FF95F388755 (OVRPlugin) ovrp_EndFrame
0x00007FF96838B1B2 (UnityPlayer) PAL_Thread_SupportsThreads
0x00007FF96836C4BE (UnityPlayer) PAL_Thread_SupportsThreads
0x00007FF968EEA1E0 (UnityPlayer) PAL_Thread_YieldExecution
0x00007FF9684D940B (UnityPlayer) PAL_Thread_SupportsThreads
0x00007FF9684DA24B (UnityPlayer) PAL_Thread_SupportsThreads
0x00007FF9684DA345 (UnityPlayer) PAL_Thread_SupportsThreads
0x00007FF968E39494 (UnityPlayer) UnityMain
0x00007FF9F4ED7BD4 (KERNEL32) BaseThreadInitThunk
0x00007FF9F536CED1 (ntdll) RtlUserThreadStart

Any assistance or additional insight for troubleshooting would be greatly appreciated!

Thanks in advance.
 
[Edit: A word.]
Sign In or Register to comment.