Open Bonicgamer opened 3 years ago
OBS barely supports the thing.. I think there are probably other priorities for the moment.
Same problem.
On Linux, it depends on X11 for duplicating the desktop. It is something I will fix in the future, but anyone is welcome to try to fix it as well. :)
On Linux, it depends on X11 for duplicating the desktop. It is something I will fix in the future, but anyone is welcome to try to fix it as well. :)
Still thanks for your work. I tried this tool now on x11 with zerotier, and it worked perfectly fine! Yuzu + Ubuntu
I suggest renaming this issue to "Implement Wayland support"
I suggest looking into https://github.com/flatpak/xdg-desktop-portal
Currently firefox uses this technique to select windows and screens on wayland.
OBS barely supports the thing.. I think there are probably other priorities for the moment.
OBS added support for it already!
@loki-47-6F-64 could you implement a window only mode? This shouldn't be very hard, and useful for windows too. And Wayland should work there in xWayland mode.
(So that you select a specific window instead of sharing the whole desktop) This would also be more secure
Is this issue fixed with this Pr https://github.com/loki-47-6F-64/sunshine/commit/ebf9dbe9318808a5e127d3b6e397b9fa5149f197 ?
Is this issue fixed with this Pr ebf9dbe ?
I believe so! After reinstalling Sunshine, setting it up again, and doing the additional setup for kms I'm able to see my desktop with Moonlight on my Raspberry Pi 4! Besides my RPi4 being at the furthest point away from my wifi router and the cursor not showing properly, everything seems to work as far as I can tell.
@Bonicgamer
Hmm that’s strange. How did you do that? I just got a black screen on the other end
@Bonicgamer
Hmm that’s strange. How did you do that? I just got a black screen on the other end
Just tried it - same here
@Bonicgamer
Hmm that’s strange. How did you do that? I just got a black screen on the other end
For me it worked after I did the additional kms setup in the readme:
sudo setcap cap_sys_admin+ep path/to/sunshine/binary
I don't think I did anything else besides removing the "XAUTHORITY" line from the sample apps.json from the readme.
@Bonicgamer whats your setup? gnome, sway etc.?
@Bonicgamer whats your setup? gnome, sway etc.?
I use river and installed sunshine (specifically "sunshine-git") from the aur.
@Bonicgamer hmm sunshine-git from aur is actually an older version (0.9.0.541.5ff5942) I went with sunshine regular aur and edited the pkg file to pull 0.10.1
Did you make any changes or are you saying it works with 0.9.0 on river for you? Are you running river with -Dxwayland compiled - i guess so as that's what river-git in aur does?
You can check it pretty easy. Just run xeyes and check if the eyes are following your pointer when your not inside the window.
...I went with sunshine regular aur and edited the pkg file to pull 0.10.1
I just went and did that, changing the version to 0.10.1, and it works for me. I only get a black screen if I don't do sudo setcap cap_sys_admin+ep /usr/bin/sunshine
.
...hmm sunshine-git from aur is actually an older version (0.9.0.541.5ff5942)... Did you make any changes or are you saying it works with 0.9.0 on river for you?
I don't know much about pkgbuilds but if I'm reading it right, even though pkgver is off, it looks like on line 18 one of the sources is "$pkgname::git+https://github.com/loki-47-6F-64/sunshine.git"
which I think means it pulls the latest commit.
Are you running river with -Dxwayland compiled - i guess so as that's what river-git in aur does?
I built river manually with the -Dxwayland flag.
I also went and tested sunshine on sway and it works for me as well.
@Bonicgamer thank you for the additional insight. I believe you are right regarding the version.
I definitely have setcap executed correctly as confirmed by getcap /usr/bin/sunshine
Do you mind posting your sunshine log output maybe I can spot something that explains why it's not working on my end.
Two more questions: Are you launching sunshine via systemd or in a terminal? What gpu(s) are you running and if more than one which one do you use for running sway/river?
That you have it running successfully with sway gives me hope :-)
Do you mind posting your sunshine log output maybe I can spot something that explains why it's not working on my end.
Here's my log output of me (1) starting Sunshine, (2) loading up Moonlight on my other device which was already connected/paired, (3) clicking on "Desktop" from Moonlight, and (4) closing Moonlight and then Sunshine. I x'd out "external ip" and left the rest as is (I hope that there's nothing else I needed to x out).
[ping_timeout] -- [10000] [amd_rc] -- [auto] [fec_percentage] -- [20] [qp] -- [28] [key_repeat_delay] -- [500] [origin_pin_allowed] -- [pc] [fps] -- [[10, 30, 60]] [sw_tune] -- [zerolatency] [file_state] -- [sunshine_state.json] [port] -- [47989] [back_button_timeout] -- [2000] [credentials_file] -- [sunshine_state.json] [min_log_level] -- [1] [output_name] -- [0] [sunshine_name] -- [Sunshiner] [channels] -- [1] [key_repeat_frequency] -- [24.9] [pkey] -- [/home/bonic/.config/sunshine/pkey.pem] [encoder] -- [software] [amd_coder] -- [auto] [file_apps] -- [/home/bonic/.config/sunshine/apps.json] [origin_web_ui_allowed] -- [lan] [min_threads] -- [1] [nv_rc] -- [auto] [amd_preset] -- [speed] [hevc_mode] -- [0] [sw_preset] -- [superfast] [resolutions] -- [[ 352x240, 480x360, 858x480, 1280x720, 1920x1080, ]] [nv_preset] -- [llhq] [nv_coder] -- [auto] Warning: Unrecognized configurable option [amd_preset] [2021:08:23:15:07:36]: Debug: crtc(0, 0) [2021:08:23:15:07:36]: Debug: crtc(1920, 1080) [2021:08:23:15:07:36]: Debug: plane->possible_crtcs == 1 [2021:08:23:15:07:36]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(62) [2021:08:23:15:07:36]: Debug: Resolution: 1920x1080: Pitch: 7680: bpp: 32: depth: 32 [2021:08:23:15:07:36]: Debug: Format [XR24, AR24, RA24, XR30, XB30, AR30, AB30, XB24, AB24, RG16, NV12, P010, XR4H, AR4H, XB4H, AB4H] [2021:08:23:15:07:36]: Debug: crtc(0, 0) [2021:08:23:15:07:36]: Debug: crtc(1920, 1080) [2021:08:23:15:07:36]: Debug: plane->possible_crtcs == 1 [2021:08:23:15:07:36]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(62) [2021:08:23:15:07:36]: Debug: Resolution: 256x256: Pitch: 1024: bpp: 32: depth: 32 [2021:08:23:15:07:36]: Debug: Format [AR24] [2021:08:23:15:07:36]: Info: Using KMS for screencasting [2021:08:23:15:07:36]: Info: ////////////////////////////////////////////////////////////////// [2021:08:23:15:07:36]: Info: // // [2021:08:23:15:07:36]: Info: // Testing for available encoders, this may generate errors. // [2021:08:23:15:07:36]: Info: // You can safely ignore those errors. // [2021:08:23:15:07:36]: Info: // // [2021:08:23:15:07:36]: Info: ////////////////////////////////////////////////////////////////// [2021:08:23:15:07:36]: Info: Trying encoder [software] [2021:08:23:15:07:36]: Info: Found monitor for DRM screencasting [2021:08:23:15:07:36]: Debug: crtc(0, 0) [2021:08:23:15:07:36]: Debug: crtc(1920, 1080) [2021:08:23:15:07:36]: Debug: plane->possible_crtcs == 1 [2021:08:23:15:07:36]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(62) [2021:08:23:15:07:36]: Debug: Resolution: 1920x1080: Pitch: 7680: bpp: 32: depth: 32 [2021:08:23:15:07:36]: Debug: Format [XR24, AR24, RA24, XR30, XB30, AR30, AB30, XB24, AB24, RG16, NV12, P010, XR4H, AR4H, XB4H, AB4H] [2021:08:23:15:07:36]: Debug: EGL: [Mesa Project]: version [1.5] [2021:08:23:15:07:36]: Debug: API's supported: [OpenGL OpenGL_ES ] [2021:08:23:15:07:36]: Debug: GL: vendor: AMD [2021:08:23:15:07:36]: Debug: GL: renderer: AMD Radeon(TM) Vega 8 Graphics (RAVEN, DRM 3.40.0, 5.10.56-1-lts, LLVM 12.0.1) [2021:08:23:15:07:36]: Debug: GL: version: 4.6 (Compatibility Profile) Mesa 21.1.6 [2021:08:23:15:07:36]: Debug: GL: shader: 4.60 [2021:08:23:15:07:36]: Info: Color coding [Rec. 601] [2021:08:23:15:07:36]: Info: Color range: [JPEG] [2021:08:23:15:07:36]: Info: Found monitor for DRM screencasting [2021:08:23:15:07:36]: Debug: crtc(0, 0) [2021:08:23:15:07:36]: Debug: crtc(1920, 1080) [2021:08:23:15:07:36]: Debug: plane->possible_crtcs == 1 [2021:08:23:15:07:36]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(62) [2021:08:23:15:07:36]: Debug: Resolution: 1920x1080: Pitch: 7680: bpp: 32: depth: 32 [2021:08:23:15:07:36]: Debug: Format [XR24, AR24, RA24, XR30, XB30, AR30, AB30, XB24, AB24, RG16, NV12, P010, XR4H, AR4H, XB4H, AB4H] [2021:08:23:15:07:36]: Debug: EGL: [Mesa Project]: version [1.5] [2021:08:23:15:07:36]: Debug: API's supported: [OpenGL OpenGL_ES ] [2021:08:23:15:07:36]: Debug: GL: vendor: AMD [2021:08:23:15:07:36]: Debug: GL: renderer: AMD Radeon(TM) Vega 8 Graphics (RAVEN, DRM 3.40.0, 5.10.56-1-lts, LLVM 12.0.1) [2021:08:23:15:07:36]: Debug: GL: version: 4.6 (Compatibility Profile) Mesa 21.1.6 [2021:08:23:15:07:36]: Debug: GL: shader: 4.60 [2021:08:23:15:07:36]: Info: Color coding [Rec. 601] [2021:08:23:15:07:36]: Info: Color range: [JPEG] [2021:08:23:15:07:36]: Info: Found monitor for DRM screencasting [2021:08:23:15:07:36]: Debug: crtc(0, 0) [2021:08:23:15:07:36]: Debug: crtc(1920, 1080) [2021:08:23:15:07:36]: Debug: plane->possible_crtcs == 1 [2021:08:23:15:07:36]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(62) [2021:08:23:15:07:36]: Debug: Resolution: 1920x1080: Pitch: 7680: bpp: 32: depth: 32 [2021:08:23:15:07:36]: Debug: Format [XR24, AR24, RA24, XR30, XB30, AR30, AB30, XB24, AB24, RG16, NV12, P010, XR4H, AR4H, XB4H, AB4H] [2021:08:23:15:07:36]: Debug: EGL: [Mesa Project]: version [1.5] [2021:08:23:15:07:36]: Debug: API's supported: [OpenGL OpenGL_ES ] [2021:08:23:15:07:36]: Debug: GL: vendor: AMD [2021:08:23:15:07:36]: Debug: GL: renderer: AMD Radeon(TM) Vega 8 Graphics (RAVEN, DRM 3.40.0, 5.10.56-1-lts, LLVM 12.0.1) [2021:08:23:15:07:36]: Debug: GL: version: 4.6 (Compatibility Profile) Mesa 21.1.6 [2021:08:23:15:07:36]: Debug: GL: shader: 4.60 [2021:08:23:15:07:36]: Info: Color coding [Rec. 601] [2021:08:23:15:07:36]: Info: Color range: [JPEG] [2021:08:23:15:07:37]: Info: Found monitor for DRM screencasting [2021:08:23:15:07:37]: Debug: crtc(0, 0) [2021:08:23:15:07:37]: Debug: crtc(1920, 1080) [2021:08:23:15:07:37]: Debug: plane->possible_crtcs == 1 [2021:08:23:15:07:37]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(62) [2021:08:23:15:07:37]: Debug: Resolution: 1920x1080: Pitch: 7680: bpp: 32: depth: 32 [2021:08:23:15:07:37]: Debug: Format [XR24, AR24, RA24, XR30, XB30, AR30, AB30, XB24, AB24, RG16, NV12, P010, XR4H, AR4H, XB4H, AB4H] [2021:08:23:15:07:37]: Debug: EGL: [Mesa Project]: version [1.5] [2021:08:23:15:07:37]: Debug: API's supported: [OpenGL OpenGL_ES ] [2021:08:23:15:07:37]: Debug: GL: vendor: AMD [2021:08:23:15:07:37]: Debug: GL: renderer: AMD Radeon(TM) Vega 8 Graphics (RAVEN, DRM 3.40.0, 5.10.56-1-lts, LLVM 12.0.1) [2021:08:23:15:07:37]: Debug: GL: version: 4.6 (Compatibility Profile) Mesa 21.1.6 [2021:08:23:15:07:37]: Debug: GL: shader: 4.60 [2021:08:23:15:07:37]: Info: Color coding [Rec. 709] [2021:08:23:15:07:37]: Info: Color range: [JPEG] [2021:08:23:15:07:37]: Error: Could not open codec [libx264]: Invalid argument [2021:08:23:15:07:37]: Info: Found monitor for DRM screencasting [2021:08:23:15:07:37]: Debug: crtc(0, 0) [2021:08:23:15:07:37]: Debug: crtc(1920, 1080) [2021:08:23:15:07:37]: Debug: plane->possible_crtcs == 1 [2021:08:23:15:07:37]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(62) [2021:08:23:15:07:37]: Debug: Resolution: 1920x1080: Pitch: 7680: bpp: 32: depth: 32 [2021:08:23:15:07:37]: Debug: Format [XR24, AR24, RA24, XR30, XB30, AR30, AB30, XB24, AB24, RG16, NV12, P010, XR4H, AR4H, XB4H, AB4H] [2021:08:23:15:07:37]: Debug: EGL: [Mesa Project]: version [1.5] [2021:08:23:15:07:37]: Debug: API's supported: [OpenGL OpenGL_ES ] [2021:08:23:15:07:37]: Debug: GL: vendor: AMD [2021:08:23:15:07:37]: Debug: GL: renderer: AMD Radeon(TM) Vega 8 Graphics (RAVEN, DRM 3.40.0, 5.10.56-1-lts, LLVM 12.0.1) [2021:08:23:15:07:37]: Debug: GL: version: 4.6 (Compatibility Profile) Mesa 21.1.6 [2021:08:23:15:07:37]: Debug: GL: shader: 4.60 [2021:08:23:15:07:37]: Info: Color coding [Rec. 601] [2021:08:23:15:07:37]: Info: Color range: [JPEG] [2021:08:23:15:07:37]: Warning: software: h264: replacing nalu prefix data [2021:08:23:15:07:37]: Info: [2021:08:23:15:07:37]: Info: ////////////////////////////////////////////////////////////// [2021:08:23:15:07:37]: Info: // // [2021:08:23:15:07:37]: Info: // Ignore any errors mentioned above, they are not relevant // [2021:08:23:15:07:37]: Info: // // [2021:08:23:15:07:37]: Info: ////////////////////////////////////////////////////////////// [2021:08:23:15:07:37]: Info: [2021:08:23:15:07:37]: Debug: ------ h264 ------ [2021:08:23:15:07:37]: Debug: PASSED: supported [2021:08:23:15:07:37]: Debug: REF_FRAMES_RESTRICT: supported [2021:08:23:15:07:37]: Debug: REF_FRAMES_AUTOSELECT: supported [2021:08:23:15:07:37]: Debug: SLICE: supported [2021:08:23:15:07:37]: Debug: CBR: supported [2021:08:23:15:07:37]: Debug: DYNAMIC_RANGE: unsupported [2021:08:23:15:07:37]: Debug: VUI_PARAMETERS: supported [2021:08:23:15:07:37]: Debug: NALU_PREFIX_5b: unsupported [2021:08:23:15:07:37]: Debug: ------------------- [2021:08:23:15:07:37]: Info: Found encoder software: [libx264] [2021:08:23:15:07:37]: Info: Configuration UI available at [https://localhost:47990] [2021:08:23:15:07:37]: Info: Adding avahi service Sunshine [2021:08:23:15:07:37]: Info: Avahi service Sunshine successfully established. [2021:08:23:15:07:39]: Debug: Found device: http://192.168.1.1:5431/dyndev/uuid:47b356d8-725e-4a91-b810-b824cff99323 [2021:08:23:15:07:39]: Debug: Found valid IGD device: http://192.168.1.1:5431/dyndev/uuid:47b356d8-725e-4a91-b810-b824cff99323 [2021:08:23:15:07:39]: Debug: Found external ip: xx.xxx.xxx.xxx [2021:08:23:15:07:48]: Debug: TUNNEL :: NONE [2021:08:23:15:07:48]: Debug: METHOD :: GET [2021:08:23:15:07:48]: Debug: DESTINATION :: /serverinfo [2021:08:23:15:07:48]: Debug: User-Agent -- Mozilla/5.0 [2021:08:23:15:07:48]: Debug: Accept-Language -- en-US,* [2021:08:23:15:07:48]: Debug: Accept-Encoding -- gzip, deflate [2021:08:23:15:07:48]: Debug: Connection -- Keep-Alive [2021:08:23:15:07:48]: Debug: Host -- 192.168.1.16:47989 [2021:08:23:15:07:48]: Debug: [--] [2021:08:23:15:07:48]: Debug: uuid -- bc6209c8ac214ecb80963cb555607abc [2021:08:23:15:07:48]: Debug: uniqueid -- 0123456789ABCDEF [2021:08:23:15:07:48]: Debug: [--] [2021:08:23:15:07:48]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:08:23:15:07:48]: Debug: TUNNEL :: HTTPS [2021:08:23:15:07:48]: Debug: METHOD :: GET [2021:08:23:15:07:48]: Debug: DESTINATION :: /serverinfo [2021:08:23:15:07:48]: Debug: User-Agent -- Mozilla/5.0 [2021:08:23:15:07:48]: Debug: Accept-Language -- en-US,* [2021:08:23:15:07:48]: Debug: Accept-Encoding -- gzip, deflate [2021:08:23:15:07:48]: Debug: Connection -- Keep-Alive [2021:08:23:15:07:48]: Debug: Host -- 192.168.1.16:47984 [2021:08:23:15:07:48]: Debug: [--] [2021:08:23:15:07:48]: Debug: uuid -- d666aab2abfe4ca791830364d1d0b460 [2021:08:23:15:07:48]: Debug: uniqueid -- 0123456789ABCDEF [2021:08:23:15:07:48]: Debug: [--] [2021:08:23:15:07:48]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:08:23:15:07:48]: Debug: TUNNEL :: HTTPS [2021:08:23:15:07:48]: Debug: METHOD :: GET [2021:08:23:15:07:48]: Debug: DESTINATION :: /applist [2021:08:23:15:07:48]: Debug: User-Agent -- Mozilla/5.0 [2021:08:23:15:07:48]: Debug: Accept-Language -- en-US,* [2021:08:23:15:07:48]: Debug: Accept-Encoding -- gzip, deflate [2021:08:23:15:07:48]: Debug: Connection -- Keep-Alive [2021:08:23:15:07:48]: Debug: Host -- 192.168.1.16:47984 [2021:08:23:15:07:48]: Debug: [--] [2021:08:23:15:07:48]: Debug: uuid -- 06018c590bc143b2ac48d76dd072257a [2021:08:23:15:07:48]: Debug: uniqueid -- 0123456789ABCDEF [2021:08:23:15:07:48]: Debug: [--] [2021:08:23:15:07:48]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:08:23:15:07:48]: Debug: TUNNEL :: HTTPS [2021:08:23:15:07:48]: Debug: METHOD :: GET [2021:08:23:15:07:48]: Debug: DESTINATION :: /appasset [2021:08:23:15:07:48]: Debug: User-Agent -- Mozilla/5.0 [2021:08:23:15:07:48]: Debug: Accept-Language -- en-US,* [2021:08:23:15:07:48]: Debug: Accept-Encoding -- gzip, deflate [2021:08:23:15:07:48]: Debug: Connection -- Keep-Alive [2021:08:23:15:07:48]: Debug: Host -- 192.168.1.16:47984 [2021:08:23:15:07:48]: Debug: [--] [2021:08:23:15:07:48]: Debug: AssetIdx -- 0 [2021:08:23:15:07:48]: Debug: appid -- 1 [2021:08:23:15:07:48]: Debug: AssetType -- 2 [2021:08:23:15:07:48]: Debug: uuid -- d52981fd2c754bec84beffe8b7ff7516 [2021:08:23:15:07:48]: Debug: uniqueid -- 0123456789ABCDEF [2021:08:23:15:07:48]: Debug: [--] [2021:08:23:15:07:49]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:08:23:15:07:49]: Debug: TUNNEL :: HTTPS [2021:08:23:15:07:49]: Debug: METHOD :: GET [2021:08:23:15:07:49]: Debug: DESTINATION :: /appasset [2021:08:23:15:07:49]: Debug: User-Agent -- Mozilla/5.0 [2021:08:23:15:07:49]: Debug: Accept-Language -- en-US,* [2021:08:23:15:07:49]: Debug: Accept-Encoding -- gzip, deflate [2021:08:23:15:07:49]: Debug: Connection -- Keep-Alive [2021:08:23:15:07:49]: Debug: Host -- 192.168.1.16:47984 [2021:08:23:15:07:49]: Debug: [--] [2021:08:23:15:07:49]: Debug: AssetIdx -- 0 [2021:08:23:15:07:49]: Debug: appid -- 2 [2021:08:23:15:07:49]: Debug: AssetType -- 2 [2021:08:23:15:07:49]: Debug: uuid -- 9a12770008b746408c3efb92a5fbcf89 [2021:08:23:15:07:49]: Debug: uniqueid -- 0123456789ABCDEF [2021:08:23:15:07:49]: Debug: [--] [2021:08:23:15:07:49]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:08:23:15:07:49]: Debug: TUNNEL :: HTTPS [2021:08:23:15:07:49]: Debug: METHOD :: GET [2021:08:23:15:07:49]: Debug: DESTINATION :: /appasset [2021:08:23:15:07:49]: Debug: User-Agent -- Mozilla/5.0 [2021:08:23:15:07:49]: Debug: Accept-Language -- en-US,* [2021:08:23:15:07:49]: Debug: Accept-Encoding -- gzip, deflate [2021:08:23:15:07:49]: Debug: Connection -- Keep-Alive [2021:08:23:15:07:49]: Debug: Host -- 192.168.1.16:47984 [2021:08:23:15:07:49]: Debug: [--] [2021:08:23:15:07:49]: Debug: AssetIdx -- 0 [2021:08:23:15:07:49]: Debug: appid -- 3 [2021:08:23:15:07:49]: Debug: AssetType -- 2 [2021:08:23:15:07:49]: Debug: uuid -- 5245a729322445e0a154ebe57eba47b4 [2021:08:23:15:07:49]: Debug: uniqueid -- 0123456789ABCDEF [2021:08:23:15:07:49]: Debug: [--] [2021:08:23:15:07:49]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:08:23:15:07:49]: Debug: TUNNEL :: HTTPS [2021:08:23:15:07:49]: Debug: METHOD :: GET [2021:08:23:15:07:49]: Debug: DESTINATION :: /appasset [2021:08:23:15:07:49]: Debug: User-Agent -- Mozilla/5.0 [2021:08:23:15:07:49]: Debug: Accept-Language -- en-US,* [2021:08:23:15:07:49]: Debug: Accept-Encoding -- gzip, deflate [2021:08:23:15:07:49]: Debug: Connection -- Keep-Alive [2021:08:23:15:07:49]: Debug: Host -- 192.168.1.16:47984 [2021:08:23:15:07:49]: Debug: [--] [2021:08:23:15:07:49]: Debug: AssetIdx -- 0 [2021:08:23:15:07:49]: Debug: appid -- 1 [2021:08:23:15:07:49]: Debug: AssetType -- 2 [2021:08:23:15:07:49]: Debug: uuid -- 78d1dc360cf0413b91973e186614993a [2021:08:23:15:07:49]: Debug: uniqueid -- 0123456789ABCDEF [2021:08:23:15:07:49]: Debug: [--] [2021:08:23:15:07:49]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:08:23:15:07:49]: Debug: TUNNEL :: HTTPS [2021:08:23:15:07:49]: Debug: METHOD :: GET [2021:08:23:15:07:49]: Debug: DESTINATION :: /appasset [2021:08:23:15:07:49]: Debug: User-Agent -- Mozilla/5.0 [2021:08:23:15:07:49]: Debug: Accept-Language -- en-US,* [2021:08:23:15:07:49]: Debug: Accept-Encoding -- gzip, deflate [2021:08:23:15:07:49]: Debug: Connection -- Keep-Alive [2021:08:23:15:07:49]: Debug: Host -- 192.168.1.16:47984 [2021:08:23:15:07:49]: Debug: [--] [2021:08:23:15:07:49]: Debug: AssetIdx -- 0 [2021:08:23:15:07:49]: Debug: appid -- 2 [2021:08:23:15:07:49]: Debug: AssetType -- 2 [2021:08:23:15:07:49]: Debug: uuid -- 95a62f8b58d64113bcf01e23d78e50c1 [2021:08:23:15:07:49]: Debug: uniqueid -- 0123456789ABCDEF [2021:08:23:15:07:49]: Debug: [--] [2021:08:23:15:07:49]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:08:23:15:07:49]: Debug: TUNNEL :: HTTPS [2021:08:23:15:07:49]: Debug: METHOD :: GET [2021:08:23:15:07:49]: Debug: DESTINATION :: /appasset [2021:08:23:15:07:49]: Debug: User-Agent -- Mozilla/5.0 [2021:08:23:15:07:49]: Debug: Accept-Language -- en-US,* [2021:08:23:15:07:49]: Debug: Accept-Encoding -- gzip, deflate [2021:08:23:15:07:49]: Debug: Connection -- Keep-Alive [2021:08:23:15:07:49]: Debug: Host -- 192.168.1.16:47984 [2021:08:23:15:07:49]: Debug: [--] [2021:08:23:15:07:49]: Debug: AssetIdx -- 0 [2021:08:23:15:07:49]: Debug: appid -- 3 [2021:08:23:15:07:49]: Debug: AssetType -- 2 [2021:08:23:15:07:49]: Debug: uuid -- 575be206c32d4f34bbe6ebdd5360ebba [2021:08:23:15:07:49]: Debug: uniqueid -- 0123456789ABCDEF [2021:08:23:15:07:49]: Debug: [--] [2021:08:23:15:07:51]: Debug: TUNNEL :: NONE [2021:08:23:15:07:51]: Debug: METHOD :: GET [2021:08:23:15:07:51]: Debug: DESTINATION :: /serverinfo [2021:08:23:15:07:51]: Debug: User-Agent -- Mozilla/5.0 [2021:08:23:15:07:51]: Debug: Accept-Language -- en-US,* [2021:08:23:15:07:51]: Debug: Accept-Encoding -- gzip, deflate [2021:08:23:15:07:51]: Debug: Connection -- Keep-Alive [2021:08:23:15:07:51]: Debug: Host -- 192.168.1.16:47989 [2021:08:23:15:07:51]: Debug: [--] [2021:08:23:15:07:51]: Debug: uuid -- c3d7ac0ad4294281a181e1a1960424df [2021:08:23:15:07:51]: Debug: uniqueid -- 0123456789ABCDEF [2021:08:23:15:07:51]: Debug: [--] [2021:08:23:15:07:51]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:08:23:15:07:51]: Debug: TUNNEL :: HTTPS [2021:08:23:15:07:51]: Debug: METHOD :: GET [2021:08:23:15:07:51]: Debug: DESTINATION :: /serverinfo [2021:08:23:15:07:51]: Debug: User-Agent -- Mozilla/5.0 [2021:08:23:15:07:51]: Debug: Accept-Language -- en-US,* [2021:08:23:15:07:51]: Debug: Accept-Encoding -- gzip, deflate [2021:08:23:15:07:51]: Debug: Connection -- Keep-Alive [2021:08:23:15:07:51]: Debug: Host -- 192.168.1.16:47984 [2021:08:23:15:07:51]: Debug: [--] [2021:08:23:15:07:51]: Debug: uuid -- d82706deb34e44968935485b1e84969c [2021:08:23:15:07:51]: Debug: uniqueid -- 0123456789ABCDEF [2021:08:23:15:07:51]: Debug: [--] [2021:08:23:15:07:52]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:08:23:15:07:52]: Debug: TUNNEL :: HTTPS [2021:08:23:15:07:52]: Debug: METHOD :: GET [2021:08:23:15:07:52]: Debug: DESTINATION :: /launch [2021:08:23:15:07:52]: Debug: User-Agent -- Mozilla/5.0 [2021:08:23:15:07:52]: Debug: Accept-Language -- en-US,* [2021:08:23:15:07:52]: Debug: Accept-Encoding -- gzip, deflate [2021:08:23:15:07:52]: Debug: Connection -- Keep-Alive [2021:08:23:15:07:52]: Debug: Host -- 192.168.1.16:47984 [2021:08:23:15:07:52]: Debug: [--] [2021:08:23:15:07:52]: Debug: localAudioPlayMode -- 0 [2021:08:23:15:07:52]: Debug: gcmap -- 0 [2021:08:23:15:07:52]: Debug: remoteControllersBitmap -- 0 [2021:08:23:15:07:52]: Debug: rikeyid -- -1309967697 [2021:08:23:15:07:52]: Debug: surroundAudioInfo -- 196610 [2021:08:23:15:07:52]: Debug: rikey -- 6582bfe99758dd82914de9e6891f771e [2021:08:23:15:07:52]: Debug: sops -- 1 [2021:08:23:15:07:52]: Debug: mode -- 1280x720x30 [2021:08:23:15:07:52]: Debug: appid -- 1 [2021:08:23:15:07:52]: Debug: uuid -- 1017905189a64d76a6ecb486112a927e [2021:08:23:15:07:52]: Debug: additionalStates -- 1 [2021:08:23:15:07:52]: Debug: uniqueid -- 0123456789ABCDEF [2021:08:23:15:07:52]: Debug: [--] [2021:08:23:15:07:52]: Debug: Executing [Desktop] [2021:08:23:15:07:52]: Debug: handle_read(): Handle read of size: 89 bytes [2021:08:23:15:07:52]: Debug: handle_payload(): Handle read of size: 0 bytes [2021:08:23:15:07:52]: Debug: type [REQUEST] [2021:08:23:15:07:52]: Debug: sequence number [1] [2021:08:23:15:07:52]: Debug: protocol :: RTSP/1.0 [2021:08:23:15:07:52]: Debug: payload :: [2021:08:23:15:07:52]: Debug: command :: OPTIONS [2021:08:23:15:07:52]: Debug: target :: rtsp://0.0.0.0:48010 [2021:08:23:15:07:52]: Debug: CSeq :: 1 [2021:08:23:15:07:52]: Debug: X-GS-ClientVersion :: 14 [2021:08:23:15:07:52]: Debug: Host :: 0.0.0.0 [2021:08:23:15:07:52]: Debug: ---Begin MessageBuffer--- OPTIONS ---End MessageBuffer--- [2021:08:23:15:07:52]: Debug: ---Begin Response--- RTSP/1.0 200 OK CSeq: 1 ---End Response--- [2021:08:23:15:07:52]: Debug: handle_read(): Handle read of size: 165 bytes [2021:08:23:15:07:52]: Debug: handle_payload(): Handle read of size: 0 bytes [2021:08:23:15:07:52]: Debug: type [REQUEST] [2021:08:23:15:07:52]: Debug: sequence number [2] [2021:08:23:15:07:52]: Debug: protocol :: RTSP/1.0 [2021:08:23:15:07:52]: Debug: payload :: [2021:08:23:15:07:52]: Debug: command :: DESCRIBE [2021:08:23:15:07:52]: Debug: target :: rtsp://0.0.0.0:48010 [2021:08:23:15:07:52]: Debug: CSeq :: 2 [2021:08:23:15:07:52]: Debug: X-GS-ClientVersion :: 14 [2021:08:23:15:07:52]: Debug: Host :: 0.0.0.0 [2021:08:23:15:07:52]: Debug: Accept :: application/sdp [2021:08:23:15:07:52]: Debug: If-Modified-Since :: Thu, 01 Jan 1970 00:00:00 GMT [2021:08:23:15:07:52]: Debug: ---Begin MessageBuffer--- DESCRIBE ---End MessageBuffer--- [2021:08:23:15:07:52]: Debug: ---Begin Response--- RTSP/1.0 200 OK CSeq: 2 a=fmtp:97 surround-params=21101 a=fmtp:97 surround-params=642012435 a=fmtp:97 surround-params=660012345 a=fmtp:97 surround-params=85301233456 a=fmtp:97 surround-params=88001233456 ---End Response--- [2021:08:23:15:07:52]: Debug: handle_read(): Handle read of size: 183 bytes [2021:08:23:15:07:52]: Debug: handle_payload(): Handle read of size: 0 bytes [2021:08:23:15:07:52]: Debug: type [REQUEST] [2021:08:23:15:07:52]: Debug: sequence number [3] [2021:08:23:15:07:52]: Debug: protocol :: RTSP/1.0 [2021:08:23:15:07:52]: Debug: payload :: [2021:08:23:15:07:52]: Debug: command :: SETUP [2021:08:23:15:07:52]: Debug: target :: streamid=audio/0/0 [2021:08:23:15:07:52]: Debug: CSeq :: 3 [2021:08:23:15:07:52]: Debug: X-GS-ClientVersion :: 14 [2021:08:23:15:07:52]: Debug: Host :: 0.0.0.0 [2021:08:23:15:07:52]: Debug: Transport :: unicast;X-GS-ClientPort=50000-50001 [2021:08:23:15:07:52]: Debug: If-Modified-Since :: Thu, 01 Jan 1970 00:00:00 GMT [2021:08:23:15:07:52]: Debug: ---Begin MessageBuffer--- SETUP ---End MessageBuffer--- [2021:08:23:15:07:52]: Debug: ---Begin Response--- RTSP/1.0 200 OK CSeq: 3 Session: DEADBEEFCAFE;timeout = 90 Transport: server_port=48000 ---End Response--- [2021:08:23:15:07:52]: Debug: handle_read(): Handle read of size: 207 bytes [2021:08:23:15:07:52]: Debug: handle_payload(): Handle read of size: 0 bytes [2021:08:23:15:07:52]: Debug: type [REQUEST] [2021:08:23:15:07:52]: Debug: sequence number [4] [2021:08:23:15:07:52]: Debug: protocol :: RTSP/1.0 [2021:08:23:15:07:52]: Debug: payload :: [2021:08:23:15:07:52]: Debug: command :: SETUP [2021:08:23:15:07:52]: Debug: target :: streamid=video/0/0 [2021:08:23:15:07:52]: Debug: CSeq :: 4 [2021:08:23:15:07:52]: Debug: X-GS-ClientVersion :: 14 [2021:08:23:15:07:52]: Debug: Host :: 0.0.0.0 [2021:08:23:15:07:52]: Debug: Session :: DEADBEEFCAFE [2021:08:23:15:07:52]: Debug: Transport :: unicast;X-GS-ClientPort=50000-50001 [2021:08:23:15:07:52]: Debug: If-Modified-Since :: Thu, 01 Jan 1970 00:00:00 GMT [2021:08:23:15:07:52]: Debug: ---Begin MessageBuffer--- SETUP ---End MessageBuffer--- [2021:08:23:15:07:52]: Debug: ---Begin Response--- RTSP/1.0 200 OK CSeq: 4 Session: DEADBEEFCAFE;timeout = 90 Transport: server_port=47998 ---End Response--- [2021:08:23:15:07:52]: Debug: handle_read(): Handle read of size: 210 bytes [2021:08:23:15:07:52]: Debug: handle_payload(): Handle read of size: 0 bytes [2021:08:23:15:07:52]: Debug: type [REQUEST] [2021:08:23:15:07:52]: Debug: sequence number [5] [2021:08:23:15:07:52]: Debug: protocol :: RTSP/1.0 [2021:08:23:15:07:52]: Debug: payload :: [2021:08:23:15:07:52]: Debug: command :: SETUP [2021:08:23:15:07:52]: Debug: target :: streamid=control/13/0 [2021:08:23:15:07:52]: Debug: CSeq :: 5 [2021:08:23:15:07:52]: Debug: X-GS-ClientVersion :: 14 [2021:08:23:15:07:52]: Debug: Host :: 0.0.0.0 [2021:08:23:15:07:52]: Debug: Session :: DEADBEEFCAFE [2021:08:23:15:07:52]: Debug: Transport :: unicast;X-GS-ClientPort=50000-50001 [2021:08:23:15:07:52]: Debug: If-Modified-Since :: Thu, 01 Jan 1970 00:00:00 GMT [2021:08:23:15:07:52]: Debug: ---Begin MessageBuffer--- SETUP ---End MessageBuffer--- [2021:08:23:15:07:52]: Debug: ---Begin Response--- RTSP/1.0 200 OK CSeq: 5 Session: DEADBEEFCAFE;timeout = 90 Transport: server_port=47999 ---End Response--- [2021:08:23:15:07:52]: Debug: handle_read(): Handle read of size: 536 bytes [2021:08:23:15:07:52]: Debug: handle_payload(): Handle read of size: 368 bytes [2021:08:23:15:07:52]: Debug: Found Content-Length: 1305 bytes [2021:08:23:15:07:52]: Debug: handle_payload(): Handle read of size: 937 bytes [2021:08:23:15:07:52]: Debug: Found Content-Length: 1305 bytes [2021:08:23:15:07:52]: Debug: type [REQUEST] [2021:08:23:15:07:52]: Debug: sequence number [6] [2021:08:23:15:07:52]: Debug: protocol :: RTSP/1.0 [2021:08:23:15:07:52]: Debug: payload :: v=0 o=android 0 14 IN IPv4 192.168.1.16 s=NVIDIA Streaming Client a=x-nv-video[0].clientViewportWd:1280 a=x-nv-video[0].clientViewportHt:720 a=x-nv-video[0].maxFPS:30 a=x-nv-video[0].packetSize:1392 a=x-nv-video[0].rateControlMode:4 a=x-nv-video[0].timeoutLengthMs:7000 a=x-nv-video[0].framesWithInvalidRefThreshold:0 a=x-nv-video[0].initialBitrateKbps:500 a=x-nv-video[0].initialPeakBitrateKbps:500 a=x-nv-vqos[0].bw.minimumBitrateKbps:500 a=x-nv-vqos[0].bw.maximumBitrateKbps:500 a=x-nv-vqos[0].fec.enable:1 a=x-nv-vqos[0].videoQualityScoreUpdateTime:5000 a=x-nv-vqos[0].qosTrafficType:5 a=x-nv-aqos.qosTrafficType:4 a=x-nv-general.featureFlags:167 a=x-nv-general.useReliableUdp:13 a=x-nv-vqos[0].fec.minRequiredFecPackets:2 a=x-nv-vqos[0].drc.enable:0 a=x-nv-general.enableRecoveryMode:0 a=x-nv-video[0].videoEncoderSlicesPerFrame:1 a=x-nv-clientSupportHevc:0 a=x-nv-vqos[0].bitStreamFormat:0 a=x-nv-video[0].dynamicRangeMode:0 a=x-nv-video[0].maxNumReferenceFrames:1 a=x-nv-video[0].clientRefreshRateX100:0 a=x-nv-audio.surround.numChannels:2 a=x-nv-audio.surround.channelMask:3 a=x-nv-audio.surround.enable:0 a=x-nv-audio.surround.AudioQuality:0 a=x-nv-aqos.packetDuration:10 a=x-nv-video[0].encoderCscMode:0 t=0 0 m=video 47998 [2021:08:23:15:07:52]: Debug: command :: ANNOUNCE [2021:08:23:15:07:52]: Debug: target :: streamid=control/13/0 [2021:08:23:15:07:52]: Debug: CSeq :: 6 [2021:08:23:15:07:52]: Debug: X-GS-ClientVersion :: 14 [2021:08:23:15:07:52]: Debug: Host :: 0.0.0.0 [2021:08:23:15:07:52]: Debug: Session :: DEADBEEFCAFE [2021:08:23:15:07:52]: Debug: Content-type :: application/sdp [2021:08:23:15:07:52]: Debug: Content-length :: 1305 [2021:08:23:15:07:52]: Debug: ---Begin MessageBuffer--- ANNOUNCE ---End MessageBuffer--- [2021:08:23:15:07:52]: Debug: ---Begin Response--- RTSP/1.0 200 OK CSeq: 6 ---End Response--- [2021:08:23:15:07:52]: Debug: handle_read(): Handle read of size: 91 bytes [2021:08:23:15:07:52]: Debug: handle_payload(): Handle read of size: 0 bytes [2021:08:23:15:07:52]: Debug: type [REQUEST] [2021:08:23:15:07:52]: Debug: sequence number [7] [2021:08:23:15:07:52]: Debug: protocol :: RTSP/1.0 [2021:08:23:15:07:52]: Debug: payload :: [2021:08:23:15:07:52]: Debug: command :: PLAY [2021:08:23:15:07:52]: Debug: target :: / [2021:08:23:15:07:52]: Debug: CSeq :: 7 [2021:08:23:15:07:52]: Debug: X-GS-ClientVersion :: 14 [2021:08:23:15:07:52]: Debug: Host :: 0.0.0.0 [2021:08:23:15:07:52]: Debug: Session :: DEADBEEFCAFE [2021:08:23:15:07:52]: Debug: ---Begin MessageBuffer--- PLAY ---End MessageBuffer--- [2021:08:23:15:07:52]: Debug: ---Begin Response--- RTSP/1.0 200 OK CSeq: 7 ---End Response--- [2021:08:23:15:07:52]: Info: CLIENT CONNECTED [2021:08:23:15:07:52]: Debug: type [IDX_REQUEST_IDR_FRAME] [2021:08:23:15:07:52]: Debug: type [IDX_START_B] [2021:08:23:15:07:52]: Debug: RAISE: 192.168.1.87:49038 :: VIDEO [2021:08:23:15:07:52]: Debug: Received ping from 192.168.1.87:49038 [474E4950] [2021:08:23:15:07:52]: Debug: Start capturing Video [2021:08:23:15:07:52]: Debug: crtc(0, 0) [2021:08:23:15:07:52]: Debug: crtc(1920, 1080) [2021:08:23:15:07:52]: Debug: plane->possible_crtcs == 1 [2021:08:23:15:07:52]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(62) [2021:08:23:15:07:52]: Debug: Resolution: 1920x1080: Pitch: 7680: bpp: 32: depth: 32 [2021:08:23:15:07:52]: Debug: Format [XR24, AR24, RA24, XR30, XB30, AR30, AB30, XB24, AB24, RG16, NV12, P010, XR4H, AR4H, XB4H, AB4H] [2021:08:23:15:07:52]: Debug: crtc(0, 0) [2021:08:23:15:07:52]: Debug: crtc(1920, 1080) [2021:08:23:15:07:52]: Debug: plane->possible_crtcs == 1 [2021:08:23:15:07:52]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(62) [2021:08:23:15:07:52]: Debug: Resolution: 256x256: Pitch: 1024: bpp: 32: depth: 32 [2021:08:23:15:07:52]: Debug: Format [AR24] [2021:08:23:15:07:52]: Info: Found monitor for DRM screencasting [2021:08:23:15:07:52]: Debug: crtc(0, 0) [2021:08:23:15:07:52]: Debug: crtc(1920, 1080) [2021:08:23:15:07:52]: Debug: plane->possible_crtcs == 1 [2021:08:23:15:07:52]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(62) [2021:08:23:15:07:52]: Debug: Resolution: 1920x1080: Pitch: 7680: bpp: 32: depth: 32 [2021:08:23:15:07:52]: Debug: Format [XR24, AR24, RA24, XR30, XB30, AR30, AB30, XB24, AB24, RG16, NV12, P010, XR4H, AR4H, XB4H, AB4H] [2021:08:23:15:07:52]: Debug: --begin relative mouse move packet-- deltaX [1] deltaY [1] --end relative mouse move packet-- [2021:08:23:15:07:52]: Debug: EGL: [Mesa Project]: version [1.5] [2021:08:23:15:07:52]: Debug: API's supported: [OpenGL OpenGL_ES ] [2021:08:23:15:07:52]: Debug: GL: vendor: AMD [2021:08:23:15:07:52]: Debug: GL: renderer: AMD Radeon(TM) Vega 8 Graphics (RAVEN, DRM 3.40.0, 5.10.56-1-lts, LLVM 12.0.1) [2021:08:23:15:07:52]: Debug: GL: version: 4.6 (Compatibility Profile) Mesa 21.1.6 [2021:08:23:15:07:52]: Debug: GL: shader: 4.60 [2021:08:23:15:07:52]: Info: Color coding [Rec. 601] [2021:08:23:15:07:52]: Info: Color range: [MPEG] [2021:08:23:15:07:52]: Debug: --begin relative mouse move packet-- deltaX [-1] deltaY [-1] --end relative mouse move packet-- [2021:08:23:15:07:52]: Debug: type [IDX_REQUEST_IDR_FRAME] [2021:08:23:15:07:53]: Debug: RAISE: 192.168.1.87:58861 :: AUDIO [2021:08:23:15:07:53]: Debug: Received ping from 192.168.1.87:58861 [474E4950] [2021:08:23:15:07:53]: Debug: Start capturing Audio [2021:08:23:15:07:53]: Debug: Connecting to pulseaudio [2021:08:23:15:07:53]: Debug: null-sink args: rate=48000 sink_name=sink-sunshine-stereo format=s16le channels=2 channel_map=front-left,front-right sink_properties=device.description=sink-sunshine-stereo [2021:08:23:15:07:53]: Debug: null-sink args: rate=48000 sink_name=sink-sunshine-surround51 format=s16le channels=6 channel_map=front-left,front-right,front-center,lfe,rear-left,rear-right sink_properties=device.description=sink-sunshine-surround51 [2021:08:23:15:07:53]: Debug: null-sink args: rate=48000 sink_name=sink-sunshine-surround71 format=s16le channels=9 channel_map=front-left,front-right,front-center,lfe,lfe,rear-left,rear-right,side-left,side-right sink_properties=device.description=sink-sunshine-surround71 [2021:08:23:15:07:56]: Debug: --begin keyboard packet-- keyAction [03] keyCode [80A0] modifiers [01] --end keyboard packet-- [2021:08:23:15:07:59]: Debug: --begin keyboard packet-- keyAction [04] keyCode [80A0] modifiers [01] --end keyboard packet-- [2021:08:23:15:08:09]: Debug: --begin keyboard packet-- keyAction [03] keyCode [80A0] modifiers [01] --end keyboard packet-- [2021:08:23:15:08:09]: Debug: --begin keyboard packet-- keyAction [04] keyCode [00A0] modifiers [01] --end keyboard packet-- [2021:08:23:15:08:09]: Info: CLIENT DISCONNECTED [2021:08:23:15:08:09]: Debug: TUNNEL :: NONE [2021:08:23:15:08:09]: Debug: METHOD :: GET [2021:08:23:15:08:09]: Debug: DESTINATION :: /serverinfo [2021:08:23:15:08:09]: Debug: User-Agent -- Mozilla/5.0 [2021:08:23:15:08:09]: Debug: Accept-Language -- en-US,* [2021:08:23:15:08:09]: Debug: Accept-Encoding -- gzip, deflate [2021:08:23:15:08:09]: Debug: Connection -- Keep-Alive [2021:08:23:15:08:09]: Debug: Host -- 192.168.1.16:47989 [2021:08:23:15:08:09]: Debug: [--] [2021:08:23:15:08:09]: Debug: uuid -- 461eb61df49741579d731f50e91d07a5 [2021:08:23:15:08:09]: Debug: uniqueid -- 0123456789ABCDEF [2021:08:23:15:08:09]: Debug: [--] [2021:08:23:15:08:09]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:08:23:15:08:09]: Debug: TUNNEL :: HTTPS [2021:08:23:15:08:09]: Debug: METHOD :: GET [2021:08:23:15:08:09]: Debug: DESTINATION :: /serverinfo [2021:08:23:15:08:09]: Debug: User-Agent -- Mozilla/5.0 [2021:08:23:15:08:09]: Debug: Accept-Language -- en-US,* [2021:08:23:15:08:09]: Debug: Accept-Encoding -- gzip, deflate [2021:08:23:15:08:09]: Debug: Connection -- Keep-Alive [2021:08:23:15:08:09]: Debug: Host -- 192.168.1.16:47984 [2021:08:23:15:08:09]: Debug: [--] [2021:08:23:15:08:09]: Debug: uuid -- af6c5e67368a45849a7d9abddd2bae9c [2021:08:23:15:08:09]: Debug: uniqueid -- 0123456789ABCDEF [2021:08:23:15:08:09]: Debug: [--] [2021:08:23:15:08:09]: Info: /CN=NVIDIA GameStream Client -- verfied [2021:08:23:15:08:09]: Debug: TUNNEL :: HTTPS [2021:08:23:15:08:09]: Debug: METHOD :: GET [2021:08:23:15:08:09]: Debug: DESTINATION :: /applist [2021:08:23:15:08:09]: Debug: User-Agent -- Mozilla/5.0 [2021:08:23:15:08:09]: Debug: Accept-Language -- en-US,* [2021:08:23:15:08:09]: Debug: Accept-Encoding -- gzip, deflate [2021:08:23:15:08:09]: Debug: Connection -- Keep-Alive [2021:08:23:15:08:09]: Debug: Host -- 192.168.1.16:47984 [2021:08:23:15:08:09]: Debug: [--] [2021:08:23:15:08:09]: Debug: uuid -- fc05c57b9e00442abc5511a144fa89a0 [2021:08:23:15:08:09]: Debug: uniqueid -- 0123456789ABCDEF [2021:08:23:15:08:09]: Debug: [--] [2021:08:23:15:08:10]: Debug: Waiting for video to end... [2021:08:23:15:08:10]: Debug: Waiting for audio to end... [2021:08:23:15:08:11]: Debug: Pulseadio context terminated [2021:08:23:15:08:11]: Debug: Waiting for control to end... [2021:08:23:15:08:11]: Debug: Resetting Input... [2021:08:23:15:08:11]: Debug: Removing references to any connections... [2021:08:23:15:08:11]: Debug: Session ended [2021:08:23:15:08:11]: Debug: Waiting for main listening thread to end... [2021:08:23:15:08:11]: Debug: Waiting for main video thread to end... [2021:08:23:15:08:11]: Debug: Waiting for main audio thread to end... [2021:08:23:15:08:11]: Debug: Waiting for main control thread to end... [2021:08:23:15:08:11]: Debug: All broadcasting threads ended [2021:08:23:15:08:14]: Info: Interrupt handler called [2021:08:23:15:08:15]: Debug: Waiting for Gamepad notifications to stop... [2021:08:23:15:08:15]: Debug: Gamepad notifications stopped Sunshine exited: Press enter to continue
Are you launching sunshine via systemd or in a terminal?
Via terminal. sunshine .config/sunshine/sunshine.conf
What gpu(s) are you running and if more than one which one do you use for running sway/river?
I don't have a gpu, but I'm using a AMD Ryzen 3 2200G cpu and acording to AMD's website it has "Radeon Vega 8 Graphics".
I think we should set the kmsgrab in the config right?
No. Sunshine will always try to grab with KMS first.
If it cannot, it will fall back to X11.
Do you by any chance have your monitor attached to an Nvidia GPU?
For some reason it's not using KMS, setcap as mentioned has been run. Log indicating the issue:
[2021:08:26:20:21:20]: Error: Couldn't get drm fb for plane [104]: Invalid argument
[2021:08:26:20:21:20]: Error: Couldn't get drm fb for plane [96]: Invalid argument
[2021:08:26:20:21:20]: Info: Detecting connected monitors
[2021:08:26:20:21:20]: Info: Using X11 for screencasting
I need todo some more digging why that is but it explains why I am only getting black screens. Maybe something todo with my dualscreen setup, however I did try single monitor at some point to no avail - I'll try booting on notebook screen only later.
Please run drm_info
, this will print all available info on KMS on your system.
Then paste the output here. :)
If your distribution doesn't provide it, you can compile it from source here: https://github.com/ascent12/drm_info
@loki-47-6F-64 Thank you for trying to help me out here.
External Monitor is on HDMI, HDMI port is connected to the amd igpu
@loki-47-6F-64 just tried your latest changes and its now working for me - thank you! Will test in more detail later and report back any findings.
Which ones? The ones in the master branch, or the one in wlroots-drm branch?
@loki-47-6F-64 master branch.
I tried compiling wlroots-drm first but got stuck with some compile errors, I then saw the "kmsgrab: Support multi-plane formats" commit was merged to master and decided to try master again and thats the build I tested and which worked for me.
Awesome. Someone else fixed it. I love free software 😁
@loki-47-6F-64 *Open Source Software 😄
Appears to work fine. Only issue I found while using multiple monitors is that absolute mouse pointer controls when using moonlight on my tablet maps over both monitors instead of only the one I am streaming.
So left half of the tablets touchscreen = left monitor Right half of the tablets touchscreen = right monitor
Not sure if that's wayland specific or a moonlight issue tho. It was my understanding however that moonlight is only sending relative mouse pointer instructions so I am inclined to believe it's more down to how sunshine translates this.
@ghostface just a Small question: have you tried running a game in fullscreen?
For absolute mouse coordinates to work, I need to know both the size of the monitor and the relative position in the desktop.
On X11, Sunshine can deduce these parameters based on KMS alone, but on Wayland, the information isn't there.
I'm working on something to mitigate the issue, but it will always be guess work, I'm afraid. :P
@ghostface just a Small question: have you tried running a game in fullscreen?
I ran yuzu emulation via xwayland* (vulkan and prime-run on my dgpu) in fullscreen which worked. ~I haven't directly played it past the menu/intro loop as I had yuzu still configured to use ds4 controllers via steamlink and haven't had the time to reconfigure it for the brief test at the time.~ Just tried it with onscreen controls and its working.
(*yuzu gave me trouble on sway even without sunshine running so I had to run it with QT_QPA_PLATFORM=xcb yuzu to force usage of xwayland vs. native wayland which worked fine with and without sunshine streaming)
@loki-47-6F-64 understood, if it's a known limitation at this point (or even the future) it's fine - thanks for your hard work on this project!
Strange. I tried yuzu with xcb forced (xwayland) and after entering fullscreen, the screen on the moonlight client is frozen until the fullscreen is ended.
It's already fixed in a separate branch. It should be merged by the end of the week.
For now, you need to exit the stream and then resume to unfreeze the fullscreen.
Oh I don’t know how to thank you. You spend so much time into this project (which isn’t small at all) Just thank you for your work and time!
@iMonZ ah sorry - I forgot I had yuzu fullscreen mode set to borderless windowed, that's probably why I didn't have that issue. Try that as a workaround till the fix from the branch is fixed
Btw for anyone wondering as mentioned on this githubs project board the mouse cursor will not be visible when streaming from wayland.
I understood that there are some efforts to get a fake mouse cursor implemented in wayland for situations like this: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/431
I'm getting an... interesting issue here:
[2021:10:10:13:32:57]: Info: Resolution: 3840x2160
[2021:10:10:13:32:57]: Info: Selected monitor [Samsung Electric Company U28D590 0x00000000 (DP-2)] for streaming
[2021:10:10:13:32:57]: Info: Screencasting with Wayland's protocol
[2021:10:10:13:32:57]: Info: Found display [wayland-1]
[2021:10:10:13:32:57]: Info: Found interface: zxdg_output_manager_v1(9) version 3
[2021:10:10:13:32:57]: Info: Found interface: zwlr_export_dmabuf_manager_v1(26) version 1
[2021:10:10:13:32:57]: Info: Found interface: wl_output(42) version 3
[2021:10:10:13:32:57]: Info: Found interface: wl_output(43) version 3
[2021:10:10:13:32:57]: Info: Name: DP-2
[2021:10:10:13:32:57]: Info: Found monitor: Samsung Electric Company U28D590 0x00000000 (DP-2)
[2021:10:10:13:32:57]: Info: Offset: 0x0
[2021:10:10:13:32:57]: Info: Resolution: 3840x2160
[2021:10:10:13:32:57]: Info: Selected monitor [Samsung Electric Company U28D590 0x00000000 (DP-2)] for streaming
[2021:10:10:13:32:57]: Info: Screencasting with Wayland's protocol
[2021:10:10:13:32:57]: Info: Found display [wayland-1]
[2021:10:10:13:32:57]: Info: Found interface: zxdg_output_manager_v1(9) version 3
[2021:10:10:13:32:57]: Info: Found interface: zwlr_export_dmabuf_manager_v1(26) version 1
[2021:10:10:13:32:57]: Info: Found interface: wl_output(42) version 3
[2021:10:10:13:32:57]: Info: Found interface: wl_output(43) version 3
[2021:10:10:13:32:57]: Info: Name: DP-2
[2021:10:10:13:32:57]: Info: Found monitor: Samsung Electric Company U28D590 0x00000000 (DP-2)
[2021:10:10:13:32:57]: Info: Offset: 0x0
[2021:10:10:13:32:57]: Info: Resolution: 3840x2160
[2021:10:10:13:32:57]: Info: Selected monitor [Samsung Electric Company U28D590 0x00000000 (DP-2)] for streaming
I try to start "Desktop" from Moonlight, and I get this output. Oddly though, this output repeats and repeats until eventually Moonlight gives up and say "Connection Terminated: No video received from host". Also interestingly, I get two more of those after the "CLIENT DISCONNECTED" message appears.
I unfortunately don't have anything more from Sunshine in terms of logs - is there a debug flag I could enable?
In this configuration, I'm running Arch with Sway and wlroots-eglstreams, using proprietary nvidia drivers on a 3070.
As an aside, on this same machine, X11 streaming ("Screencasting with X11") works, however there I only get around 4k40fps or 1080p50fps there. Unfortunately I can't get the DRM screencasting mode to work under X11. I assume that's an environment issue or something nvidia-related though, because ffmpeg with kmsgrab iterates through all CRTCs and concludes that no planes work. I also assume this is something already known due to this #188 existing.
I've also tested Sunshine on plasma/kwin, which uses DRM screencasting but appears to fail. I believe that's also an issue with my environment or something nvidia-specific though, because ffmpeg with kmsgrab segfaults, and vainfo with LIBVA_DRIVER_NAME=vdpau
gives me a floating point exception, with no other output.
With all that said, rumour has it that NVIDIA will be dropping a new beta driver with GBM support tomorrow, so maybe that will fix all the problems. :)
So nvidia released a GBM support beta driver in october. Has anyone tried if it sunshine works yet?
Unfortunately I've had no luck with it. It doesn't seem to work under wayland at all for me.
Btw. I wanted to drop a quick note. If you disable hardware cursors before launching sway, moonlight will show the mouse cursor :-)
export WLR_NO_HARDWARE_CURSORS=1
I think we should close this issue because when things didn't work, I thought that there wasn't any support for Wayland, but there is!
For people who find this ticket:
Sunshine does work with Wayland. I was facing some issues and discovered two things:
$ WAYLAND_DISPLAY= __NV_PRIME_RENDER_OFFLOAD=1 sunshine
The first variable makes Sunshine not use Wayland and the second tells OpenGL to use my Nvidia card.
I'm getting an... interesting issue here:
[2021:10:10:13:32:57]: Info: Resolution: 3840x2160 [2021:10:10:13:32:57]: Info: Selected monitor [Samsung Electric Company U28D590 0x00000000 (DP-2)] for streaming [2021:10:10:13:32:57]: Info: Screencasting with Wayland's protocol [2021:10:10:13:32:57]: Info: Found display [wayland-1] [2021:10:10:13:32:57]: Info: Found interface: zxdg_output_manager_v1(9) version 3 [2021:10:10:13:32:57]: Info: Found interface: zwlr_export_dmabuf_manager_v1(26) version 1 [2021:10:10:13:32:57]: Info: Found interface: wl_output(42) version 3 [2021:10:10:13:32:57]: Info: Found interface: wl_output(43) version 3 [2021:10:10:13:32:57]: Info: Name: DP-2 [2021:10:10:13:32:57]: Info: Found monitor: Samsung Electric Company U28D590 0x00000000 (DP-2) [2021:10:10:13:32:57]: Info: Offset: 0x0 [2021:10:10:13:32:57]: Info: Resolution: 3840x2160 [2021:10:10:13:32:57]: Info: Selected monitor [Samsung Electric Company U28D590 0x00000000 (DP-2)] for streaming [2021:10:10:13:32:57]: Info: Screencasting with Wayland's protocol [2021:10:10:13:32:57]: Info: Found display [wayland-1] [2021:10:10:13:32:57]: Info: Found interface: zxdg_output_manager_v1(9) version 3 [2021:10:10:13:32:57]: Info: Found interface: zwlr_export_dmabuf_manager_v1(26) version 1 [2021:10:10:13:32:57]: Info: Found interface: wl_output(42) version 3 [2021:10:10:13:32:57]: Info: Found interface: wl_output(43) version 3 [2021:10:10:13:32:57]: Info: Name: DP-2 [2021:10:10:13:32:57]: Info: Found monitor: Samsung Electric Company U28D590 0x00000000 (DP-2) [2021:10:10:13:32:57]: Info: Offset: 0x0 [2021:10:10:13:32:57]: Info: Resolution: 3840x2160 [2021:10:10:13:32:57]: Info: Selected monitor [Samsung Electric Company U28D590 0x00000000 (DP-2)] for streaming
I try to start "Desktop" from Moonlight, and I get this output. Oddly though, this output repeats and repeats until eventually Moonlight gives up and say "Connection Terminated: No video received from host". Also interestingly, I get two more of those after the "CLIENT DISCONNECTED" message appears.
I unfortunately don't have anything more from Sunshine in terms of logs - is there a debug flag I could enable?
In this configuration, I'm running Arch with Sway and wlroots-eglstreams, using proprietary nvidia drivers on a 3070.
As an aside, on this same machine, X11 streaming ("Screencasting with X11") works, however there I only get around 4k40fps or 1080p50fps there. Unfortunately I can't get the DRM screencasting mode to work under X11. I assume that's an environment issue or something nvidia-related though, because ffmpeg with kmsgrab iterates through all CRTCs and concludes that no planes work. I also assume this is something already known due to this #188 existing.
I've also tested Sunshine on plasma/kwin, which uses DRM screencasting but appears to fail. I believe that's also an issue with my environment or something nvidia-specific though, because ffmpeg with kmsgrab segfaults, and vainfo with
LIBVA_DRIVER_NAME=vdpau
gives me a floating point exception, with no other output.With all that said, rumour has it that NVIDIA will be dropping a new beta driver with GBM support tomorrow, so maybe that will fix all the problems. :)
Getting this problem with an AMD GPU in Sway but not with GNOME wayland where it is working fine. Did you ever solve it? I can momentarily move the mouse with the black screen before I get the message "Connection Terminated: No video received from host" .
I wasn't expecting this to work with Wayland and I was right. On my phone it just shows a black screen a cursor that only moves when on Xwayland windows.
This isn't that big of a deal and can be put on a todo list or something for the future.