Re: Optimus on Linux - Solved...
An update: I found the configuration in /etc/X11/xdm-optimus, which uses /etc/X11/xorg.conf.nvidia (which explains that file), and so now it makes sense why there is no nvidia section in xorg.conf - display 1 is being set up as a separate X session.
This led me to the corresponding /var/log/xdm-optimus.log file. The error in this file is:
(EE) Failed to load module "nvidia" (module does not exist, 0)
which I guess means it's trying to load something like xserver-xorg-video-nvidia, and not finding it. Something is failing to build properly...
Any suggestions on how I can fix this?