Accelerated Video Playback: Difference between revisions
Add notes on video acceleration with NVIDIA |
m Add Gentoo Wiki VAAPI Page on Also see. |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 50: | Line 50: | ||
<translate> | <translate> | ||
=== NVIDIA === | === NVIDIA === <!--T:23--> | ||
<!--T:24--> | |||
NVIDIA do not officially support accelerated video playback on Linux. A third-party implementation exists, but does not support Chrome<ref>https://github.com/elFarto/nvidia-vaapi-driver#chrome</ref>, and has significant limitations compared to the other implementations<ref>https://github.com/elFarto/nvidia-vaapi-driver#codec-support</ref>. | NVIDIA do not officially support accelerated video playback on Linux. A third-party implementation exists, but does not support Chrome<ref>https://github.com/elFarto/nvidia-vaapi-driver#chrome</ref>, and has significant limitations compared to the other implementations<ref>https://github.com/elFarto/nvidia-vaapi-driver#codec-support</ref>. | ||
<!--T:25--> | |||
NVIDIA users with a separate iGPU should generally prefer to use their iGPU for this, and therefore look to the above Intel and AMD sections instead. | NVIDIA users with a separate iGPU should generally prefer to use their iGPU for this, and therefore look to the above Intel and AMD sections instead. | ||
<!--T:26--> | |||
Users with only an NVIDIA GPU can attempt to use the third party implementation; the package is added to <code>hardware.graphics.extraPackages</code> by default, but it requires some additional setup to be useful<ref>https://github.com/elFarto/nvidia-vaapi-driver#configuration</ref>: | Users with only an NVIDIA GPU can attempt to use the third party implementation; the package is added to <code>hardware.graphics.extraPackages</code> by default, but it requires some additional setup to be useful<ref>https://github.com/elFarto/nvidia-vaapi-driver#configuration</ref>: | ||
</translate> | </translate> | ||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | {{file|/etc/nixos/configuration.nix|nix|<nowiki> | ||
{ | { config, lib, ...}: { | ||
environment.variables.LIBVA_DRIVER_NAME = "nvidia" | environment.variables.LIBVA_DRIVER_NAME = "nvidia" | ||
| Line 120: | Line 123: | ||
<!--T:14--> | <!--T:14--> | ||
<syntaxHighlight lang=ini> | <syntaxHighlight lang=ini> | ||
hwdec=auto | hwdec=auto | ||
</syntaxHighlight> | </syntaxHighlight> | ||
| Line 135: | Line 135: | ||
== Also see == | == Also see == | ||
* [https://wiki.archlinux.org/index.php/Hardware_video_acceleration Arch Linux wiki#Hardware video acceleration]. | * [https://wiki.archlinux.org/index.php/Hardware_video_acceleration Arch Linux wiki#Hardware video acceleration]. | ||
* [https://wiki.gentoo.org/wiki/VAAPI Gentoo Wiki#VAAPI.] | |||
* [https://github.com/NixOS/nixos-hardware nixos-hardware] has example configurations for various types of hardware. | * [https://github.com/NixOS/nixos-hardware nixos-hardware] has example configurations for various types of hardware. | ||
</translate> | </translate> | ||
[[Category:Video]] | [[Category:Video]] | ||