Accelerated Video Playback: Difference between revisions
imported>Colemickens Add intel hybrid codec information |
imported>Colemickens m markdown -> mediawiki syntax |
||
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. | ||
This is done by adding relevant | This is done by adding relevant <code>libva</code>-related packages to the <code>hardware.opengl.extraPackages</code> option. | ||
Additionally, the | Additionally, the <code>vaapiIntel</code> package can be overriden to enable [https://github.com/01org/intel-hybrid-driver Intel's Hybrid Driver]. | ||
Sample configuration: | Sample configuration: |
Revision as of 08:09, 11 December 2018
This page is meant to help with techniques for getting accelerated video playback working in NixOS.
This is done by adding relevant libva
-related packages to the hardware.opengl.extraPackages
option.
Additionally, the vaapiIntel
package can be overriden to enable Intel's Hybrid Driver.
Sample configuration:
{ ... nixpkgs.config.packageOverrides = pkgs: { vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; }; }; 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: