Graphics on my Lenovo W520, although basically working (I’m typing this on the W520), are unsatisfactory:
- X is running at 16% to 98% of one core and the machine is slow and the fan runs continually.
- One screen (DP, 4k) blinks every 10 seconds or so.
Here’s the relevant config.:
{ config, pkgs, lib, ... }:
{
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_390;
# For nvidia
nixpkgs.config.allowUnfree = true;
hardware.nvidia.prime = {
# offload.enable = true;
sync.enable = true;
# Bus ID of the NVIDIA GPU. You can find it using lspci, either under 3D or VGA
nvidiaBusId = "PCI:1:0:0";
# Bus ID of the Intel GPU. You can find it using lspci, either under 3D or VGA
intelBusId = "PCI:0:2:0";
};
}
What can I do?