[systemd-devel] [PATCH] logind: allow suspending if there are no displays

Mantas Mikulėnas grawity at gmail.com
Tue Apr 29 07:55:44 PDT 2014


On Mon, Apr 28, 2014 at 6:10 PM, Lennart Poettering
<lennart at poettering.net> wrote:
> On Mon, 28.04.14 00:44, Mantas Mikulėnas (grawity at gmail.com) wrote:
>
>> With proprietary graphics drivers, there won't be any 'drm' devices in
>> sysfs, so logind will never suspend the system upon closing the lid,
>> even if only one (internal) display is connected. This has been reported
>> by multiple users so far.
>>
>> IMHO, it's better to suspend the system in this case for safety reasons,
>> to avoid having nvidia blob users' laptops overheat, for the same reason
>> that sleep inhibitors are overridden (LidSwitchIgnoreInhibited=yes).
>
> Isn't the right approach to ask nivida to just support the normal kernel
> APIs for this? I mean, we can tape over things, and we can shift arounds
> so that things keep breaking for other people, but how about just asking
> them to fix their stuff?

True, but from the pieces of discussions I've seen in #xorg-devel, I
doubt it's going to happen over a weekend. Also, similar problems in
the past were mostly just affecting software design decisions; this
one causes actual hardware problems.


[Though, personally, maybe the monitor-count check itself should be
possible to turn off, for unusual setups.]

-- 
Mantas Mikulėnas <grawity at gmail.com>


More information about the systemd-devel mailing list