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

multi-monitor suspend inhibit from gnome-settings-daemon despite one being connected



Hello,

I have a problem with systemd + gnome-settings-daemon + nvidia 
                                or gnome-session
                                or ? 

It seems, that the gnome-settings-daemon forwards a suspend inhibit due
to multiple monitors being connected, although only a single monitor,
the internal laptop screen, is connected. Gnome correctly recognised
that there is only a single monitor (gnome-control-center/displays). 

I can manually suspend the laptop e.g. systemctl suspend but closing the
lid does not work. When using nouveau instead of the proprietary nvidia
driver, the inhibit does not exist and the laptop is suspended when
closing the lid.

Does somebody have an idea how to overcome this problem with the
proprietary nvidia driver, or which package might be responsible to
report the bug ? 

Thanks,
  Götz

P.S.:

systemd-inhibit --list
     ...

     Who: xxxxx (xxxxx PID 5616/gnome-settings-)
    What: handle-lid-switch
     Why: Multiple displays attached
    Mode: block
   
    ...

ps:
 5616  0.0  0.4 886100 35200 ?        Sl   20:52   0:00
\_ /usr/lib/gnome-settings-daemon/gnome-settings-daemon


xrandr:
Screen 0: minimum 8 x 8, current 2880 x 1800, maximum 16384 x 16384
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-2 connected primary 2880x1800+0+0 (normal left inverted right x axis
y axis) 331mm x 207mm
   2880x1800     59.99*+
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)

nvidia-driver           343.22-2 
 (nivida-driver 340.46-5 crashes on suspend) 

systemd                 215-7
gnome-settings-daemon   3.14.2-1
gnome-session           3.14.0-2


Reply to: