[Linux] VA-API support should not be architecture-dependent
Categories
(Core :: Widget: Gtk, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox122 | --- | fixed |
People
(Reporter: the, Assigned: the)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; AOSC OS; Linux loongarch64; rv:109.0) Gecko/20100101 Firefox/119.0
Steps to reproduce:
Build Firefox for architectures other than x86 and ARM.
Actual results:
vaapitest does not build and VA-API support is absent.
Expected results:
vaapitest should be present and VA-API support should be enabled.
Firefox currently disables VA-API support on any architecture other than x86 and ARM (toolkit/moz.configure line 543). However, libva itself is not architecture-dependent, the assumption that VA-API only works on these architecture is incorrect.
Furthermore, libva is loaded and tested at runtime anyway, enabling VA-API support on all Linux machines brings no harm at all. When VA-API works, it would greatly improve the experience on these platforms.
I've built Firefox 119.0.1 with VA-API support enabled on ppc64el(POWER 9), mips64el(Loongson 3B-4000) and LoongArch64(Loongson 3C-5000), and confirmed it works with dGPU installed.
| Assignee | ||
Comment 1•2 years ago
|
||
Since libva is platform-agnostic and loaded at runtime, there's no harm enabling
it on all platforms running Linux.
This patch has been tested locally on amd64, arm64, ppc64el, mips64el and
loongarch64.
Updated•2 years ago
|
Comment 2•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
| Assignee | ||
Updated•2 years ago
|
Comment 4•2 years ago
|
||
| bugherder | ||
Description
•