Am 17.11.21 um 15:26 schrieb PGNet Dev:
On 11/16/21 22:48, Michael Cronenworth wrote:
> On 11/15/21 12:03 PM, PGNet Dev wrote:
>>
>> launch @ shell
>>
>> VDPAU_DRIVER=nvidia MOZ_LOG="Dmabuf:5, PlatformDecoderModule:5"
>> firefox
>
> I think you mean:
>
> LIBVA_DRIVER_NAME=nvidia firefox
nope.
https://en.wikipedia.org/wiki/Video_Acceleration_API
"As of 2019, VA-API is natively supported by libva-vdpau-driver
for cards supported by VDPAU"
libva-vdpau-driver is the translation layer that provides a VDPAU-based
backend for VA-API.
@
https://wiki.archlinux.org/title/Hardware_video_acceleration#Configuring_...
"
Configuring VDPAU
You can override the driver for VDPAU by using the VDPAU_DRIVER
environment variable.
The correct driver name depends on your setup:
...
For NVIDIA's proprietary version set it to nvidia.
Note:
You can find the installed drivers in /usr/lib/vdpau/. They are
used as /usr/lib/vdpau/libvdpau_${VDPAU_DRIVER}.so
"
ls -al /usr/lib64/vdpau//libvdpau*nvidia*
lrwxrwxrwx 1 root root 25 Nov 15 10:04
/usr/lib64/vdpau//libvdpau_nvidia.so.1 -> libvdpau_nvidia.so.495.44*
-rwxr-xr-x 1 root root 620K Nov 15 10:04
/usr/lib64/vdpau//libvdpau_nvidia.so.495.44*
cref:
https://wiki.archlinux.org/title/Hardware_video_acceleration#VDPAU_drivers
https://wiki.archlinux.org/title/Hardware_video_acceleration#NVIDIA_driver_only
https://wiki.archlinux.org/title/Hardware_video_acceleration#Application_support
Have you actually been able to get this working with Firefox? I tried a
while ago and failed. IIRC the predominant opinion online was that
libva-vdpau-driver, which was not updated in almost a decade, was good
for passing vainfo but not for much else.
Best regards.
Julian