[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1004060: systemd: breaks lightdm / lightdm-gtk-greeter



On 2022-01-25 11:28:14 +0100, Yves-Alexis Perez wrote:
> I guess it is, yes. Could you try without that Xorg configuration, to be sure?
> I'm not really familiar with the NVIDIA driver configuration file (in my case
> I'm using the XRandr configuration using Xfce display profiles) so maybe
> there's indeed something fishy here.

If I comment out the

  Option "metamodes" "DP-3: nvidia-auto-select +0+0, DP-4: nvidia-auto-select +0+0"

line, then, based on 2 tests, both the laptop screen and the right
4K monitor are enabled, with the laptop screen on the left and the
right 4K monitor on the right (so, not a mirror mode). The greeter
correctly appears, and when I move the mouse pointer from one
screen to the other one, the greeter switches to where the mouse
pointer goes. So it is working correctly in this case. However,
when I log in then log out, I get the following error in Xorg.0.log
(I had already noticed this issue in the past, and that's probably
why I added an explicit Xorg monitor configuration):

[    83.150] (WW) NVIDIA(0): No valid modes for
[    83.150] (WW) NVIDIA(0):     "DFP-3:nvidia-auto-select,DFP-4:nvidia-auto-select,DFP-5:nvidia-auto-select";
[    83.150] (WW) NVIDIA(0):     removing.
[    83.150] (WW) NVIDIA(0): 
[    83.150] (WW) NVIDIA(0): Unable to validate any modes; falling back to the default mode
[    83.150] (WW) NVIDIA(0):     "nvidia-auto-select".
[    83.150] (WW) NVIDIA(0): 
[    83.151] (WW) NVIDIA(0): No valid modes for
[    83.151] (WW) NVIDIA(0):     "DFP-3:nvidia-auto-select,DFP-4:nvidia-auto-select,DFP-5:nvidia-auto-select";
[    83.151] (WW) NVIDIA(0):     removing.
[    83.151] (EE) NVIDIA(0): Unable to use default mode "nvidia-auto-select".
[    83.151] (EE) NVIDIA(0): Failing initialization of X screen 0
[    83.719] (II) UnloadModule: "nvidia"
[    83.719] (II) UnloadSubModule: "wfb"
[    83.719] (II) UnloadSubModule: "fb"
[    83.719] (EE) Screen(s) found, but none have a usable configuration.
[    83.719] (EE) 
Fatal server error:
[    83.719] (EE) no screens found(EE) 
[    83.719] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[    83.719] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    83.719] (EE) 
[    83.758] (EE) Server terminated with error (1). Closing log file.

Indeed, the driver cannot handle 3 monitors.

With the mirror mode, if lightdm thinks that it is in a left/right
configuration, perhaps the greeter is displayed on the right side,
while only the left side is visible.

-- 
Vincent Lefèvre <vincent@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)


Reply to: