Enable pertinent Intel drivers for HW acceleration
This commit is contained in:
parent
cf92337f0b
commit
2c0034fc82
|
@ -2,7 +2,9 @@
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
|
||||||
{
|
let hybrid-codec-vaapiIntel = vaapiIntel.override { enableHybridCodec = true; };
|
||||||
|
|
||||||
|
in {
|
||||||
# Kernel configuration
|
# Kernel configuration
|
||||||
boot = {
|
boot = {
|
||||||
kernelPackages = linuxPackages_zen;
|
kernelPackages = linuxPackages_zen;
|
||||||
|
@ -23,7 +25,9 @@ with pkgs;
|
||||||
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
services.fwupd.enable = true;
|
services.fwupd.enable = true;
|
||||||
|
|
||||||
hardware.opengl.extraPackages = [ vaapiIntel vaapiVdpau libvdpau-va-gl ];
|
# GPU Hardware acceleration
|
||||||
|
hardware.opengl.extraPackages =
|
||||||
|
[ intel-media-driver hybrid-codec-vaapiIntel vaapiVdpau libvdpau-va-gl ];
|
||||||
|
|
||||||
# Bootloader configuration
|
# Bootloader configuration
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
|
|
Loading…
Reference in New Issue