View previous topic :: View next topic |
Author |
Message |
o5gmmob8 Guru

Joined: 17 Oct 2003 Posts: 545
|
Posted: Fri Feb 21, 2025 4:09 pm Post subject: vulkan vaapi vdpau nvenc |
|
|
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 |
|
 |
Cruslan n00b

Joined: 06 Jan 2024 Posts: 29
|
Posted: Sun Feb 23, 2025 3:10 am Post subject: |
|
|
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 |
|
 |
o5gmmob8 Guru

Joined: 17 Oct 2003 Posts: 545
|
Posted: Sun Feb 23, 2025 11:46 am Post subject: |
|
|
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 |
|
 |
|
|
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
|
|