-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
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
On both the latest version and the pre-release version, using HEVC hardware encoding on my AMD GPU (with VA-API) causes the display to be slightly scaled down, showing a green line at the bottom and black bars on the side of the screen.
This happened after updating sunshine to 2025.924.154138 from the official LizardByte repo.

This issue does not occur when using software encoding, or when using H264 on VA-API.
Downgrading to an older version of sunshine (2025.628.4510-7 in the screenshot) instantly solves the issue:

Running Sunshine on my laptop (also running Arch Linux) shows the exact same issue.
Expected Behavior
Correct encoding.
Additional Context
No response
Host Operating System
Linux
Operating System Version
Latest Arch Linux
Architecture
amd64/x86_64
Sunshine commit or version
2025.929.5023 commit: c16f0ad
Package
Linux - pkg.tar.zst
GPU Type
AMD
GPU Model
XFX AMD Radeon RX 580 8GB
GPU Driver/Mesa Version
1:25.2.3-2
Capture Method
KMS (Linux)
Config
encoder = vaapi
hevc_mode = 0
upnp = enabled
Apps
Relevant log output
[2025-09-30 10:27:58.151]: Info: Found H.264 encoder: h264_vaapi [vaapi]
[2025-09-30 10:27:58.151]: Info: Found HEVC encoder: hevc_vaapi [vaapi]
[2025-09-30 10:27:58.427]: Info: Video encryption enabled
[2025-09-30 10:27:58.427]: Info: New streaming session started [active sessions: 1]
[2025-09-30 10:27:58.535]: Info: CLIENT CONNECTED
[2025-09-30 10:27:58.536]: Info: /dev/dri/card1 -> amdgpu
[2025-09-30 10:27:58.537]: Info: Screencasting with KMS
[2025-09-30 10:27:58.537]: Info: /dev/dri/card1 -> amdgpu
[2025-09-30 10:27:58.537]: Info: Found monitor for DRM screencasting
[2025-09-30 10:27:58.537]: Info: Found connector ID [97]
[2025-09-30 10:27:58.538]: Info: Found cursor plane [59]
[2025-09-30 10:27:58.545]: Info: Creating encoder [hevc_vaapi]
[2025-09-30 10:27:58.545]: Info: Color coding: SDR (Rec. 601)
[2025-09-30 10:27:58.545]: Info: Color depth: 8-bit
[2025-09-30 10:27:58.545]: Info: Color range: MPEG
[2025-09-30 10:27:58.563]: Info: vaapi vendor: Mesa Gallium driver 25.2.3-arch1.2 for AMD Radeon RX 580 Series (radeonsi, polaris10, ACO, DRM 3.64, 6.16.8-zen3-1-zen)
[2025-09-30 10:27:58.563]: Info: Streaming bitrate is 24588000
[2025-09-30 10:27:58.563]: Info: Using normal encoding mode
[2025-09-30 10:27:58.563]: Info: Using default rate control
[2025-09-30 10:27:58.577]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2025-09-30 10:27:58.834]: Info: Setting default sink to: [sink-sunshine-stereo]
[2025-09-30 10:27:58.835]: Info: Found default monitor by name: sink-sunshine-stereo.monitor
[2025-09-30 10:27:58.877]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY