loki-47-6F-64 / sunshine

Host for Moonlight Streaming Client
GNU General Public License v3.0
1.77k stars 155 forks source link

Doesn't work with Wayland #44

Open Bonicgamer opened 3 years ago

Bonicgamer commented 3 years ago

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.

mirh commented 3 years ago

OBS barely supports the thing.. I think there are probably other priorities for the moment.

iMonZ commented 3 years ago

Same problem.

loki-47-6F-64 commented 3 years ago

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. :)

iMonZ commented 3 years ago

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

Doomsdayrs commented 3 years ago

I suggest renaming this issue to "Implement Wayland support"

Doomsdayrs commented 3 years ago

I suggest looking into https://github.com/flatpak/xdg-desktop-portal

Currently firefox uses this technique to select windows and screens on wayland.

iMonZ commented 3 years ago

OBS barely supports the thing.. I think there are probably other priorities for the moment.

OBS added support for it already!

iMonZ commented 3 years ago

@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

iMonZ commented 3 years ago

Is this issue fixed with this Pr https://github.com/loki-47-6F-64/sunshine/commit/ebf9dbe9318808a5e127d3b6e397b9fa5149f197 ?

Bonicgamer commented 3 years ago

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.

iMonZ commented 3 years ago

@Bonicgamer

Hmm that’s strange. How did you do that? I just got a black screen on the other end

ghostface commented 3 years ago

@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 commented 3 years ago

@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.

ghostface commented 3 years ago

@Bonicgamer whats your setup? gnome, sway etc.?

Bonicgamer commented 3 years ago

@Bonicgamer whats your setup? gnome, sway etc.?

I use river and installed sunshine (specifically "sunshine-git") from the aur.

ghostface commented 3 years ago

@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?

iMonZ commented 3 years ago

You can check it pretty easy. Just run xeyes and check if the eyes are following your pointer when your not inside the window.

Bonicgamer commented 3 years ago

...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.

ghostface commented 3 years ago

@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 :-)

Bonicgamer commented 3 years ago

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).

Sunshine Log (min_log_level = 1)
[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".

iMonZ commented 3 years ago

I think we should set the kmsgrab in the config right?

loki-47-6F-64 commented 3 years ago

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?

iMonZ commented 3 years ago

All right! I used the AUR instead of self compiling, and it's now working! (So the new AUR is working perfectly fine) Thank you @loki-47-6F-64 so much for this. I hope Mutter will fix this bug After that, it's perfect! (Small workaround for the mutter bug is this extension)

ghostface commented 3 years ago

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.

loki-47-6F-64 commented 3 years ago

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

ghostface commented 3 years ago

@loki-47-6F-64 Thank you for trying to help me out here.

drm_info without dgpu active (nvidia 3060 disabled - so only the amd igpu enabled) ``` Node: /dev/dri/card0 ├───Driver: amdgpu (AMD GPU) version 3.42.0 (20150101) │ ├───DRM_CLIENT_CAP_STEREO_3D supported │ ├───DRM_CLIENT_CAP_UNIVERSAL_PLANES supported │ ├───DRM_CLIENT_CAP_ATOMIC supported │ ├───DRM_CLIENT_CAP_ASPECT_RATIO supported │ ├───DRM_CLIENT_CAP_WRITEBACK_CONNECTORS supported │ ├───DRM_CAP_DUMB_BUFFER = 1 │ ├───DRM_CAP_VBLANK_HIGH_CRTC = 1 │ ├───DRM_CAP_DUMB_PREFERRED_DEPTH = 24 │ ├───DRM_CAP_DUMB_PREFER_SHADOW = 1 │ ├───DRM_CAP_PRIME = 3 │ ├───DRM_CAP_TIMESTAMP_MONOTONIC = 1 │ ├───DRM_CAP_ASYNC_PAGE_FLIP = 1 │ ├───DRM_CAP_CURSOR_WIDTH = 256 │ ├───DRM_CAP_CURSOR_HEIGHT = 256 │ ├───DRM_CAP_ADDFB2_MODIFIERS = 1 │ ├───DRM_CAP_PAGE_FLIP_TARGET = 0 │ ├───DRM_CAP_CRTC_IN_VBLANK_EVENT = 1 │ ├───DRM_CAP_SYNCOBJ = 1 │ └───DRM_CAP_SYNCOBJ_TIMELINE = 1 ├───Device: PCI 1002:1638 Advanced Micro Devices, Inc. [AMD/ATI] Cezanne │ └───Available nodes: primary, render ├───Framebuffer size │ ├───Width: [0, 16384] │ └───Height: [0, 16384] ├───Connectors │ ├───Connector 0 │ │ ├───Object ID: 78 │ │ ├───Type: eDP │ │ ├───Status: connected │ │ ├───Physical size: 310x170 mm │ │ ├───Subpixel: unknown │ │ ├───Encoders: {0} │ │ ├───Modes │ │ │ ├───2560x1440@120.00 preferred driver phsync pvsync │ │ │ ├───2560x1440@60.00 driver phsync pvsync │ │ │ ├───1920x1200@120.00 driver phsync pvsync │ │ │ ├───1920x1080@120.00 driver phsync pvsync │ │ │ ├───1600x1200@120.00 driver phsync pvsync │ │ │ ├───1680x1050@120.00 driver phsync pvsync │ │ │ ├───1280x1024@120.00 driver phsync pvsync │ │ │ ├───1440x900@120.00 driver phsync pvsync │ │ │ ├───1280x800@120.00 driver phsync pvsync │ │ │ ├───1280x720@120.00 driver phsync pvsync │ │ │ ├───1024x768@120.00 driver phsync pvsync │ │ │ ├───800x600@120.00 driver phsync pvsync │ │ │ └───640x480@120.00 driver phsync pvsync │ │ └───Properties │ │ ├───"EDID" (immutable): blob = 105 │ │ ├───"DPMS": enum {On, Standby, Suspend, Off} = On │ │ ├───"link-status": enum {Good, Bad} = Good │ │ ├───"non-desktop" (immutable): range [0, 1] = 0 │ │ ├───"TILE" (immutable): blob = 0 │ │ ├───"CRTC_ID" (atomic): object CRTC = 67 │ │ ├───"scaling mode": enum {None, Full, Center, Full aspect} = None │ │ ├───"underscan": enum {off, on, auto} = off │ │ ├───"underscan hborder": range [0, 128] = 0 │ │ ├───"underscan vborder": range [0, 128] = 0 │ │ ├───"max bpc": range [8, 16] = 16 │ │ ├───"abm level": range [0, 4] = 0 │ │ ├───"HDR_OUTPUT_METADATA": blob = 0 │ │ ├───"vrr_capable" (immutable): range [0, 1] = 1 │ │ ├───"Content Protection": enum {Undesired, Desired, Enabled} = Undesired │ │ └───"HDCP Content Type": enum {HDCP Type0, HDCP Type1} = HDCP Type0 │ └───Connector 1 │ ├───Object ID: 85 │ ├───Type: HDMI-A │ ├───Status: connected │ ├───Physical size: 600x330 mm │ ├───Subpixel: unknown │ ├───Encoders: {1} │ ├───Modes │ │ ├───2560x1440@59.95 preferred driver phsync nvsync │ │ ├───3840x2160@60.00 driver phsync pvsync 16:9 │ │ ├───3840x2160@59.94 driver phsync pvsync 16:9 │ │ ├───2560x1440@143.86 driver phsync nvsync │ │ ├───2560x1440@119.88 driver phsync nvsync │ │ ├───1920x1200@59.95 driver phsync nvsync │ │ ├───1920x1080@143.85 driver phsync pvsync │ │ ├───1920x1080@120.00 driver phsync pvsync 16:9 │ │ ├───1920x1080@119.88 driver phsync pvsync 16:9 │ │ ├───1920x1080@100.00 driver phsync pvsync 16:9 │ │ ├───1920x1080@60.00 driver nhsync nvsync │ │ ├───1920x1080@60.00 driver phsync pvsync 16:9 │ │ ├───1920x1080@59.94 driver phsync pvsync 16:9 │ │ ├───1920x1080@50.00 driver phsync pvsync 16:9 │ │ ├───1600x1200@59.95 driver phsync nvsync │ │ ├───1680x1050@59.88 driver phsync nvsync │ │ ├───1280x1024@75.03 driver phsync pvsync │ │ ├───1280x1024@60.02 driver phsync pvsync │ │ ├───1440x900@59.90 driver phsync nvsync │ │ ├───1280x800@59.95 driver phsync nvsync │ │ ├───1280x720@120.00 driver phsync pvsync 16:9 │ │ ├───1280x720@119.88 driver phsync pvsync 16:9 │ │ ├───1280x720@60.00 driver phsync pvsync 16:9 │ │ ├───1280x720@59.94 driver phsync pvsync 16:9 │ │ ├───1280x720@50.00 driver phsync pvsync 16:9 │ │ ├───1024x768@75.03 driver phsync pvsync │ │ ├───1024x768@70.07 driver nhsync nvsync │ │ ├───1024x768@60.00 driver nhsync nvsync │ │ ├───800x600@75.00 driver phsync pvsync │ │ ├───800x600@72.19 driver phsync pvsync │ │ ├───800x600@60.32 driver phsync pvsync │ │ ├───800x600@56.25 driver phsync pvsync │ │ ├───720x480@60.00 driver nhsync nvsync 4:3 │ │ ├───720x480@60.00 driver nhsync nvsync 16:9 │ │ ├───720x480@59.94 driver nhsync nvsync 4:3 │ │ ├───720x480@59.94 driver nhsync nvsync 16:9 │ │ ├───640x480@75.00 driver nhsync nvsync │ │ ├───640x480@72.81 driver nhsync nvsync │ │ ├───640x480@60.00 driver nhsync nvsync 4:3 │ │ └───640x480@59.94 driver nhsync nvsync │ └───Properties │ ├───"EDID" (immutable): blob = 84 │ ├───"DPMS": enum {On, Standby, Suspend, Off} = On │ ├───"link-status": enum {Good, Bad} = Good │ ├───"non-desktop" (immutable): range [0, 1] = 0 │ ├───"TILE" (immutable): blob = 0 │ ├───"CRTC_ID" (atomic): object CRTC = 70 │ ├───"scaling mode": enum {None, Full, Center, Full aspect} = None │ ├───"underscan": enum {off, on, auto} = off │ ├───"underscan hborder": range [0, 128] = 0 │ ├───"underscan vborder": range [0, 128] = 0 │ ├───"max bpc": range [8, 16] = 8 │ ├───"HDR_OUTPUT_METADATA": blob = 0 │ ├───"vrr_capable" (immutable): range [0, 1] = 0 │ ├───"Content Protection": enum {Undesired, Desired, Enabled} = Undesired │ └───"HDCP Content Type": enum {HDCP Type0, HDCP Type1} = HDCP Type0 ├───Encoders │ ├───Encoder 0 │ │ ├───Object ID: 77 │ │ ├───Type: TMDS │ │ ├───CRTCS: {0, 1, 2, 3} │ │ └───Clones: {0} │ ├───Encoder 1 │ │ ├───Object ID: 83 │ │ ├───Type: TMDS │ │ ├───CRTCS: {0, 1, 2, 3} │ │ └───Clones: {1} │ ├───Encoder 2 │ │ ├───Object ID: 88 │ │ ├───Type: DP MST │ │ ├───CRTCS: {0, 1, 2, 3} │ │ └───Clones: {2} │ ├───Encoder 3 │ │ ├───Object ID: 90 │ │ ├───Type: DP MST │ │ ├───CRTCS: {0, 1, 2, 3} │ │ └───Clones: {3} │ ├───Encoder 4 │ │ ├───Object ID: 91 │ │ ├───Type: DP MST │ │ ├───CRTCS: {0, 1, 2, 3} │ │ └───Clones: {4} │ └───Encoder 5 │ ├───Object ID: 92 │ ├───Type: DP MST │ ├───CRTCS: {0, 1, 2, 3} │ └───Clones: {5} ├───CRTCs │ ├───CRTC 0 │ │ ├───Object ID: 67 │ │ ├───Mode: 2560x1440@120.00 preferred driver phsync pvsync │ │ ├───Gamma size: 256 │ │ └───Properties │ │ ├───"ACTIVE" (atomic): range [0, 1] = 1 │ │ ├───"MODE_ID" (atomic): blob = 97 │ │ │ └───2560x1440@120.00 preferred driver phsync pvsync │ │ ├───"OUT_FENCE_PTR" (atomic): range [0, UINT64_MAX] = 0 │ │ ├───"VRR_ENABLED": range [0, 1] = 1 │ │ ├───"DEGAMMA_LUT": blob = 0 │ │ ├───"DEGAMMA_LUT_SIZE" (immutable): range [0, UINT32_MAX] = 4096 │ │ ├───"CTM": blob = 0 │ │ ├───"GAMMA_LUT": blob = 110 │ │ └───"GAMMA_LUT_SIZE" (immutable): range [0, UINT32_MAX] = 4096 │ ├───CRTC 1 │ │ ├───Object ID: 70 │ │ ├───Mode: 2560x1440@143.86 driver phsync nvsync │ │ ├───Gamma size: 256 │ │ └───Properties │ │ ├───"ACTIVE" (atomic): range [0, 1] = 1 │ │ ├───"MODE_ID" (atomic): blob = 103 │ │ │ └───2560x1440@143.86 driver phsync nvsync │ │ ├───"OUT_FENCE_PTR" (atomic): range [0, UINT64_MAX] = 0 │ │ ├───"VRR_ENABLED": range [0, 1] = 0 │ │ ├───"DEGAMMA_LUT": blob = 0 │ │ ├───"DEGAMMA_LUT_SIZE" (immutable): range [0, UINT32_MAX] = 4096 │ │ ├───"CTM": blob = 0 │ │ ├───"GAMMA_LUT": blob = 111 │ │ └───"GAMMA_LUT_SIZE" (immutable): range [0, UINT32_MAX] = 4096 │ ├───CRTC 2 │ │ ├───Object ID: 73 │ │ ├───Gamma size: 256 │ │ └───Properties │ │ ├───"ACTIVE" (atomic): range [0, 1] = 0 │ │ ├───"MODE_ID" (atomic): blob = 0 │ │ ├───"OUT_FENCE_PTR" (atomic): range [0, UINT64_MAX] = 0 │ │ ├───"VRR_ENABLED": range [0, 1] = 0 │ │ ├───"DEGAMMA_LUT": blob = 0 │ │ ├───"DEGAMMA_LUT_SIZE" (immutable): range [0, UINT32_MAX] = 4096 │ │ ├───"CTM": blob = 0 │ │ ├───"GAMMA_LUT": blob = 0 │ │ └───"GAMMA_LUT_SIZE" (immutable): range [0, UINT32_MAX] = 4096 │ └───CRTC 3 │ ├───Object ID: 76 │ ├───Gamma size: 256 │ └───Properties │ ├───"ACTIVE" (atomic): range [0, 1] = 0 │ ├───"MODE_ID" (atomic): blob = 0 │ ├───"OUT_FENCE_PTR" (atomic): range [0, UINT64_MAX] = 0 │ ├───"VRR_ENABLED": range [0, 1] = 0 │ ├───"DEGAMMA_LUT": blob = 0 │ ├───"DEGAMMA_LUT_SIZE" (immutable): range [0, UINT32_MAX] = 4096 │ ├───"CTM": blob = 0 │ ├───"GAMMA_LUT": blob = 0 │ └───"GAMMA_LUT_SIZE" (immutable): range [0, UINT32_MAX] = 4096 └───Planes ├───Plane 0 │ ├───Object ID: 40 │ ├───CRTCs: {3} │ ├───FB ID: 0 │ ├───Formats: │ │ ├───XRGB8888 (0x34325258) │ │ ├───ARGB8888 (0x34325241) │ │ ├───RGBA8888 (0x34324152) │ │ ├───XRGB2101010 (0x30335258) │ │ ├───XBGR2101010 (0x30334258) │ │ ├───ARGB2101010 (0x30335241) │ │ ├───ABGR2101010 (0x30334241) │ │ ├───Unknown (0x38345258) │ │ ├───Unknown (0x38344258) │ │ ├───Unknown (0x38345241) │ │ ├───Unknown (0x38344241) │ │ ├───XBGR8888 (0x34324258) │ │ ├───ABGR8888 (0x34324241) │ │ ├───RGB565 (0x36314752) │ │ ├───NV12 (0x3231564e) │ │ ├───P010 (0x30313050) │ │ ├───XRGB16161616F (0x48345258) │ │ ├───ARGB16161616F (0x48345241) │ │ ├───XBGR16161616F (0x48344258) │ │ └───ABGR16161616F (0x48344241) │ └───Properties │ ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary │ ├───"FB_ID" (atomic): object framebuffer = 0 │ ├───"IN_FENCE_FD" (atomic): srange [-1, INT32_MAX] = -1 │ ├───"CRTC_ID" (atomic): object CRTC = 0 │ ├───"CRTC_X" (atomic): srange [INT32_MIN, INT32_MAX] = 0 │ ├───"CRTC_Y" (atomic): srange [INT32_MIN, INT32_MAX] = 0 │ ├───"CRTC_W" (atomic): range [0, INT32_MAX] = 0 │ ├───"CRTC_H" (atomic): range [0, INT32_MAX] = 0 │ ├───"SRC_X" (atomic): range [0, UINT32_MAX] = 0 │ ├───"SRC_Y" (atomic): range [0, UINT32_MAX] = 0 │ ├───"SRC_W" (atomic): range [0, UINT32_MAX] = 0 │ ├───"SRC_H" (atomic): range [0, UINT32_MAX] = 0 │ ├───"IN_FORMATS" (immutable): blob = 41 │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, DCC_CONSTANT_ENCODE, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 0) (0x200000000513901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ └───ABGR8888 (0x34324241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 0) (0x200000000413901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ └───ABGR8888 (0x34324241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_RETILE, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, DCC_CONSTANT_ENCODE, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 1, PIPE = 2) (0x200000440517901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ └───ABGR8888 (0x34324241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_RETILE, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 1, PIPE = 2) (0x200000440417901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ └───ABGR8888 (0x34324241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_D_X, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0) (0x200000000401a01) │ │ │ ├───Unknown (0x38345258) │ │ │ ├───Unknown (0x38344258) │ │ │ ├───Unknown (0x38345241) │ │ │ ├───Unknown (0x38344241) │ │ │ ├───XRGB16161616F (0x48345258) │ │ │ ├───ARGB16161616F (0x48345241) │ │ │ ├───XBGR16161616F (0x48344258) │ │ │ └───ABGR16161616F (0x48344241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0) (0x200000000401901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───Unknown (0x38345258) │ │ │ ├───Unknown (0x38344258) │ │ │ ├───Unknown (0x38345241) │ │ │ ├───Unknown (0x38344241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ ├───ABGR8888 (0x34324241) │ │ │ ├───RGB565 (0x36314752) │ │ │ ├───NV12 (0x3231564e) │ │ │ ├───P010 (0x30313050) │ │ │ ├───XRGB16161616F (0x48345258) │ │ │ ├───ARGB16161616F (0x48345241) │ │ │ ├───XBGR16161616F (0x48344258) │ │ │ └───ABGR16161616F (0x48344241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_D) (0x200000000000a01) │ │ │ ├───Unknown (0x38345258) │ │ │ ├───Unknown (0x38344258) │ │ │ ├───Unknown (0x38345241) │ │ │ ├───Unknown (0x38344241) │ │ │ ├───XRGB16161616F (0x48345258) │ │ │ ├───ARGB16161616F (0x48345241) │ │ │ ├───XBGR16161616F (0x48344258) │ │ │ └───ABGR16161616F (0x48344241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S) (0x200000000000901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───Unknown (0x38345258) │ │ │ ├───Unknown (0x38344258) │ │ │ ├───Unknown (0x38345241) │ │ │ ├───Unknown (0x38344241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ ├───ABGR8888 (0x34324241) │ │ │ ├───RGB565 (0x36314752) │ │ │ ├───NV12 (0x3231564e) │ │ │ ├───P010 (0x30313050) │ │ │ ├───XRGB16161616F (0x48345258) │ │ │ ├───ARGB16161616F (0x48345241) │ │ │ ├───XBGR16161616F (0x48344258) │ │ │ └───ABGR16161616F (0x48344241) │ │ └───DRM_FORMAT_MOD_LINEAR (0x0) │ │ ├───XRGB8888 (0x34325258) │ │ ├───ARGB8888 (0x34325241) │ │ ├───RGBA8888 (0x34324152) │ │ ├───XRGB2101010 (0x30335258) │ │ ├───XBGR2101010 (0x30334258) │ │ ├───ARGB2101010 (0x30335241) │ │ ├───ABGR2101010 (0x30334241) │ │ ├───Unknown (0x38345258) │ │ ├───Unknown (0x38344258) │ │ ├───Unknown (0x38345241) │ │ ├───Unknown (0x38344241) │ │ ├───XBGR8888 (0x34324258) │ │ ├───ABGR8888 (0x34324241) │ │ ├───RGB565 (0x36314752) │ │ ├───NV12 (0x3231564e) │ │ ├───P010 (0x30313050) │ │ ├───XRGB16161616F (0x48345258) │ │ ├───ARGB16161616F (0x48345241) │ │ ├───XBGR16161616F (0x48344258) │ │ └───ABGR16161616F (0x48344241) │ ├───"COLOR_ENCODING": enum {ITU-R BT.601 YCbCr, ITU-R BT.709 YCbCr, ITU-R BT.2020 YCbCr} = ITU-R BT.601 YCbCr │ ├───"COLOR_RANGE": enum {YCbCr limited range, YCbCr full range} = YCbCr limited range │ └───"rotation": bitmask {rotate-0, rotate-90, rotate-180, rotate-270} = (rotate-0) ├───Plane 1 │ ├───Object ID: 45 │ ├───CRTCs: {2} │ ├───FB ID: 0 │ ├───Formats: │ │ ├───XRGB8888 (0x34325258) │ │ ├───ARGB8888 (0x34325241) │ │ ├───RGBA8888 (0x34324152) │ │ ├───XRGB2101010 (0x30335258) │ │ ├───XBGR2101010 (0x30334258) │ │ ├───ARGB2101010 (0x30335241) │ │ ├───ABGR2101010 (0x30334241) │ │ ├───Unknown (0x38345258) │ │ ├───Unknown (0x38344258) │ │ ├───Unknown (0x38345241) │ │ ├───Unknown (0x38344241) │ │ ├───XBGR8888 (0x34324258) │ │ ├───ABGR8888 (0x34324241) │ │ ├───RGB565 (0x36314752) │ │ ├───NV12 (0x3231564e) │ │ ├───P010 (0x30313050) │ │ ├───XRGB16161616F (0x48345258) │ │ ├───ARGB16161616F (0x48345241) │ │ ├───XBGR16161616F (0x48344258) │ │ └───ABGR16161616F (0x48344241) │ └───Properties │ ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary │ ├───"FB_ID" (atomic): object framebuffer = 0 │ ├───"IN_FENCE_FD" (atomic): srange [-1, INT32_MAX] = -1 │ ├───"CRTC_ID" (atomic): object CRTC = 0 │ ├───"CRTC_X" (atomic): srange [INT32_MIN, INT32_MAX] = 0 │ ├───"CRTC_Y" (atomic): srange [INT32_MIN, INT32_MAX] = 0 │ ├───"CRTC_W" (atomic): range [0, INT32_MAX] = 0 │ ├───"CRTC_H" (atomic): range [0, INT32_MAX] = 0 │ ├───"SRC_X" (atomic): range [0, UINT32_MAX] = 0 │ ├───"SRC_Y" (atomic): range [0, UINT32_MAX] = 0 │ ├───"SRC_W" (atomic): range [0, UINT32_MAX] = 0 │ ├───"SRC_H" (atomic): range [0, UINT32_MAX] = 0 │ ├───"IN_FORMATS" (immutable): blob = 46 │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, DCC_CONSTANT_ENCODE, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 0) (0x200000000513901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ └───ABGR8888 (0x34324241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 0) (0x200000000413901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ └───ABGR8888 (0x34324241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_RETILE, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, DCC_CONSTANT_ENCODE, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 1, PIPE = 2) (0x200000440517901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ └───ABGR8888 (0x34324241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_RETILE, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 1, PIPE = 2) (0x200000440417901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ └───ABGR8888 (0x34324241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_D_X, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0) (0x200000000401a01) │ │ │ ├───Unknown (0x38345258) │ │ │ ├───Unknown (0x38344258) │ │ │ ├───Unknown (0x38345241) │ │ │ ├───Unknown (0x38344241) │ │ │ ├───XRGB16161616F (0x48345258) │ │ │ ├───ARGB16161616F (0x48345241) │ │ │ ├───XBGR16161616F (0x48344258) │ │ │ └───ABGR16161616F (0x48344241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0) (0x200000000401901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───Unknown (0x38345258) │ │ │ ├───Unknown (0x38344258) │ │ │ ├───Unknown (0x38345241) │ │ │ ├───Unknown (0x38344241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ ├───ABGR8888 (0x34324241) │ │ │ ├───RGB565 (0x36314752) │ │ │ ├───NV12 (0x3231564e) │ │ │ ├───P010 (0x30313050) │ │ │ ├───XRGB16161616F (0x48345258) │ │ │ ├───ARGB16161616F (0x48345241) │ │ │ ├───XBGR16161616F (0x48344258) │ │ │ └───ABGR16161616F (0x48344241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_D) (0x200000000000a01) │ │ │ ├───Unknown (0x38345258) │ │ │ ├───Unknown (0x38344258) │ │ │ ├───Unknown (0x38345241) │ │ │ ├───Unknown (0x38344241) │ │ │ ├───XRGB16161616F (0x48345258) │ │ │ ├───ARGB16161616F (0x48345241) │ │ │ ├───XBGR16161616F (0x48344258) │ │ │ └───ABGR16161616F (0x48344241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S) (0x200000000000901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───Unknown (0x38345258) │ │ │ ├───Unknown (0x38344258) │ │ │ ├───Unknown (0x38345241) │ │ │ ├───Unknown (0x38344241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ ├───ABGR8888 (0x34324241) │ │ │ ├───RGB565 (0x36314752) │ │ │ ├───NV12 (0x3231564e) │ │ │ ├───P010 (0x30313050) │ │ │ ├───XRGB16161616F (0x48345258) │ │ │ ├───ARGB16161616F (0x48345241) │ │ │ ├───XBGR16161616F (0x48344258) │ │ │ └───ABGR16161616F (0x48344241) │ │ └───DRM_FORMAT_MOD_LINEAR (0x0) │ │ ├───XRGB8888 (0x34325258) │ │ ├───ARGB8888 (0x34325241) │ │ ├───RGBA8888 (0x34324152) │ │ ├───XRGB2101010 (0x30335258) │ │ ├───XBGR2101010 (0x30334258) │ │ ├───ARGB2101010 (0x30335241) │ │ ├───ABGR2101010 (0x30334241) │ │ ├───Unknown (0x38345258) │ │ ├───Unknown (0x38344258) │ │ ├───Unknown (0x38345241) │ │ ├───Unknown (0x38344241) │ │ ├───XBGR8888 (0x34324258) │ │ ├───ABGR8888 (0x34324241) │ │ ├───RGB565 (0x36314752) │ │ ├───NV12 (0x3231564e) │ │ ├───P010 (0x30313050) │ │ ├───XRGB16161616F (0x48345258) │ │ ├───ARGB16161616F (0x48345241) │ │ ├───XBGR16161616F (0x48344258) │ │ └───ABGR16161616F (0x48344241) │ ├───"COLOR_ENCODING": enum {ITU-R BT.601 YCbCr, ITU-R BT.709 YCbCr, ITU-R BT.2020 YCbCr} = ITU-R BT.601 YCbCr │ ├───"COLOR_RANGE": enum {YCbCr limited range, YCbCr full range} = YCbCr limited range │ └───"rotation": bitmask {rotate-0, rotate-90, rotate-180, rotate-270} = (rotate-0) ├───Plane 2 │ ├───Object ID: 50 │ ├───CRTCs: {1} │ ├───FB ID: 99 │ │ ├───Object ID: 99 │ │ ├───Size: 2560x1440 │ │ ├───Format: ARGB8888 (0x34325241) │ │ ├───Modifier: AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_RETILE, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, DCC_CONSTANT_ENCODE, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 1, PIPE = 2) (0x200000440517901) │ │ └───Planes: │ │ │ Plane 0: offset = 0, pitch = 10240 │ │ │ Plane 1: offset = 15728640, pitch = 2560 │ │ └───Plane 2: offset = 15794176, pitch = 2560 │ ├───Formats: │ │ ├───XRGB8888 (0x34325258) │ │ ├───ARGB8888 (0x34325241) │ │ ├───RGBA8888 (0x34324152) │ │ ├───XRGB2101010 (0x30335258) │ │ ├───XBGR2101010 (0x30334258) │ │ ├───ARGB2101010 (0x30335241) │ │ ├───ABGR2101010 (0x30334241) │ │ ├───Unknown (0x38345258) │ │ ├───Unknown (0x38344258) │ │ ├───Unknown (0x38345241) │ │ ├───Unknown (0x38344241) │ │ ├───XBGR8888 (0x34324258) │ │ ├───ABGR8888 (0x34324241) │ │ ├───RGB565 (0x36314752) │ │ ├───NV12 (0x3231564e) │ │ ├───P010 (0x30313050) │ │ ├───XRGB16161616F (0x48345258) │ │ ├───ARGB16161616F (0x48345241) │ │ ├───XBGR16161616F (0x48344258) │ │ └───ABGR16161616F (0x48344241) │ └───Properties │ ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary │ ├───"FB_ID" (atomic): object framebuffer = 99 │ │ ├───Object ID: 99 │ │ ├───Size: 2560x1440 │ │ ├───Format: ARGB8888 (0x34325241) │ │ ├───Modifier: AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_RETILE, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, DCC_CONSTANT_ENCODE, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 1, PIPE = 2) (0x200000440517901) │ │ └───Planes: │ │ │ Plane 0: offset = 0, pitch = 10240 │ │ │ Plane 1: offset = 15728640, pitch = 2560 │ │ └───Plane 2: offset = 15794176, pitch = 2560 │ ├───"IN_FENCE_FD" (atomic): srange [-1, INT32_MAX] = -1 │ ├───"CRTC_ID" (atomic): object CRTC = 70 │ ├───"CRTC_X" (atomic): srange [INT32_MIN, INT32_MAX] = 0 │ ├───"CRTC_Y" (atomic): srange [INT32_MIN, INT32_MAX] = 0 │ ├───"CRTC_W" (atomic): range [0, INT32_MAX] = 2560 │ ├───"CRTC_H" (atomic): range [0, INT32_MAX] = 1440 │ ├───"SRC_X" (atomic): range [0, UINT32_MAX] = 0 │ ├───"SRC_Y" (atomic): range [0, UINT32_MAX] = 0 │ ├───"SRC_W" (atomic): range [0, UINT32_MAX] = 2560 │ ├───"SRC_H" (atomic): range [0, UINT32_MAX] = 1440 │ ├───"IN_FORMATS" (immutable): blob = 51 │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, DCC_CONSTANT_ENCODE, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 0) (0x200000000513901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ └───ABGR8888 (0x34324241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 0) (0x200000000413901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ └───ABGR8888 (0x34324241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_RETILE, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, DCC_CONSTANT_ENCODE, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 1, PIPE = 2) (0x200000440517901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ └───ABGR8888 (0x34324241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_RETILE, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 1, PIPE = 2) (0x200000440417901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ └───ABGR8888 (0x34324241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_D_X, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0) (0x200000000401a01) │ │ │ ├───Unknown (0x38345258) │ │ │ ├───Unknown (0x38344258) │ │ │ ├───Unknown (0x38345241) │ │ │ ├───Unknown (0x38344241) │ │ │ ├───XRGB16161616F (0x48345258) │ │ │ ├───ARGB16161616F (0x48345241) │ │ │ ├───XBGR16161616F (0x48344258) │ │ │ └───ABGR16161616F (0x48344241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0) (0x200000000401901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───Unknown (0x38345258) │ │ │ ├───Unknown (0x38344258) │ │ │ ├───Unknown (0x38345241) │ │ │ ├───Unknown (0x38344241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ ├───ABGR8888 (0x34324241) │ │ │ ├───RGB565 (0x36314752) │ │ │ ├───NV12 (0x3231564e) │ │ │ ├───P010 (0x30313050) │ │ │ ├───XRGB16161616F (0x48345258) │ │ │ ├───ARGB16161616F (0x48345241) │ │ │ ├───XBGR16161616F (0x48344258) │ │ │ └───ABGR16161616F (0x48344241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_D) (0x200000000000a01) │ │ │ ├───Unknown (0x38345258) │ │ │ ├───Unknown (0x38344258) │ │ │ ├───Unknown (0x38345241) │ │ │ ├───Unknown (0x38344241) │ │ │ ├───XRGB16161616F (0x48345258) │ │ │ ├───ARGB16161616F (0x48345241) │ │ │ ├───XBGR16161616F (0x48344258) │ │ │ └───ABGR16161616F (0x48344241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S) (0x200000000000901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───Unknown (0x38345258) │ │ │ ├───Unknown (0x38344258) │ │ │ ├───Unknown (0x38345241) │ │ │ ├───Unknown (0x38344241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ ├───ABGR8888 (0x34324241) │ │ │ ├───RGB565 (0x36314752) │ │ │ ├───NV12 (0x3231564e) │ │ │ ├───P010 (0x30313050) │ │ │ ├───XRGB16161616F (0x48345258) │ │ │ ├───ARGB16161616F (0x48345241) │ │ │ ├───XBGR16161616F (0x48344258) │ │ │ └───ABGR16161616F (0x48344241) │ │ └───DRM_FORMAT_MOD_LINEAR (0x0) │ │ ├───XRGB8888 (0x34325258) │ │ ├───ARGB8888 (0x34325241) │ │ ├───RGBA8888 (0x34324152) │ │ ├───XRGB2101010 (0x30335258) │ │ ├───XBGR2101010 (0x30334258) │ │ ├───ARGB2101010 (0x30335241) │ │ ├───ABGR2101010 (0x30334241) │ │ ├───Unknown (0x38345258) │ │ ├───Unknown (0x38344258) │ │ ├───Unknown (0x38345241) │ │ ├───Unknown (0x38344241) │ │ ├───XBGR8888 (0x34324258) │ │ ├───ABGR8888 (0x34324241) │ │ ├───RGB565 (0x36314752) │ │ ├───NV12 (0x3231564e) │ │ ├───P010 (0x30313050) │ │ ├───XRGB16161616F (0x48345258) │ │ ├───ARGB16161616F (0x48345241) │ │ ├───XBGR16161616F (0x48344258) │ │ └───ABGR16161616F (0x48344241) │ ├───"COLOR_ENCODING": enum {ITU-R BT.601 YCbCr, ITU-R BT.709 YCbCr, ITU-R BT.2020 YCbCr} = ITU-R BT.601 YCbCr │ ├───"COLOR_RANGE": enum {YCbCr limited range, YCbCr full range} = YCbCr limited range │ └───"rotation": bitmask {rotate-0, rotate-90, rotate-180, rotate-270} = (rotate-0) ├───Plane 3 │ ├───Object ID: 55 │ ├───CRTCs: {0} │ ├───FB ID: 102 │ │ ├───Object ID: 102 │ │ ├───Size: 2560x1440 │ │ ├───Format: ARGB8888 (0x34325241) │ │ ├───Modifier: AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_RETILE, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, DCC_CONSTANT_ENCODE, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 1, PIPE = 2) (0x200000440517901) │ │ └───Planes: │ │ │ Plane 0: offset = 0, pitch = 10240 │ │ │ Plane 1: offset = 15728640, pitch = 2560 │ │ └───Plane 2: offset = 15794176, pitch = 2560 │ ├───Formats: │ │ ├───XRGB8888 (0x34325258) │ │ ├───ARGB8888 (0x34325241) │ │ ├───RGBA8888 (0x34324152) │ │ ├───XRGB2101010 (0x30335258) │ │ ├───XBGR2101010 (0x30334258) │ │ ├───ARGB2101010 (0x30335241) │ │ ├───ABGR2101010 (0x30334241) │ │ ├───Unknown (0x38345258) │ │ ├───Unknown (0x38344258) │ │ ├───Unknown (0x38345241) │ │ ├───Unknown (0x38344241) │ │ ├───XBGR8888 (0x34324258) │ │ ├───ABGR8888 (0x34324241) │ │ ├───RGB565 (0x36314752) │ │ ├───NV12 (0x3231564e) │ │ ├───P010 (0x30313050) │ │ ├───XRGB16161616F (0x48345258) │ │ ├───ARGB16161616F (0x48345241) │ │ ├───XBGR16161616F (0x48344258) │ │ └───ABGR16161616F (0x48344241) │ └───Properties │ ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Primary │ ├───"FB_ID" (atomic): object framebuffer = 102 │ │ ├───Object ID: 102 │ │ ├───Size: 2560x1440 │ │ ├───Format: ARGB8888 (0x34325241) │ │ ├───Modifier: AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_RETILE, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, DCC_CONSTANT_ENCODE, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 1, PIPE = 2) (0x200000440517901) │ │ └───Planes: │ │ │ Plane 0: offset = 0, pitch = 10240 │ │ │ Plane 1: offset = 15728640, pitch = 2560 │ │ └───Plane 2: offset = 15794176, pitch = 2560 │ ├───"IN_FENCE_FD" (atomic): srange [-1, INT32_MAX] = -1 │ ├───"CRTC_ID" (atomic): object CRTC = 67 │ ├───"CRTC_X" (atomic): srange [INT32_MIN, INT32_MAX] = 0 │ ├───"CRTC_Y" (atomic): srange [INT32_MIN, INT32_MAX] = 0 │ ├───"CRTC_W" (atomic): range [0, INT32_MAX] = 2560 │ ├───"CRTC_H" (atomic): range [0, INT32_MAX] = 1440 │ ├───"SRC_X" (atomic): range [0, UINT32_MAX] = 0 │ ├───"SRC_Y" (atomic): range [0, UINT32_MAX] = 0 │ ├───"SRC_W" (atomic): range [0, UINT32_MAX] = 2560 │ ├───"SRC_H" (atomic): range [0, UINT32_MAX] = 1440 │ ├───"IN_FORMATS" (immutable): blob = 56 │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, DCC_CONSTANT_ENCODE, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 0) (0x200000000513901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ └───ABGR8888 (0x34324241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 0) (0x200000000413901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ └───ABGR8888 (0x34324241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_RETILE, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, DCC_CONSTANT_ENCODE, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 1, PIPE = 2) (0x200000440517901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ └───ABGR8888 (0x34324241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_RETILE, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 1, PIPE = 2) (0x200000440417901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ └───ABGR8888 (0x34324241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_D_X, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0) (0x200000000401a01) │ │ │ ├───Unknown (0x38345258) │ │ │ ├───Unknown (0x38344258) │ │ │ ├───Unknown (0x38345241) │ │ │ ├───Unknown (0x38344241) │ │ │ ├───XRGB16161616F (0x48345258) │ │ │ ├───ARGB16161616F (0x48345241) │ │ │ ├───XBGR16161616F (0x48344258) │ │ │ └───ABGR16161616F (0x48344241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0) (0x200000000401901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───Unknown (0x38345258) │ │ │ ├───Unknown (0x38344258) │ │ │ ├───Unknown (0x38345241) │ │ │ ├───Unknown (0x38344241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ ├───ABGR8888 (0x34324241) │ │ │ ├───RGB565 (0x36314752) │ │ │ ├───NV12 (0x3231564e) │ │ │ ├───P010 (0x30313050) │ │ │ ├───XRGB16161616F (0x48345258) │ │ │ ├───ARGB16161616F (0x48345241) │ │ │ ├───XBGR16161616F (0x48344258) │ │ │ └───ABGR16161616F (0x48344241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_D) (0x200000000000a01) │ │ │ ├───Unknown (0x38345258) │ │ │ ├───Unknown (0x38344258) │ │ │ ├───Unknown (0x38345241) │ │ │ ├───Unknown (0x38344241) │ │ │ ├───XRGB16161616F (0x48345258) │ │ │ ├───ARGB16161616F (0x48345241) │ │ │ ├───XBGR16161616F (0x48344258) │ │ │ └───ABGR16161616F (0x48344241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S) (0x200000000000901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XRGB2101010 (0x30335258) │ │ │ ├───XBGR2101010 (0x30334258) │ │ │ ├───ARGB2101010 (0x30335241) │ │ │ ├───ABGR2101010 (0x30334241) │ │ │ ├───Unknown (0x38345258) │ │ │ ├───Unknown (0x38344258) │ │ │ ├───Unknown (0x38345241) │ │ │ ├───Unknown (0x38344241) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ ├───ABGR8888 (0x34324241) │ │ │ ├───RGB565 (0x36314752) │ │ │ ├───NV12 (0x3231564e) │ │ │ ├───P010 (0x30313050) │ │ │ ├───XRGB16161616F (0x48345258) │ │ │ ├───ARGB16161616F (0x48345241) │ │ │ ├───XBGR16161616F (0x48344258) │ │ │ └───ABGR16161616F (0x48344241) │ │ └───DRM_FORMAT_MOD_LINEAR (0x0) │ │ ├───XRGB8888 (0x34325258) │ │ ├───ARGB8888 (0x34325241) │ │ ├───RGBA8888 (0x34324152) │ │ ├───XRGB2101010 (0x30335258) │ │ ├───XBGR2101010 (0x30334258) │ │ ├───ARGB2101010 (0x30335241) │ │ ├───ABGR2101010 (0x30334241) │ │ ├───Unknown (0x38345258) │ │ ├───Unknown (0x38344258) │ │ ├───Unknown (0x38345241) │ │ ├───Unknown (0x38344241) │ │ ├───XBGR8888 (0x34324258) │ │ ├───ABGR8888 (0x34324241) │ │ ├───RGB565 (0x36314752) │ │ ├───NV12 (0x3231564e) │ │ ├───P010 (0x30313050) │ │ ├───XRGB16161616F (0x48345258) │ │ ├───ARGB16161616F (0x48345241) │ │ ├───XBGR16161616F (0x48344258) │ │ └───ABGR16161616F (0x48344241) │ ├───"COLOR_ENCODING": enum {ITU-R BT.601 YCbCr, ITU-R BT.709 YCbCr, ITU-R BT.2020 YCbCr} = ITU-R BT.601 YCbCr │ ├───"COLOR_RANGE": enum {YCbCr limited range, YCbCr full range} = YCbCr limited range │ └───"rotation": bitmask {rotate-0, rotate-90, rotate-180, rotate-270} = (rotate-0) ├───Plane 4 │ ├───Object ID: 60 │ ├───CRTCs: {0, 1, 2, 3, 4, 5, 6, 7} │ ├───FB ID: 0 │ ├───Formats: │ │ ├───XRGB8888 (0x34325258) │ │ ├───ARGB8888 (0x34325241) │ │ ├───RGBA8888 (0x34324152) │ │ ├───XBGR8888 (0x34324258) │ │ ├───ABGR8888 (0x34324241) │ │ └───RGB565 (0x36314752) │ └───Properties │ ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Overlay │ ├───"FB_ID" (atomic): object framebuffer = 0 │ ├───"IN_FENCE_FD" (atomic): srange [-1, INT32_MAX] = -1 │ ├───"CRTC_ID" (atomic): object CRTC = 0 │ ├───"CRTC_X" (atomic): srange [INT32_MIN, INT32_MAX] = 0 │ ├───"CRTC_Y" (atomic): srange [INT32_MIN, INT32_MAX] = 0 │ ├───"CRTC_W" (atomic): range [0, INT32_MAX] = 0 │ ├───"CRTC_H" (atomic): range [0, INT32_MAX] = 0 │ ├───"SRC_X" (atomic): range [0, UINT32_MAX] = 0 │ ├───"SRC_Y" (atomic): range [0, UINT32_MAX] = 0 │ ├───"SRC_W" (atomic): range [0, UINT32_MAX] = 0 │ ├───"SRC_H" (atomic): range [0, UINT32_MAX] = 0 │ ├───"IN_FORMATS" (immutable): blob = 61 │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, DCC_CONSTANT_ENCODE, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 0) (0x200000000513901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ └───ABGR8888 (0x34324241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 0) (0x200000000413901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ └───ABGR8888 (0x34324241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_RETILE, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, DCC_CONSTANT_ENCODE, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 1, PIPE = 2) (0x200000440517901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ └───ABGR8888 (0x34324241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, DCC, DCC_RETILE, DCC_INDEPENDENT_64B, DCC_MAX_COMPRESSED_BLOCK = 64B, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0, RB = 1, PIPE = 2) (0x200000440417901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ └───ABGR8888 (0x34324241) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_D_X, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0) (0x200000000401a01) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S_X, PIPE_XOR_BITS = 2, BANK_XOR_BITS = 0) (0x200000000401901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ ├───ABGR8888 (0x34324241) │ │ │ └───RGB565 (0x36314752) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_D) (0x200000000000a01) │ │ ├───AMD(TILE_VERSION = GFX9, TILE = GFX9_64K_S) (0x200000000000901) │ │ │ ├───XRGB8888 (0x34325258) │ │ │ ├───ARGB8888 (0x34325241) │ │ │ ├───RGBA8888 (0x34324152) │ │ │ ├───XBGR8888 (0x34324258) │ │ │ ├───ABGR8888 (0x34324241) │ │ │ └───RGB565 (0x36314752) │ │ └───DRM_FORMAT_MOD_LINEAR (0x0) │ │ ├───XRGB8888 (0x34325258) │ │ ├───ARGB8888 (0x34325241) │ │ ├───RGBA8888 (0x34324152) │ │ ├───XBGR8888 (0x34324258) │ │ ├───ABGR8888 (0x34324241) │ │ └───RGB565 (0x36314752) │ ├───"alpha": range [0, UINT16_MAX] = 65535 │ ├───"pixel blend mode": enum {None, Pre-multiplied} = Pre-multiplied │ └───"rotation": bitmask {rotate-0, rotate-90, rotate-180, rotate-270} = (rotate-0) ├───Plane 5 │ ├───Object ID: 65 │ ├───CRTCs: {0} │ ├───FB ID: 0 │ ├───Formats: │ │ └───ARGB8888 (0x34325241) │ └───Properties │ ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Cursor │ ├───"FB_ID" (atomic): object framebuffer = 0 │ ├───"IN_FENCE_FD" (atomic): srange [-1, INT32_MAX] = -1 │ ├───"CRTC_ID" (atomic): object CRTC = 0 │ ├───"CRTC_X" (atomic): srange [INT32_MIN, INT32_MAX] = 2557 │ ├───"CRTC_Y" (atomic): srange [INT32_MIN, INT32_MAX] = 312 │ ├───"CRTC_W" (atomic): range [0, INT32_MAX] = 256 │ ├───"CRTC_H" (atomic): range [0, INT32_MAX] = 256 │ ├───"SRC_X" (atomic): range [0, UINT32_MAX] = 0 │ ├───"SRC_Y" (atomic): range [0, UINT32_MAX] = 0 │ ├───"SRC_W" (atomic): range [0, UINT32_MAX] = 256 │ ├───"SRC_H" (atomic): range [0, UINT32_MAX] = 256 │ └───"IN_FORMATS" (immutable): blob = 66 │ └───DRM_FORMAT_MOD_LINEAR (0x0) │ └───ARGB8888 (0x34325241) ├───Plane 6 │ ├───Object ID: 68 │ ├───CRTCs: {1} │ ├───FB ID: 107 │ │ ├───Object ID: 107 │ │ ├───Size: 256x256 │ │ ├───Format: ARGB8888 (0x34325241) │ │ ├───Modifier: DRM_FORMAT_MOD_LINEAR (0x0) │ │ └───Planes: │ │ └───Plane 0: offset = 0, pitch = 1024 │ ├───Formats: │ │ └───ARGB8888 (0x34325241) │ └───Properties │ ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Cursor │ ├───"FB_ID" (atomic): object framebuffer = 107 │ │ ├───Object ID: 107 │ │ ├───Size: 256x256 │ │ ├───Format: ARGB8888 (0x34325241) │ │ ├───Modifier: DRM_FORMAT_MOD_LINEAR (0x0) │ │ └───Planes: │ │ └───Plane 0: offset = 0, pitch = 1024 │ ├───"IN_FENCE_FD" (atomic): srange [-1, INT32_MAX] = -1 │ ├───"CRTC_ID" (atomic): object CRTC = 70 │ ├───"CRTC_X" (atomic): srange [INT32_MIN, INT32_MAX] = 1947 │ ├───"CRTC_Y" (atomic): srange [INT32_MIN, INT32_MAX] = 1035 │ ├───"CRTC_W" (atomic): range [0, INT32_MAX] = 256 │ ├───"CRTC_H" (atomic): range [0, INT32_MAX] = 256 │ ├───"SRC_X" (atomic): range [0, UINT32_MAX] = 0 │ ├───"SRC_Y" (atomic): range [0, UINT32_MAX] = 0 │ ├───"SRC_W" (atomic): range [0, UINT32_MAX] = 256 │ ├───"SRC_H" (atomic): range [0, UINT32_MAX] = 256 │ └───"IN_FORMATS" (immutable): blob = 69 │ └───DRM_FORMAT_MOD_LINEAR (0x0) │ └───ARGB8888 (0x34325241) ├───Plane 7 │ ├───Object ID: 71 │ ├───CRTCs: {2} │ ├───FB ID: 0 │ ├───Formats: │ │ └───ARGB8888 (0x34325241) │ └───Properties │ ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Cursor │ ├───"FB_ID" (atomic): object framebuffer = 0 │ ├───"IN_FENCE_FD" (atomic): srange [-1, INT32_MAX] = -1 │ ├───"CRTC_ID" (atomic): object CRTC = 0 │ ├───"CRTC_X" (atomic): srange [INT32_MIN, INT32_MAX] = 0 │ ├───"CRTC_Y" (atomic): srange [INT32_MIN, INT32_MAX] = 0 │ ├───"CRTC_W" (atomic): range [0, INT32_MAX] = 0 │ ├───"CRTC_H" (atomic): range [0, INT32_MAX] = 0 │ ├───"SRC_X" (atomic): range [0, UINT32_MAX] = 0 │ ├───"SRC_Y" (atomic): range [0, UINT32_MAX] = 0 │ ├───"SRC_W" (atomic): range [0, UINT32_MAX] = 0 │ ├───"SRC_H" (atomic): range [0, UINT32_MAX] = 0 │ └───"IN_FORMATS" (immutable): blob = 72 │ └───DRM_FORMAT_MOD_LINEAR (0x0) │ └───ARGB8888 (0x34325241) └───Plane 8 ├───Object ID: 74 ├───CRTCs: {3} ├───FB ID: 0 ├───Formats: │ └───ARGB8888 (0x34325241) └───Properties ├───"type" (immutable): enum {Overlay, Primary, Cursor} = Cursor ├───"FB_ID" (atomic): object framebuffer = 0 ├───"IN_FENCE_FD" (atomic): srange [-1, INT32_MAX] = -1 ├───"CRTC_ID" (atomic): object CRTC = 0 ├───"CRTC_X" (atomic): srange [INT32_MIN, INT32_MAX] = 0 ├───"CRTC_Y" (atomic): srange [INT32_MIN, INT32_MAX] = 0 ├───"CRTC_W" (atomic): range [0, INT32_MAX] = 0 ├───"CRTC_H" (atomic): range [0, INT32_MAX] = 0 ├───"SRC_X" (atomic): range [0, UINT32_MAX] = 0 ├───"SRC_Y" (atomic): range [0, UINT32_MAX] = 0 ├───"SRC_W" (atomic): range [0, UINT32_MAX] = 0 ├───"SRC_H" (atomic): range [0, UINT32_MAX] = 0 └───"IN_FORMATS" (immutable): blob = 75 └───DRM_FORMAT_MOD_LINEAR (0x0) └───ARGB8888 (0x34325241) ```
Sway Monitor Output ``` swaymsg -t get_outputs Output eDP-1 'Unknown TL140BDXP01-0 0x00000000' Current mode: 2560x1440 @ 120.000 Hz Position: 0,0 Scale factor: 1.000000 Scale filter: nearest Subpixel hinting: none Transform: normal Workspace: 8 Max render time: off Adaptive sync: enabled Available modes: 640x480 @ 120.000 Hz 800x600 @ 120.000 Hz 1024x768 @ 120.000 Hz 1280x720 @ 120.000 Hz 1280x800 @ 120.000 Hz 1440x900 @ 120.000 Hz 1280x1024 @ 120.000 Hz 1680x1050 @ 120.000 Hz 1600x1200 @ 120.000 Hz 1920x1080 @ 120.000 Hz 1920x1200 @ 120.000 Hz 2560x1440 @ 60.001 Hz 2560x1440 @ 120.000 Hz Output HDMI-A-1 'Unknown M27Q 21080B008012' (focused) Current mode: 2560x1440 @ 143.856 Hz Position: 2560,0 Scale factor: 1.000000 Scale filter: nearest Subpixel hinting: none Transform: normal Workspace: 2 Max render time: off Adaptive sync: disabled Available modes: 640x480 @ 59.940 Hz 640x480 @ 60.000 Hz 640x480 @ 72.809 Hz 640x480 @ 75.000 Hz 720x480 @ 59.940 Hz 720x480 @ 59.940 Hz 720x480 @ 60.000 Hz 720x480 @ 60.000 Hz 800x600 @ 56.250 Hz 800x600 @ 60.317 Hz 800x600 @ 72.188 Hz 800x600 @ 75.000 Hz 1024x768 @ 60.004 Hz 1024x768 @ 70.069 Hz 1024x768 @ 75.029 Hz 1280x720 @ 50.000 Hz 1280x720 @ 59.940 Hz 1280x720 @ 60.000 Hz 1280x720 @ 119.880 Hz 1280x720 @ 120.000 Hz 1280x800 @ 59.951 Hz 1440x900 @ 59.901 Hz 1280x1024 @ 60.020 Hz 1280x1024 @ 75.025 Hz 1680x1050 @ 59.883 Hz 1600x1200 @ 59.951 Hz 1920x1080 @ 50.000 Hz 1920x1080 @ 59.940 Hz 1920x1080 @ 60.000 Hz 1920x1080 @ 60.000 Hz 1920x1080 @ 100.000 Hz 1920x1080 @ 119.880 Hz 1920x1080 @ 120.000 Hz 1920x1080 @ 143.853 Hz 1920x1200 @ 59.951 Hz 2560x1440 @ 119.879 Hz 2560x1440 @ 143.856 Hz 3840x2160 @ 59.940 Hz 3840x2160 @ 60.000 Hz 2560x1440 @ 59.951 Hz ```

External Monitor is on HDMI, HDMI port is connected to the amd igpu

Sunshine Log with no external monitor ``` ❯ /usr/bin/sunshine min_log_level=1 .config/sunshine/sunshine.conf [fps] -- [[10,30,60,90,120]] [key_rightalt_to_key_win] -- [disabled] [origin_pin_allowed] -- [pc] [resolutions] -- [[ 352x240, 480x360, 858x480, 1280x720, 1920x1080, 2560x1080, 3440x1440, 1920x1200, 3860x2160, 3840x1600 ]] [nv_coder] -- [auto] [gamepad] -- [x360] [upnp] -- [disabled] [nv_preset] -- [default] [min_log_level] -- [1] [amd_quality] -- [default] [origin_web_ui_allowed] -- [lan] [amd_rc] -- [auto] [hevc_mode] -- [0] [nv_rc] -- [auto] [2021:08:27:21:29:05]: Error: Couldn't get drm fb for plane [94]: Invalid argument [2021:08:27:21:29:05]: Debug: crtc(0, 0) [2021:08:27:21:29:05]: Debug: crtc(2560, 1440) [2021:08:27:21:29:05]: Debug: plane->possible_crtcs == 1 [2021:08:27:21:29:05]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(67) [2021:08:27:21:29:05]: Debug: Resolution: 256x256: Pitch: 1024: bpp: 32: depth: 32 [2021:08:27:21:29:05]: Debug: Format [AR24] [2021:08:27:21:29:05]: Info: Detecting connected monitors [2021:08:27:21:29:05]: Info: Using X11 for screencasting ```
Sunshine Log with additional external monitor connected ``` ❯ /usr/bin/sunshine min_log_level=1 .config/sunshine/sunshine.conf [fps] -- [[10,30,60,90,120]] [key_rightalt_to_key_win] -- [disabled] [origin_pin_allowed] -- [pc] [resolutions] -- [[ 352x240, 480x360, 858x480, 1280x720, 1920x1080, 2560x1080, 3440x1440, 1920x1200, 3860x2160, 3840x1600 ]] [nv_coder] -- [auto] [gamepad] -- [x360] [upnp] -- [disabled] [nv_preset] -- [default] [min_log_level] -- [1] [amd_quality] -- [default] [origin_web_ui_allowed] -- [lan] [amd_rc] -- [auto] [hevc_mode] -- [0] [nv_rc] -- [auto] [2021:08:27:21:27:31]: Error: Couldn't get drm fb for plane [97]: Invalid argument [2021:08:27:21:27:31]: Error: Couldn't get drm fb for plane [101]: Invalid argument [2021:08:27:21:27:31]: Debug: crtc(0, 0) [2021:08:27:21:27:31]: Debug: crtc(2560, 1440) [2021:08:27:21:27:31]: Debug: plane->possible_crtcs == 2 [2021:08:27:21:27:31]: Debug: x(0) y(0) crtc_x(0) crtc_y(0) crtc_id(70) [2021:08:27:21:27:31]: Debug: Resolution: 256x256: Pitch: 1024: bpp: 32: depth: 32 [2021:08:27:21:27:31]: Debug: Format [AR24] [2021:08:27:21:27:31]: Info: Detecting connected monitors [2021:08:27:21:27:31]: Info: Using X11 for screencasting [2021:08:27:21:27:31]: Info: ////////////////////////////////////////////////////////////////// ```
lsmod ``` ❯ lsmod Module Size Used by uhid 20480 1 rfcomm 90112 16 snd_seq_dummy 16384 0 snd_hrtimer 16384 1 snd_seq 90112 7 snd_seq_dummy snd_seq_device 16384 1 snd_seq uinput 20480 1 ccm 20480 6 cmac 16384 3 algif_hash 16384 1 algif_skcipher 16384 1 af_alg 32768 6 algif_hash,algif_skcipher bnep 28672 2 hid_logitech_hidpp 53248 0 hid_logitech_dj 28672 0 intel_rapl_msr 20480 0 intel_rapl_common 28672 1 intel_rapl_msr amdgpu 7774208 38 snd_hda_codec_realtek 159744 1 snd_hda_codec_generic 98304 1 snd_hda_codec_realtek edac_mce_amd 36864 0 ledtrig_audio 16384 1 snd_hda_codec_generic snd_hda_codec_hdmi 73728 1 kvm_amd 147456 0 snd_hda_intel 57344 2 vfat 24576 1 gpu_sched 45056 1 amdgpu iwlmvm 483328 0 fat 86016 1 vfat mousedev 24576 0 i2c_algo_bit 16384 1 amdgpu snd_intel_dspcfg 28672 1 snd_hda_intel mac80211 1179648 1 iwlmvm kvm 1052672 1 kvm_amd snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg drm_ttm_helper 16384 1 amdgpu btusb 69632 0 uas 32768 0 snd_hda_codec 176128 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek usb_storage 81920 1 uas ttm 86016 2 amdgpu,drm_ttm_helper hid_multitouch 32768 0 btrtl 28672 1 btusb libarc4 16384 1 mac80211 irqbypass 16384 1 kvm btbcm 20480 1 btusb drm_kms_helper 303104 1 amdgpu snd_hda_core 110592 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek crct10dif_pclmul 16384 1 btintel 32768 1 btusb crc32_pclmul 16384 0 iwlwifi 442368 1 iwlmvm cec 69632 1 drm_kms_helper bluetooth 765952 46 btrtl,btintel,btbcm,bnep,btusb,rfcomm ghash_clmulni_intel 16384 0 snd_hwdep 16384 1 snd_hda_codec aesni_intel 380928 8 agpgart 45056 1 ttm asus_nb_wmi 28672 0 snd_pcm 151552 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core i8042 32768 1 asus_nb_wmi ecdh_generic 16384 2 bluetooth crypto_simd 16384 1 aesni_intel syscopyarea 16384 1 drm_kms_helper snd_timer 45056 3 snd_seq,snd_hrtimer,snd_pcm cryptd 28672 3 crypto_simd,ghash_clmulni_intel ecc 40960 1 ecdh_generic tpm_crb 20480 0 ucsi_acpi 16384 0 wmi_bmof 16384 0 serio 28672 1 i8042 sysfillrect 16384 1 drm_kms_helper rapl 16384 0 snd_rn_pci_acp3x 20480 0 sp5100_tco 20480 0 snd 114688 16 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm typec_ucsi 49152 1 ucsi_acpi crc16 16384 1 bluetooth k10temp 16384 0 sysimgblt 16384 1 drm_kms_helper tpm_tis 16384 0 cfg80211 1040384 3 iwlmvm,iwlwifi,mac80211 snd_pci_acp3x 20480 0 typec 65536 1 typec_ucsi soundcore 16384 1 snd fb_sys_fops 16384 1 drm_kms_helper tpm_tis_core 28672 1 tpm_tis i2c_piix4 28672 0 tpm 90112 3 tpm_tis,tpm_crb,tpm_tis_core ccp 118784 1 kvm_amd roles 16384 1 typec_ucsi i2c_hid_acpi 16384 0 joydev 28672 0 i2c_hid 32768 1 i2c_hid_acpi rng_core 16384 2 ccp,tpm amd_pmc 20480 0 asus_wireless 20480 0 mac_hid 16384 0 pinctrl_amd 32768 6 acpi_cpufreq 32768 0 sch_fq_codel 20480 1 i2c_dev 24576 0 crypto_user 20480 0 fuse 167936 7 binfmt_misc 24576 1 acpi_call 16384 0 drm 585728 19 gpu_sched,drm_kms_helper,amdgpu,drm_ttm_helper,ttm bpf_preload 16384 0 ip_tables 32768 0 x_tables 53248 1 ip_tables hid_asus 24576 0 asus_wmi 45056 2 asus_nb_wmi,hid_asus sparse_keymap 16384 1 asus_wmi rfkill 32768 8 asus_wmi,bluetooth,cfg80211 usbhid 65536 2 hid_asus,hid_logitech_dj xhci_pci 20480 0 xhci_pci_renesas 20480 1 xhci_pci wmi 36864 2 asus_wmi,wmi_bmof video 57344 1 asus_wmi btrfs 1654784 1 blake2b_generic 20480 0 libcrc32c 16384 1 btrfs crc32c_generic 16384 0 crc32c_intel 24576 2 xor 24576 1 btrfs raid6_pq 122880 1 btrfs ```
ghostface commented 3 years ago

@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.

loki-47-6F-64 commented 3 years ago

Which ones? The ones in the master branch, or the one in wlroots-drm branch?

ghostface commented 3 years ago

@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.

loki-47-6F-64 commented 3 years ago

Awesome. Someone else fixed it. I love free software 😁

iMonZ commented 3 years ago

@loki-47-6F-64 *Open Source Software 😄

ghostface commented 3 years ago

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.

iMonZ commented 3 years ago

@ghostface just a Small question: have you tried running a game in fullscreen?

loki-47-6F-64 commented 3 years ago

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 commented 3 years ago

@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!

iMonZ commented 3 years ago

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.

loki-47-6F-64 commented 3 years ago

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.

iMonZ commented 3 years ago

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!

ghostface commented 3 years ago

@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

ghostface commented 3 years ago

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

k3d3 commented 2 years ago

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. :)

thibaultmol commented 2 years ago

So nvidia released a GBM support beta driver in october. Has anyone tried if it sunshine works yet?

k3d3 commented 2 years ago

Unfortunately I've had no luck with it. It doesn't seem to work under wayland at all for me.

ghostface commented 2 years ago

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

puffnfresh commented 1 year ago

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:

  1. Sunshine doesn't work with output scaling (see #269) - you might have success by setting scale to 1 (I did)
  2. If you don't want to change your scale and you want to stream an X11 app, you can do that:
$ 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.

fayaaz commented 9 months ago

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" .