Open garywill opened 1 month ago
Unfortunately there are currently a few issues with the flatpak, notably when it comes to VA-API. This has also been reported in #2409. (The reason here may be different though.)
To further confuse matters there are actually two flatpaks: the official github release and the one from Flathub. When I last checked the one from Flathub had slightly more up-to-date build dependencies. You might give it a try.
In general it's always best to use a Sunshine package built specifically for your distribution. (I think for Suse there are also some community provided builds available, but there is no official build.)
As for the AppImage, could you please also post those logs?
There were a few changes to the Flatpak. Do you mind to retest the latest pre-release as published here on Github?
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the latest beta/pre-release?
Describe the Bug
Sunshine failed to use VAAPI. I have integrated Intel GPU. I'm sure my GPU supports VAAPI. I can encode video using
ffmpeg -hwaccel vaapi -i "input file" -vf 'format=nv12,hwupload' -vcodec h264_vaapi "output file"
Using sunshine.flatpak v2024.601.193044 from Github release. (I've tried v0.23.1 AppImage before. It also failed)
Expected Behavior
No response
Additional Context
Output of system vainfo
One thing I'm not sure if related. Flatpak enviroment's ffmpeg doesn't show h264_vaapi encoder:
System's ffmpeg:
Host Operating System
Linux
Operating System Version
openSUSE 15.5
Architecture
64 bit
Sunshine commit or version
v2024.601.193044
Package
Linux - flatpak
GPU Type
Intel
GPU Model
Intel HD Graphics 4000
GPU Driver/Mesa Version
22.3.5
Capture Method (Linux Only)
default (I didn't change)
Config
Apps
No response
Relevant log output