Package Details: libva-nvidia-driver-git 0.0.12.r11.gf3205bd-1

Git Clone URL: https://aur.archlinux.org/libva-nvidia-driver-git.git (read-only, click to copy)
Package Base: libva-nvidia-driver-git
Description: VA-API implementation that uses NVDEC as a backend (git version)
Upstream URL: https://github.com/elFarto/nvidia-vaapi-driver
Licenses: MIT
Conflicts: libva-nvidia-driver, libva-vdpau-driver
Provides: libva-nvidia-driver
Submitter: Nocifer
Maintainer: Nocifer
Last Packager: Nocifer
Votes: 31
Popularity: 1.46
First Submitted: 2023-03-06 08:43 (UTC)
Last Updated: 2024-05-13 14:19 (UTC)

Required by (2)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

Nocifer commented on 2024-05-13 14:23 (UTC)

@mirh Fixed the dependencies, but I don't think an environment variable specific to Firefox is in the purview of this (or any) package; rather, Firefox users should add it to their system manually if and when they need it.

mirh commented on 2024-02-02 12:26 (UTC)

You should adjust the dependencies to more closely mirror those of the normal package

Btw last time I checked you also needed MOZ_DISABLE_RDD_SANDBOX=1 to make firefox happy.

rossome commented on 2023-06-21 14:42 (UTC) (edited on 2023-06-22 19:38 (UTC) by rossome)

To get this working on arch/firefox I had to 2 things:

  1. Install firefox-vaapi to get dmabuf working. (they recently added my patch for nvidia)
  2. Then I needed to recompile the official ffmpeg package adding --enable-vaapi to the PKGBUILD.

And now about:support shows I have HW support for video codecs

6bo74 commented on 2023-03-24 03:46 (UTC) (edited on 2023-03-24 03:49 (UTC) by 6bo74)

Thanks for this package. I'd just like to share what worked for me using a 3080 (drivers 525) on Xorg and Firefox 111.0.1:

Installing this package since it has direct-backend merged

In Firefox's about:config set:
- media.ffmpeg.vaapi.enabled to true
- media.rdd-ffmpeg.enabled to true [default]
- media.av1.enabled to true (if supported by the GPU) [default]
- gfx.x11-egl.force-enabled to true
- widget.dmabuf.force-enabled to true (required on drivers 500+, see the README upstream)

Then, though running vainfo alone didn't show the driver working, running vainfo --display drm --device /dev/dri/renderD128 shows that it works (typical of this current direct-backend stuff I guess?). So all it was needed (at least for me) was to explicitly tell Firefox to use the correct Nvidia gpu device (even with only one installed) with the environment variable export MOZ_DRM_DEVICE=/dev/dri/renderD128 where the number 128 may change to something like 129 when the local hardware includes multiple GPUs like having an Intel iGPU on 128 and then a dedicated Nvidia one on 129.

These steps have been scattered around the issues page upstream so checkout there if it doesn't work with this.

TheBill2001 commented on 2023-03-13 09:52 (UTC) (edited on 2023-03-13 09:52 (UTC) by TheBill2001)

to conform with the other VA-API driver packages

@kajlao What part of this do you not understand. libva-intel-driver is also changed for this reason.

kajlao commented on 2023-03-10 15:27 (UTC)

@Neurognostic libva-nvidia-driver should be renamed to nvidia-vaapi-driver, this is the correct name of the repo and the project.

Neurognostic commented on 2023-03-06 05:26 (UTC)

@vkxx Your warning is unnecessary. This is a VCS PKGBUILD and behaves exactly as expected. Only thing wrong with it is it should be renamed to libva-nvidia-driver-git to conform with the other VA-API driver packages.

@alphabitserial The repository includes the headers from the open-gpu-kenel-modules project, so to use the direct backend the patch is not strictly necessary but can be used if you want the latest headers.

vkxx commented on 2023-02-24 21:19 (UTC)

Warning: do not install this AUR because libva-nvidia-driver AUR is the same library but current version with bugs corrected! Maybe it's more optimal to remove AUR nvidia-vaapi-driver-git completely, but I don't know how to request it.

alphabitserial commented on 2023-02-24 00:00 (UTC) (edited on 2023-02-24 00:00 (UTC) by alphabitserial)

@kajlao: Please see the repository's README.

IMPORTANT: The direct backend is currently required on NVIDIA driver series 525 due to a regression (see issue #126).

and in the section on the direct backend:

This backend uses headers files from the NVIDIA open-gpu-kernel-modules project.

Sure, it compiles fine without it, but the EGL backend doesn't work on the latest version of the Nvidia driver. The PKGBUILD should be updated as per Sapphirus's suggestion to enable the user to choose between the default EGL backend and the Direct backend that works with the latest driver.

Edu4rdSHL commented on 2023-02-04 18:44 (UTC)

Please makes it conflict with libva-vdpau-driver