Portal fails to grab full resolution when scaling is applied
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- cpp, linux
- Área
- audio-video-rtc, desktop
Línea de trabajo
Start by tracing the XDG Portal Grab and PipeWire capture path; the issue provides logs showing a 2560x1440 output with a 2048x1152 logical size at 125% scaling. Compare stream dimensions when scaling is set before startup with dimensions after changing it midstream. Done means a stream started with scaling captures the full window, as it does after a midstream scaling change.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is there an existing issue for this?
- I have searched the existing issues
Is your issue described in the documentation?
- 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
When using a monitor created with krfb-virtualmonitor that has a scaling different than 100% part of the streamed window will be cutoff. Only occurs when the stream is started with the scaling. If it is changed midstream it will still work properly. Logs attached of a stream started at 100% scaling and 125% scaling.
Works properly on KWin Screencast, however that is no longer available in the Flatpak version.
Expected Behavior
No response
Additional Context
Discussed here https://github.com/ublue-os/bazzite/issues/6253
Host Operating System
Linux
Operating System Version
Bazzite 45
Architecture
amd64/x86_64
Package
Linux - flathub/flatpak
GPU Type
NVIDIA
GPU Model
4070 Ti
GPU Driver/Mesa Version
615.78.08
Capture Method
XDG Portal Grab (FreeBSD/Linux)
Apps
Log output
[2026-11-07 17:46:20.053]: Info: CLIENT CONNECTED
[2026-11-07 17:46:20.089]: Info: [portalgrab] Loaded portal restore token from disk
[2026-11-07 17:46:20.089]: Warning: setpriority failed for nice -10: Permission denied
[2026-11-07 17:46:20.099]: Info: [wayland] Found display [wayland-1]
[2026-11-07 17:46:20.099]: Info: [wayland] Found interface: zxdg_output_manager_v1(33) version 3
[2026-11-07 17:46:20.099]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(59) version 6
[2026-11-07 17:46:20.099]: Info: [wayland] Found interface: wl_output(110) version 4
[2026-11-07 17:46:20.099]: Info: [wayland] Resolution: 2560x1440
[2026-11-07 17:46:20.099]: Info: [wayland] Offset: 0x0
[2026-11-07 17:46:20.099]: Info: [wayland] Logical size: 2560x1440
[2026-11-07 17:46:20.099]: Info: [wayland] Name: Virtual-sunshine-vmon
[2026-11-07 17:46:20.099]: Info: [wayland] Found monitor: Virtual-sunshine-vmon
[2026-11-07 17:46:20.101]: Info: [portalgrab] Found stream for display id/name: 'Virtual-sunshine-vmon' position: 0x0 resolution: 2560x1440
[2026-11-07 17:46:20.102]: Error: Failed to gain CAP_SYS_ADMIN
[2026-11-07 17:46:20.102]: Info: [misc] drop_elevated_privileges succeeded in dropping capabilities
[2026-11-07 17:46:20.102]: Info: Screencasting with XDG portal
[2026-11-07 17:46:20.102]: Info: [pipewire] Requested frame rate: 120fps
[2026-11-07 17:46:20.102]: Info: [wayland] Found display [wayland-1]
[2026-11-07 17:46:20.119]: Info: [portalgrab] Loaded portal restore token from disk
[2026-11-07 17:46:20.127]: Info: [wayland] Found display [wayland-1]
[2026-11-07 17:46:20.128]: Info: [wayland] Found interface: zxdg_output_manager_v1(33) version 3
[2026-11-07 17:46:20.128]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(59) version 6
[2026-11-07 17:46:20.128]: Info: [wayland] Found interface: wl_output(110) version 4
[2026-11-07 17:46:20.128]: Info: [wayland] Resolution: 2560x1440
[2026-11-07 17:46:20.128]: Info: [wayland] Offset: 0x0
[2026-11-07 17:46:20.128]: Info: [wayland] Logical size: 2560x1440
[2026-11-07 17:46:20.128]: Info: [wayland] Name: Virtual-sunshine-vmon
[2026-11-07 17:46:20.128]: Info: [wayland] Found monitor: Virtual-sunshine-vmon
[2026-11-07 17:46:20.130]: Info: [pipewire] Streaming display 'Virtual-sunshine-vmon' offset: 0x0 resolution: 2560x1440
[2026-11-07 17:46:20.130]: Info: [wayland] Found display [wayland-1]
[2026-11-07 17:46:20.130]: Info: [wayland] Found interface: zxdg_output_manager_v1(33) version 3
[2026-11-07 17:46:20.130]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(59) version 6
[2026-11-07 17:46:20.130]: Info: [wayland] Found interface: wl_output(110) version 4
[2026-11-07 17:46:20.130]: Info: [wayland] Resolution: 2560x1440
[2026-11-07 17:46:20.130]: Info: [wayland] Offset: 0x0
[2026-11-07 17:46:20.130]: Info: [wayland] Logical size: 2560x1440
[2026-11-07 17:46:20.130]: Info: [wayland] Name: Virtual-sunshine-vmon
[2026-11-07 17:46:20.130]: Info: [wayland] Found monitor: Virtual-sunshine-vmon
[2026-11-07 17:46:20.132]: Info: [pipewire] PipeWire stream state: unconnected -> connecting
[2026-11-07 17:46:20.132]: Info: [pipewire] Connected to pipewire version 1.6.11
[2026-11-07 17:46:20.132]: Info: [pipewire] PipeWire stream state: connecting -> paused
[2026-11-07 17:46:20.147]: Info: [pipewire] Video format: 12
[2026-11-07 17:46:20.147]: Info: [pipewire] Size: 2560x1440
[2026-11-07 17:46:20.147]: Info: [pipewire] Color primaries: 0
[2026-11-07 17:46:20.147]: Info: [pipewire] Transfer function: 0
[2026-11-07 17:46:20.147]: Info: [pipewire] Compositor negotiated frame rate: 0/1, max: 119953/1000
[2026-11-07 17:46:20.147]: Info: [pipewire] using memory buffers
[2026-11-07 17:46:20.152]: Info: Creating encoder [hevc_nvenc]
[2026-11-07 17:46:20.152]: Info: Color coding: SDR (Rec. 601)
[2026-11-07 17:46:20.164]: Info: Color depth: 8-bit
[2026-11-07 17:46:20.164]: Info: Color range: MPEG
[2026-11-07 17:47:00.846]: Info: [wayland] Found display [wayland-1]
[2026-11-07 17:47:00.847]: Info: [wayland] Found interface: zxdg_output_manager_v1(33) version 3
[2026-11-07 17:47:00.847]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(59) version 6
[2026-11-07 17:47:00.847]: Info: [wayland] Found interface: wl_output(113) version 4
[2026-11-07 17:47:00.847]: Info: [wayland] Resolution: 2560x1440
[2026-11-07 17:47:00.847]: Info: [wayland] Offset: 0x0
[2026-11-07 17:47:00.847]: Info: [wayland] Logical size: 2048x1152
[2026-11-07 17:47:00.847]: Info: [wayland] Name: Virtual-sunshine-vmon
[2026-11-07 17:47:00.847]: Info: [wayland] Found monitor: Virtual-sunshine-vmon
[2026-11-07 17:47:00.849]: Info: [portalgrab] Found stream for display id/name: 'Virtual-sunshine-vmon' position: 0x0 resolution: 2048x1152
[2026-11-07 17:47:00.850]: Error: Failed to gain CAP_SYS_ADMIN
[2026-11-07 17:47:00.850]: Info: [misc] drop_elevated_privileges succeeded in dropping capabilities
[2026-11-07 17:47:00.850]: Info: Screencasting with XDG portal
[2026-11-07 17:47:00.850]: Info: [pipewire] Requested frame rate: 120fps
[2026-11-07 17:47:00.850]: Info: [wayland] Found display [wayland-1]
[2026-11-07 17:47:00.865]: Info: [portalgrab] Loaded portal restore token from disk
[2026-11-07 17:47:00.874]: Info: [wayland] Found display [wayland-1]
[2026-11-07 17:47:00.874]: Info: [wayland] Found interface: zxdg_output_manager_v1(33) version 3
[2026-11-07 17:47:00.874]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(59) version 6
[2026-11-07 17:47:00.874]: Info: [wayland] Found interface: wl_output(113) version 4
[2026-11-07 17:47:00.874]: Info: [wayland] Resolution: 2560x1440
[2026-11-07 17:47:00.874]: Info: [wayland] Offset: 0x0
[2026-11-07 17:47:00.874]: Info: [wayland] Logical size: 2048x1152
[2026-11-07 17:47:00.874]: Info: [wayland] Name: Virtual-sunshine-vmon
[2026-11-07 17:47:00.874]: Info: [wayland] Found monitor: Virtual-sunshine-vmon
[2026-11-07 17:47:00.875]: Info: [pipewire] Streaming display 'Virtual-sunshine-vmon' offset: 0x0 resolution: 2048x1152
[2026-11-07 17:47:00.875]: Info: [wayland] Found display [wayland-1]
[2026-11-07 17:47:00.877]: Info: [wayland] Found interface: zxdg_output_manager_v1(33) version 3
[2026-11-07 17:47:00.877]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(59) version 6
[2026-11-07 17:47:00.877]: Info: [wayland] Found interface: wl_output(113) version 4
[2026-11-07 17:47:00.877]: Info: [wayland] Resolution: 2560x1440
[2026-11-07 17:47:00.877]: Info: [wayland] Offset: 0x0
[2026-11-07 17:47:00.877]: Info: [wayland] Logical size: 2048x1152
[2026-11-07 17:47:00.877]: Info: [wayland] Name: Virtual-sunshine-vmon
[2026-11-07 17:47:00.877]: Info: [wayland] Found monitor: Virtual-sunshine-vmon
[2026-11-07 17:47:00.879]: Info: [pipewire] PipeWire stream state: unconnected -> connecting
[2026-11-07 17:47:00.880]: Info: [pipewire] Connected to pipewire version 1.6.11
[2026-11-07 17:47:00.880]: Info: [pipewire] PipeWire stream state: connecting -> paused
[2026-11-07 17:47:00.893]: Info: [pipewire] Video format: 12
[2026-11-07 17:47:00.893]: Info: [pipewire] Size: 2048x1152
[2026-11-07 17:47:00.893]: Info: [pipewire] Color primaries: 0
[2026-11-07 17:47:00.893]: Info: [pipewire] Transfer function: 0
[2026-11-07 17:47:00.893]: Info: [pipewire] Compositor negotiated frame rate: 0/1, max: 119953/1000
[2026-11-07 17:47:00.893]: Info: [pipewire] using memory buffers
[2026-11-07 17:47:00.899]: Info: Creating encoder [hevc_nvenc]
[2026-11-07 17:47:00.899]: Info: Color coding: SDR (Rec. 601)
[2026-11-07 17:47:00.899]: Info: Color depth: 8-bit
[2026-11-07 17:47:00.899]: Info: Color range: MPEG
Online logs
No response
- Lenguaje dominante
- C++
- Estrellas
- 43k
- Forks
- 2.4k
- Merge medio
- 1 d 15 h
- PR fusionados (30 d)
- 105
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de LizardByte/Sunshine
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
LizardByte/Sunshine#6051 ·
Los mantenedores suelen responder en 1 día
-
PIN pairing fails with "Missing CSRF token" - web UI never fetches/attaches the tokenQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
LizardByte/Sunshine#5467 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 18/100
LizardByte/Sunshine#6072 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
LizardByte/Sunshine#6048 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
LizardByte/Sunshine#6035 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de LizardByte/Sunshine
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
charmplusplus/charm#4210 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
[BUG] VPN auth dialog spawned by the secret agent fails with "TLS support is not available" on NixOSAbiertobug nixos umbriel
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
noctalia-dev/noctalia#5310 ·
Los mantenedores suelen responder en 1 día
-
area/docdb kind/bug priority/medium status/awaiting-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
yugabyte/yugabyte-db#37426 ·
Los mantenedores suelen responder en 1 día
-
[Engine] Two prompt block scorers enabled at once: WMMA silently wins and no log line is printedAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Niko1221/Strata#5693 · 2 comentarios ·
Los mantenedores suelen responder en 4 días