On 2023-04-21 10:01:53 +0100, Eric S Fraga wrote: > On Thursday, 20 Apr 2023 at 14:34, Vincent Lefevre wrote: > > In my case, an empty xorg.conf doesn't work with my 3-monitor setup. > > The issue is that the Nvidia driver (contrary to nouveau?) doesn't > > work with 3 monitors, so one of them cannot be used, but when the > > X server is restarted (e.g. when I log out), the Nvidia driver is > > confused about which monitor to use. > > Interesting. I've had a look at my Xorg.log file and I'm using the > nvidia driver and it is finding all three monitors. My graphics card is > > 0000:65:00.0 VGA compatible controller: NVIDIA Corporation GP107GL [Quadro > P1000] (rev a1)
I've found the details of the issue I got when I had no xorg.conf file (that was in May 2020, thus 3 years ago) and 3 connected outputs (laptop screen + 2 external monitors). At boot, the driver randomly chose 2 of them. But when I logged out and the X server was restarted by lightdm, I got the following error: [ 79.224] (==) NVIDIA(0): [ 79.224] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select" [ 79.224] (==) NVIDIA(0): will be used as the requested mode. [ 79.224] (==) NVIDIA(0): [ 79.225] (WW) NVIDIA(0): No valid modes for [ 79.225] (WW) NVIDIA(0): "DFP-3:nvidia-auto-select,DFP-4:nvidia-auto-select,DFP-5:nvidia-auto-select"; [ 79.225] (WW) NVIDIA(0): removing. [ 79.225] (WW) NVIDIA(0): [ 79.225] (WW) NVIDIA(0): Unable to validate any modes; falling back to the default mode [ 79.225] (WW) NVIDIA(0): "nvidia-auto-select". [ 79.225] (WW) NVIDIA(0): [ 79.226] (WW) NVIDIA(0): No valid modes for [ 79.226] (WW) NVIDIA(0): "DFP-3:nvidia-auto-select,DFP-4:nvidia-auto-select,DFP-5:nvidia-auto-select"; [ 79.226] (WW) NVIDIA(0): removing. [ 79.226] (EE) NVIDIA(0): Unable to use default mode "nvidia-auto-select". [ 79.226] (EE) NVIDIA(0): Failing initialization of X screen 0 [ 79.809] (II) UnloadModule: "nvidia" [ 79.809] (II) UnloadSubModule: "wfb" [ 79.809] (II) UnloadSubModule: "fb" [ 79.809] (EE) Screen(s) found, but none have a usable configuration. [ 79.809] (EE) Fatal server error: [ 79.809] (EE) no screens found(EE) This is with GK208GLM [Quadro K610M], which supports up to 4 outputs. So this is a driver issue (this was version 390.132-4). -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)