Closed GeorgeWang12356 closed 10 months ago
Moonlight Embedded is designed to run outside of a desktop environment. In particular, many backends (including Rockchip) require Moonlight to be the DRM master, which doesn't work because Weston is already DRM master.
For running in desktop environments or modern SBCs that support standard V4L2 decoding and OpenGLES rendering APIs, you should use the full-featured Moonlight Qt client instead.
Moonlight Embedded is designed to run outside of a desktop environment. In particular, many backends (including Rockchip) require Moonlight to be the DRM master, which doesn't work because Weston is already DRM master.
For running in desktop environments or modern SBCs that support standard V4L2 decoding and OpenGLES rendering APIs, you should use the full-featured Moonlight Qt client instead.
thanks,If it's a desktop environment issue, can I use moonlight-embedded version without starting Weston? but it seems like I still can't successfully stream.
Please provide the following info.
NVidia Geforce Experience version: 3.27.0.112 Moonlight Embedded version: Moonlight Embedded 2.6.0 Moonlight Embedded source: github Moonlight Embedded running on: rk3566 2GB Moonlight Embedded running on distribution: buildroot weston wayland Verbose output
-verbose
of Moonlight Embedded:root@RK356X:~# moonlight pair 10.0.9.93 Connecting to 10.0.9.93... Please enter the following PIN on the target PC: 1269 Succesfully paired root@RK356X:~# moonlight stream 10.0.9.93 -debug -viewonly -app mstsc Moonlight Embedded 2.6.0 (CEC;ROCKCHIP;SDL;ALSA;PULSE;EMBEDDED) Connecting to 10.0.9.93... Request http://10.0.9.93:47989/serverinfo?uniqueid=0123456789ABCDEF&uuid=fa0a8662-51d3-4053-ad37-721939be8ba1 Response: <?xml version="1.0" encoding="UTF-16"?>1 0 3.27.0.112 gs_04_50_32193813 47984 10.0.9.93 10.0.9.93 192.168.168.1 192.168.157.1 2 737235008 589622848 0 0 3895 3843 2 2160 60 3840 2160 30 3840 1080 60 1920 1080 30 1920 720 60 1280 720 30 1280 C354E6EA0DCBEDF8D9FEE79841527EC7985CE1E3E5C7AE77D6F14CE3530DD031 7.1.450.0 0 7a5e1cf13853d71b8f0c5646ba35ddf3 NVIDIA GeForce GTX 1050 Ti DESKTOP-FQRGDLT D8:BB:C1:10:65:1A 0 0 MJOLNIR_STATE_SERVER_AVAILABLE a84dedfd-f4f9-4092-925c-24f38a95b6fc
Request https://10.0.9.93:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=0a8d2250-5002-49d1-a2d5-61a98cd9f416 Response: <?xml version="1.0" encoding="UTF-16"?>1 0 3.27.0.112 gs_04_50_32193813 47984 10.0.9.93 10.0.9.93 192.168.168.1 192.168.157.1 2 737235008 589622848 0 1 3895 3843 2 2160 60 3840 2160 30 3840 1080 60 1920 1080 30 1920 720 60 1280 720 30 1280 C354E6EA0DCBEDF8D9FEE79841527EC7985CE1E3E5C7AE77D6F14CE3530DD031 7.1.450.0 0 7a5e1cf13853d71b8f0c5646ba35ddf3 NVIDIA GeForce GTX 1050 Ti DESKTOP-FQRGDLT D8:BB:C1:10:65:1A 0 0 MJOLNIR_STATE_SERVER_AVAILABLE a84dedfd-f4f9-4092-925c-24f38a95b6fc
GPU: NVIDIA GeForce GTX 1050 Ti, GFE: 3.27.0.112 (gs_04_50_32193813, 7.1.450.0) Server codec flags: 0xf03 Platform Rockchip VPU View-only mode enabled, no input will be sent to the host computer Request https://10.0.9.93:47984/applist?uniqueid=0123456789ABCDEF&uuid=67c5b1d2-ed45-40d8-944e-8f3e3abff279 Response: <?xml version="1.0" encoding="UTF-16"?>C:\Windows\System32\ mstsc 5542304 1 0 1 mstsc 0 0
Request https://10.0.9.93:47984/launch?uniqueid=0123456789ABCDEF&uuid=df99d9b2-8b82-4c67-b979-550028767090&appid=5542304&mode=1280x720x60&additionalStates=1&sops=1&rikey=ad7699957bff9281891b80ef0f8edefa&rikeyid=576974888&localAudioPlayMode=0&surroundAudioInfo=196610&remoteControllersBitmap=0&gcmap=0 Response: <?xml version="1.0" encoding="UTF-16"?>720 1280 1 0 60 ok 24d1eb4e12c051dd6702d7a6af0f7d13 ok rtsp://10.0.9.93:48010 0
Stream 1280 x 720, 60 fps, 10000 kbps RTSP port: 48010 Initializing platform...done Resolving host name...done Initializing audio stream...done Starting RTSP handshake...Audio port: 48000 Video port: 47998 Control port: 47999 done Initializing control stream...done Initializing video stream...done Initializing input stream...done Starting control stream...done Starting video stream...done Starting audio stream...done Starting input stream...Received first audio packet after 0 ms Initial audio resync period: 500 milliseconds done Received first video packet after 0 ms Property 'COLOR_SPACE' not found Property 'allm_enable' not found Property 'Colorspace' not found
What is the expected result? Stream should begin
What happens instead of that? I didn't see any useful related exceptions, the process has been blocking here without successful streaming