Sunshine
Sunshine copied to clipboard
vaapi encoder on AMD exceeds DATA_SHARDS_MAX due to NO_RC_BUF_LIMIT
Is there an existing issue for this?
- [X] I have searched the existing issues
Is your issue described in the documentation?
- [X] 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
NO_RC_BUF_LIMIT was added to Linux vaapi encoder configuration for Intel GPUs to improve stream quality #1255 9e23b39. This has caused issues on AMD hardware where the encoder is not configured with the necessary bufsize.
Expected Behavior
No response
Additional Context
No response
Host Operating System
Linux
Operating System Version
Ubuntu 24.04 Linux 6.9.3
Architecture
64 bit
Sunshine commit or version
master 90fd371
Package
Linux - AppImage
GPU Type
AMD
GPU Model
RX7600
GPU Driver/Mesa Version
Mesa 24.0.5
Capture Method
None
Config
encoder = vaapi
Apps
No response
Relevant log output
[2024:07:01:10:41:20]: Warning: Number of fragments for reed solomon exceeds DATA_SHARDS_MAX
267 payload 311799 > 255, skipping error correction
This issue is a fork from a related closed issue #1040, which contains relevant discussions.