intel x11 fixes
This commit is contained in:
@@ -17,8 +17,8 @@
|
|||||||
# boot.kernelPackages = pkgs.linuxPackages_latest;
|
# boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
"console=tty0"
|
"console=tty0"
|
||||||
"efifb=off"
|
# "efifb=off"
|
||||||
"xe.force_probe=*"
|
# "xe.force_probe=*"
|
||||||
"module_blacklist=nouveau,nvidia,nvidia_drm,nvidia_modeset,nvidia_uvm"
|
"module_blacklist=nouveau,nvidia,nvidia_drm,nvidia_modeset,nvidia_uvm"
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -32,11 +32,12 @@
|
|||||||
intel-media-driver # Intel VAAPI
|
intel-media-driver # Intel VAAPI
|
||||||
vpl-gpu-rt # oneVPL runtime
|
vpl-gpu-rt # oneVPL runtime
|
||||||
intel-vaapi-driver # fallback
|
intel-vaapi-driver # fallback
|
||||||
|
intel-compute-runtime # OpenCL/Level Zero
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Ensure Arc driver is available (usually auto-loaded)
|
# Ensure Arc driver is available (usually auto-loaded)
|
||||||
boot.kernelModules = [ "xe" ];
|
boot.kernelModules = [ "xe" "i915" ];
|
||||||
# Blacklist everything for nvidia
|
# Blacklist everything for nvidia
|
||||||
boot.blacklistedKernelModules = [
|
boot.blacklistedKernelModules = [
|
||||||
"nouveau"
|
"nouveau"
|
||||||
@@ -56,6 +57,24 @@
|
|||||||
## X / Wayland GPU Drivers
|
## X / Wayland GPU Drivers
|
||||||
############################
|
############################
|
||||||
|
|
||||||
|
# Enable modesetting driver for X11 (required for Intel Xe)
|
||||||
|
services.xserver.videoDrivers = [
|
||||||
|
"modesetting"
|
||||||
|
#"intel"
|
||||||
|
];
|
||||||
|
|
||||||
|
services.xserver.enable = true;
|
||||||
|
services.xserver.autorun = false;
|
||||||
|
services.xserver.displayManager.startx.enable = true;
|
||||||
|
|
||||||
|
# Xorg configuration for Intel Arc Battlemage (xe driver)
|
||||||
|
# Based on: https://www.reddit.com/r/crtgaming/comments/1knom2t/guide_intel_arc_b580_arch_linux_xorg/
|
||||||
|
# Intel Arc B-series at PCI 0000:03:00.0
|
||||||
|
#services.xserver.deviceSection = ''
|
||||||
|
# Option "AccelMethod" "glamor"
|
||||||
|
# BusID "PCI:3:0:0"
|
||||||
|
#'';
|
||||||
|
|
||||||
############################
|
############################
|
||||||
## User Access
|
## User Access
|
||||||
############################
|
############################
|
||||||
|
|||||||
Reference in New Issue
Block a user