Portal fails to grab full resolution when scaling is applied
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- cpp, linux
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- C++
- スター
- 43k
- フォーク
- 2.4k
- 平均マージ
- 1日 15時間
- マージ済み PR(30日)
- 105
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
LizardByte/Sunshine のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
LizardByte/Sunshine#6051 ·
メンテナーはふだん 1 日以内に返信
-
PIN pairing fails with "Missing CSRF token" - web UI never fetches/attaches the token再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
LizardByte/Sunshine#5467 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 18/100
LizardByte/Sunshine#6072 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
LizardByte/Sunshine#6048 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
LizardByte/Sunshine#6035 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
LizardByte/Sunshine の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
charmplusplus/charm#4210 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
[BUG] VPN auth dialog spawned by the secret agent fails with "TLS support is not available" on NixOSオープンbug nixos umbriel
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
noctalia-dev/noctalia#5310 ·
メンテナーはふだん 1 日以内に返信
-
area/docdb kind/bug priority/medium status/awaiting-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
yugabyte/yugabyte-db#37426 ·
メンテナーはふだん 1 日以内に返信
-
[Engine] Two prompt block scorers enabled at once: WMMA silently wins and no log line is printedオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Niko1221/Strata#5693 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信