Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the latest beta/pre-release?
This issue is present in the latest pre-release
Describe the Bug
XDG Portal Capture seems to produce a video stream with few more frames than expected.
This happens when the game is capped at 60 or 90 fps for instance, the resulting output on moonlight side will be 63fps and 95 or so fps, producing judder/stutter in game.
It also happens no matter framerate the client ask, be it 60 or 120.
This isn't the case with KMS capture nor Windows.
All games tested produce the same behavior.
Expected Behavior
Matching framerate from host to moonlight client.
Additional Context
No response
Host Operating System
Linux
Operating System Version
Fedora 44, KDE Plasma 6.6.5
Architecture
amd64/x86_64
Package
Linux - Fedora Copr
GPU Type
AMD
GPU Model
7900 XTX
GPU Driver/Mesa Version
Mesa 26.0.6
Capture Method
XDG Portal Grab (FreeBSD/Linux)
Apps
Log output
[2026-05-25 19:01:09.929]: Info: Trying encoder [vaapi]
[2026-05-25 19:01:09.929]: Info: Screencasting with XDG portal
[2026-05-25 19:01:09.929]: Info: [pipewire] Requested frame rate [60/1, approx. 60 fps]
[2026-05-25 19:01:09.929]: Info: [wayland] Found display [wayland-0]
[2026-05-25 19:01:09.939]: Info: [portalgrab] Loaded portal restore token from disk
[2026-05-25 19:01:09.948]: Info: [wayland] Found display [wayland-0]
[2026-05-25 19:01:09.950]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-05-25 19:01:09.950]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-05-25 19:01:09.950]: Info: [wayland] Found interface: wl_output(129) version 4
[2026-05-25 19:01:09.950]: Info: [wayland] Found interface: wl_output(133) version 4
[2026-05-25 19:01:09.950]: Info: [wayland] Resolution: 1920x1080
[2026-05-25 19:01:09.950]: Info: [wayland] Resolution: 3440x1440
[2026-05-25 19:01:09.950]: Info: [wayland] Offset: 3440x180
[2026-05-25 19:01:09.950]: Info: [wayland] Logical size: 1920x1080
[2026-05-25 19:01:09.950]: Info: [wayland] Name: DP-2
[2026-05-25 19:01:09.950]: Info: [wayland] Found monitor: Lenovo Group Limited LEN T22i-10
[2026-05-25 19:01:09.950]: Info: [wayland] Offset: 0x0
[2026-05-25 19:01:09.950]: Info: [wayland] Logical size: 3440x1440
[2026-05-25 19:01:09.950]: Info: [wayland] Name: DP-1
[2026-05-25 19:01:09.950]: Info: [wayland] Found monitor: LG Electronics LG ULTRAGEAR
[2026-05-25 19:01:09.951]: Info: [portalgrab] Using first available stream as no matching stream was found for: '0'
[2026-05-25 19:01:09.951]: Info: [pipewire] Streaming display '0' offset: 0x0 resolution: 3440x1440
[2026-05-25 19:01:09.951]: Info: [wayland] Found display [wayland-0]
[2026-05-25 19:01:09.952]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-05-25 19:01:09.952]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-05-25 19:01:09.952]: Info: [wayland] Found interface: wl_output(129) version 4
[2026-05-25 19:01:09.952]: Info: [wayland] Found interface: wl_output(133) version 4
[2026-05-25 19:01:09.952]: Info: [wayland] Resolution: 1920x1080
[2026-05-25 19:01:09.952]: Info: [wayland] Resolution: 3440x1440
[2026-05-25 19:01:09.952]: Info: [wayland] Offset: 3440x180
[2026-05-25 19:01:09.952]: Info: [wayland] Logical size: 1920x1080
[2026-05-25 19:01:09.952]: Info: [wayland] Name: DP-2
[2026-05-25 19:01:09.952]: Info: [wayland] Found monitor: Lenovo Group Limited LEN T22i-10
[2026-05-25 19:01:09.952]: Info: [wayland] Offset: 0x0
[2026-05-25 19:01:09.952]: Info: [wayland] Logical size: 3440x1440
[2026-05-25 19:01:09.952]: Info: [wayland] Name: DP-1
[2026-05-25 19:01:09.952]: Info: [wayland] Found monitor: LG Electronics LG ULTRAGEAR
[2026-05-25 19:01:09.954]: Info: [pipewire] Connected to pipewire version 1.6.5
[2026-05-25 19:01:09.956]: Info: [pipewire] Video format: 12
[2026-05-25 19:01:09.956]: Info: [pipewire] Size: 3440x1440
[2026-05-25 19:01:09.956]: Info: [pipewire] Color primaries: 0
[2026-05-25 19:01:09.956]: Info: [pipewire] Transfer function: 0
[2026-05-25 19:01:09.956]: Info: [pipewire] Framerate (from compositor): 0/1 (variable rate capture)
[2026-05-25 19:01:09.956]: Info: [pipewire] using DMA-BUF buffers
[2026-05-25 19:01:09.956]: Info: [pipewire] Video format: 12
[2026-05-25 19:01:09.956]: Info: [pipewire] Size: 3440x1440
[2026-05-25 19:01:09.956]: Info: [pipewire] Color primaries: 0
[2026-05-25 19:01:09.956]: Info: [pipewire] Transfer function: 0
[2026-05-25 19:01:09.956]: Info: [pipewire] Framerate (from compositor): 0/1 (variable rate capture)
[2026-05-25 19:01:09.956]: Info: [pipewire] using DMA-BUF buffers
[2026-05-25 19:01:09.964]: Info: Creating encoder [h264_vaapi]
[2026-05-25 19:01:09.964]: Info: Color coding: SDR (Rec. 601)
[2026-05-25 19:01:09.964]: Info: Color depth: 8-bit
[2026-05-25 19:01:09.964]: Info: Color range: JPEG
[2026-05-25 19:01:09.970]: Warning: EGL: context priority set to HIGH but CAP_SYS_NICE capability is missing
[2026-05-25 19:01:09.974]: Info: vaapi vendor: Mesa Gallium driver 26.0.6 for AMD Radeon RX 7900 XTX (radeonsi, navi31, ACO, DRM 3.64, 7.0.9-205.fc44.x86_64)
[2026-05-25 19:01:09.974]: Info: Streaming bitrate is 1000000
[2026-05-25 19:01:09.974]: Info: Using normal encoding mode
[2026-05-25 19:01:09.974]: Info: Using default rate control
[2026-05-25 19:01:09.994]: Info: Creating encoder [hevc_vaapi]
[2026-05-25 19:01:09.994]: Info: Color coding: SDR (Rec. 601)
[2026-05-25 19:01:09.994]: Info: Color depth: 8-bit
[2026-05-25 19:01:09.994]: Info: Color range: JPEG
[2026-05-25 19:01:09.998]: Warning: EGL: context priority set to HIGH but CAP_SYS_NICE capability is missing
[2026-05-25 19:01:10.002]: Info: vaapi vendor: Mesa Gallium driver 26.0.6 for AMD Radeon RX 7900 XTX (radeonsi, navi31, ACO, DRM 3.64, 7.0.9-205.fc44.x86_64)
[2026-05-25 19:01:10.002]: Info: Streaming bitrate is 1000000
[2026-05-25 19:01:10.002]: Info: Using normal encoding mode
[2026-05-25 19:01:10.002]: Info: Using default rate control
[2026-05-25 19:01:10.020]: Info: Creating encoder [av1_vaapi]
[2026-05-25 19:01:10.020]: Info: Color coding: SDR (Rec. 601)
[2026-05-25 19:01:10.020]: Info: Color depth: 8-bit
[2026-05-25 19:01:10.020]: Info: Color range: JPEG
[2026-05-25 19:01:10.024]: Warning: EGL: context priority set to HIGH but CAP_SYS_NICE capability is missing
[2026-05-25 19:01:10.026]: Info: vaapi vendor: Mesa Gallium driver 26.0.6 for AMD Radeon RX 7900 XTX (radeonsi, navi31, ACO, DRM 3.64, 7.0.9-205.fc44.x86_64)
[2026-05-25 19:01:10.026]: Info: Streaming bitrate is 1000000
[2026-05-25 19:01:10.026]: Info: Using normal encoding mode
[2026-05-25 19:01:10.026]: Info: Using VBR with single frame VBV size
[2026-05-25 19:01:10.026]: Warning: [av1_vaapi @ 0x7f61fc774340] Multiple slices were requested but this codec does not support controlling slices.
[2026-05-25 19:01:10.040]: Info: Screencasting with XDG portal
[2026-05-25 19:01:10.040]: Info: [pipewire] Requested frame rate [60/1, approx. 60 fps]
[2026-05-25 19:01:10.040]: Info: [wayland] Found display [wayland-0]
[2026-05-25 19:01:10.045]: Info: [portalgrab] Loaded portal restore token from disk
[2026-05-25 19:01:10.054]: Info: [wayland] Found display [wayland-0]
[2026-05-25 19:01:10.056]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-05-25 19:01:10.056]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-05-25 19:01:10.056]: Info: [wayland] Found interface: wl_output(129) version 4
[2026-05-25 19:01:10.056]: Info: [wayland] Found interface: wl_output(133) version 4
[2026-05-25 19:01:10.056]: Info: [wayland] Resolution: 1920x1080
[2026-05-25 19:01:10.056]: Info: [wayland] Resolution: 3440x1440
[2026-05-25 19:01:10.056]: Info: [wayland] Offset: 3440x180
[2026-05-25 19:01:10.056]: Info: [wayland] Logical size: 1920x1080
[2026-05-25 19:01:10.056]: Info: [wayland] Name: DP-2
[2026-05-25 19:01:10.056]: Info: [wayland] Found monitor: Lenovo Group Limited LEN T22i-10
[2026-05-25 19:01:10.056]: Info: [wayland] Offset: 0x0
[2026-05-25 19:01:10.056]: Info: [wayland] Logical size: 3440x1440
[2026-05-25 19:01:10.056]: Info: [wayland] Name: DP-1
[2026-05-25 19:01:10.056]: Info: [wayland] Found monitor: LG Electronics LG ULTRAGEAR
[2026-05-25 19:01:10.057]: Info: [portalgrab] Using first available stream as no matching stream was found for: '0'
[2026-05-25 19:01:10.057]: Info: [pipewire] Streaming display '0' offset: 0x0 resolution: 3440x1440
[2026-05-25 19:01:10.057]: Info: [wayland] Found display [wayland-0]
[2026-05-25 19:01:10.059]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-05-25 19:01:10.059]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-05-25 19:01:10.059]: Info: [wayland] Found interface: wl_output(129) version 4
[2026-05-25 19:01:10.059]: Info: [wayland] Found interface: wl_output(133) version 4
[2026-05-25 19:01:10.059]: Info: [wayland] Resolution: 1920x1080
[2026-05-25 19:01:10.059]: Info: [wayland] Resolution: 3440x1440
[2026-05-25 19:01:10.059]: Info: [wayland] Offset: 3440x180
[2026-05-25 19:01:10.059]: Info: [wayland] Logical size: 1920x1080
[2026-05-25 19:01:10.059]: Info: [wayland] Name: DP-2
[2026-05-25 19:01:10.059]: Info: [wayland] Found monitor: Lenovo Group Limited LEN T22i-10
[2026-05-25 19:01:10.059]: Info: [wayland] Offset: 0x0
[2026-05-25 19:01:10.059]: Info: [wayland] Logical size: 3440x1440
[2026-05-25 19:01:10.059]: Info: [wayland] Name: DP-1
[2026-05-25 19:01:10.059]: Info: [wayland] Found monitor: LG Electronics LG ULTRAGEAR
[2026-05-25 19:01:10.060]: Info: [pipewire] Connected to pipewire version 1.6.5
[2026-05-25 19:01:10.062]: Info: [pipewire] Video format: 12
[2026-05-25 19:01:10.062]: Info: [pipewire] Size: 3440x1440
[2026-05-25 19:01:10.062]: Info: [pipewire] Color primaries: 0
[2026-05-25 19:01:10.062]: Info: [pipewire] Transfer function: 0
[2026-05-25 19:01:10.062]: Info: [pipewire] Framerate (from compositor): 0/1 (variable rate capture)
[2026-05-25 19:01:10.062]: Info: [pipewire] using DMA-BUF buffers
[2026-05-25 19:01:10.062]: Info: [pipewire] Video format: 12
[2026-05-25 19:01:10.062]: Info: [pipewire] Size: 3440x1440
[2026-05-25 19:01:10.062]: Info: [pipewire] Color primaries: 0
[2026-05-25 19:01:10.062]: Info: [pipewire] Transfer function: 0
[2026-05-25 19:01:10.062]: Info: [pipewire] Framerate (from compositor): 0/1 (variable rate capture)
[2026-05-25 19:01:10.062]: Info: [pipewire] using DMA-BUF buffers
[2026-05-25 19:01:10.070]: Info: Creating encoder [hevc_vaapi]
[2026-05-25 19:01:10.070]: Info: Color coding: SDR (Rec. 709)
[2026-05-25 19:01:10.070]: Info: Color depth: 10-bit
[2026-05-25 19:01:10.070]: Info: Color range: JPEG
[2026-05-25 19:01:10.076]: Warning: EGL: context priority set to HIGH but CAP_SYS_NICE capability is missing
[2026-05-25 19:01:10.080]: Info: vaapi vendor: Mesa Gallium driver 26.0.6 for AMD Radeon RX 7900 XTX (radeonsi, navi31, ACO, DRM 3.64, 7.0.9-205.fc44.x86_64)
[2026-05-25 19:01:10.080]: Info: Streaming bitrate is 1000000
[2026-05-25 19:01:10.080]: Info: Using normal encoding mode
[2026-05-25 19:01:10.080]: Info: Using default rate control
[2026-05-25 19:01:10.098]: Info: Creating encoder [av1_vaapi]
[2026-05-25 19:01:10.098]: Info: Color coding: SDR (Rec. 709)
[2026-05-25 19:01:10.098]: Info: Color depth: 10-bit
[2026-05-25 19:01:10.098]: Info: Color range: JPEG
[2026-05-25 19:01:10.101]: Warning: EGL: context priority set to HIGH but CAP_SYS_NICE capability is missing
[2026-05-25 19:01:10.103]: Info: vaapi vendor: Mesa Gallium driver 26.0.6 for AMD Radeon RX 7900 XTX (radeonsi, navi31, ACO, DRM 3.64, 7.0.9-205.fc44.x86_64)
[2026-05-25 19:01:10.104]: Info: Streaming bitrate is 1000000
[2026-05-25 19:01:10.104]: Info: Using normal encoding mode
[2026-05-25 19:01:10.104]: Info: Using VBR with single frame VBV size
[2026-05-25 19:01:10.104]: Warning: [av1_vaapi @ 0x7f61fc4e56c0] Multiple slices were requested but this codec does not support controlling slices.
[2026-05-25 19:01:10.117]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-05-25 19:01:10.117]: Info:
[2026-05-25 19:01:10.117]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-05-25 19:01:10.117]: Info:
[2026-05-25 19:01:10.117]: Info: Found H.264 encoder: h264_vaapi [vaapi]
[2026-05-25 19:01:10.117]: Info: Found HEVC encoder: hevc_vaapi [vaapi]
[2026-05-25 19:01:10.117]: Info: Found AV1 encoder: av1_vaapi [vaapi]
[2026-05-25 19:01:10.117]: Info: Executing Do Cmd: [sh -c "/home/slash/Applications/scripts/sunshine-do.sh ${SUNSHINE_CLIENT_WIDTH} ${SUNSHINE_CLIENT_HEIGHT} ${SUNSHINE_CLIENT_FPS} ${SUNSHINE_CLIENT_HDR}"]
[2026-05-25 19:01:10.157]: Info: Qt: There are no outputs - creating placeholder screen
[2026-05-25 19:01:10.164]: Info: Spawning [setsid steam steam://open/bigpicture] in ["/usr/bin"]
[2026-05-25 19:01:10.178]: Info: Executing [Desktop]
[2026-05-25 19:01:10.269]: Info: New streaming session started [active sessions: 1]
[2026-05-25 19:01:10.464]: Info: CLIENT CONNECTED
[2026-05-25 19:01:10.465]: Info: [portalgrab] Loaded portal restore token from disk
[2026-05-25 19:01:10.471]: Info: [wayland] Found display [wayland-0]
[2026-05-25 19:01:10.474]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-05-25 19:01:10.474]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-05-25 19:01:10.474]: Info: [wayland] Found interface: wl_output(134) version 4
[2026-05-25 19:01:10.474]: Info: [wayland] Resolution: 3840x2160
[2026-05-25 19:01:10.474]: Info: [wayland] Offset: 0x0
[2026-05-25 19:01:10.474]: Info: [wayland] Logical size: 1920x1080
[2026-05-25 19:01:10.474]: Info: [wayland] Name: DP-3
[2026-05-25 19:01:10.474]: Info: [wayland] Found monitor: LG Electronics LG TV
[2026-05-25 19:01:10.476]: Info: [portalgrab] Found stream for display id/name: 'DP-3' position: 0x0 resolution: 1920x1080
[2026-05-25 19:01:10.477]: Info: Screencasting with XDG portal
[2026-05-25 19:01:10.477]: Info: [pipewire] Requested frame rate [120fps]
[2026-05-25 19:01:10.477]: Info: [wayland] Found display [wayland-0]
[2026-05-25 19:01:10.482]: Info: [portalgrab] Loaded portal restore token from disk
[2026-05-25 19:01:10.489]: Info: [wayland] Found display [wayland-0]
[2026-05-25 19:01:10.492]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-05-25 19:01:10.492]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-05-25 19:01:10.492]: Info: [wayland] Found interface: wl_output(134) version 4
[2026-05-25 19:01:10.492]: Info: [wayland] Resolution: 3840x2160
[2026-05-25 19:01:10.492]: Info: [wayland] Offset: 0x0
[2026-05-25 19:01:10.492]: Info: [wayland] Logical size: 1920x1080
[2026-05-25 19:01:10.492]: Info: [wayland] Name: DP-3
[2026-05-25 19:01:10.492]: Info: [wayland] Found monitor: LG Electronics LG TV
[2026-05-25 19:01:10.493]: Info: [pipewire] Streaming display 'DP-3' offset: 0x0 resolution: 1920x1080
[2026-05-25 19:01:10.493]: Info: [wayland] Found display [wayland-0]
[2026-05-25 19:01:10.494]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-05-25 19:01:10.495]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-05-25 19:01:10.495]: Info: [wayland] Found interface: wl_output(134) version 4
[2026-05-25 19:01:10.495]: Info: [wayland] Resolution: 3840x2160
[2026-05-25 19:01:10.495]: Info: [wayland] Offset: 0x0
[2026-05-25 19:01:10.495]: Info: [wayland] Logical size: 1920x1080
[2026-05-25 19:01:10.495]: Info: [wayland] Name: DP-3
[2026-05-25 19:01:10.495]: Info: [wayland] Found monitor: LG Electronics LG TV
[2026-05-25 19:01:10.496]: Info: [pipewire] Connected to pipewire version 1.6.5
[2026-05-25 19:01:10.498]: Info: [pipewire] Video format: 12
[2026-05-25 19:01:10.498]: Info: [pipewire] Size: 3840x2160
[2026-05-25 19:01:10.498]: Info: [pipewire] Color primaries: 0
[2026-05-25 19:01:10.498]: Info: [pipewire] Transfer function: 0
[2026-05-25 19:01:10.498]: Info: [pipewire] Framerate (from compositor): 0/1 (variable rate capture)
[2026-05-25 19:01:10.498]: Info: [pipewire] using DMA-BUF buffers
[2026-05-25 19:01:10.499]: Info: [pipewire] Video format: 12
[2026-05-25 19:01:10.499]: Info: [pipewire] Size: 3840x2160
[2026-05-25 19:01:10.499]: Info: [pipewire] Color primaries: 0
[2026-05-25 19:01:10.499]: Info: [pipewire] Transfer function: 0
[2026-05-25 19:01:10.499]: Info: [pipewire] Framerate (from compositor): 0/1 (variable rate capture)
[2026-05-25 19:01:10.499]: Info: [pipewire] using DMA-BUF buffers
[2026-05-25 19:01:10.506]: Info: [pipewire] Using negotiated Resolution: 3840x2160
[2026-05-25 19:01:10.506]: Info: [wayland] Found display [wayland-0]
[2026-05-25 19:01:10.508]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-05-25 19:01:10.508]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-05-25 19:01:10.508]: Info: [wayland] Found interface: wl_output(134) version 4
[2026-05-25 19:01:10.508]: Info: [wayland] Resolution: 3840x2160
[2026-05-25 19:01:10.508]: Info: [wayland] Offset: 0x0
[2026-05-25 19:01:10.508]: Info: [wayland] Logical size: 1920x1080
[2026-05-25 19:01:10.508]: Info: [wayland] Name: DP-3
[2026-05-25 19:01:10.508]: Info: [wayland] Found monitor: LG Electronics LG TV
[2026-05-25 19:01:10.508]: Info: Creating encoder [hevc_vaapi]
[2026-05-25 19:01:10.508]: Info: Color coding: SDR (Rec. 601)
[2026-05-25 19:01:10.508]: Info: Color depth: 8-bit
[2026-05-25 19:01:10.508]: Info: Color range: MPEG
[2026-05-25 19:01:10.512]: Warning: EGL: context priority set to HIGH but CAP_SYS_NICE capability is missing
[2026-05-25 19:01:10.516]: Info: vaapi vendor: Mesa Gallium driver 26.0.6 for AMD Radeon RX 7900 XTX (radeonsi, navi31, ACO, DRM 3.64, 7.0.9-205.fc44.x86_64)
[2026-05-25 19:01:10.516]: Info: Streaming bitrate is 117964000
[2026-05-25 19:01:10.516]: Info: Using normal encoding mode
[2026-05-25 19:01:10.516]: Info: Using default rate control
[2026-05-25 19:01:10.520]: Info: Minimum FPS target set to ~60fps (16.6667ms)
[2026-05-25 19:01:10.549]: Warning: Skipping FEC for abnormally large encoded frame (needed 7 FEC blocks)
[2026-05-25 19:01:10.719]: Warning: Skipping FEC for abnormally large encoded frame (needed 13 FEC blocks)
[2026-05-25 19:01:10.748]: Info: Setting default sink to: [sink-sunshine-surround51]
[2026-05-25 19:01:10.748]: Info: Found default monitor by name: sink-sunshine-surround51.monitor
[2026-05-25 19:01:10.752]: Info: Gamepad 0 will be Xbox One controller (default)
[2026-05-25 19:01:10.779]: Info: Opus initialized: 48 kHz, 6 channels, 1536 kbps (total), LOWDELAY
[2026-05-25 19:01:10.858]: Warning: Skipping FEC for abnormally large encoded frame (needed 8 FEC blocks)
[2026-05-25 19:01:10.879]: Warning: Skipping FEC for abnormally large encoded frame (needed 7 FEC blocks)
[2026-05-25 19:01:30.933]: Warning: Skipping FEC for abnormally large encoded frame (needed 5 FEC blocks)
[2026-05-25 19:02:25.486]: Warning: Skipping FEC for abnormally large encoded frame (needed 5 FEC blocks)
[2026-05-25 19:02:34.251]: Warning: Skipping FEC for abnormally large encoded frame (needed 8 FEC blocks)
[2026-05-25 19:03:48.463]: Warning: Skipping FEC for abnormally large encoded frame (needed 5 FEC blocks)
[2026-05-25 19:04:03.535]: Warning: Skipping FEC for abnormally large encoded frame (needed 5 FEC blocks)
[2026-05-25 19:04:36.296]: Warning: Skipping FEC for abnormally large encoded frame (needed 8 FEC blocks)
[2026-05-25 19:05:52.325]: Warning: Skipping FEC for abnormally large encoded frame (needed 5 FEC blocks)
[2026-05-25 19:06:26.689]: Warning: Skipping FEC for abnormally large encoded frame (needed 5 FEC blocks)
[2026-05-25 19:06:50.887]: Warning: Skipping FEC for abnormally large encoded frame (needed 8 FEC blocks)
[2026-05-25 19:06:55.463]: Warning: Skipping FEC for abnormally large encoded frame (needed 9 FEC blocks)
[2026-05-25 19:08:57.032]: Warning: Skipping FEC for abnormally large encoded frame (needed 5 FEC blocks)
[2026-05-25 19:09:00.231]: Warning: Skipping FEC for abnormally large encoded frame (needed 5 FEC blocks)
[2026-05-25 19:09:05.564]: Warning: Skipping FEC for abnormally large encoded frame (needed 8 FEC blocks)
[2026-05-25 19:09:20.442]: Warning: Skipping FEC for abnormally large encoded frame (needed 13 FEC blocks)
[2026-05-25 19:09:20.463]: Info: CLIENT DISCONNECTED
[2026-05-25 19:09:20.467]: Info: Setting default sink to: [alsa_output.pci-0000_00_1f.3.analog-stereo]
[2026-05-25 19:09:27.830]: Info: Executing Undo Cmd: [sh -c "/home/slash/Applications/scripts/sunshine-undo.sh"]
[2026-05-25 19:09:27.876]: Info: Qt: There are no outputs - creating placeholder screen
Online logs
No response
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the latest beta/pre-release?
This issue is present in the latest pre-release
Describe the Bug
XDG Portal Capture seems to produce a video stream with few more frames than expected.
This happens when the game is capped at 60 or 90 fps for instance, the resulting output on moonlight side will be 63fps and 95 or so fps, producing judder/stutter in game.
It also happens no matter framerate the client ask, be it 60 or 120.
This isn't the case with KMS capture nor Windows.
All games tested produce the same behavior.
Expected Behavior
Matching framerate from host to moonlight client.
Additional Context
No response
Host Operating System
Linux
Operating System Version
Fedora 44, KDE Plasma 6.6.5
Architecture
amd64/x86_64
Package
Linux - Fedora Copr
GPU Type
AMD
GPU Model
7900 XTX
GPU Driver/Mesa Version
Mesa 26.0.6
Capture Method
XDG Portal Grab (FreeBSD/Linux)
Apps
Log output
Online logs
No response