Properly configure Intel Graphics on Lilim.
This commit is contained in:
parent
85600ad746
commit
b25c766d9d
1 changed files with 8 additions and 5 deletions
|
@ -15,11 +15,14 @@ in {
|
|||
loader.efi.canTouchEfiVariables = true;
|
||||
tmpOnTmpfs = true;
|
||||
cleanTmpDir = true;
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
initrd.availableKernelModules = [ "xhci_pci" "ahci" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||
kernelModules = [ "kvm-intel" "uinput" ];
|
||||
kernelModules = [ "i915" "kvm-intel" "uinput" ];
|
||||
kernelParams = [ "intel_iommu=on" ];
|
||||
extraModprobeConfig = ''
|
||||
options i915 enable_fbc=1 enable_guc=3
|
||||
'';
|
||||
kernel.sysctl = {
|
||||
"kernel.nmi_watchdog" = 0;
|
||||
"fs.inotify.max_user_watches" = 524288;
|
||||
|
@ -44,9 +47,9 @@ in {
|
|||
ksm.enable = true;
|
||||
opengl = {
|
||||
driSupport = true;
|
||||
extraPackages = with pkgs; [ intel-media-driver libvdpau-va-gl libva vaapiIntel vaapiVdpau intel-media-driver ];
|
||||
extraPackages = with pkgs; [ intel-media-driver libvdpau-va-gl libva (vaapiIntel.override {enableHybridCodec = true;}) vaapiVdpau intel-media-driver ];
|
||||
driSupport32Bit = true;
|
||||
extraPackages32 = with pkgs.pkgsi686Linux; [ libvdpau-va-gl libva vaapiIntel vaapiVdpau ];
|
||||
extraPackages32 = with pkgs.pkgsi686Linux; [ libvdpau-va-gl libva (vaapiIntel.override {enableHybridCodec = true;}) vaapiVdpau ];
|
||||
};
|
||||
|
||||
pulseaudio = {
|
||||
|
|
Loading…
Reference in a new issue