ZMK
June 13, 2026, 1:20pm
1
I’ve been trying to fix an issue with screen streaming using Sunshine for a long time. The web UI is accessible and shows no errors, but I can’t connect via Moonlight from any device. Disabling the firewall and port forwarding settings in UFW didn’t help, and installing the Flatpak version made no difference either.
Meanwhile, everything works perfectly on a second PC running Windows. I also noticed someone in the Linux Next comments reporting the same issue (see the screenshot below).
Additional Info:
Kernel: 7.0.11-1-cachyos
Desktop Environment: KDE Plasma
Sunshine Version: 2026.516.143833
Sunshine Log:
[2026-06-13 16:05:15.764]: Info: Sunshine version: 2026.516.143833 commit: 14ffa6fdaa53f7b51512be2b3d24f3939695403c
[2026-06-13 16:05:15.764]: Info: Package Publisher: LizardByte
[2026-06-13 16:05:15.764]: Info: Publisher Website: ``https://app.lizardbyte.dev
[2026-06-13 16:05:15.764]: Info: Get support: Support | LizardByte
[2026-06-13 16:05:15.830]: Error: Failed to create session:
[2026-06-13 16:05:15.830]: Info: [wayland] Found display [wayland-0]
[2026-06-13 16:05:15.831]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-06-13 16:05:15.831]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-06-13 16:05:15.831]: Info: [wayland] Found interface: wl_output(65) version 4
[2026-06-13 16:05:15.831]: Info: [wayland] Found interface: wl_output(66) version 4
[2026-06-13 16:05:15.831]: Warning: [wlgrab] Missing Wayland wire for wlr-export-dmabuf
[2026-06-13 16:05:15.831]: Error: Failed to gain CAP_SYS_ADMIN
[2026-06-13 16:05:15.831]: Info: /dev/dri/card1 → nvidia-drm
[2026-06-13 16:05:15.831]: Error: Failed to gain CAP_SYS_ADMIN
[2026-06-13 16:05:15.831]: Error: Couldn’t get handle for DRM Framebuffer [836]: Probably not permitted
[2026-06-13 16:05:15.831]: Error: AppImage and Flatpak do not support KMS capture. Use another capture method.
[2026-06-13 16:05:15.831]: Info: [wayland] Found display [wayland-0]
[2026-06-13 16:05:15.831]: Info: [wayland] Found display [wayland-0]
[2026-06-13 16:05:15.831]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-06-13 16:05:15.831]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-06-13 16:05:15.831]: Info: [wayland] Found interface: wl_output(65) version 4
[2026-06-13 16:05:15.831]: Info: [wayland] Found interface: wl_output(66) version 4
[2026-06-13 16:05:15.831]: Info: [wayland] Resolution: 1920x1080
[2026-06-13 16:05:15.831]: Info: [wayland] Resolution: 1280x1024
[2026-06-13 16:05:15.831]: Info: [wayland] Offset: 1280x0
[2026-06-13 16:05:15.831]: Info: [wayland] Logical size: 1920x1080
[2026-06-13 16:05:15.832]: Info: [wayland] Name: HDMI-A-1
[2026-06-13 16:05:15.832]: Info: [wayland] Found monitor: Xiaomi Corporation Mi Monitor
[2026-06-13 16:05:15.832]: Info: [wayland] Offset: 0x56
[2026-06-13 16:05:15.832]: Info: [wayland] Logical size: 1280x1024
[2026-06-13 16:05:15.832]: Info: [wayland] Name: DP-1
[2026-06-13 16:05:15.832]: Info: [wayland] Found monitor: Philips Consumer Electronics Company Philips 170B
[2026-06-13 16:05:15.832]: Info: -------- Start of KMS monitor list --------
[2026-06-13 16:05:15.832]: Warning: Mismatch on expected Resolution compared to actual resolution: 0x0 vs 1920x1080
[2026-06-13 16:05:15.832]: Info: Monitor 0 is HDMI-A-1: Xiaomi Corporation Mi Monitor
[2026-06-13 16:05:15.832]: Warning: Mismatch on expected Resolution compared to actual resolution: 0x0 vs 1280x1024
[2026-06-13 16:05:15.832]: Info: Monitor 0 is DP-1: Philips Consumer Electronics Company Philips 170B
[2026-06-13 16:05:15.832]: Info: --------- End of KMS monitor list ---------
[2026-06-13 16:05:15.832]: Info: [portalgrab] Loaded portal restore token from disk
[2026-06-13 16:05:15.849]: Info: [wayland] Found display [wayland-0]
[2026-06-13 16:05:15.850]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-06-13 16:05:15.850]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-06-13 16:05:15.850]: Info: [wayland] Found interface: wl_output(65) version 4
[2026-06-13 16:05:15.850]: Info: [wayland] Found interface: wl_output(66) version 4
[2026-06-13 16:05:15.850]: Info: [wayland] Resolution: 1920x1080
[2026-06-13 16:05:15.850]: Info: [wayland] Resolution: 1280x1024
[2026-06-13 16:05:15.850]: Info: [wayland] Offset: 1280x0
[2026-06-13 16:05:15.850]: Info: [wayland] Logical size: 1920x1080
[2026-06-13 16:05:15.850]: Info: [wayland] Name: HDMI-A-1
[2026-06-13 16:05:15.850]: Info: [wayland] Found monitor: Xiaomi Corporation Mi Monitor
[2026-06-13 16:05:15.850]: Info: [wayland] Offset: 0x56
[2026-06-13 16:05:15.850]: Info: [wayland] Logical size: 1280x1024
[2026-06-13 16:05:15.850]: Info: [wayland] Name: DP-1
[2026-06-13 16:05:15.850]: Info: [wayland] Found monitor: Philips Consumer Electronics Company Philips 170B
[2026-06-13 16:05:15.851]: Info: [portalgrab] Found stream for display id/name: ‘DP-1’ position: 0x56 resolution: 1280x1024
[2026-06-13 16:05:15.851]: Info: [portalgrab] Found stream for display id/name: ‘HDMI-A-1’ position: 1280x0 resolution: 1920x1080
[2026-06-13 16:05:15.888]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-06-13 16:05:15.888]: Info: Trying encoder [nvenc]
[2026-06-13 16:05:15.888]: Info: Screencasting with XDG portal
[2026-06-13 16:05:15.889]: Info: [pipewire] Requested frame rate [60/1, approx. 60 fps]
[2026-06-13 16:05:15.889]: Info: [wayland] Found display [wayland-0]
[2026-06-13 16:05:15.895]: Info: [pipewire] Pure NVIDIA system - DMA-BUF will be enabled for CUDA
[2026-06-13 16:05:15.897]: Info: [portalgrab] Loaded portal restore token from disk
[2026-06-13 16:05:15.918]: Info: [wayland] Found display [wayland-0]
[2026-06-13 16:05:15.919]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-06-13 16:05:15.919]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-06-13 16:05:15.919]: Info: [wayland] Found interface: wl_output(65) version 4
[2026-06-13 16:05:15.919]: Info: [wayland] Found interface: wl_output(66) version 4
[2026-06-13 16:05:15.919]: Info: [wayland] Resolution: 1920x1080
[2026-06-13 16:05:15.919]: Info: [wayland] Resolution: 1280x1024
[2026-06-13 16:05:15.919]: Info: [wayland] Offset: 1280x0
[2026-06-13 16:05:15.919]: Info: [wayland] Logical size: 1920x1080
[2026-06-13 16:05:15.919]: Info: [wayland] Name: HDMI-A-1
[2026-06-13 16:05:15.919]: Info: [wayland] Found monitor: Xiaomi Corporation Mi Monitor
[2026-06-13 16:05:15.919]: Info: [wayland] Offset: 0x56
[2026-06-13 16:05:15.919]: Info: [wayland] Logical size: 1280x1024
[2026-06-13 16:05:15.919]: Info: [wayland] Name: DP-1
[2026-06-13 16:05:15.919]: Info: [wayland] Found monitor: Philips Consumer Electronics Company Philips 170B
[2026-06-13 16:05:15.921]: Info: [portalgrab] Using first available stream as no matching stream was found for: ‘’
[2026-06-13 16:05:15.921]: Info: [pipewire] Streaming display ‘’ offset: 0x56 resolution: 1280x1024
[2026-06-13 16:05:15.921]: Info: [wayland] Found display [wayland-0]
[2026-06-13 16:05:15.921]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-06-13 16:05:15.921]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-06-13 16:05:15.921]: Info: [wayland] Found interface: wl_output(65) version 4
[2026-06-13 16:05:15.921]: Info: [wayland] Found interface: wl_output(66) version 4
[2026-06-13 16:05:15.921]: Info: [wayland] Resolution: 1920x1080
[2026-06-13 16:05:15.921]: Info: [wayland] Resolution: 1280x1024
[2026-06-13 16:05:15.921]: Info: [wayland] Offset: 1280x0
[2026-06-13 16:05:15.921]: Info: [wayland] Logical size: 1920x1080
[2026-06-13 16:05:15.921]: Info: [wayland] Name: HDMI-A-1
[2026-06-13 16:05:15.921]: Info: [wayland] Found monitor: Xiaomi Corporation Mi Monitor
[2026-06-13 16:05:15.921]: Info: [wayland] Offset: 0x56
[2026-06-13 16:05:15.921]: Info: [wayland] Logical size: 1280x1024
[2026-06-13 16:05:15.921]: Info: [wayland] Name: DP-1
[2026-06-13 16:05:15.921]: Info: [wayland] Found monitor: Philips Consumer Electronics Company Philips 170B
[2026-06-13 16:05:15.924]: Info: [pipewire] Connected to pipewire version 1.6.6
[2026-06-13 16:05:15.934]: Info: [pipewire] Video format: 12
[2026-06-13 16:05:15.934]: Info: [pipewire] Size: 1280x1024
[2026-06-13 16:05:15.934]: Info: [pipewire] Color primaries: 0
[2026-06-13 16:05:15.934]: Info: [pipewire] Transfer function: 0
[2026-06-13 16:05:15.934]: Info: [pipewire] Framerate (from compositor): 0/1 (variable rate capture)
[2026-06-13 16:05:15.934]: Info: [pipewire] using DMA-BUF buffers
[2026-06-13 16:05:15.934]: Info: [pipewire] Video format: 12
[2026-06-13 16:05:15.934]: Info: [pipewire] Size: 1280x1024
[2026-06-13 16:05:15.934]: Info: [pipewire] Color primaries: 0
[2026-06-13 16:05:15.934]: Info: [pipewire] Transfer function: 0
[2026-06-13 16:05:15.934]: Info: [pipewire] Framerate (from compositor): 0/1 (variable rate capture)
[2026-06-13 16:05:15.934]: Info: [pipewire] using DMA-BUF buffers
[2026-06-13 16:05:15.944]: Info: Creating encoder [h264_nvenc]
[2026-06-13 16:05:15.944]: Info: Color coding: SDR (Rec. 601)
[2026-06-13 16:05:15.944]: Info: Color depth: 8-bit
[2026-06-13 16:05:15.944]: Info: Color range: JPEG
[2026-06-13 16:05:15.951]: Warning: EGL: context priority set to HIGH but CAP_SYS_NICE capability is missing
[2026-06-13 16:05:16.094]: Info: Streaming bitrate is 1000000
[2026-06-13 16:05:16.100]: Warning: [h264_nvenc @ 0x556ff569f4c0] Multiple reference frames are not supported by the device
[2026-06-13 16:05:16.100]: Error: [h264_nvenc @ 0x556ff569f4c0] Provided device doesn’t support required NVENC features
[2026-06-13 16:05:16.175]: Error: Could not open codec [h264_nvenc]: Function not implemented
[2026-06-13 16:05:16.176]: Info: Creating encoder [h264_nvenc]
[2026-06-13 16:05:16.176]: Info: Color coding: SDR (Rec. 601)
[2026-06-13 16:05:16.176]: Info: Color depth: 8-bit
[2026-06-13 16:05:16.176]: Info: Color range: JPEG
[2026-06-13 16:05:16.177]: Warning: EGL: context priority set to HIGH but CAP_SYS_NICE capability is missing
[2026-06-13 16:05:16.270]: Info: Streaming bitrate is 1000000
[2026-06-13 16:05:16.333]: Info: Creating encoder [hevc_nvenc]
[2026-06-13 16:05:16.333]: Info: Color coding: SDR (Rec. 601)
[2026-06-13 16:05:16.333]: Info: Color depth: 8-bit
[2026-06-13 16:05:16.333]: Info: Color range: JPEG
[2026-06-13 16:05:16.334]: Warning: EGL: context priority set to HIGH but CAP_SYS_NICE capability is missing
[2026-06-13 16:05:16.336]: Info: Streaming bitrate is 1000000
[2026-06-13 16:05:16.342]: Warning: [hevc_nvenc @ 0x556ff569f4c0] Multiple reference frames are not supported by the device
[2026-06-13 16:05:16.342]: Error: [hevc_nvenc @ 0x556ff569f4c0] Provided device doesn’t support required NVENC features
[2026-06-13 16:05:16.343]: Error: Could not open codec [hevc_nvenc]: Function not implemented
[2026-06-13 16:05:16.344]: Info: Creating encoder [hevc_nvenc]
[2026-06-13 16:05:16.344]: Info: Color coding: SDR (Rec. 601)
[2026-06-13 16:05:16.344]: Info: Color depth: 8-bit
[2026-06-13 16:05:16.344]: Info: Color range: JPEG
[2026-06-13 16:05:16.344]: Warning: EGL: context priority set to HIGH but CAP_SYS_NICE capability is missing
[2026-06-13 16:05:16.347]: Info: Streaming bitrate is 1000000
[2026-06-13 16:05:16.381]: Info: Creating encoder [av1_nvenc]
[2026-06-13 16:05:16.381]: Info: Color coding: SDR (Rec. 601)
[2026-06-13 16:05:16.381]: Info: Color depth: 8-bit
[2026-06-13 16:05:16.381]: Info: Color range: JPEG
[2026-06-13 16:05:16.381]: Warning: EGL: context priority set to HIGH but CAP_SYS_NICE capability is missing
[2026-06-13 16:05:16.383]: Info: Streaming bitrate is 1000000
[2026-06-13 16:05:16.388]: Warning: [av1_nvenc @ 0x556ff569f4c0] Codec not supported
[2026-06-13 16:05:16.389]: Error: [av1_nvenc @ 0x556ff569f4c0] Provided device doesn’t support required NVENC features
[2026-06-13 16:05:16.390]: Error: Could not open codec [av1_nvenc]: Function not implemented
[2026-06-13 16:05:16.390]: Info: Creating encoder [av1_nvenc]
[2026-06-13 16:05:16.390]: Info: Color coding: SDR (Rec. 601)
[2026-06-13 16:05:16.390]: Info: Color depth: 8-bit
[2026-06-13 16:05:16.390]: Info: Color range: JPEG
[2026-06-13 16:05:16.391]: Warning: EGL: context priority set to HIGH but CAP_SYS_NICE capability is missing
[2026-06-13 16:05:16.393]: Info: Streaming bitrate is 1000000
[2026-06-13 16:05:16.398]: Warning: [av1_nvenc @ 0x556ff569f4c0] Codec not supported
[2026-06-13 16:05:16.398]: Error: [av1_nvenc @ 0x556ff569f4c0] Provided device doesn’t support required NVENC features
[2026-06-13 16:05:16.400]: Error: Could not open codec [av1_nvenc]: Function not implemented
[2026-06-13 16:05:16.403]: Info: Screencasting with XDG portal
[2026-06-13 16:05:16.403]: Info: [pipewire] Requested frame rate [60/1, approx. 60 fps]
[2026-06-13 16:05:16.403]: Info: [wayland] Found display [wayland-0]
[2026-06-13 16:05:16.405]: Info: [pipewire] Pure NVIDIA system - DMA-BUF will be enabled for CUDA
[2026-06-13 16:05:16.406]: Info: [portalgrab] Loaded portal restore token from disk
[2026-06-13 16:05:16.418]: Info: [wayland] Found display [wayland-0]
[2026-06-13 16:05:16.418]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-06-13 16:05:16.418]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-06-13 16:05:16.418]: Info: [wayland] Found interface: wl_output(65) version 4
[2026-06-13 16:05:16.418]: Info: [wayland] Found interface: wl_output(66) version 4
[2026-06-13 16:05:16.418]: Info: [wayland] Resolution: 1920x1080
[2026-06-13 16:05:16.418]: Info: [wayland] Resolution: 1280x1024
[2026-06-13 16:05:16.418]: Info: [wayland] Offset: 1280x0
[2026-06-13 16:05:16.418]: Info: [wayland] Logical size: 1920x1080
[2026-06-13 16:05:16.418]: Info: [wayland] Name: HDMI-A-1
[2026-06-13 16:05:16.418]: Info: [wayland] Found monitor: Xiaomi Corporation Mi Monitor
[2026-06-13 16:05:16.418]: Info: [wayland] Offset: 0x56
[2026-06-13 16:05:16.418]: Info: [wayland] Logical size: 1280x1024
[2026-06-13 16:05:16.418]: Info: [wayland] Name: DP-1
[2026-06-13 16:05:16.418]: Info: [wayland] Found monitor: Philips Consumer Electronics Company Philips 170B
[2026-06-13 16:05:16.420]: Info: [portalgrab] Using first available stream as no matching stream was found for: ‘’
[2026-06-13 16:05:16.420]: Info: [pipewire] Streaming display ‘’ offset: 0x56 resolution: 1280x1024
[2026-06-13 16:05:16.420]: Info: [wayland] Found display [wayland-0]
[2026-06-13 16:05:16.420]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-06-13 16:05:16.420]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-06-13 16:05:16.420]: Info: [wayland] Found interface: wl_output(65) version 4
[2026-06-13 16:05:16.420]: Info: [wayland] Found interface: wl_output(66) version 4
[2026-06-13 16:05:16.420]: Info: [wayland] Resolution: 1920x1080
[2026-06-13 16:05:16.420]: Info: [wayland] Resolution: 1280x1024
[2026-06-13 16:05:16.420]: Info: [wayland] Offset: 1280x0
[2026-06-13 16:05:16.420]: Info: [wayland] Logical size: 1920x1080
[2026-06-13 16:05:16.420]: Info: [wayland] Name: HDMI-A-1
[2026-06-13 16:05:16.420]: Info: [wayland] Found monitor: Xiaomi Corporation Mi Monitor
[2026-06-13 16:05:16.420]: Info: [wayland] Offset: 0x56
[2026-06-13 16:05:16.420]: Info: [wayland] Logical size: 1280x1024
[2026-06-13 16:05:16.420]: Info: [wayland] Name: DP-1
[2026-06-13 16:05:16.420]: Info: [wayland] Found monitor: Philips Consumer Electronics Company Philips 170B
[2026-06-13 16:05:16.422]: Info: [pipewire] Connected to pipewire version 1.6.6
[2026-06-13 16:05:16.431]: Info: [pipewire] Video format: 12
[2026-06-13 16:05:16.431]: Info: [pipewire] Size: 1280x1024
[2026-06-13 16:05:16.431]: Info: [pipewire] Color primaries: 0
[2026-06-13 16:05:16.431]: Info: [pipewire] Transfer function: 0
[2026-06-13 16:05:16.431]: Info: [pipewire] Framerate (from compositor): 0/1 (variable rate capture)
[2026-06-13 16:05:16.431]: Info: [pipewire] using DMA-BUF buffers
[2026-06-13 16:05:16.431]: Info: [pipewire] Video format: 12
[2026-06-13 16:05:16.431]: Info: [pipewire] Size: 1280x1024
[2026-06-13 16:05:16.431]: Info: [pipewire] Color primaries: 0
[2026-06-13 16:05:16.431]: Info: [pipewire] Transfer function: 0
[2026-06-13 16:05:16.431]: Info: [pipewire] Framerate (from compositor): 0/1 (variable rate capture)
[2026-06-13 16:05:16.431]: Info: [pipewire] using DMA-BUF buffers
[2026-06-13 16:05:16.432]: Info: Creating encoder [hevc_nvenc]
[2026-06-13 16:05:16.432]: Info: Color coding: SDR (Rec. 709)
[2026-06-13 16:05:16.432]: Info: Color depth: 10-bit
[2026-06-13 16:05:16.432]: Info: Color range: JPEG
[2026-06-13 16:05:16.433]: Warning: EGL: context priority set to HIGH but CAP_SYS_NICE capability is missing
[2026-06-13 16:05:16.435]: Info: Streaming bitrate is 1000000
[2026-06-13 16:05:16.478]: Info:
[2026-06-13 16:05:16.479]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-06-13 16:05:16.479]: Info:
[2026-06-13 16:05:16.479]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2026-06-13 16:05:16.479]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2026-06-13 16:05:16.480]: Info: Starting system tray
[2026-06-13 16:05:16.482]: Info: Configuration UI available at [``https://localhost:47990``]
[2026-06-13 16:05:16.483]: Info: Adding avahi service CachyPC
[2026-06-13 16:05:16.520]: Info: System tray created
[2026-06-13 16:05:16.521]: Info: Starting main loop
[2026-06-13 16:05:17.368]: Info: Avahi service CachyPC successfully established.
Heads up: I know nothing of Sunshine and Moonlight, but your log says explicitly:
Error: AppImage and Flatpak do not support KMS capture. Use another capture method.
And more about permissions prior to that.
If i were in your place, i’d research in that direction and also search this forum here, because I believe I saw some people get S/M to work properly.
ZMK
June 13, 2026, 1:54pm
3
As I mentioned, I used both versions: Flatpak and the version from the CachyOS repositories
hmmm… strange things, it works on my end without isue tho ?
tho i’m using AMD
might be NVIDIA things ?
[2026-06-12 14:53:03.841]: Info: Sunshine version: 2026.516.143833 commit: 14ffa6fdaa53f7b51512be2b3d24f3939695403c
[2026-06-12 14:53:03.841]: Info: Package Publisher: LizardByte
[2026-06-12 14:53:03.841]: Info: Publisher Website: https://app.lizardbyte.dev
[2026-06-12 14:53:03.841]: Info: Get support: https://app.lizardbyte.dev/support
[2026-06-12 14:53:03.841]: Info: config: 'av1_mode' = 2
[2026-06-12 14:53:03.841]: Info: config: 'csrf_allowed_origins' = [redacted]
[2026-06-12 14:53:03.841]: Info: config: 'wan_encryption_mode' = 2
[2026-06-12 14:53:03.841]: Info: config: 'encoder' = vaapi
[2026-06-12 14:53:03.841]: Info: config: 'min_log_level' = 2
[2026-06-12 14:53:03.841]: Info: config: 'output_name' = 0
[2026-06-12 14:53:03.841]: Info: config: 'sunshine_name' = Bisky-Sunshine
[2026-06-12 14:53:03.841]: Info: config: 'upnp' = enabled
[2026-06-12 14:53:03.841]: Info: config: 'vk_rc_mode' = 4
[2026-06-12 14:53:03.841]: Info: config: 'vk_tune' = 2
[2026-06-12 14:53:03.967]: Error: Couldn't load cuda: -1
[2026-06-12 14:53:03.967]: Info: [wayland] Found display [wayland-0]
[2026-06-12 14:53:03.967]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-06-12 14:53:03.967]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-06-12 14:53:03.967]: Info: [wayland] Found interface: wl_output(66) version 4
[2026-06-12 14:53:03.967]: Info: [wayland] Found interface: wl_output(67) version 4
[2026-06-12 14:53:03.967]: Info: [wayland] Found interface: wl_output(68) version 4
[2026-06-12 14:53:03.967]: Warning: [wlgrab] Missing Wayland wire for wlr-export-dmabuf
[2026-06-12 14:53:03.967]: Info: /dev/dri/card1 -> amdgpu
[2026-06-12 14:53:03.968]: Info: [wayland] Found display [wayland-0]
[2026-06-12 14:53:03.968]: Info: [wayland] Found display [wayland-0]
[2026-06-12 14:53:03.968]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-06-12 14:53:03.968]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-06-12 14:53:03.968]: Info: [wayland] Found interface: wl_output(66) version 4
[2026-06-12 14:53:03.968]: Info: [wayland] Found interface: wl_output(67) version 4
[2026-06-12 14:53:03.968]: Info: [wayland] Found interface: wl_output(68) version 4
[2026-06-12 14:53:03.968]: Info: [wayland] Resolution: 3440x1440
[2026-06-12 14:53:03.968]: Info: [wayland] Resolution: 1920x1080
[2026-06-12 14:53:03.968]: Info: [wayland] Resolution: 1920x1080
[2026-06-12 14:53:03.968]: Info: [wayland] Offset: 0x0
[2026-06-12 14:53:03.968]: Info: [wayland] Logical size: 3440x1440
[2026-06-12 14:53:03.968]: Info: [wayland] Name: DP-1
[2026-06-12 14:53:03.968]: Info: [wayland] Found monitor: HKC OVERSEAS LIMITED 34E6UC
[2026-06-12 14:53:03.968]: Info: [wayland] Offset: 3440x1080
[2026-06-12 14:53:03.968]: Info: [wayland] Logical size: 1920x1080
[2026-06-12 14:53:03.968]: Info: [wayland] Name: DP-2
[2026-06-12 14:53:03.968]: Info: [wayland] Found monitor: Stargate Technology DP-2-Type-c
[2026-06-12 14:53:03.968]: Info: [wayland] Offset: 3440x0
[2026-06-12 14:53:03.968]: Info: [wayland] Logical size: 1920x1080
[2026-06-12 14:53:03.968]: Info: [wayland] Name: HDMI-A-1
[2026-06-12 14:53:03.968]: Info: [wayland] Found monitor: AOC 24B2W1G5
[2026-06-12 14:53:03.968]: Info: -------- Start of KMS monitor list --------
[2026-06-12 14:53:03.968]: Info: Monitor 2 is DP-1: HKC OVERSEAS LIMITED 34E6UC
[2026-06-12 14:53:03.968]: Info: Monitor 1 is DP-2: Stargate Technology DP-2-Type-c
[2026-06-12 14:53:03.968]: Info: Monitor 0 is HDMI-A-1: AOC 24B2W1G5
[2026-06-12 14:53:03.968]: Info: --------- End of KMS monitor list ---------
[2026-06-12 14:53:03.968]: Info: [portalgrab] Loaded portal restore token from disk
[2026-06-12 14:53:03.982]: Warning: Gamepad ds5 is disabled due to Permission denied
[2026-06-12 14:53:03.982]: Info: Trying encoder [vaapi]
[2026-06-12 14:53:03.982]: Info: Screencasting with KMS
[2026-06-12 14:53:03.982]: Info: /dev/dri/card1 -> amdgpu
[2026-06-12 14:53:03.982]: Info: Found monitor for DRM screencasting
[2026-06-12 14:53:03.982]: Info: Found connector ID [127]
[2026-06-12 14:53:03.982]: Info: Found cursor plane [92]
[2026-06-12 14:53:03.998]: Info: Creating encoder [h264_vaapi]
[2026-06-12 14:53:03.998]: Info: Color coding: SDR (Rec. 601)
[2026-06-12 14:53:03.998]: Info: Color depth: 8-bit
[2026-06-12 14:53:03.998]: Info: Color range: JPEG
[2026-06-12 14:53:04.003]: Info: EGL: context priority set to HIGH
[2026-06-12 14:53:04.006]: Info: vaapi vendor: Mesa Gallium driver 26.1.2-arch2.1 for AMD Radeon RX 9070 XT (radeonsi, gfx1201, ACO, DRM 3.64, 6.18.34-1-cachyos-lts)
[2026-06-12 14:53:04.007]: Info: Streaming bitrate is 1000000
[2026-06-12 14:53:04.007]: Info: Using normal encoding mode
[2026-06-12 14:53:04.007]: Info: Using default rate control
[2026-06-12 14:53:04.041]: Info: Creating encoder [hevc_vaapi]
[2026-06-12 14:53:04.042]: Info: Color coding: SDR (Rec. 601)
[2026-06-12 14:53:04.042]: Info: Color depth: 8-bit
[2026-06-12 14:53:04.042]: Info: Color range: JPEG
[2026-06-12 14:53:04.046]: Info: EGL: context priority set to HIGH
[2026-06-12 14:53:04.050]: Info: vaapi vendor: Mesa Gallium driver 26.1.2-arch2.1 for AMD Radeon RX 9070 XT (radeonsi, gfx1201, ACO, DRM 3.64, 6.18.34-1-cachyos-lts)
[2026-06-12 14:53:04.050]: Info: Streaming bitrate is 1000000
[2026-06-12 14:53:04.050]: Info: Using normal encoding mode
[2026-06-12 14:53:04.050]: Info: Using default rate control
[2026-06-12 14:53:04.060]: Info: Creating encoder [av1_vaapi]
[2026-06-12 14:53:04.060]: Info: Color coding: SDR (Rec. 601)
[2026-06-12 14:53:04.060]: Info: Color depth: 8-bit
[2026-06-12 14:53:04.060]: Info: Color range: JPEG
[2026-06-12 14:53:04.065]: Info: EGL: context priority set to HIGH
[2026-06-12 14:53:04.067]: Info: vaapi vendor: Mesa Gallium driver 26.1.2-arch2.1 for AMD Radeon RX 9070 XT (radeonsi, gfx1201, ACO, DRM 3.64, 6.18.34-1-cachyos-lts)
[2026-06-12 14:53:04.068]: Info: Streaming bitrate is 1000000
[2026-06-12 14:53:04.068]: Info: Using normal encoding mode
[2026-06-12 14:53:04.068]: Info: Using VBR with single frame VBV size
[2026-06-12 14:53:04.068]: Warning: [av1_vaapi @ 0x562993121c40] Multiple slices were requested but this codec does not support controlling slices.
[2026-06-12 14:53:04.074]: Info: Screencasting with KMS
[2026-06-12 14:53:04.074]: Info: /dev/dri/card1 -> amdgpu
[2026-06-12 14:53:04.074]: Info: Found monitor for DRM screencasting
[2026-06-12 14:53:04.074]: Info: Found connector ID [127]
[2026-06-12 14:53:04.075]: Info: Found cursor plane [92]
[2026-06-12 14:53:04.077]: Info: Creating encoder [hevc_vaapi]
[2026-06-12 14:53:04.077]: Info: Color coding: SDR (Rec. 709)
[2026-06-12 14:53:04.077]: Info: Color depth: 10-bit
[2026-06-12 14:53:04.077]: Info: Color range: JPEG
[2026-06-12 14:53:04.082]: Info: EGL: context priority set to HIGH
[2026-06-12 14:53:04.085]: Info: vaapi vendor: Mesa Gallium driver 26.1.2-arch2.1 for AMD Radeon RX 9070 XT (radeonsi, gfx1201, ACO, DRM 3.64, 6.18.34-1-cachyos-lts)
[2026-06-12 14:53:04.085]: Info: Streaming bitrate is 1000000
[2026-06-12 14:53:04.085]: Info: Using normal encoding mode
[2026-06-12 14:53:04.085]: Info: Using default rate control
[2026-06-12 14:53:04.094]: Info: Creating encoder [av1_vaapi]
[2026-06-12 14:53:04.094]: Info: Color coding: SDR (Rec. 709)
[2026-06-12 14:53:04.094]: Info: Color depth: 10-bit
[2026-06-12 14:53:04.094]: Info: Color range: JPEG
[2026-06-12 14:53:04.098]: Info: EGL: context priority set to HIGH
[2026-06-12 14:53:04.101]: Info: vaapi vendor: Mesa Gallium driver 26.1.2-arch2.1 for AMD Radeon RX 9070 XT (radeonsi, gfx1201, ACO, DRM 3.64, 6.18.34-1-cachyos-lts)
[2026-06-12 14:53:04.101]: Info: Streaming bitrate is 1000000
[2026-06-12 14:53:04.101]: Info: Using normal encoding mode
[2026-06-12 14:53:04.101]: Info: Using VBR with single frame VBV size
[2026-06-12 14:53:04.101]: Warning: [av1_vaapi @ 0x562993121c40] Multiple slices were requested but this codec does not support controlling slices.
[2026-06-12 14:53:04.109]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-06-12 14:53:04.109]: Info:
[2026-06-12 14:53:04.109]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-06-12 14:53:04.109]: Info:
[2026-06-12 14:53:04.109]: Info: Found H.264 encoder: h264_vaapi [vaapi]
[2026-06-12 14:53:04.109]: Info: Found HEVC encoder: hevc_vaapi [vaapi]
[2026-06-12 14:53:04.109]: Info: Found AV1 encoder: av1_vaapi [vaapi]
[2026-06-12 14:53:04.110]: Info: Starting system tray
[2026-06-12 14:53:04.110]: Info: Adding avahi service Bisky-Linux
[2026-06-12 14:53:04.111]: Info: Configuration UI available at [https://localhost:47990]
[2026-06-12 14:53:04.125]: Info: System tray created
[2026-06-12 14:53:04.126]: Info: Starting main loop
[2026-06-12 14:53:04.870]: Info: Avahi service Bisky-Linux successfully established.
[2026-06-12 14:53:06.215]: Info: Completed UPnP port mappings to 192.168.1.2 via http://192.168.1.1:2828/gateway.xml
[2026-06-13 21:03:43.551]: Info: Opening UI from system tray
[2026-06-13 21:03:43.554]: Info: Opened url [https://localhost:47990]
also, i’m using this for “Virtual monitor” incase on my end it was fixed with this
This script lists games from Lutris, Heroic, Steam and More, adds them to Sunshine, and optionally downloads game covers from SteamGridDB.
from your log, it seems it has issue with the encoding format
maybe you can try pick non NVIDIA encoder first, to see if thing’s working or not
ZMK
June 13, 2026, 3:31pm
6
Unfortunately, no, it doesn’t work
Axul
June 13, 2026, 9:44pm
8
Hello,
I had also se troubles to make sunshine work. It was a kernel issue (since 7.0) on my side with my Ethernet chip.
opened 03:44PM - 01 May 26 UTC
closed 04:43PM - 12 May 26 UTC
### Is there an existing issue for this?
- [x] I have searched the existing iss… ues
### Is your issue described in the documentation?
- [x] I have read the documentation
### Is your issue present in the latest beta/pre-release?
This issue is present in the latest pre-release
### Describe the Bug
After upgrading my arch linux to kernel 7.0 every time i connect to sunshine i get a black screen.
If i switch back to a 6.19 kernel or lower it works fine.
Im using kms capture on KDE with amd drivers
I'm using latest stable version of sunshine also tried with the beta with same result
here is full log:
[2026-05-01 17:40:45.197056] [0x00007f1ab96bac00] [info] config: 'upnp' = enabled
[2026-05-01 17:40:45.197072] [0x00007f1ab96bac00] [info] config: 'adapter_name' = /dev/dri/renderD128
[2026-05-01 17:40:45.197075] [0x00007f1ab96bac00] [info] config: 'vk_rc_mode' = 4
[2026-05-01 17:40:45.197077] [0x00007f1ab96bac00] [info] config: 'amd_quality' = default
[2026-05-01 17:40:45.197080] [0x00007f1ab96bac00] [info] config: 'amd_rc' = auto
[2026-05-01 17:40:45.197081] [0x00007f1ab96bac00] [info] config: 'encoder' = vaapi
[2026-05-01 17:40:45.197083] [0x00007f1ab96bac00] [info] config: 'capture' = kms
[2026-05-01 17:40:45.197086] [0x00007f1ab96bac00] [info] config: 'channels' = 2
[2026-05-01 17:40:45.197088] [0x00007f1ab96bac00] [info] config: 'hevc_mode' = 2
[2026-05-01 17:40:45.197090] [0x00007f1ab96bac00] [info] config: 'nv_rc' = auto
[2026-05-01 17:40:45.197092] [0x00007f1ab96bac00] [info] config: 'fps' = [10,30,60,90,120,0]
[2026-05-01 17:40:45.197094] [0x00007f1ab96bac00] [info] config: 'gamepad' = ds5
[2026-05-01 17:40:45.197096] [0x00007f1ab96bac00] [info] config: 'output_name' = 0
[2026-05-01 17:40:45.197098] [0x00007f1ab96bac00] [info] config: 'origin_pin_allowed' = lan
[2026-05-01 17:40:45.197100] [0x00007f1ab96bac00] [info] config: 'resolutions' = [
352x240,
480x360,
858x480,
1280x720,
1920x1080,
2560x1080,
3440x1440,
1920x1200,
3860x2160,
3840x1600,
0x0
]
Warning: Unrecognized configurable option [vk_rc_mode]
Warning: Unrecognized configurable option [channels]
Warning: Unrecognized configurable option [nv_rc]
Warning: Unrecognized configurable option [fps]
Warning: Unrecognized configurable option [origin_pin_allowed]
Warning: Unrecognized configurable option [resolutions]
[2026-05-01 17:40:45.197]: Info: Sunshine version: 2025.924.154138 commit: 86188d47a7463b0f73b35de18a628353adeaa20e
[2026-05-01 17:40:45.197]: Info: Package Publisher: LizardByte
[2026-05-01 17:40:45.197]: Info: Publisher Website: https://app.lizardbyte.dev
[2026-05-01 17:40:45.197]: Info: Get support: https://app.lizardbyte.dev/support
[2026-05-01 17:40:45.197]: Info: config: 'resolutions' = [
352x240,
480x360,
858x480,
1280x720,
1920x1080,
2560x1080,
3440x1440,
1920x1200,
3860x2160,
3840x1600,
0x0
]
[2026-05-01 17:40:45.197]: Info: config: 'origin_pin_allowed' = lan
[2026-05-01 17:40:45.197]: Info: config: 'upnp' = enabled
[2026-05-01 17:40:45.197]: Info: config: 'adapter_name' = /dev/dri/renderD128
[2026-05-01 17:40:45.197]: Info: config: 'gamepad' = ds5
[2026-05-01 17:40:45.197]: Info: config: 'vk_rc_mode' = 4
[2026-05-01 17:40:45.197]: Info: config: 'amd_quality' = default
[2026-05-01 17:40:45.197]: Info: config: 'amd_rc' = auto
[2026-05-01 17:40:45.197]: Info: config: 'encoder' = vaapi
[2026-05-01 17:40:45.197]: Info: config: 'capture' = kms
[2026-05-01 17:40:45.197]: Info: config: 'channels' = 2
[2026-05-01 17:40:45.197]: Info: config: 'hevc_mode' = 2
[2026-05-01 17:40:45.197]: Info: config: 'nv_rc' = auto
[2026-05-01 17:40:45.197]: Info: config: 'fps' = [10,30,60,90,120,0]
[2026-05-01 17:40:45.197]: Info: config: 'output_name' = 0
[2026-05-01 17:40:45.197]: Info: /dev/dri/card2 -> amdgpu
[2026-05-01 17:40:45.198]: Info: /dev/dri/card1 -> amdgpu
[2026-05-01 17:40:45.202]: Info: Found display [wayland-0]
[2026-05-01 17:40:45.202]: Info: Found display [wayland-0]
[2026-05-01 17:40:45.203]: Info: Found interface: zxdg_output_manager_v1(31) version 3
[2026-05-01 17:40:45.203]: Info: Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-05-01 17:40:45.203]: Info: Found interface: wl_output(64) version 4
[2026-05-01 17:40:45.203]: Info: Resolution: 1920x1080
[2026-05-01 17:40:45.203]: Info: Offset: 0x0
[2026-05-01 17:40:45.203]: Info: Logical size: 1920x1080
[2026-05-01 17:40:45.203]: Info: Name: HDMI-A-1
[2026-05-01 17:40:45.203]: Info: Found monitor: Ancor Communications Inc VS278
[2026-05-01 17:40:45.203]: Info: -------- Start of KMS monitor list --------
[2026-05-01 17:40:45.203]: Info: Monitor 0 is HDMI-A-1: Ancor Communications Inc VS278
[2026-05-01 17:40:45.203]: Info: --------- End of KMS monitor list ---------
[2026-05-01 17:40:45.294]: Info: Trying encoder [vaapi]
[2026-05-01 17:40:45.294]: Info: Screencasting with KMS
[2026-05-01 17:40:45.294]: Info: /dev/dri/card2 -> amdgpu
[2026-05-01 17:40:45.294]: Info: Found monitor for DRM screencasting
[2026-05-01 17:40:45.294]: Info: Found connector ID [377]
[2026-05-01 17:40:45.294]: Info: Found cursor plane [360]
[2026-05-01 17:40:45.301]: Info: Creating encoder [h264_vaapi]
[2026-05-01 17:40:45.301]: Info: Color coding: SDR (Rec. 601)
[2026-05-01 17:40:45.301]: Info: Color depth: 8-bit
[2026-05-01 17:40:45.301]: Info: Color range: JPEG
[2026-05-01 17:40:45.312]: Info: vaapi vendor: Mesa Gallium driver 26.0.6-arch2.2 for AMD Ryzen 7 7800X3D 8-Core Processor (radeonsi, raphael_mendocino, ACO, DRM 3.64, 7.0.3-arch1-1)
[2026-05-01 17:40:45.312]: Info: Streaming bitrate is 1000000
[2026-05-01 17:40:45.312]: Info: Using normal encoding mode
[2026-05-01 17:40:45.312]: Info: Using default rate control
[2026-05-01 17:40:45.325]: Info: Creating encoder [hevc_vaapi]
[2026-05-01 17:40:45.325]: Info: Color coding: SDR (Rec. 601)
[2026-05-01 17:40:45.325]: Info: Color depth: 8-bit
[2026-05-01 17:40:45.325]: Info: Color range: JPEG
[2026-05-01 17:40:45.335]: Info: vaapi vendor: Mesa Gallium driver 26.0.6-arch2.2 for AMD Ryzen 7 7800X3D 8-Core Processor (radeonsi, raphael_mendocino, ACO, DRM 3.64, 7.0.3-arch1-1)
[2026-05-01 17:40:45.335]: Info: Streaming bitrate is 1000000
[2026-05-01 17:40:45.335]: Info: Using normal encoding mode
[2026-05-01 17:40:45.335]: Info: Using default rate control
[2026-05-01 17:40:45.347]: Info: Creating encoder [av1_vaapi]
[2026-05-01 17:40:45.347]: Info: Color coding: SDR (Rec. 601)
[2026-05-01 17:40:45.347]: Info: Color depth: 8-bit
[2026-05-01 17:40:45.347]: Info: Color range: JPEG
[2026-05-01 17:40:45.355]: Info: vaapi vendor: Mesa Gallium driver 26.0.6-arch2.2 for AMD Ryzen 7 7800X3D 8-Core Processor (radeonsi, raphael_mendocino, ACO, DRM 3.64, 7.0.3-arch1-1)
[2026-05-01 17:40:45.355]: Info: Streaming bitrate is 1000000
[2026-05-01 17:40:45.355]: Error: [av1_vaapi @ 0x7f1a9c0a1b40] No usable encoding entrypoint found for profile VAProfileAV1Profile0 (32).
[2026-05-01 17:40:45.355]: Error: Could not open codec [av1_vaapi]: Function not implemented
[2026-05-01 17:40:45.356]: Info: Screencasting with KMS
[2026-05-01 17:40:45.356]: Info: /dev/dri/card2 -> amdgpu
[2026-05-01 17:40:45.356]: Info: Found monitor for DRM screencasting
[2026-05-01 17:40:45.356]: Info: Found connector ID [377]
[2026-05-01 17:40:45.356]: Info: Found cursor plane [360]
[2026-05-01 17:40:45.360]: Info: Creating encoder [hevc_vaapi]
[2026-05-01 17:40:45.360]: Info: Color coding: SDR (Rec. 709)
[2026-05-01 17:40:45.360]: Info: Color depth: 10-bit
[2026-05-01 17:40:45.360]: Info: Color range: JPEG
[2026-05-01 17:40:45.369]: Info: vaapi vendor: Mesa Gallium driver 26.0.6-arch2.2 for AMD Ryzen 7 7800X3D 8-Core Processor (radeonsi, raphael_mendocino, ACO, DRM 3.64, 7.0.3-arch1-1)
[2026-05-01 17:40:45.369]: Info: Streaming bitrate is 1000000
[2026-05-01 17:40:45.369]: Info: Using normal encoding mode
[2026-05-01 17:40:45.369]: Info: Using default rate control
[2026-05-01 17:40:45.380]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-05-01 17:40:45.381]: Info:
[2026-05-01 17:40:45.381]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-05-01 17:40:45.381]: Info:
[2026-05-01 17:40:45.381]: Info: Found H.264 encoder: h264_vaapi [vaapi]
[2026-05-01 17:40:45.381]: Info: Found HEVC encoder: hevc_vaapi [vaapi]
[2026-05-01 17:40:45.381]: Info: Starting system tray
[2026-05-01 17:40:45.382]: Info: Adding avahi service alberto-equipo
[2026-05-01 17:40:45.383]: Info: Configuration UI available at [https://localhost:47990]
(sunshine:17964): libayatana-appindicator-WARNING **: 17:40:45.400: libayatana-appindicator is deprecated. Please use libayatana-appindicator-glib in newly written code.
[2026-05-01 17:40:45.401]: Info: System tray created
[2026-05-01 17:40:45.401]: Info: Starting main loop
[2026-05-01 17:40:46.331]: Info: Avahi service alberto-equipo successfully established.
[2026-05-01 17:40:53.404]: Error: Unknown status
Regards!
### Expected Behavior
_No response_
### Additional Context
_No response_
### Host Operating System
Docker
### Operating System Version
archlinux
### Architecture
amd64/x86_64
### Package
Linux - LizardByte/pacman-repo
### GPU Type
AMD
### GPU Model
AMD Ryzen 7 7800X3D 8-Core Processor (radeonsi, raphael_mendocino, ACO, DRM 3.64, 7.0.3-arch1-1)
### GPU Driver/Mesa Version
26
### Capture Method
KMS (Linux)
### Apps
```json
```
### Log output
```shell
```
### Online logs
_No response_
Open up the Sunshine portal in the browser and go to the Advanced section. At the bottom of the settings is a setting called Force a Specific Capture Method. Try changing it to Kwin Screencast to see if it helps.
I have a 4090 and it runs fine with Sunshine though I am on the 6.7 Plasma beta. My Sunshine is setup as headless so I don’t need a monitor to be on to use it.
I use krfb to create a virtual display every time I connect to it. It works great!
Axul
June 14, 2026, 11:50am
10
Error: Failed to gain CAP_SYS_ADMIN
this error right there might be the cause of your problem. You need to run:
sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine))
as described here in the docs: https://docs.lizardbyte.dev/projects/sunshine/en/v0.14.1/about/usage.html#linux . It’s under Additional Setup for KMS.
ZMK
June 14, 2026, 7:49pm
11
No, unfortunately, none of that helped
ZMK
June 16, 2026, 5:35am
12
For those of you who’ve run into this, I’ve found a solution. All this time, my LAN connection had been down. This solution helped me: Incoming LAN TCP connections dropped (No SYN-ACK) despite empty nftables and rp_filter=0
Flush Legacy backend
sudo iptables-legacy -P INPUT ACCEPT
sudo iptables-legacy -P FORWARD ACCEPT
sudo iptables-legacy -P OUTPUT ACCEPT
sudo iptables-legacy -t mangle -F
sudo iptables-legacy -F
sudo iptables-legacy -X
Flush NFT backend
sudo iptables-nft -P INPUT ACCEPT
sudo iptables-nft -t mangle -F
sudo iptables-nft -F
sudo iptables-nft -X
sudo nft flush ruleset