Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Nvidia-vaapi-driver installation and how to manage within the script 🚧 #127

Open
onuralpszr opened this issue Oct 10, 2022 · 2 comments

Comments

@onuralpszr
Copy link
Collaborator

onuralpszr commented Oct 10, 2022

Rpmfusion folks already add this package into the repository for having nvidia-vaapi but we need strategy how do we make it easier for users. (It needs some config changes some env params)

Source of project : https://github.com/elFarto/nvidia-vaapi-driver

Ideas I was think of ;

  • Having a custom desktop file for firefox (If user wants to)
  • Set those firefox config accordingly (If user wants to)
  • User needs to understand that it will delete libva-vdpau package because of the symlink comes with nvidia-vaapi-driver

Snippet from rpm spec file


# The nvidia_drv_video.so symlink is also provided by theses packages
Conflicts: libva-vdpau-driver%{?_isa}
Conflicts: libva-vdpau-driver-vp9%{?_isa}


This is what I discover right now and we also needs to test those sitatuion at least on recent nvidia driver (older one may or may not work so somebody else has to handle that (I do have some old pc with old nvidia driver but I can't access that all the time so It will be difficult for me to test that out)

@onuralpszr onuralpszr changed the title Nvidia-vaapi-driver installation and how to manage within the script 🚧 [FEATURE-REQUEST] Nvidia-vaapi-driver installation and how to manage within the script 🚧 Oct 10, 2022
@onuralpszr onuralpszr changed the title [FEATURE-REQUEST] Nvidia-vaapi-driver installation and how to manage within the script 🚧 [Feature request] Nvidia-vaapi-driver installation and how to manage within the script 🚧 Oct 10, 2022
@gridhead
Copy link
Owner

I am curious to know what our friendly resident VAAPI expert @akarshanbiswas thinks of this.

@qnixsynapse
Copy link

@t0xic0der Thank you for bringing it to my attention.

In my opinion it can be done via sudo nvautoinstall vidacc --experimental or something. Instead of setting desktop files, we have to only set environment variables.

setting the configs via script will not be a very good idea (even if the user wants it, because reverting back will be tedious in my opinion), so we need an escape hatch.

To be honest, the upcoming Vulkan hardware accelerated Video decode (atleast for h264 and h265) will be soon be a reality and will solve all these problems (only if Mozilla gets serious and reincarnate it's dying webrender-vulkan fork) :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants