Skip to content

Error: Couldn't scale frame: Invalid argument #5309

Description

@Vally11Byte

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?

I'm too lazy to test

Describe the Bug

I’m experiencing an issue with Sunshine on Wayland (Arch Linux + Hyprland). When using NVENC, encoding fails and Sunshine falls back through Vulkan (not implemented for wlroots), VAAPI, and finally software encoding (libx264), which works correctly.

Error: Couldn't scale frame: Invalid argument

Sunshine version:
2026.516.143833-1

Expected Behavior

When starting a stream from another PC, the host should use NVENC for video encoding.

Additional Context

No response

Host Operating System

Linux

Operating System Version

Omarchy ( arch + hyprland )

Architecture

amd64/x86_64

Package

other (not listed)

GPU Type

NVIDIA

GPU Model

RTX 4070 TI SUPER

GPU Driver/Mesa Version

NVIDIA 595.71.05 CUDA Version: 13.2

Capture Method

wlroots (FreeBSD/Linux)

Apps

Log output

Online logs

https://gist.githubusercontent.com/Vally11Byte/72208afa238d04bf27137340e0a1a2c4/raw/7176d25d77e48456a8cb809b8d9a46c6df938507/gistfile1.txt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions