On Tue, Nov 19, 2024 at 12:57 PM Hans <hans.ullr...@loop.de> wrote:
>
> I am searching the cause of a little issue, which some day appeared.
>
> The issue is the following:
>
> In KDE (and maybe other windowmanagers) the screen is going black after a
> while of doing nothing. This is especially annoying, when watching a video in
> firefox i.e. from youtube or watching a video in VLC.
>
> I tried several settings in VLC shutting down the screensaver, changesd
> settings of powerdevil in KDE and also changed settings of the swcreensaver in
> XFCE (which KDE relies on).
>
> As far as I understood, it might be related to DPMS and less to the
> screensaver.
>
> The strange thing is: When watching a video with "smplayer" or with "mpv",
> then the screen is not going blank.

Does smplayer or mpv register a systemd inhibitor? Try:

  systemd-inhibit --list --no-pager --no-legend

> Additionally it is to mention, that only the screen is goiung blank (lights
> are out and content freezes). When watching a video and the screen goes dark,
> then audio is still going on, showing, the video is going on running. So IMO
> it is not a screensaver thing, more a energysaver-thing somehow.
>
> Maybe it is controlled by the kernel?

My guess is systemd is putting the machine to sleep because of a lack
of systemd-inhibit. But it is just a guess.

> The hints I got, are to disable screen blanking by using the "set screen"
> command, although this might be a workaround, It is not what I want.
>
> Blanking the screen after a while is ok for me, when doing nothing, but when I
> am watching video in VLC or in fiirefox, this should be switched off.
>
> Any ideas, from where this behaviour is controlled? Or some other ideas, like
> this could be fixed?
>
> My hardware is a notebook Lenovo T-520, running debian/stable, fully upgraded.

Jeff

Reply via email to