Accelerated Video Playback: Difference between revisions

From NixOS Wiki
imported>Colemickens
Created page with "This page is meant to help with techniques for getting accelerated video playback working in NixOS. Sample configuration: { ... hardware.opengl = { enable =..."
 
imported>Colemickens
No edit summary
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:

Revision as of 07:43, 11 December 2018

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
     ];
   };
   ...
 }