moonlight-qt
moonlight-qt copied to clipboard
macOS - can no longer use secondary monitor for stream
Describe the bug
It used to be the case (tested in v4.0.0) that when I start the stream it will go fullscreen on the desktop where the moonlight-app was. But since v4.1.0 it seems to always use the builtin-screen of the macbook and I am not able to get it to stream to the external screen.
Steps to reproduce
On a macbook with connected external monitor, move the moonlight app-window to the external screen and start a stream.
- in v4.0.0 the stream will start on the external screen
- in v4.1.0 the stream will start on the built-in screen
Affected games
all
Other Moonlight clients
n/a
Moonlight settings
- Have any settings been adjusted from defaults? no
- Does the problem still occur after reverting settings back to default? yes
Client PC details (please complete the following information)
- OS: macOS Catalina / 10.15.7
- Moonlight Version: v4.1.0
- GPU: Radeon Pro 5500M
Server PC details (please complete the following information)
- OS: Windows 10
- GeForce Experience version: 3.25.0.84
- Nvidia GPU driver: 512.15
- Antivirus and firewall software: Windows Defender and Windows Firewall
Moonlight Logs (please attach)
00:00:00 - SDL Info (0): Compiled with SDL 2.23.0
00:00:00 - SDL Info (0): Running with SDL 2.23.0
00:00:00 - Qt Warning: QSslSocket: cannot resolve OPENSSL_init_ssl
00:00:00 - Qt Warning: QSslSocket: cannot resolve EVP_PKEY_param_check
00:00:00 - Qt Warning: QSslSocket: cannot resolve OPENSSL_sk_new_null
00:00:00 - Qt Warning: QSslSocket: cannot resolve OPENSSL_sk_push
00:00:00 - Qt Warning: QSslSocket: cannot resolve OPENSSL_sk_free
00:00:00 - Qt Warning: QSslSocket: cannot resolve OPENSSL_sk_num
00:00:00 - Qt Warning: QSslSocket: cannot resolve OPENSSL_sk_pop_free
00:00:00 - Qt Warning: QSslSocket: cannot resolve OPENSSL_sk_value
00:00:00 - Qt Warning: QSslSocket: cannot resolve SSL_CTX_set_options
00:00:00 - Qt Warning: QSslSocket: cannot resolve SSL_CTX_get_security_level
00:00:00 - Qt Warning: QSslSocket: cannot resolve SSL_CTX_set_security_level
00:00:00 - Qt Warning: QSslSocket: cannot resolve SSL_CTX_set_ciphersuites
00:00:00 - Qt Warning: QSslSocket: cannot resolve SSL_set_psk_use_session_callback
00:00:00 - Qt Warning: QSslSocket: cannot resolve SSL_SESSION_is_resumable
00:00:00 - Qt Warning: QSslSocket: cannot resolve SSL_get_client_random
00:00:00 - Qt Warning: QSslSocket: cannot resolve SSL_SESSION_get_master_key
00:00:00 - Qt Warning: QSslSocket: cannot resolve SSL_session_reused
00:00:00 - Qt Warning: QSslSocket: cannot resolve SSL_set_options
00:00:00 - Qt Warning: QSslSocket: cannot resolve SSL_SESSION_get_ticket_lifetime_hint
00:00:00 - Qt Warning: QSslSocket: cannot resolve DTLSv1_listen
00:00:00 - Qt Warning: QSslSocket: cannot resolve BIO_ADDR_new
00:00:00 - Qt Warning: QSslSocket: cannot resolve BIO_ADDR_free
00:00:00 - Qt Warning: QSslSocket: cannot resolve OCSP_resp_get0_certs
00:00:00 - Qt Warning: QSslSocket: cannot resolve ASN1_TIME_to_tm
00:00:00 - Qt Warning: QSslSocket: cannot resolve BN_is_word
00:00:00 - Qt Warning: QSslSocket: cannot resolve PEM_write_bio_PrivateKey_traditional
00:00:00 - Qt Warning: QSslSocket: cannot resolve SSL_CONF_CTX_new
00:00:00 - Qt Warning: QSslSocket: cannot resolve SSL_CONF_CTX_free
00:00:00 - Qt Warning: QSslSocket: cannot resolve SSL_CONF_CTX_set_ssl_ctx
00:00:00 - Qt Warning: QSslSocket: cannot resolve SSL_CONF_CTX_set_flags
00:00:00 - Qt Warning: QSslSocket: cannot resolve SSL_CONF_CTX_finish
00:00:00 - Qt Warning: QSslSocket: cannot resolve SSL_CONF_cmd
00:00:00 - Qt Warning: QSslSocket: cannot resolve DSA_bits
00:00:00 - Qt Warning: QSslSocket: cannot resolve SSL_in_init
00:00:00 - Qt Warning: QSslSocket: cannot resolve SSL_set_psk_client_callback
00:00:00 - Qt Warning: QSslSocket: cannot resolve SSL_set_psk_server_callback
00:00:00 - Qt Warning: QSslSocket: cannot resolve SSL_CTX_use_psk_identity_hint
00:00:00 - Qt Warning: QSslSocket: cannot resolve DTLS_server_method
00:00:00 - Qt Warning: QSslSocket: cannot resolve DTLS_client_method
00:00:00 - Qt Warning: QSslSocket: cannot call unresolved function OPENSSL_init_ssl
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 "/Users/USERNAME/Library/Caches/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt"
00:00:00 - SDL Info (0): Loaded 72 new gamepad mappings
00:00:00 - SDL Info (0): V-sync disabled
00:00:00 - SDL Info (0): Using VideoToolbox accelerated renderer
00:00:00 - FFmpeg: [hevc @ 0x7fcdd8048980] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
00:00:00 - FFmpeg: [hevc @ 0x7fcdd8048980] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
00:00:00 - FFmpeg: [hevc @ 0x7fcdd8048980] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
00:00:00 - FFmpeg: [hevc @ 0x7fcdd8048980] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:00:00 - FFmpeg: [hevc @ 0x7fcdd8048980] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:00:00 - FFmpeg: [hevc @ 0x7fcdd8048980] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:00:00 - FFmpeg: [hevc @ 0x7fcdd8048980] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:00:00 - FFmpeg: [hevc @ 0x7fcdd8048980] Decoding VPS
00:00:00 - FFmpeg: [hevc @ 0x7fcdd8048980] Main 10 profile bitstream
00:00:00 - FFmpeg: [hevc @ 0x7fcdd8048980] Decoding SPS
00:00:00 - FFmpeg: [hevc @ 0x7fcdd8048980] Main 10 profile bitstream
00:00:00 - FFmpeg: [hevc @ 0x7fcdd8048980] Decoding VUI
00:00:00 - FFmpeg: [hevc @ 0x7fcdd8048980] Decoding PPS
00:00:00 - FFmpeg: [hevc @ 0x7fcdd8048980] Format videotoolbox_vld chosen by get_format().
00:00:00 - FFmpeg: [hevc @ 0x7fcdd8048980] Format videotoolbox_vld requires hwaccel initialisation.
00:00:01 - FFmpeg: [hevc @ 0x7fcdd8048980] Output frame with POC 3.
00:00:01 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:01 - Qt Info: Found "gamecontrollerdb.txt" at "/Users/USERNAME/Library/Caches/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt"
00:00:01 - SDL Info (0): Loaded 72 new gamepad mappings
00:00:01 - Qt Debug: Current Moonlight version: "4.1.0"
00:00:01 - Qt Info: "HOSTNAME" is now online at "192.168.1.100:47989"
00:00:08 - Qt Debug: Found update manifest match for current platform
00:00:08 - Qt Debug: Latest version of Moonlight for this platform is: "4.1.0"
00:00:08 - Qt Debug: Update manifest version equal to current version
00:00:08 - Qt Info: Latest supported GFE server: "99.99.99.99"
00:00:08 - Qt Info: Gamepad mappings are up to date
00:00:08 - Qt Info: Discovered mDNS host: "HOSTNAME.local."
00:00:08 - Qt Info: Resolved "HOSTNAME.local." to QHostAddress("192.168.1.100")
00:00:08 - Qt Info: Resolved "HOSTNAME.local." to QHostAddress("IPV6_ADDRESS")
00:00:10 - Qt Info: Processing new PC at "192.168.1.100:47989" from mDNS with IPv6 address "<NULL>"
00:00:10 - Qt Info: Executing request: "http://192.168.1.100:47989/serverinfo?uniqueid=0123456789ABCDEF&uuid=651780ea13b643c4a6021372275140f2"
00:00:10 - Qt Info: Executing request: "https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=5a348ec2bee64db4b3e22116708e95c8"
00:00:12 - Qt Info: Found "ModeSeven.ttf" at ":/data/ModeSeven.ttf"
00:00:13 - Qt Info: Server GPU: "NVIDIA GeForce GTX 1080"
00:00:13 - Qt Info: Server GFE version: "3.25.0.84"
00:00:13 - SDL Info (0): Video bitrate: 20000 kbps
00:00:13 - SDL Info (0): Desired audio buffer: 240 samples (960 bytes)
00:00:13 - SDL Info (0): Obtained audio buffer: 240 samples (960 bytes)
00:00:13 - SDL Info (0): Audio channel count: 2
00:00:13 - SDL Info (0): Audio channel mask: 3
00:00:13 - SDL Info (0): V-sync disabled
00:00:13 - SDL Info (0): Using VideoToolbox accelerated renderer
00:00:13 - FFmpeg: [hevc @ 0x7fcdd80c9f40] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
00:00:13 - FFmpeg: [hevc @ 0x7fcdd80c9f40] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
00:00:13 - FFmpeg: [hevc @ 0x7fcdd80c9f40] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
00:00:13 - FFmpeg: [hevc @ 0x7fcdd80c9f40] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:00:13 - FFmpeg: [hevc @ 0x7fcdd80c9f40] Decoding VPS
00:00:13 - FFmpeg: [hevc @ 0x7fcdd80c9f40] Main profile bitstream
00:00:13 - FFmpeg: [hevc @ 0x7fcdd80c9f40] Decoding SPS
00:00:13 - FFmpeg: [hevc @ 0x7fcdd80c9f40] Main profile bitstream
00:00:13 - FFmpeg: [hevc @ 0x7fcdd80c9f40] Decoding VUI
00:00:13 - FFmpeg: [hevc @ 0x7fcdd80c9f40] Decoding PPS
00:00:13 - FFmpeg: [hevc @ 0x7fcdd80c9f40] Format videotoolbox_vld chosen by get_format().
00:00:13 - FFmpeg: [hevc @ 0x7fcdd80c9f40] Format videotoolbox_vld requires hwaccel initialisation.
00:00:13 - FFmpeg: [hevc @ 0x7fcdd80c9f40] Output frame with POC 3.
00:00:13 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:13 - SDL Info (0): Desired audio buffer: 240 samples (960 bytes)
00:00:13 - SDL Info (0): Obtained audio buffer: 240 samples (960 bytes)
00:00:13 - Qt Info: Found "gamecontrollerdb.txt" at "/Users/USERNAME/Library/Caches/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt"
00:00:13 - SDL Info (0): Loaded 72 new gamepad mappings
00:00:13 - SDL Info (0): V-sync disabled
00:00:13 - SDL Info (0): Using VideoToolbox accelerated renderer
00:00:13 - FFmpeg: [hevc @ 0x7fcd4d55ef40] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
00:00:13 - FFmpeg: [hevc @ 0x7fcd4d55ef40] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
00:00:13 - FFmpeg: [hevc @ 0x7fcd4d55ef40] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
00:00:13 - FFmpeg: [hevc @ 0x7fcd4d55ef40] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:00:13 - FFmpeg: [hevc @ 0x7fcd4d55ef40] Decoding VPS
00:00:13 - FFmpeg: [hevc @ 0x7fcd4d55ef40] Main profile bitstream
00:00:13 - FFmpeg: [hevc @ 0x7fcd4d55ef40] Decoding SPS
00:00:13 - FFmpeg: [hevc @ 0x7fcd4d55ef40] Main profile bitstream
00:00:13 - FFmpeg: [hevc @ 0x7fcd4d55ef40] Decoding VUI
00:00:13 - FFmpeg: [hevc @ 0x7fcd4d55ef40] Decoding PPS
00:00:13 - FFmpeg: [hevc @ 0x7fcd4d55ef40] Format videotoolbox_vld chosen by get_format().
00:00:13 - FFmpeg: [hevc @ 0x7fcd4d55ef40] Format videotoolbox_vld requires hwaccel initialisation.
00:00:13 - FFmpeg: [hevc @ 0x7fcd4d55ef40] Output frame with POC 3.
00:00:13 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:13 - Qt Info: Found "gamecontrollerdb.txt" at "/Users/USERNAME/Library/Caches/Moonlight Game Streaming Project/Moonlight/gamecontrollerdb.txt"
00:00:13 - SDL Info (0): Loaded 72 new gamepad mappings
00:00:15 - SDL Info (0): Found host supported resolution: 1920x1080
00:00:15 - Qt Info: Executing request: "https://192.168.1.100:47984/launch?uniqueid=0123456789ABCDEF&uuid=22f4deb79e7cdbd3b0ab9e883528f19a&appid=11813184&mode=1920x1080x60&additionalStates=1&sops=1&rikey=c7198adf8379858e2e12209550b47a51&rikeyid=1095715922&localAudioPlayMode=0&surroundAudioInfo=196610&remoteControllersBitmap=0&gcmap=0"
00:00:17 - Qt Info: Launch response: "<?xml version=\"1.0\" encoding=\"UTF-16\"?><root protocol_version=\"0.1\" query=\"launch\" status_code=\"200\" status_message=\"OK\"><DisplayHeight>1080</DisplayHeight><DisplayWidth>1920</DisplayWidth><EnhancedStreamMode>1</EnhancedStreamMode><HdrMode>0</HdrMode><RefreshRate>60</RefreshRate><avkey>ok</avkey><gamesession>73d491c32639acadc326fcd0c6c44f18</gamesession><rikey>ok</rikey><sessionUrl0>rtsp://192.168.1.100:48010</sessionUrl0><wssignaling>0</wssignaling></root>"
00:00:17 - Qt Info: Found matching interface: "en0" "MAC_ADDRESS" QFlags<QNetworkInterface::InterfaceFlag>(IsUp|IsRunning|CanBroadcast|CanMulticast)
00:00:17 - Qt Info: Interface Type: QNetworkInterface::Wifi
00:00:17 - Qt Info: Interface MTU: 1500
00:00:17 - SDL Info (0): RTSP port: 48010
00:00:17 - SDL Info (0): Initializing platform...
00:00:17 - SDL Info (0): done
00:00:17 - SDL Info (0): Resolving host name...
00:00:17 - SDL Info (0): done
00:00:17 - SDL Info (0): Initializing audio stream...
00:00:17 - SDL Info (0): done
00:00:17 - SDL Info (0): Starting RTSP handshake...
00:00:17 - SDL Info (0): Audio port: 48000
00:00:17 - SDL Info (0): Video port: 47998
00:00:17 - SDL Info (0): Control port: 47999
00:00:18 - SDL Info (0): done
00:00:18 - SDL Info (0): Initializing control stream...
00:00:18 - SDL Info (0): done
00:00:18 - SDL Info (0): Initializing video stream...
00:00:18 - SDL Info (0): done
00:00:18 - SDL Info (0): Initializing input stream...
00:00:18 - SDL Info (0): done
00:00:18 - SDL Info (0): Starting control stream...
00:00:18 - SDL Info (0): done
00:00:18 - SDL Info (0): Starting video stream...
00:00:18 - SDL Info (0): Video stream is 1920x1080x60 (format 0x100)
00:00:18 - SDL Info (0): done
00:00:18 - SDL Info (0): Starting audio stream...
00:00:18 - SDL Info (0): Received first video packet after 0 ms
00:00:18 - SDL Info (0): Desired audio buffer: 240 samples (960 bytes)
00:00:18 - SDL Info (0): Obtained audio buffer: 240 samples (960 bytes)
00:00:18 - SDL Info (0): Audio stream has 2 channels
00:00:18 - SDL Info (0): done
00:00:18 - SDL Info (0): Starting input stream...
00:00:18 - SDL Info (0): Received first audio packet after 0 ms
00:00:18 - SDL Info (0): Initial audio resync period: 730 milliseconds
00:00:18 - SDL Info (0): done
00:00:18 - SDL Info (0): Qt UI screen is at (0,0)
00:00:18 - SDL Info (0): SDL found matching display 0
00:00:18 - SDL Info (0): Found display mode with desktop resolution: 2048x1280x60
00:00:18 - SDL Info (0): Video decode unit queue overflow
00:00:18 - SDL Info (0): IDR frame request sent
00:00:18 - SDL Info (0): Video decode unit queue overflow
00:00:18 - SDL Info (0): IDR frame request sent
00:00:19 - SDL Info (0): Video decode unit queue overflow
00:00:19 - SDL Info (0): IDR frame request sent
00:00:19 - SDL Info (0): Waiting for IDR frame
00:00:19 - SDL Info (0): Recreating renderer for window event: 1 (0 0)
00:00:19 - SDL Info (0): V-sync enabled
00:00:19 - SDL Info (0): NSWindow on display: 4281106
00:00:19 - SDL Info (0): Using VideoToolbox accelerated renderer
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd665d40] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd665d40] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd665d40] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd665d40] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd665d40] Decoding VPS
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd665d40] Main profile bitstream
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd665d40] Decoding SPS
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd665d40] Main profile bitstream
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd665d40] Decoding VUI
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd665d40] Decoding PPS
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd665d40] Format videotoolbox_vld chosen by get_format().
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd665d40] Format videotoolbox_vld requires hwaccel initialisation.
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd665d40] Output frame with POC 3.
00:00:19 - SDL Info (0): NSWindow on display: 4281106
00:00:19 - SDL Info (0): Frame pacing active: target 60 Hz with 60 FPS stream
00:00:19 - SDL Info (0): Using VideoToolbox accelerated renderer
00:00:19 - SDL Info (0): FFmpeg-based video decoder chosen
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd4f43c0] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd4f43c0] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd4f43c0] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd4f43c0] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd4f43c0] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd4f43c0] Decoding VPS
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd4f43c0] Main profile bitstream
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd4f43c0] Decoding SPS
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd4f43c0] Main profile bitstream
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd4f43c0] Decoding VUI
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd4f43c0] Decoding PPS
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd4f43c0] Format videotoolbox_vld chosen by get_format().
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd4f43c0] Format videotoolbox_vld requires hwaccel initialisation.
00:00:19 - SDL Info (0): Dropping window event during flush: 6 (2048 1280)
00:00:19 - FFmpeg: [hevc @ 0x7fcdcd4f43c0] Output frame with POC 0.
00:00:19 - SDL Info (0): Requesting IDR frame on behalf of DR
00:00:19 - SDL Info (0): IDR frame request sent
00:00:21 - Qt Info: Discord integration ready for user: DISCORD_USERNAME
For reference, here's the last part of the log from a working session in moonlight v4.0.0
00:33:11 - SDL Info (0): Starting video stream...
00:33:11 - SDL Info (0): Video stream is 1920x1080x60 (format 0x100)
00:33:11 - SDL Info (0): done
00:33:11 - SDL Info (0): Starting audio stream...
00:33:11 - SDL Info (0): Received first video packet after 0 ms
00:33:11 - SDL Info (0): Desired audio buffer: 240 samples (960 bytes)
00:33:11 - SDL Info (0): Obtained audio buffer: 240 samples (960 bytes)
00:33:11 - SDL Info (0): Audio stream has 2 channels
00:33:11 - SDL Info (0): done
00:33:11 - SDL Info (0): Starting input stream...
00:33:11 - SDL Info (0): Received first audio packet after 0 ms
00:33:11 - SDL Info (0): done
00:33:11 - SDL Info (0): Initial audio resync period: 765 milliseconds
00:33:11 - SDL Info (0): Qt UI screen is at (2048,-112)
00:33:11 - SDL Info (0): SDL found matching display 1
00:33:11 - SDL Info (0): Video decode unit queue overflow
00:33:11 - SDL Info (0): IDR frame request sent
00:33:11 - SDL Info (0): Video decode unit queue overflow
00:33:11 - SDL Info (0): IDR frame request sent
00:33:11 - SDL Info (0): Recreating renderer for window event: 1 (0 0)
00:33:11 - SDL Info (0): V-sync enabled
00:33:11 - SDL Info (0): NSWindow on display: b43d477
00:33:11 - SDL Info (0): Using VideoToolbox accelerated renderer
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca50f580] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca50f580] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca50f580] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca50f580] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca50f580] Decoding VPS
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca50f580] Main profile bitstream
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca50f580] Decoding SPS
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca50f580] Main profile bitstream
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca50f580] Decoding VUI
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca50f580] Decoding PPS
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca50f580] Format videotoolbox_vld chosen by get_format().
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca50f580] Format videotoolbox_vld requires hwaccel initialisation.
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca50f580] Output frame with POC 3.
00:33:11 - SDL Info (0): NSWindow on display: b43d477
00:33:11 - SDL Info (0): Frame pacing active: target 60 Hz with 60 FPS stream
00:33:11 - SDL Info (0): Using VideoToolbox accelerated renderer
00:33:11 - SDL Info (0): FFmpeg-based video decoder chosen
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca510380] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca510380] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca510380] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca510380] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca510380] nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca510380] Decoding VPS
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca510380] Main profile bitstream
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca510380] Decoding SPS
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca510380] Main profile bitstream
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca510380] Decoding VUI
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca510380] Decoding PPS
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca510380] Format videotoolbox_vld chosen by get_format().
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca510380] Format videotoolbox_vld requires hwaccel initialisation.
00:33:11 - SDL Info (0): Dropping window event during flush: 6 (2560 1440)
00:33:11 - FFmpeg: [hevc @ 0x7fe9ca510380] Output frame with POC 0.
00:33:11 - SDL Info (0): Requesting IDR frame on behalf of DR
00:33:11 - SDL Info (0): IDR frame request sent
This is probably an upstream SDL bug. Please try this build and see if the issue still occurs.
https://ci.appveyor.com/project/cgutman/moonlight-qt/builds/44345676/job/ndttnrh9jxms71kc/artifacts
@cgutman thanks for looking into this! Sadly, the new build still has the same problems as the 4.1 version.
Thanks, I was able to track down the SDL regression and posted a fix https://github.com/libsdl-org/SDL/pull/6045
@cgutman Many thanks to your fix! Is there a build with this fix on appveyor (I'm new to it)? Or do I have to wait for next Moonlight official release?
@Pierre-G not sure if that helps, but I just continued using the official 4.0.0 release without problem (not sure if there are 4.1 features that you need).
@usefulthink Thanks for this advice, I downgraded to v4.0 and it’s OK. But I still would be interested in trying a more recent build, if there’s one with @cgutman fix.
SDL 2.24.0 is in the final stages of testing before release. Once that releases, I'll pull it in and probably release a new version soon after.
Here is a development build with the fixed version of SDL: https://ci.appveyor.com/project/cgutman/moonlight-qt/builds/44534660/job/j10xpftoaxrl9vkb/artifacts
@cgutman can confirm that the version you provided fixes the issue, should we close this then? Or wait until the fix is in an official release?
Same issue here.
@cgutman , could you please rebuild the version with a fix? It got vacuumed.
Thanks!
@IvanVas for me this appears to be solved in the 4.3.1 release. Do you still see the problem in that Version?
@cgutman For me, moonlight uses the resolution of the internal monitor, but it shows the streaming result on my external monitor. I'm using the M1 Macbook Pro 13', whose resolution is 2560x1600, and a 2K external monitor.