Accelerated Video Playback: Difference between revisions

From NixOS Wiki
imported>Colemickens
No edit summary
imported>Makefu
add nixos-hardware
Line 1: Line 1:
This page is meant to help with techniques for getting accelerated video playback working in NixOS.
This page is meant to help with techniques for getting accelerated video playback working in NixOS.
In particular, this will enable `vaapi` or `vdpau` for your system. You may not need all of the packages listed, but it seems to not hurt to include them all.


Sample configuration:
Sample configuration:
Line 17: Line 15:
     ...
     ...
   }
   }
== Prepared Hardware configuration ==
Sometimes different opengl packages are required to achieve full performance. You can check different configuration repositories for similar hardware configuration:
* [https://github.com/NixOS/nixos-hardware The NixOS-Hardware Repository]

Revision as of 07:45, 11 December 2018

This page is meant to help with techniques for getting accelerated video playback working in NixOS.

Sample configuration:

 {
   ...
   hardware.opengl = {
     enable = true;
     extraPackages = with pkgs; [
       vaapiIntel
       vaapiVdpau
       libvdpau-va-gl
     ];
   };
   ...
 }

Prepared Hardware configuration

Sometimes different opengl packages are required to achieve full performance. You can check different configuration repositories for similar hardware configuration: