moonlight-qt icon indicating copy to clipboard operation
moonlight-qt copied to clipboard

Qt Critical: Unhandled exception!

Open xCISACx opened this issue 1 year ago • 4 comments

Describe the bug Moonlight randomly crashes with a critical unhandled exception.

Steps to reproduce Minimise Moonlight and tab back into it.

Affected games All.

Moonlight settings (please complete the following information)

  • Have any settings been adjusted from defaults? Yes
  • If so, which settings have been changed? 1080p, 144 FPS, 80 Mbps, V-Sync Off
  • Does the problem still occur after reverting settings back to default? Yes

Client PC details (please complete the following information)

  • OS: Windows 11 23H2
  • Moonlight Version: 5.0.1
  • GPU: RTX 2060 Mobile

Server PC details (please complete the following information)

  • OS: Windows 11 23H2
  • GeForce Experience version: I use Sunshine. 3.27.0.120
  • Nvidia GPU driver: 551.23
  • Antivirus and firewall software: [e.g. Windows Defender and Windows Firewall]

Moonlight Logs (please attach) Moonlight-1706743711.log

Crash dump: Moonlight-1706743310.dmp

xCISACx avatar Jan 31 '24 23:01 xCISACx

I see Nvidia's driver (nvwgf2umx.dll) is crashing in the crash dump:

0:066> .ecxr
rax=0000000000000000 rbx=000002a2cd6b7c80 rcx=000002a2cd6b7c80
rdx=000002a2cbbe9990 rsi=000002a2cbbe43a0 rdi=0000000000000000
rip=00007ff8e71b7014 rsp=000000a69de1f630 rbp=000002a2cbbe9990
 r8=000002a2cbbe43a0  r9=0000000000000000 r10=0000000000000001
r11=0000064af4c37a17 r12=0000000000000000 r13=0000000000000000
r14=000002a2cbbe43a0 r15=0000000000000000
iopl=0         nv up ei pl nz na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010206
nvwgf2umx+0x18a7014:
00007ff8`e71b7014 8b888c000000    mov     ecx,dword ptr [rax+8Ch] ds:00000000`0000008c=????????

I also noted that a hook (graphics_hook64.dll) has been loaded into Moonlight, which we do not support. It appears to be part of OBS. I suggest disabling this to see if it resovles the issue.

In the past, driver/hook issues like this have been dependent on the window mode of the stream. Full-screen would be most likely to trigger issues, while windowed and borderless windowed tend to be fine. I suggest trying borderless windowed mode or windowed mode to see if either of those make the issue go away.

cgutman avatar Feb 01 '24 07:02 cgutman

OBS is closed and I can't find it running through the Task Manager either. Where would I be able to find this hook? The only recording software I am running is Steelseries Moments. Could that be the culprit? I'll try Borderless then, thanks!

xCISACx avatar Feb 01 '24 12:02 xCISACx

It's in Borderless now and it still crashes. Less often but it still does.

xCISACx avatar Feb 06 '24 23:02 xCISACx

I decided to bump this seeing as this is still happening regularly on version 6.0.0

00:56:16 - SDL Info (0): Detected GPU 0: NVIDIA GeForce RTX 3060 Laptop GPU (10de:2520)
00:56:16 - Qt Info: Found "d3d11_vertex.fxc" at ":/data/d3d11_vertex.fxc"
00:56:16 - Qt Info: Found "d3d11_overlay_pixel.fxc" at ":/data/d3d11_overlay_pixel.fxc"
00:56:16 - Qt Info: Found "d3d11_genyuv_pixel.fxc" at ":/data/d3d11_genyuv_pixel.fxc"
00:56:16 - Qt Info: Found "d3d11_bt601lim_pixel.fxc" at ":/data/d3d11_bt601lim_pixel.fxc"
00:56:16 - Qt Info: Found "d3d11_bt2020lim_pixel.fxc" at ":/data/d3d11_bt2020lim_pixel.fxc"
00:56:16 - SDL Info (0): Frame pacing disabled: target 144 Hz with 144 FPS stream
00:56:16 - SDL Info (0): Using D3D11VA accelerated renderer
00:56:16 - SDL Info (0): FFmpeg-based video decoder chosen
00:56:16 - SDL Info (0): IDR frame request sent
00:56:16 - SDL Info (0): Requesting IDR frame on behalf of DR
00:56:16 - SDL Info (0): IDR frame request sent
00:56:16 - SDL Info (0): Waiting for IDR frame
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] Decoding VPS
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] Main profile bitstream
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] Decoding SPS
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] Main profile bitstream
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] Decoding VUI
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] Decoding PPS
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] Format d3d11 chosen by get_format().
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] Format d3d11 requires hwaccel hevc_d3d11va2 initialisation.
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] Decoder GUIDs reported as supported:
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {86695f12-340e-4f04-9fd3-9253dd327460} 103 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {ee27417f-5e28-4e65-beea-1d26b508adc9} 103 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {6f3ec719-3735-42cc-8063-65cc3cb36616} 103 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {1b81bea4-a0c7-11d3-b984-00c04f2e73c5} 103 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {1b81bea3-a0c7-11d3-b984-00c04f2e73c5} 103 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {32fcfe3f-de46-4a49-861b-ac71110649d5} 103 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {d79be8da-0cf1-4c81-b82a-69a4e236f43d} 103 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {f9aaccbb-c2b6-4cfc-8779-5707b1760552} 103 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {1b81be68-a0c7-11d3-b984-00c04f2e73c5} 103 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {5b11d51b-2f4c-4452-bcc3-09f2a1160cc0} 103 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {107af0e0-ef1a-4d19-aba8-67a163073d13} 104 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {20bb8b0a-97aa-4571-8e99-64e60606c1a6} 104 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {15df9b21-06c4-47f1-841e-a67c97d7f312} 103 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {efd64d74-c9e8-41d7-a5e9-e9b0e39fa319} 103 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {ed418a9f-010d-4eda-9ae3-9a65358d8d2e} 103 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {9947ec6f-689b-11dc-a320-0019dbbc4184} 103 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {33fcfe41-de46-4a49-861b-ac71110649d5} 103 106 107
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {463707f8-a1d0-4585-876d-83aa6d60b89e} 103 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {a4c749ef-6ecf-48aa-8448-50a7a1165ff7} 104 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {dda19dc7-93b5-49f5-a9b3-2bda28a2ce6e} 104 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {b8be4ccb-cf53-46ba-8d59-d6b8a6da5d2a} 103 104 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {6affd11e-1d96-42b1-a215-93a31f09a53d} 103 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {914c84a3-4078-4fa9-984c-e2f262cb5c9c} 103 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] {8a1a1031-29bc-46d0-a007-e9b092ca6767} 103 106
00:56:16 - FFmpeg: [hevc @ 0000028E75225D80] Output frame with POC 0.
00:56:29 - SDL Info (0): Audio packet queue overflow
00:56:29 - SDL Info (0): Network dropped audio data (expected 20656, but received 20680)
00:56:29 - Qt Critical: Unhandled exception! Minidump written to: "C:\\Users\\Phoenix\\AppData\\Local\\Temp\\Moonlight-1719086067.dmp"
00:56:30 - SDL Info (0): Audio packet queue overflow
00:56:30 - SDL Info (0): Network dropped audio data (expected 20742, but received 20765)
00:56:30 - SDL Info (0): Audio packet queue overflow
00:56:30 - SDL Info (0): Audio packet queue overflow
00:56:30 - SDL Info (0): Audio packet queue overflow
00:56:30 - SDL Info (0): Video decode unit queue overflow
00:56:30 - SDL Info (0): IDR frame request sent
00:56:30 - SDL Info (0): Waiting for IDR frame
00:56:30 - SDL Info (0): Network dropped audio data (expected 20767, but received 21005)
00:56:30 - SDL Info (0): Unrecoverable frame 202368: 54+0=54 received < 71 needed
00:56:30 - SDL Info (0): Network dropped 59 frames (frames 202368 to 202426)
00:56:30 - SDL Info (0): Waiting for IDR frame
00:56:30 - SDL Info (0): IDR frame request sent

DMP: https://www.mediafire.com/file/kno7wit8sz8n4ph/Moonlight.exe.33836.dmp/file

xCISACx avatar Jun 22 '24 20:06 xCISACx