feat(linux/vulkan): enable RADV low-latency Vulkan Video encoding#4984
Conversation
|
Bundle ReportChanges will decrease total bundle size by 784.43kB (-49.96%) ⬇️. This is within the configured threshold ✅ Detailed changes
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4984 +/- ##
==========================================
- Coverage 17.99% 17.96% -0.03%
==========================================
Files 108 108
Lines 23424 23424
Branches 10340 10340
==========================================
- Hits 4216 4209 -7
+ Misses 16242 14236 -2006
- Partials 2966 4979 +2013
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 51 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
|
Hi, out of curiosity: how does this interact with Sunshine's current Vulkan tuning options? Doesn't this force-override the user-chosen tuning setting? See for example this discussion: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40524#note_3384466 (I did not actually test the new behaviour, I'm just wondering.) Thanks for all your other recent work, it's appreciated! |
|
Here's the relevant code change on AMD's side: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40524/diffs?commit_id=c1722405d6ea0f5f1a8756683a83a3465771c842&file=46855871bcdc5640eb0b11b0acc8d8eca28398b3#46855871bcdc5640eb0b11b0acc8d8eca28398b3_1080_1080 If I'm reading that correctly the env variable is just an alternative to setting the tuning parameter (which Sunshine already does, AFAIK). |
|
@gschintgen good spot. I added condition. Could you @ReenigneArcher please reopen the PR with latest neatnoise:radv-lowlatency-vulkan-video changes? |
|
Merged PRs cannot be re-opened. |



Description
Mesa RADV Vulkan driver has added a new low-latency Vulkan Video encode option (
lowlatencyenc) for AMD VCN GPUs, merged to Mesa Git for the upcoming Mesa 26.1 release. This lowers video encoding latency at the cost of higher GPU power usage.This PR appends
lowlatencyencto the existingRADV_PERFTESTenvironment variable, alongside the already-setvideo_encodeflag. This enables low-latency Vulkan Video encoding by default on AMD GPUs using the RADV driver.The RadeonSI/VA-API path already benefits from the existing
AMD_DEBUG=lowlatencyencthat Sunshine sets.Screenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage