Accelerated Video Playback: Difference between revisions
hardware.graphics -> hardware.opengl |
Fixed Broadwell year 2015 to 2014 and added a note for intel-vaapi-driver to be used instead of intel-media-driiver for Skylake if users want to prioritize browser performance. |
||
Line 8: | Line 8: | ||
enable = true; | enable = true; | ||
extraPackages = with pkgs; [ | extraPackages = with pkgs; [ | ||
intel-media-driver # For Broadwell ( | intel-media-driver # For Broadwell (2014) or newer processors. LIBVA_DRIVER_NAME=iHD | ||
intel-vaapi-driver # For older processors. LIBVA_DRIVER_NAME=i965 | intel-vaapi-driver # For older processors. LIBVA_DRIVER_NAME=i965 | ||
]; | ]; | ||
Line 15: | Line 15: | ||
} | } | ||
</nowiki>}} | </nowiki>}} | ||
Note, <code>intel-vaapi-driver</code> still performs better for browsers (gecko/chromium based) on newer Skylake (2015) processors.<ref>https://github.com/intel/media-driver/issues/1024</ref> | |||
For 32-bit support, use {{nixos:option|hardware.graphics.extraPackages32}}: | For 32-bit support, use {{nixos:option|hardware.graphics.extraPackages32}}: | ||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | {{file|/etc/nixos/configuration.nix|nix|<nowiki> |