I've used XServer since Unix. I think it's getting that erro becaseu there are two GPU's, but only one Display to connect as a "Screen"...
I create the xorg.conf file from scratch, manually. Since the format, and where all the pieces of that were now divided up into smaller pieces now, the smaller pieces of what might be are located now in these folders
Code:
/etc/X11/xorg.conf.d
/usr/share/X11/xorg.conf.d
/snap/<version>-core22/3/etc/X11/xorg.conf.d
Where the User override file is still created in folder /etc/X11. What you would create is just an xorg.cof fle with your nvidia gpu in the device...
But to do it to the newer best practices guidelines...
Remove your NVidia 3rd party drivers...
Ensure you do
Code:
lsmod | grep -E 'nvidia|nouveau'
To ensure the nvidia modules are removed and the nouveau module is present...
If not there: Either ensure that you remove nouveau from the blacklists... You can use this to find each file where it might be blacklisted:
Code:
mafoelffen@Mikes-ThinkPad-T520:~/Scripts$ for File in /etc/modprobe.d/*.conf /usr/lib/modprobe.d/*.conf /usr/lib/modprobe.d/*.conf ; do echo ""; echo $File; grep 'nouveau' $File; done
/etc/modprobe.d/alsa-base.conf
/etc/modprobe.d/amd64-microcode-blacklist.conf
/etc/modprobe.d/blacklist-ath_pci.conf
/etc/modprobe.d/blacklist.conf
/etc/modprobe.d/blacklist-firewire.conf
/etc/modprobe.d/blacklist-framebuffer.conf
/etc/modprobe.d/blacklist-modem.conf
/etc/modprobe.d/blacklist-oss.conf
/etc/modprobe.d/blacklist-rare-network.conf
/etc/modprobe.d/dkms.conf
/etc/modprobe.d/intel-microcode-blacklist.conf
/etc/modprobe.d/iwlwifi.conf
/etc/modprobe.d/mdadm.conf
/usr/lib/modprobe.d/aliases.conf
/usr/lib/modprobe.d/blacklist_linux_5.15.0-92-generic.conf
/usr/lib/modprobe.d/blacklist_linux-hwe-6.2_6.2.0-35-generic.conf
/usr/lib/modprobe.d/blacklist_linux-hwe-6.2_6.2.0-37-generic.conf
/usr/lib/modprobe.d/blacklist_linux-hwe-6.2_6.2.0-39-generic.conf
/usr/lib/modprobe.d/fbdev-blacklist.conf
/usr/lib/modprobe.d/nvidia-graphics-drivers.conf
blacklist nouveau
blacklist lbm-nouveau
alias nouveau off
alias lbm-nouveau off
/usr/lib/modprobe.d/systemd.conf
/usr/lib/modprobe.d/aliases.conf
/usr/lib/modprobe.d/blacklist_linux_5.15.0-92-generic.conf
/usr/lib/modprobe.d/blacklist_linux-hwe-6.2_6.2.0-35-generic.conf
/usr/lib/modprobe.d/blacklist_linux-hwe-6.2_6.2.0-37-generic.conf
/usr/lib/modprobe.d/blacklist_linux-hwe-6.2_6.2.0-39-generic.conf
/usr/lib/modprobe.d/fbdev-blacklist.conf
/usr/lib/modprobe.d/nvidia-graphics-drivers.conf
blacklist nouveau
blacklist lbm-nouveau
alias nouveau off
alias lbm-nouveau off
/usr/lib/modprobe.d/systemd.conf
Each file that is followed by a line starting with blacklist, would be where you need to edit and comment out that line...
Once you ensure the nouveau module is loaded, then you could also then create this as file /etc/X11/xorg.conf.d/20-nouveau.conf:
Code:
## Example Nouveau /etc/xorg.conf or /etc/X11/xorg.conf.d/20-nouveau.conf file
Section "Device"
Identifier "Nvidia card"
Driver "nouveau"
EndSection
Bookmarks