Sunshine icon indicating copy to clipboard operation
Sunshine copied to clipboard

Keyboard Shortcut Capture not working on wayland

Open sadneo opened this issue 9 months ago • 3 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Is your issue described in the documentation?

  • [x] I have read the documentation

Is your issue present in the latest beta/pre-release?

None

Describe the Bug

Using two computers both running sway on Arch Linux with the computer 1 with the official sunshine package. Computer 2 connects, the individual inputs can be transmitted and viewed using wev, but keyboard shortcuts are not captured.

Expected Behavior

No response

Additional Context

No response

Host Operating System

Linux

Operating System Version

Arch Linux

Architecture

amd64/x86_64

Sunshine commit or version

v2025.122.141614

Package

Linux - LizardByte/pacman-repo

GPU Type

AMD

GPU Model

RX 6600

GPU Driver/Mesa Version

vulkan-radeon

Capture Method

wlroots (Linux)

Config


Apps


Relevant log output

[2025-02-07 20:23:57.715]: Info: Sunshine version: v2025.122.141614
[2025-02-07 20:23:57.715]: Info: Package Publisher: LizardByte
[2025-02-07 20:23:57.715]: Info: Publisher Website: https://app.lizardbyte.dev
[2025-02-07 20:23:57.715]: Info: Get support: https://app.lizardbyte.dev/support
Cannot load libcuda.so.1
[2025-02-07 20:23:57.716]: Error: Couldn't load cuda: -1
[2025-02-07 20:23:57.716]: Info: Found display [wayland-1]
[2025-02-07 20:23:57.717]: Info: Found interface: zxdg_output_manager_v1(7) version 3
[2025-02-07 20:23:57.717]: Info: Found interface: zwlr_export_dmabuf_manager_v1(28) version 1
[2025-02-07 20:23:57.717]: Info: Found interface: wl_output(51) version 4
[2025-02-07 20:23:57.717]: Info: Resolution: 1920x1080
[2025-02-07 20:23:57.717]: Info: Name: DP-3
[2025-02-07 20:23:57.717]: Info: Found monitor: Dell Inc. DELL G2722HS F9Z82H3 (DP-3)
[2025-02-07 20:23:57.717]: Info: Offset: 0x0
[2025-02-07 20:23:57.717]: Info: Logical size: 1920x1080
[2025-02-07 20:23:57.717]: Info: -------- Start of Wayland monitor list --------
[2025-02-07 20:23:57.717]: Info: Monitor 0 is DP-3: Dell Inc. DELL G2722HS F9Z82H3 (DP-3)
[2025-02-07 20:23:57.717]: Info: --------- End of Wayland monitor list ---------

(sunshine:16588): dbind-WARNING **: 20:23:57.724: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[2025-02-07 20:23:57.736]: Info: System tray created
[2025-02-07 20:23:57.818]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-02-07 20:23:57.818]: Info: Trying encoder [nvenc]
[2025-02-07 20:23:57.818]: Info: Screencasting with Wayland's protocol
[2025-02-07 20:23:57.818]: Info: Found display [wayland-1]
[2025-02-07 20:23:57.818]: Info: Found interface: zxdg_output_manager_v1(7) version 3
[2025-02-07 20:23:57.818]: Info: Found interface: zwlr_export_dmabuf_manager_v1(28) version 1
[2025-02-07 20:23:57.818]: Info: Found interface: wl_output(51) version 4
[2025-02-07 20:23:57.819]: Info: Resolution: 1920x1080
Cannot load libcuda.so.1
[2025-02-07 20:23:57.819]: Info: Name: DP-3
[2025-02-07 20:23:57.819]: Info: Found monitor: Dell Inc. DELL G2722HS F9Z82H3 (DP-3)
[2025-02-07 20:23:57.819]: Info: Offset: 0x0
[2025-02-07 20:23:57.819]: Info: Logical size: 1920x1080
[2025-02-07 20:23:57.819]: Info: Selected monitor [Dell Inc. DELL G2722HS F9Z82H3 (DP-3)] for streaming
Cannot load libcuda.so.1
[2025-02-07 20:23:57.819]: Info: Creating encoder [h264_nvenc]
[2025-02-07 20:23:57.819]: Info: Color coding: SDR (Rec. 601)
[2025-02-07 20:23:57.819]: Info: Color depth: 8-bit
[2025-02-07 20:23:57.819]: Info: Color range: JPEG
[2025-02-07 20:23:57.819]: Error: Couldn't load cuda: -1
[2025-02-07 20:23:57.819]: Info: Creating encoder [h264_nvenc]
[2025-02-07 20:23:57.819]: Info: Color coding: SDR (Rec. 601)
[2025-02-07 20:23:57.819]: Info: Color depth: 8-bit
[2025-02-07 20:23:57.819]: Info: Color range: JPEG
[2025-02-07 20:23:57.819]: Error: Couldn't load cuda: -1
[2025-02-07 20:23:57.819]: Info: Encoder [nvenc] failed
[2025-02-07 20:23:57.819]: Info: Trying encoder [vaapi]
[2025-02-07 20:23:57.819]: Info: Screencasting with Wayland's protocol
[2025-02-07 20:23:57.819]: Info: Found display [wayland-1]
[2025-02-07 20:23:57.819]: Info: Found interface: zxdg_output_manager_v1(7) version 3
[2025-02-07 20:23:57.819]: Info: Found interface: zwlr_export_dmabuf_manager_v1(28) version 1
[2025-02-07 20:23:57.819]: Info: Found interface: wl_output(51) version 4
[2025-02-07 20:23:57.819]: Info: Resolution: 1920x1080
[2025-02-07 20:23:57.819]: Info: Name: DP-3
[2025-02-07 20:23:57.819]: Info: Found monitor: Dell Inc. DELL G2722HS F9Z82H3 (DP-3)
[2025-02-07 20:23:57.819]: Info: Offset: 0x0
[2025-02-07 20:23:57.819]: Info: Logical size: 1920x1080
[2025-02-07 20:23:57.819]: Info: Selected monitor [Dell Inc. DELL G2722HS F9Z82H3 (DP-3)] for streaming
[2025-02-07 20:23:57.819]: Info: Creating encoder [h264_vaapi]
[2025-02-07 20:23:57.819]: Info: Color coding: SDR (Rec. 601)
[2025-02-07 20:23:57.819]: Info: Color depth: 8-bit
[2025-02-07 20:23:57.819]: Info: Color range: JPEG
[2025-02-07 20:23:57.844]: Error: Couldn't initialize va display: unknown libva error

(sunshine:16588): Gtk-CRITICAL **: 20:23:57.845: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
[2025-02-07 20:23:57.866]: Info: Creating encoder [h264_vaapi]
[2025-02-07 20:23:57.867]: Info: Color coding: SDR (Rec. 601)
[2025-02-07 20:23:57.867]: Info: Color depth: 8-bit
[2025-02-07 20:23:57.867]: Info: Color range: JPEG
[2025-02-07 20:23:57.888]: Error: Couldn't initialize va display: unknown libva error
[2025-02-07 20:23:57.891]: Info: Encoder [vaapi] failed
[2025-02-07 20:23:57.891]: Info: Trying encoder [software]
[2025-02-07 20:23:57.891]: Info: Screencasting with Wayland's protocol
[2025-02-07 20:23:57.891]: Info: Found display [wayland-1]
[2025-02-07 20:23:57.891]: Info: Found interface: zxdg_output_manager_v1(7) version 3
[2025-02-07 20:23:57.891]: Info: Found interface: zwlr_export_dmabuf_manager_v1(28) version 1
[2025-02-07 20:23:57.891]: Info: Found interface: wl_output(51) version 4
[2025-02-07 20:23:57.891]: Info: Resolution: 1920x1080
[2025-02-07 20:23:57.891]: Info: Name: DP-3
[2025-02-07 20:23:57.891]: Info: Found monitor: Dell Inc. DELL G2722HS F9Z82H3 (DP-3)
[2025-02-07 20:23:57.891]: Info: Offset: 0x0
[2025-02-07 20:23:57.891]: Info: Logical size: 1920x1080
[2025-02-07 20:23:57.891]: Info: Selected monitor [Dell Inc. DELL G2722HS F9Z82H3 (DP-3)] for streaming
[2025-02-07 20:23:57.908]: Info: Creating encoder [libx264]
[2025-02-07 20:23:57.908]: Info: Color coding: SDR (Rec. 601)
[2025-02-07 20:23:57.908]: Info: Color depth: 8-bit
[2025-02-07 20:23:57.908]: Info: Color range: JPEG
[2025-02-07 20:23:57.908]: Info: [libx264 @ 0x62eba546af40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[2025-02-07 20:23:57.909]: Info: [libx264 @ 0x62eba546af40] profile High, level 4.2, 4:2:0, 8-bit
[2025-02-07 20:23:57.921]: Info: [libx264 @ 0x62eba546af40] frame I:1     Avg QP:31.00  size:  1203
[2025-02-07 20:23:57.921]: Info: [libx264 @ 0x62eba546af40] mb I  I16..4: 99.9%  0.0%  0.0%
[2025-02-07 20:23:57.921]: Info: [libx264 @ 0x62eba546af40] 8x8 transform intra:0.0%
[2025-02-07 20:23:57.921]: Info: [libx264 @ 0x62eba546af40] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0%
[2025-02-07 20:23:57.921]: Info: [libx264 @ 0x62eba546af40] i16 v,h,dc,p: 97%  0%  3%  0%
[2025-02-07 20:23:57.921]: Info: [libx264 @ 0x62eba546af40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  0%  0% 75% 12%  0%  0%  0%  0% 12%
[2025-02-07 20:23:57.921]: Info: [libx264 @ 0x62eba546af40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  0%  0% 100%  0%  0%  0%  0%  0%  0%
[2025-02-07 20:23:57.921]: Info: [libx264 @ 0x62eba546af40] i8c dc,h,v,p: 100%  0%  0%  0%
[2025-02-07 20:23:57.921]: Info: [libx264 @ 0x62eba546af40] kb/s:577.44
[2025-02-07 20:23:57.921]: Info: Creating encoder [libx264]
[2025-02-07 20:23:57.921]: Info: Color coding: SDR (Rec. 601)
[2025-02-07 20:23:57.921]: Info: Color depth: 8-bit
[2025-02-07 20:23:57.921]: Info: Color range: JPEG
[2025-02-07 20:23:57.921]: Info: [libx264 @ 0x62eba546af40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[2025-02-07 20:23:57.922]: Info: [libx264 @ 0x62eba546af40] profile High 4:4:4 Predictive, level 4.2, 4:4:4, 8-bit
[2025-02-07 20:23:57.940]: Info: [libx264 @ 0x62eba546af40] frame I:1     Avg QP:31.00  size:  1303
[2025-02-07 20:23:57.940]: Info: [libx264 @ 0x62eba546af40] mb I  I16..4: 100.0%  0.0%  0.0%
[2025-02-07 20:23:57.940]: Info: [libx264 @ 0x62eba546af40] 8x8 transform intra:0.0%
[2025-02-07 20:23:57.940]: Info: [libx264 @ 0x62eba546af40] coded y,u,v intra: 0.0% 0.0% 0.0%
[2025-02-07 20:23:57.940]: Info: [libx264 @ 0x62eba546af40] i16 v,h,dc,p: 97%  0%  3%  0%
[2025-02-07 20:23:57.940]: Info: [libx264 @ 0x62eba546af40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  0%  0% 75% 12%  0%  0%  0%  0% 12%
[2025-02-07 20:23:57.940]: Info: [libx264 @ 0x62eba546af40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  0%  0% 100%  0%  0%  0%  0%  0%  0%
[2025-02-07 20:23:57.940]: Info: [libx264 @ 0x62eba546af40] kb/s:625.44
[2025-02-07 20:23:57.942]: Info: Screencasting with Wayland's protocol
[2025-02-07 20:23:57.942]: Info: Found display [wayland-1]
[2025-02-07 20:23:57.942]: Info: Found interface: zxdg_output_manager_v1(7) version 3
[2025-02-07 20:23:57.942]: Info: Found interface: zwlr_export_dmabuf_manager_v1(28) version 1
[2025-02-07 20:23:57.942]: Info: Found interface: wl_output(51) version 4
[2025-02-07 20:23:57.942]: Info: Resolution: 1920x1080
[2025-02-07 20:23:57.942]: Info: Name: DP-3
[2025-02-07 20:23:57.942]: Info: Found monitor: Dell Inc. DELL G2722HS F9Z82H3 (DP-3)
[2025-02-07 20:23:57.942]: Info: Offset: 0x0
[2025-02-07 20:23:57.942]: Info: Logical size: 1920x1080
[2025-02-07 20:23:57.942]: Info: Selected monitor [Dell Inc. DELL G2722HS F9Z82H3 (DP-3)] for streaming
[2025-02-07 20:23:57.952]: Info: 
[2025-02-07 20:23:57.952]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2025-02-07 20:23:57.952]: Info: 
[2025-02-07 20:23:57.952]: Info: Found H.264 encoder: libx264 [software]
[2025-02-07 20:23:57.953]: Info: Configuration UI available at [https://localhost:47990]
[2025-02-07 20:23:57.954]: Error: Failed to create client: Daemon not running
[2025-02-07 20:24:19.364]: Warning: Sunshine is configured to change resolution automatically, but the "Optimize game settings" is not set in the client! Resolution will not be changed.
[2025-02-07 20:24:19.365]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-02-07 20:24:19.365]: Info: Trying encoder [nvenc]
[2025-02-07 20:24:19.365]: Info: Screencasting with Wayland's protocol
[2025-02-07 20:24:19.365]: Info: Found display [wayland-1]
[2025-02-07 20:24:19.365]: Info: Found interface: zxdg_output_manager_v1(7) version 3
[2025-02-07 20:24:19.365]: Info: Found interface: zwlr_export_dmabuf_manager_v1(28) version 1
[2025-02-07 20:24:19.365]: Info: Found interface: wl_output(51) version 4
[2025-02-07 20:24:19.365]: Info: Resolution: 1920x1080
[2025-02-07 20:24:19.365]: Info: Name: DP-3
[2025-02-07 20:24:19.365]: Info: Found monitor: Dell Inc. DELL G2722HS F9Z82H3 (DP-3)
[2025-02-07 20:24:19.365]: Info: Offset: 0x0
[2025-02-07 20:24:19.365]: Info: Logical size: 1920x1080
[2025-02-07 20:24:19.365]: Info: Selected monitor [Dell Inc. DELL G2722HS F9Z82H3 (DP-3)] for streaming
[2025-02-07 20:24:19.365]: Info: Creating encoder [h264_nvenc]
[2025-02-07 20:24:19.365]: Info: Color coding: SDR (Rec. 601)
[2025-02-07 20:24:19.365]: Info: Color depth: 8-bit
[2025-02-07 20:24:19.365]: Info: Color range: JPEG
Cannot load libcuda.so.1
[2025-02-07 20:24:19.365]: Error: Couldn't load cuda: -1
[2025-02-07 20:24:19.365]: Info: Encoder [nvenc] failed
[2025-02-07 20:24:19.365]: Info: Trying encoder [vaapi]
[2025-02-07 20:24:19.366]: Info: Screencasting with Wayland's protocol
[2025-02-07 20:24:19.366]: Info: Found display [wayland-1]
[2025-02-07 20:24:19.366]: Info: Found interface: zxdg_output_manager_v1(7) version 3
[2025-02-07 20:24:19.366]: Info: Found interface: zwlr_export_dmabuf_manager_v1(28) version 1
[2025-02-07 20:24:19.366]: Info: Found interface: wl_output(51) version 4
[2025-02-07 20:24:19.366]: Info: Resolution: 1920x1080
[2025-02-07 20:24:19.366]: Info: Name: DP-3
[2025-02-07 20:24:19.366]: Info: Found monitor: Dell Inc. DELL G2722HS F9Z82H3 (DP-3)
[2025-02-07 20:24:19.366]: Info: Offset: 0x0
[2025-02-07 20:24:19.366]: Info: Logical size: 1920x1080
[2025-02-07 20:24:19.366]: Info: Selected monitor [Dell Inc. DELL G2722HS F9Z82H3 (DP-3)] for streaming
[2025-02-07 20:24:19.366]: Info: Creating encoder [h264_vaapi]
[2025-02-07 20:24:19.366]: Info: Color coding: SDR (Rec. 601)
[2025-02-07 20:24:19.366]: Info: Color depth: 8-bit
[2025-02-07 20:24:19.366]: Info: Color range: JPEG
[2025-02-07 20:24:19.385]: Error: Couldn't initialize va display: unknown libva error
[2025-02-07 20:24:19.405]: Info: Encoder [vaapi] failed
[2025-02-07 20:24:19.405]: Info: Trying encoder [software]
[2025-02-07 20:24:19.405]: Info: Screencasting with Wayland's protocol
[2025-02-07 20:24:19.405]: Info: Found display [wayland-1]
[2025-02-07 20:24:19.405]: Info: Found interface: zxdg_output_manager_v1(7) version 3
[2025-02-07 20:24:19.405]: Info: Found interface: zwlr_export_dmabuf_manager_v1(28) version 1
[2025-02-07 20:24:19.405]: Info: Found interface: wl_output(51) version 4
[2025-02-07 20:24:19.405]: Info: Resolution: 1920x1080
[2025-02-07 20:24:19.405]: Info: Name: DP-3
[2025-02-07 20:24:19.405]: Info: Found monitor: Dell Inc. DELL G2722HS F9Z82H3 (DP-3)
[2025-02-07 20:24:19.405]: Info: Offset: 0x0
[2025-02-07 20:24:19.405]: Info: Logical size: 1920x1080
[2025-02-07 20:24:19.405]: Info: Selected monitor [Dell Inc. DELL G2722HS F9Z82H3 (DP-3)] for streaming
[2025-02-07 20:24:19.423]: Info: Creating encoder [libx264]
[2025-02-07 20:24:19.423]: Info: Color coding: SDR (Rec. 601)
[2025-02-07 20:24:19.423]: Info: Color depth: 8-bit
[2025-02-07 20:24:19.423]: Info: Color range: JPEG
[2025-02-07 20:24:19.423]: Info: [libx264 @ 0x70f53004ca80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[2025-02-07 20:24:19.425]: Info: [libx264 @ 0x70f53004ca80] profile High, level 4.2, 4:2:0, 8-bit
[2025-02-07 20:24:19.441]: Info: [libx264 @ 0x70f53004ca80] frame I:1     Avg QP:31.00  size:  1203
[2025-02-07 20:24:19.441]: Info: [libx264 @ 0x70f53004ca80] mb I  I16..4: 100.0%  0.0%  0.0%
[2025-02-07 20:24:19.441]: Info: [libx264 @ 0x70f53004ca80] 8x8 transform intra:0.0%
[2025-02-07 20:24:19.441]: Info: [libx264 @ 0x70f53004ca80] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0%
[2025-02-07 20:24:19.441]: Info: [libx264 @ 0x70f53004ca80] i16 v,h,dc,p: 97%  0%  3%  0%
[2025-02-07 20:24:19.441]: Info: [libx264 @ 0x70f53004ca80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  0%  0% 75% 12%  0%  0%  0%  0% 12%
[2025-02-07 20:24:19.441]: Info: [libx264 @ 0x70f53004ca80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  0%  0% 100%  0%  0%  0%  0%  0%  0%
[2025-02-07 20:24:19.441]: Info: [libx264 @ 0x70f53004ca80] i8c dc,h,v,p: 100%  0%  0%  0%
[2025-02-07 20:24:19.441]: Info: [libx264 @ 0x70f53004ca80] kb/s:577.44
[2025-02-07 20:24:19.441]: Info: Creating encoder [libx264]
[2025-02-07 20:24:19.441]: Info: Color coding: SDR (Rec. 601)
[2025-02-07 20:24:19.441]: Info: Color depth: 8-bit
[2025-02-07 20:24:19.441]: Info: Color range: JPEG
[2025-02-07 20:24:19.441]: Info: [libx264 @ 0x70f53004ca80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[2025-02-07 20:24:19.444]: Info: [libx264 @ 0x70f53004ca80] profile High 4:4:4 Predictive, level 4.2, 4:4:4, 8-bit
[2025-02-07 20:24:19.461]: Info: [libx264 @ 0x70f53004ca80] frame I:1     Avg QP:41.00  size:  1321
[2025-02-07 20:24:19.461]: Info: [libx264 @ 0x70f53004ca80] mb I  I16..4: 99.9%  0.0%  0.0%
[2025-02-07 20:24:19.461]: Info: [libx264 @ 0x70f53004ca80] 8x8 transform intra:0.0%
[2025-02-07 20:24:19.461]: Info: [libx264 @ 0x70f53004ca80] coded y,u,v intra: 0.0% 0.0% 0.0%
[2025-02-07 20:24:19.461]: Info: [libx264 @ 0x70f53004ca80] i16 v,h,dc,p: 96%  3%  1%  0%
[2025-02-07 20:24:19.462]: Info: [libx264 @ 0x70f53004ca80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  0%  0% 75%  6%  0%  0%  0%  0% 19%
[2025-02-07 20:24:19.462]: Info: [libx264 @ 0x70f53004ca80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  0%  0% 100%  0%  0%  0%  0%  0%  0%
[2025-02-07 20:24:19.462]: Info: [libx264 @ 0x70f53004ca80] kb/s:634.08
[2025-02-07 20:24:19.463]: Info: Screencasting with Wayland's protocol
[2025-02-07 20:24:19.463]: Info: Found display [wayland-1]
[2025-02-07 20:24:19.463]: Info: Found interface: zxdg_output_manager_v1(7) version 3
[2025-02-07 20:24:19.463]: Info: Found interface: zwlr_export_dmabuf_manager_v1(28) version 1
[2025-02-07 20:24:19.463]: Info: Found interface: wl_output(51) version 4
[2025-02-07 20:24:19.463]: Info: Resolution: 1920x1080
[2025-02-07 20:24:19.463]: Info: Name: DP-3
[2025-02-07 20:24:19.463]: Info: Found monitor: Dell Inc. DELL G2722HS F9Z82H3 (DP-3)
[2025-02-07 20:24:19.463]: Info: Offset: 0x0
[2025-02-07 20:24:19.463]: Info: Logical size: 1920x1080
[2025-02-07 20:24:19.463]: Info: Selected monitor [Dell Inc. DELL G2722HS F9Z82H3 (DP-3)] for streaming
[2025-02-07 20:24:19.471]: Info: 
[2025-02-07 20:24:19.471]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2025-02-07 20:24:19.471]: Info: 
[2025-02-07 20:24:19.471]: Info: Found H.264 encoder: libx264 [software]
[2025-02-07 20:24:19.471]: Info: Executing [Desktop]
[2025-02-07 20:24:19.632]: Info: New streaming session started [active sessions: 1]

(sunshine:16588): Gtk-CRITICAL **: 20:24:19.634: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
[2025-02-07 20:24:19.692]: Info: CLIENT CONNECTED
[2025-02-07 20:24:19.693]: Info: Found display [wayland-1]
[2025-02-07 20:24:19.703]: Info: Found interface: zxdg_output_manager_v1(7) version 3
[2025-02-07 20:24:19.703]: Info: Found interface: zwlr_export_dmabuf_manager_v1(28) version 1
[2025-02-07 20:24:19.703]: Info: Found interface: wl_output(51) version 4
[2025-02-07 20:24:19.703]: Info: Resolution: 1920x1080
[2025-02-07 20:24:19.703]: Info: Name: DP-3
[2025-02-07 20:24:19.703]: Info: Found monitor: Dell Inc. DELL G2722HS F9Z82H3 (DP-3)
[2025-02-07 20:24:19.703]: Info: Offset: 0x0
[2025-02-07 20:24:19.703]: Info: Logical size: 1920x1080
[2025-02-07 20:24:19.703]: Info: -------- Start of Wayland monitor list --------
[2025-02-07 20:24:19.703]: Info: Monitor 0 is DP-3: Dell Inc. DELL G2722HS F9Z82H3 (DP-3)
[2025-02-07 20:24:19.703]: Info: --------- End of Wayland monitor list ---------
[2025-02-07 20:24:19.703]: Info: Screencasting with Wayland's protocol
[2025-02-07 20:24:19.703]: Info: Found display [wayland-1]
[2025-02-07 20:24:19.703]: Info: Found interface: zxdg_output_manager_v1(7) version 3
[2025-02-07 20:24:19.703]: Info: Found interface: zwlr_export_dmabuf_manager_v1(28) version 1
[2025-02-07 20:24:19.703]: Info: Found interface: wl_output(51) version 4
[2025-02-07 20:24:19.704]: Info: Resolution: 1920x1080
[2025-02-07 20:24:19.704]: Info: Name: DP-3
[2025-02-07 20:24:19.704]: Info: Found monitor: Dell Inc. DELL G2722HS F9Z82H3 (DP-3)
[2025-02-07 20:24:19.704]: Info: Offset: 0x0
[2025-02-07 20:24:19.704]: Info: Logical size: 1920x1080
[2025-02-07 20:24:19.704]: Info: Selected monitor [Dell Inc. DELL G2722HS F9Z82H3 (DP-3)] for streaming
[2025-02-07 20:24:19.713]: Info: Creating encoder [libx264]
[2025-02-07 20:24:19.713]: Info: Color coding: SDR (Rec. 601)
[2025-02-07 20:24:19.713]: Info: Color depth: 8-bit
[2025-02-07 20:24:19.713]: Info: Color range: MPEG
[2025-02-07 20:24:19.713]: Info: [libx264 @ 0x70f51c002540] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[2025-02-07 20:24:19.714]: Info: [libx264 @ 0x70f51c002540] profile High, level 4.2, 4:2:0, 8-bit
[2025-02-07 20:24:20.064]: Info: Setting default sink to: [sink-sunshine-stereo]
[2025-02-07 20:24:20.064]: Info: Found default monitor by name: sink-sunshine-stereo.monitor
[2025-02-07 20:24:20.088]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2025-02-07 20:24:31.570]: Info: CLIENT DISCONNECTED
[2025-02-07 20:24:31.570]: Info: Setting default sink to: [alsa_output.pci-0000_00_1f.3.analog-stereo]
[2025-02-07 20:24:31.583]: Info: [libx264 @ 0x70f51c002540] frame I:8     Avg QP:29.39  size: 35432
[2025-02-07 20:24:31.583]: Info: [libx264 @ 0x70f51c002540] frame P:711   Avg QP: 8.82  size: 17155
[2025-02-07 20:24:31.583]: Info: [libx264 @ 0x70f51c002540] mb I  I16..4: 77.8% 19.6%  2.5%
[2025-02-07 20:24:31.583]: Info: [libx264 @ 0x70f51c002540] mb P  I16..4:  1.9%  0.4%  0.1%  P16..4: 28.4%  0.0%  0.0%  0.0%  0.0%    skip:69.3%
[2025-02-07 20:24:31.583]: Info: [libx264 @ 0x70f51c002540] 8x8 transform intra:17.3% inter:6.8%
[2025-02-07 20:24:31.583]: Info: [libx264 @ 0x70f51c002540] coded y,uvDC,uvAC intra: 20.2% 11.8% 6.6% inter: 12.2% 4.7% 2.9%
[2025-02-07 20:24:31.583]: Info: [libx264 @ 0x70f51c002540] i16 v,h,dc,p: 67% 27%  5%  1%
[2025-02-07 20:24:31.583]: Info: [libx264 @ 0x70f51c002540] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 16% 31%  7%  5%  4%  5%  3% 10%
[2025-02-07 20:24:31.583]: Info: [libx264 @ 0x70f51c002540] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 41% 21% 18%  3%  3%  3%  3%  3%  4%
[2025-02-07 20:24:31.583]: Info: [libx264 @ 0x70f51c002540] i8c dc,h,v,p: 73% 17%  9%  1%
[2025-02-07 20:24:31.583]: Info: [libx264 @ 0x70f51c002540] Weighted P-Frames: Y:0.1% UV:0.0%
[2025-02-07 20:24:31.583]: Info: [libx264 @ 0x70f51c002540] kb/s:8331.98

(sunshine:16588): Gtk-CRITICAL **: 20:24:31.685: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

sadneo avatar Feb 08 '25 01:02 sadneo

Wayland problem(s) are in reality compositor problems. So, as Arch supports long list of Wayland compositors, do you happen to know, which is it, that you are using ? I am not asking because I pretend to be able to help. My question was more to highlight the problem, that the underlying structure of the Wayland server protocol implementation landscape is just too fragmented to support by anybody really. I dont expect anybody here to really seriosly start looking into it as the problem might be gone tomorrow or remain forever depending whos behind the compositor efforts in this particular case. Useful suggestion thou is to use Xorg.

svenlange2 avatar Apr 02 '25 11:04 svenlange2

Using sway

sadneo avatar Apr 02 '25 13:04 sadneo

Thats really interestingly primitive former window manager that has now transformed into compositor. I have never used Sway and it is a interesting concept and it seems that due to its lack of many common UI elements that other windows managers have and due to its crazy small size, they probably omitted many implementations of the Wayland protocol. Your log file says something about desktop widgets (it might not be related to the keyboard capture but who knows) that are an unknown entity in sway i believe (based on youtube views). Thats only my line of reasoning why this error might happen and now I see that in this case it will probably stay that way. Should Sunshine adopt to this project (add workaround in case of sway)? Definitely not - its so niche and probably not very gaming friendly enviroment to begin with. So sway window manager + Xorg and you probably are good to go if you like to stick to this look and feel.

svenlange2 avatar Apr 02 '25 15:04 svenlange2

It seems this issue hasn't had any activity in the past 90 days. If it's still something you'd like addressed, please let us know by leaving a comment. Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks!

LizardByte-bot avatar Jul 02 '25 10:07 LizardByte-bot

This issue was closed because it has been stalled for 10 days with no activity.

LizardByte-bot avatar Jul 13 '25 10:07 LizardByte-bot