Accelerated Video Playback

From NixOS Wiki
Revision as of 07:43, 11 December 2018 by imported>Colemickens

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:

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