Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vulkan vaapi vdpau nvenc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
o5gmmob8
Guru
Guru


Joined: 17 Oct 2003
Posts: 545

PostPosted: Fri Feb 21, 2025 4:09 pm    Post subject: vulkan vaapi vdpau nvenc Reply with quote

I have both an nvidia and intel video card on my system (hybrid GPU). I am presently using these global use flags:

Code:
vulkan vaapi vdpau nvenc


I recently removed cuda support because I believe a package wanted cuda or vdpau, but not both. Technically speaking, the ebuild maintainer or package developer could say that if we're building support for both, fine, I will choose or prioritize this access over that ...

I suppose, really, all I want is to utilize the video card as much as possible. Perhaps, rather than enable these use flags globally, I should instead, go through the particular packages and see which use flags need set. If I understand correctly, these are all different APIs for which to interface the video card and a developer (package maintainer) can choose to use that API or not. At the end of the day, the underlying calls ultimately do the same thing, it is just the intermediate implementation that is different.

That leaves me with a choice, should I use this implementation or that as opposed to just saying, support nvidia.

Following up on that school of thought, is there any more documentation that I could read about API performance or vulnerabilities to make a more informed decision?
Back to top
View user's profile Send private message
Cruslan
n00b
n00b


Joined: 06 Jan 2024
Posts: 29

PostPosted: Sun Feb 23, 2025 3:10 am    Post subject: Reply with quote

NVENC and NVDEC gives best performance in terms of encode and decoding quality. Both of them are only supported by NVIDIA and not all apps has support.

VA-API, has great support with Intel and AMD GPU's. Also its application support is very good. Only solution for hardware acceleration on web browsers. Chrome and Firefox only supports VA-API.

VDPAU is supported all GPU's such as Intel, AMD and NVIDIA. Its support is pretty limited and its only intended to use as decoding.

Use NVIDIA in first place, after that VA-API and lastly VDPAU.
Back to top
View user's profile Send private message
o5gmmob8
Guru
Guru


Joined: 17 Oct 2003
Posts: 545

PostPosted: Sun Feb 23, 2025 11:46 am    Post subject: Reply with quote

That makes sense regarding the libraries. I suppose then I have 2 options:

1. leave these set at the global level like I presently have
2. go through each package and prioritize the use flags in the order you have specified.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum