moonlight-stream / moonlight-qt

GameStream client for PCs (Windows, Mac, Linux, and Steam Link)
GNU General Public License v3.0
11.03k stars 643 forks source link

No video output after v4.2.0 update on Linux #865

Closed dartvader316 closed 2 years ago

dartvader316 commented 2 years ago

Describe the bug After Moonlight update to v4.20 (Flatpak version) on Linux i have no video output (just black window) and connection closes after 20-30 seconds. However mouse controls and keyboard actually work while connected.

My setup

Moonlight Logs

Full log of "flatpak run com.moonlight_stream.Moonlight" ``` 00:00:00 - Qt Warning: QSocketNotifier: Can only be used with threads started with QThread 00:00:00 - SDL Info (0): Compiled with SDL 2.24.0 00:00:00 - SDL Info (0): Running with SDL 2.24.0 00:00:00 - Qt Info: No translation available for "en_US" 00:00:00 - SDL Info (0): Detected Wayland 00:00:00 - Qt Warning: qrc:/gui/main.qml:12:1: QML ApplicationWindow: ToolTip must be attached to an Item 00:00:00 - Qt Info: Found "gamecontrollerdb.txt" at "/home/$USER/.var/app/com.moonlight_stream.Moonlight/cache/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt" 00:00:00 - SDL Info (0): Loaded 213 new gamepad mappings 00:00:00 - SDL Info (0): V-sync disabled 00:00:00 - SDL Info (0): Trying fallback VAAPI driver names 00:00:00 - SDL Info (0): Initialized VAAPI 1.12 00:00:00 - SDL Info (0): Driver: Intel iHD driver for Intel(R) Gen Graphics - 22.2.2 () 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x41524742 -> bgra. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x42475241 -> argb. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x41424752 -> rgba. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x52474241 -> abgr. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x58524742 -> bgr0. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x42475258 -> 0rgb. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x58424752 -> rgb0. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x52474258 -> 0bgr. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x30335241 -> unknown. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x30334241 -> unknown. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x30335258 -> x2rgb10le. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x30334258 -> unknown. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x36314752 -> unknown. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x50424752 -> unknown. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x50524742 -> unknown. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x56555941 -> unknown. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x30303859 -> gray. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x3231564e -> nv12. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x3132564e -> unknown. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x32595559 -> yuyv422. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x59565955 -> uyvy422. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x32315659 -> yuv420p. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x30323449 -> yuv420p. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x50313134 -> yuv411p. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x48323234 -> yuv422p. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x56323234 -> yuv440p. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x50343434 -> yuv444p. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x33434d49 -> unknown. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Format 0x30313050 -> p010le. 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 22.2.2 (). 00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x7fd67807e340] Driver not found in known nonstandard list, using standard behaviour. 00:00:00 - SDL Info (0): VAAPI driver supports exporting DRM PRIME surface handles with composed layers 00:00:00 - SDL Info (0): Opened DRM render node: /dev/dri/renderD128 00:00:00 - SDL Info (0): Direct rendering via DRM is disabled 00:00:00 - SDL Info (0): VAAPI driver supports exporting DRM PRIME surface handles with separate layers 00:00:00 - SDL Info (0): Color buffer is: R8G8B8A0 00:00:00 - SDL Info (0): Using VAAPI accelerated renderer on wayland 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] Decoding VPS 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] Main 10 profile bitstream 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] Decoding SPS 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] Main 10 profile bitstream 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] Decoding VUI 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] Decoding PPS 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] Format vaapi chosen by get_format(). 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] Format vaapi requires hwaccel initialisation. 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] Considering format 0x30313050 -> p010le. 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] Picked p010le (0x30313050) as best match for yuv420p10le. 00:00:00 - FFmpeg: [AVHWFramesContext @ 0x7fd67823a5c0] Created surface 0. 00:00:00 - FFmpeg: [AVHWFramesContext @ 0x7fd67823a5c0] Direct mapping possible. 00:00:00 - FFmpeg: [AVHWFramesContext @ 0x7fd67823a5c0] Created surface 0x1. 00:00:00 - FFmpeg: [AVHWFramesContext @ 0x7fd67823a5c0] Created surface 0x2. 00:00:00 - FFmpeg: [AVHWFramesContext @ 0x7fd67823a5c0] Created surface 0x3. 00:00:00 - FFmpeg: [AVHWFramesContext @ 0x7fd67823a5c0] Created surface 0x4. 00:00:00 - FFmpeg: [AVHWFramesContext @ 0x7fd67823a5c0] Created surface 0x5. 00:00:00 - FFmpeg: [AVHWFramesContext @ 0x7fd67823a5c0] Created surface 0x6. 00:00:00 - FFmpeg: [AVHWFramesContext @ 0x7fd67823a5c0] Created surface 0x7. 00:00:00 - FFmpeg: [AVHWFramesContext @ 0x7fd67823a5c0] Created surface 0x8. 00:00:00 - FFmpeg: [AVHWFramesContext @ 0x7fd67823a5c0] Created surface 0x9. 00:00:00 - FFmpeg: [AVHWFramesContext @ 0x7fd67823a5c0] Created surface 0xa. 00:00:00 - FFmpeg: [AVHWFramesContext @ 0x7fd67823a5c0] Created surface 0xb. 00:00:00 - FFmpeg: [AVHWFramesContext @ 0x7fd67823a5c0] Created surface 0xc. 00:00:00 - FFmpeg: [AVHWFramesContext @ 0x7fd67823a5c0] Created surface 0xd. 00:00:00 - FFmpeg: [AVHWFramesContext @ 0x7fd67823a5c0] Created surface 0xe. 00:00:00 - FFmpeg: [AVHWFramesContext @ 0x7fd67823a5c0] Created surface 0xf. 00:00:00 - FFmpeg: [AVHWFramesContext @ 0x7fd67823a5c0] Created surface 0x10. 00:00:00 - FFmpeg: [AVHWFramesContext @ 0x7fd67823a5c0] Created surface 0x11. 00:00:00 - FFmpeg: [AVHWFramesContext @ 0x7fd67823a5c0] Created surface 0x12. 00:00:00 - FFmpeg: [AVHWFramesContext @ 0x7fd67823a5c0] Created surface 0x13. 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] Decode context initialised: 0x16/0x10000000. 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] Output frame with POC 3. 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] Param buffer (type 0, 604 bytes) is 0. 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] Slice 0 param buffer (264 bytes) is 0x1. 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] Slice 0 data buffer (77 bytes) is 0x2. 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] Slice 1 param buffer (264 bytes) is 0x3. 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] Slice 1 data buffer (87 bytes) is 0x4. 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] Slice 2 param buffer (264 bytes) is 0x5. 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] Slice 2 data buffer (96 bytes) is 0x6. 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] Slice 3 param buffer (264 bytes) is 0x7. 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] Slice 3 data buffer (77 bytes) is 0x8. 00:00:00 - FFmpeg: [hevc @ 0x7fd678242380] Decode to surface 0x13. 00:00:00 - SDL Info (0): FFmpeg-based video decoder chosen 00:00:00 - Qt Info: Found "gamecontrollerdb.txt" at "/home/$USER/.var/app/com.moonlight_stream.Moonlight/cache/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt" 00:00:00 - SDL Info (0): Loaded 213 new gamepad mappings 00:00:00 - Qt Debug: Current Moonlight version: "4.2.0" 00:00:00 - Qt Warning: mDNS is disabled by user preference 00:00:00 - Qt Info: "PC" is now online at "192.168.X.Y:47989" 00:00:00 - Qt Info: Gamepad mappings are up to date 00:00:00 - Qt Info: Latest supported GFE server: "99.99.99.99" 00:00:04 - Qt Info: Found "ModeSeven.ttf" at ":/data/ModeSeven.ttf" 00:00:04 - Qt Info: Server GPU: "" 00:00:04 - Qt Info: Server GFE version: "3.23.0.74" 00:00:04 - SDL Info (0): Video bitrate: 40000 kbps 00:00:04 - SDL Info (0): Desired audio buffer: 480 samples (1920 bytes) 00:00:04 - SDL Info (0): Obtained audio buffer: 480 samples (1920 bytes) 00:00:04 - SDL Info (0): Audio channel count: 2 00:00:04 - SDL Info (0): Audio channel mask: 3 00:00:04 - SDL Info (0): V-sync disabled 00:00:05 - SDL Info (0): Using SDL renderer 00:00:05 - FFmpeg: [hevc @ 0x7fd664332680] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0 00:00:05 - FFmpeg: [hevc @ 0x7fd664332680] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0 00:00:05 - FFmpeg: [hevc @ 0x7fd664332680] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0 00:00:05 - FFmpeg: [hevc @ 0x7fd664332680] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0 00:00:05 - FFmpeg: [hevc @ 0x7fd664332680] Decoding VPS 00:00:05 - FFmpeg: [hevc @ 0x7fd664332680] Main profile bitstream 00:00:05 - FFmpeg: [hevc @ 0x7fd664332680] Decoding SPS 00:00:05 - FFmpeg: [hevc @ 0x7fd664332680] Main profile bitstream 00:00:05 - FFmpeg: [hevc @ 0x7fd664332680] Decoding VUI 00:00:05 - FFmpeg: [hevc @ 0x7fd664332680] Decoding PPS 00:00:05 - FFmpeg: [hevc @ 0x7fd664332680] Format yuv420p chosen by get_format(). 00:00:05 - FFmpeg: [hevc @ 0x7fd664332680] Output frame with POC 3. 00:00:05 - FFmpeg: [hevc @ 0x7fd664332680] Decoded frame with POC 3. 00:00:05 - SDL Info (0): FFmpeg-based video decoder chosen 00:00:08 - SDL Info (0): Desired audio buffer: 480 samples (1920 bytes) 00:00:08 - SDL Info (0): Obtained audio buffer: 480 samples (1920 bytes) 00:00:08 - Qt Info: Found "gamecontrollerdb.txt" at "/home/$USER/.var/app/com.moonlight_stream.Moonlight/cache/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt" 00:00:08 - SDL Info (0): Loaded 213 new gamepad mappings 00:00:08 - SDL Info (0): V-sync disabled 00:00:08 - SDL Info (0): Using SDL renderer 00:00:08 - FFmpeg: [h264 @ 0x7fd6642f1e00] nal_unit_type: 7(SPS), nal_ref_idc: 3 00:00:08 - FFmpeg: [h264 @ 0x7fd6642f1e00] nal_unit_type: 8(PPS), nal_ref_idc: 3 00:00:08 - FFmpeg: [h264 @ 0x7fd6642f1e00] nal_unit_type: 5(IDR), nal_ref_idc: 3 00:00:08 - FFmpeg: [h264 @ 0x7fd6642f1e00] nal_unit_type: 5(IDR), nal_ref_idc: 3 00:00:08 - FFmpeg: [h264 @ 0x7fd6642f1e00] nal_unit_type: 5(IDR), nal_ref_idc: 3 00:00:08 - FFmpeg: [h264 @ 0x7fd6642f1e00] nal_unit_type: 5(IDR), nal_ref_idc: 3 00:00:08 - FFmpeg: [h264 @ 0x7fd6642f1e00] Format yuv420p chosen by get_format(). 00:00:08 - FFmpeg: [h264 @ 0x7fd6642f1e00] Reinit context to 1280x720, pix_fmt: yuv420p 00:00:08 - SDL Info (0): FFmpeg-based video decoder chosen 00:00:08 - SDL Info (0): Encoder configured for 4 slices per frame 00:00:08 - Qt Info: Found "gamecontrollerdb.txt" at "/home/$USER/.var/app/com.moonlight_stream.Moonlight/cache/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt" 00:00:08 - SDL Info (0): Loaded 213 new gamepad mappings 00:00:10 - SDL Info (0): Found host supported resolution: 1920x1080 00:00:10 - Qt Info: Executing request: "https://192.168.X.Y:47984/resume?uniqueid=$UNIQ_ID&rikey=$SOMEKEU&rikeyid=-$SOME_KEY_ID&surroundAudioInfo=$AUDIO_INFO" 00:00:10 - Qt Info: Resume response: "\nrtsp://192.168.X.Y:480101" 00:00:10 - Qt Info: Found matching interface: "eth0" "$SOME_MAC" QFlags(IsUp|IsRunning|CanBroadcast|CanMulticast) 00:00:10 - Qt Info: Interface Type: QNetworkInterface::Ethernet 00:00:10 - Qt Info: Interface MTU: 1500 00:00:10 - SDL Info (0): RTSP port: 48010 00:00:10 - SDL Info (0): Initializing platform... 00:00:10 - SDL Info (0): done 00:00:10 - SDL Info (0): Resolving host name... 00:00:10 - SDL Info (0): done 00:00:10 - SDL Info (0): Initializing audio stream... 00:00:10 - SDL Info (0): done 00:00:10 - SDL Info (0): Starting RTSP handshake... 00:00:10 - SDL Info (0): Audio port: 48000 00:00:10 - SDL Info (0): Video port: 47998 00:00:10 - SDL Info (0): Control port: 47999 00:00:10 - SDL Info (0): done 00:00:10 - SDL Info (0): Initializing control stream... 00:00:10 - SDL Info (0): done 00:00:10 - SDL Info (0): Initializing video stream... 00:00:10 - SDL Info (0): done 00:00:10 - SDL Info (0): Initializing input stream... 00:00:10 - SDL Info (0): done 00:00:10 - SDL Info (0): Starting control stream... 00:00:10 - SDL Info (0): done 00:00:10 - SDL Info (0): Starting video stream... 00:00:10 - SDL Info (0): Video stream is 1920x1080x60 (format 0x1) 00:00:10 - SDL Info (0): done 00:00:10 - SDL Info (0): Starting audio stream... 00:00:10 - SDL Info (0): Desired audio buffer: 480 samples (1920 bytes) 00:00:10 - SDL Info (0): Obtained audio buffer: 480 samples (1920 bytes) 00:00:10 - SDL Info (0): Audio stream has 2 channels 00:00:10 - SDL Info (0): done 00:00:10 - SDL Info (0): Starting input stream... 00:00:10 - SDL Info (0): done 00:00:10 - SDL Info (0): Qt UI screen is at (0,0) 00:00:10 - SDL Info (0): SDL found matching display 0 00:00:10 - SDL Info (0): Found display mode with desktop resolution: 1920x1080x60 00:00:10 - SDL Info (0): Recreating renderer for window event: 1 (0 0) 00:00:10 - SDL Info (0): V-sync disabled 00:00:10 - SDL Info (0): Frame pacing disabled: target 60 Hz with 60 FPS stream 00:00:10 - SDL Info (0): SDL renderer backend: opengl 00:00:10 - SDL Info (0): SDL renderer backend requires main thread rendering 00:00:10 - SDL Info (0): Using SDL renderer 00:00:10 - SDL Info (0): Using H.264 SPS fixup 00:00:10 - SDL Info (0): FFmpeg-based video decoder chosen 00:00:10 - SDL Info (0): Dropping window event during flush: 6 (1920 1080) 00:00:11 - SDL Info (0): Received first video packet after 700 ms 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:11 - SDL Info (0): Waiting for IDR frame 00:00:12 - SDL Info (0): Waiting for IDR frame 00:00:12 - SDL Info (0): Waiting for IDR frame 00:00:12 - SDL Info (0): Waiting for IDR frame 00:00:12 - SDL Info (0): Waiting for IDR frame 00:00:12 - SDL Info (0): Waiting for IDR frame 00:00:12 - SDL Info (0): Waiting for IDR frame 00:00:12 - SDL Info (0): Waiting for IDR frame 00:00:12 - SDL Info (0): Waiting for IDR frame 00:00:12 - SDL Info (0): Waiting for IDR frame 00:00:12 - SDL Info (0): Waiting for IDR frame 00:00:12 - SDL Info (0): Waiting for IDR frame 00:00:12 - SDL Info (0): Waiting for IDR frame 00:00:12 - SDL Info (0): Waiting for IDR frame 00:00:12 - SDL Info (0): Waiting for IDR frame 00:00:12 - SDL Info (0): Waiting for IDR frame 00:00:12 - SDL Info (0): Waiting for IDR frame 00:00:12 - SDL Info (0): Waiting for IDR frame 00:00:12 - SDL Info (0): Waiting for IDR frame 00:00:12 - SDL Info (0): Waiting for IDR frame 00:00:12 - SDL Info (0): Waiting for IDR frame 00:00:13 - SDL Info (0): Waiting for IDR frame 00:00:13 - SDL Info (0): Waiting for IDR frame 00:00:13 - SDL Info (0): Waiting for IDR frame 00:00:13 - SDL Info (0): Waiting for IDR frame 00:00:13 - SDL Info (0): Waiting for IDR frame 00:00:13 - SDL Info (0): Waiting for IDR frame 00:00:13 - SDL Info (0): Waiting for IDR frame 00:00:13 - SDL Info (0): Waiting for IDR frame 00:00:13 - SDL Info (0): Waiting for IDR frame 00:00:13 - SDL Info (0): Waiting for IDR frame 00:00:14 - SDL Info (0): Connection status update: 1 00:00:14 - SDL Info (0): Waiting for IDR frame 00:00:14 - SDL Info (0): Waiting for IDR frame 00:00:14 - SDL Info (0): Waiting for IDR frame 00:00:14 - SDL Info (0): Waiting for IDR frame 00:00:14 - SDL Info (0): Waiting for IDR frame 00:00:14 - SDL Info (0): Waiting for IDR frame 00:00:14 - SDL Info (0): Waiting for IDR frame 00:00:14 - SDL Info (0): Waiting for IDR frame 00:00:14 - SDL Info (0): Waiting for IDR frame 00:00:15 - SDL Info (0): Waiting for IDR frame 00:00:15 - SDL Info (0): Waiting for IDR frame 00:00:15 - SDL Info (0): Waiting for IDR frame 00:00:15 - SDL Info (0): Waiting for IDR frame 00:00:16 - SDL Info (0): Waiting for IDR frame 00:00:17 - SDL Info (0): Waiting for IDR frame 00:00:17 - SDL Info (0): Waiting for IDR frame 00:00:17 - SDL Info (0): Waiting for IDR frame 00:00:17 - SDL Info (0): Waiting for IDR frame 00:00:17 - SDL Info (0): Waiting for IDR frame 00:00:17 - SDL Info (0): Waiting for IDR frame 00:00:17 - SDL Info (0): Waiting for IDR frame 00:00:18 - SDL Info (0): Waiting for IDR frame 00:00:18 - SDL Info (0): Waiting for IDR frame 00:00:18 - SDL Info (0): Waiting for IDR frame 00:00:18 - SDL Info (0): Waiting for IDR frame 00:00:18 - SDL Info (0): Waiting for IDR frame 00:00:18 - SDL Info (0): Waiting for IDR frame 00:00:18 - SDL Info (0): Waiting for IDR frame 00:00:19 - SDL Info (0): Waiting for IDR frame 00:00:19 - SDL Info (0): Waiting for IDR frame 00:00:19 - SDL Info (0): Waiting for IDR frame 00:00:19 - SDL Info (0): Waiting for IDR frame 00:00:19 - SDL Info (0): Waiting for IDR frame 00:00:19 - SDL Info (0): Waiting for IDR frame 00:00:19 - SDL Info (0): Waiting for IDR frame 00:00:19 - SDL Info (0): Waiting for IDR frame 00:00:19 - SDL Info (0): Waiting for IDR frame 00:00:19 - SDL Info (0): Waiting for IDR frame 00:00:19 - SDL Info (0): Waiting for IDR frame 00:00:19 - SDL Info (0): Waiting for IDR frame 00:00:19 - SDL Info (0): Waiting for IDR frame 00:00:19 - SDL Info (0): Waiting for IDR frame 00:00:19 - SDL Info (0): Waiting for IDR frame 00:00:19 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Reached consecutive drop limit 00:00:20 - SDL Info (0): IDR frame request sent 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:20 - SDL Info (0): Waiting for IDR frame 00:00:21 - SDL Info (0): Terminating connection due to lack of a successful video frame 00:00:21 - SDL Error (0): Connection terminated: -101 00:00:21 - SDL Info (0): Quit event received 00:00:21 - SDL Info (0): Stopping input stream... 00:00:21 - SDL Info (0): done 00:00:21 - SDL Info (0): Stopping audio stream... 00:00:21 - SDL Info (0): No audio traffic was ever received from the host! 00:00:21 - SDL Info (0): ENet wait interrupted 00:00:21 - SDL Info (0): Control stream connection failed: -1 00:00:21 - Qt Info: Found "gamecontrollerdb.txt" at "/home/$USER/.var/app/com.moonlight_stream.Moonlight/cache/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt" 00:00:21 - SDL Info (0): Loaded 213 new gamepad mappings 00:00:21 - SDL Info (0): done 00:00:21 - SDL Info (0): Stopping video stream... 00:00:21 - SDL Info (0): done 00:00:21 - SDL Info (0): Stopping control stream... 00:00:21 - SDL Info (0): ENet peer acknowledged disconnection 00:00:21 - SDL Info (0): done 00:00:21 - SDL Info (0): Cleaning up input stream... 00:00:21 - SDL Info (0): done 00:00:21 - SDL Info (0): Cleaning up video stream... 00:00:21 - SDL Info (0): done 00:00:21 - SDL Info (0): Cleaning up control stream... 00:00:21 - SDL Info (0): done 00:00:21 - SDL Info (0): Cleaning up audio stream... 00:00:21 - Qt Warning: mDNS is disabled by user preference 00:00:21 - SDL Info (0): done 00:00:21 - SDL Info (0): Cleaning up platform... 00:00:21 - SDL Info (0): done ```

Additional context Can be fixed with downgrading Flatpak Moonlight to previous version: sudo flatpak update --commit=899991055a58ca88313ab16a4bddbd9c5abefb1d6c303f5fbccca52031a773dc com.moonlight_stream.Moonlight After this Moonlight works fine. However i would like to use the latest version.

wangwang-code commented 2 years ago

After Moonlight is updated to V4.20 on Windows, there is no video output when using NVENC encoding and it will be closed after 20-30 seconds, but the mouse and keyboard can work normally and the video card occupancy is increased. However, when using software coding, moving the mouse may display pictures. But without moving the mouse there is no screen and it closes after 20-30 seconds

(Google Translate)

dpilone commented 2 years ago

Same issue with macOS version (Moonlight 4.2) also using sunshine streaming on the sever side. Blank window on the client side, “Poor network…” overlay pops up and ultimately the connection is closed after 20-30s. Mouse appears to work during this time for me as well. Downgrading to 4.1 on the client side fixes the issue and everything works as expected.

klemens-st commented 2 years ago

Same issue here, Moonlight 4.2 on Windows client.

kilr00y commented 2 years ago

same. Linux Client (gentoo), Sunshine-Streaming Server (ubuntu) (AppImage Version)

cgutman commented 2 years ago

Thanks for the reports. There was a bug handling IDR frames with SEI or AUD data. GeForce Experience never produces frames like this, so I didn't see it in my testing.

I will work on getting a hotfix released ASAP.

wangwang-code commented 2 years ago

Thanks for the reports. There was a bug handling IDR frames with SEI or AUD data. GeForce Experience never produces frames like this, so I didn't see it in my testing.

I will work on getting a hotfix released ASAP.

https://ci.appveyor.com/project/cgutman/moonlight-qt/builds/44746105/job/6nhmwqnjkr5iduhh/artifacts

MoonlightPortable-x64-r1894.zip test OK

cgutman commented 2 years ago

MoonlightPortable-x64-r1894.zip test OK

Thanks for verifying!

The fix is released in v4.2.1.

klemens-st commented 2 years ago

The issue is partially fixed in my case. Moonlight 4.2.1 on Windows connecting to Sunshine on Windows 11 (Hyper-V Guest on host running Windows 11).

When I connect a white screen appears for 10 seconds and then the session ends with "No video received from host". However, if I move the mouse while seeing the white screen, everything starts working correctly. Slightly annoying but I can work with that.

Moonlight-1662969307.log

wangwang-code commented 2 years ago

Sunshine: software coding Moonlight 4.2.0 Decoder: Software Phenomenal white screen Decoder: Hardware Phenomenon black screen Move the mouse and everything works

Sunshine: NVENC encoder Moonlight 4.2.0 Decoder: Software Phenomenal white screen Decoder: Hardware Phenomenon black screen Move the mouse, still no screen, end the session after 10 seconds

Sunshine: NVENC encoder Moonlight 4.2.1 everything is ok

Sunshine: software coding Moonlight 4.2.1 I did not test

klemens-st commented 2 years ago

Sunshine: NVENC encoder Moonlight 4.2.1 Decoder: Hardware White screen Move the mouse and everything works

cgutman commented 2 years ago

The issue is partially fixed in my case. Moonlight 4.2.1 on Windows connecting to Sunshine on Windows 11 (Hyper-V Guest on host running Windows 11).

When I connect a white screen appears for 10 seconds and then the session ends with "No video received from host". However, if I move the mouse while seeing the white screen, everything starts working correctly. Slightly annoying but I can work with that.

This one is definitely a Sunshine bug. The Moonlight logs show that it hasn't sent any video data.

00:08:12 - SDL Info (0): Terminating connection due to lack of video traffic ... 00:08:13 - SDL Info (0): No video traffic was ever received from the host!