Hi, On my Optimus laptop (with both Intel and Nvidia GPUs), I'm trying to avoid loading the Nvidia drivers on startup (in order to power down the Nvidia card with bbswitch). When I blacklist them in /etc/modprobe.d/, they don't load on boot, but X seems to be loading them, despite the fact that X is using the Intel card. I'm not using an xorg.conf file and there's no mention of nvidia in the Xorg.0.log, but syslog and dmesg show that X is loading the nvidia driver - these lines appear in the logs when I start X:
nvidia-nvlink: Nvlink Core is being initialized, major device number 242 NVRM: loading NVIDIA UNIX x86_64 Kernel Module 430.50 Thu Sep 5 22:36:31 CDT 2019 Further investigation: lsof /dev | grep nvidia Xorg 8553 user 12u CHR 195,255 0t0 40974 /dev/nvidiactl Xorg 8553 user 13u CHR 195,0 0t0 38875 /dev/nvidia0 Xorg 8553 user 14u CHR 195,0 0t0 38875 /dev/nvidia0 lsmod | grep nvidia nvidia 19111936 9 ipmi_msghandler 65536 2 ipmi_devintf,nvidia grep -i nvidia /var/log/Xorg.0.log [no output] grep -i intel /var/log/Xorg.0.log [ 10.084] (II) modeset(0): glamor X acceleration enabled on Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2) [plus HDA stuff] grep -i modesetting /var/log/Xorg.0.log [ 9.202] (==) Matched modesetting as autoconfigured driver 0 [ 9.202] (II) LoadModule: "modesetting" [ 9.203] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 9.205] (II) Module modesetting: vendor="X.Org Foundation" [ 9.206] (II) modesetting: Driver for Modesetting Kernel Drivers: kms How can I track down and fix what's going on here? Celejar