[meta] Enable Vulkan videod decoding by default on Linux Desktop
Categories
(Core :: Audio/Video: Playback, task)
Tracking
()
People
(Reporter: padenot, Unassigned)
References
(Depends on 4 open bugs)
Details
(Keywords: meta)
This tracks enabling Vulkan video by default, initially implemented in bug 2021722. Hook up all related bug here.
media.hardware-video-decoding-vulkan.enabled is the main pref here, media.hardware-video-decoding-vulkan.direct-export.enabled is also good if that works.
Updated•1 month ago
|
Updated•1 month ago
|
Comment 1•1 month ago
|
||
At the moment I'm experiencing problems with Vulkan (it falls back to software after some rhythmical stutter) if I disable it and use elfarto vaapi driver it goes ok but if its enable by default, vaapi driver is disabled.
This is is with an nvidia card in Ubuntu 26.04.
Not that this vaapi driver is massively used but it should be noted at least here that for someone that experiences this problems turning off vulkan makes vaapi the default option if correctly setup.
In the meantime I'll try to open a bug regarding this problems
Comment 2•1 month ago
|
||
The sandbox patch is still needed (see 2046954 - not yet landed), it may fix the issue as above. You can try if Vulkan Video works with MOZ_DISABLE_RDD_SANDBOX=1 for now, also make sure nvidia-drm modeset is set to Y (see https://bugzilla.mozilla.org/show_bug.cgi?id=2021722#c125).
Comment 3•1 day ago
•
|
||
Tymur, we have:
static bool VulkanDirectDecodeExportEnabled() {
return [...]
StaticPrefs::media_hardware_video_decoding_vulkan_direct_export_enabled_AtStartup();
}
we can replace it by HW_DECODED_VIDEO_ZERO_COPY feature (we use that for VA-API too) and configure that for Vulkan too.
Description
•