• Re: how avoid blank screen after some time

    From Rand Pritelrohm@21:1/5 to Hans on Tue Nov 19 16:40:01 2024
    On 2024-11-19 16:22:44, Hans wrote:

    [SNIP]
    Any ideas, from where this behaviour is controlled? Or some other ideas, like this could be fixed?
    [SNIP]

    Hello,

    Maybe by adding this in your $HOME/.xinitrc:

    xset -dpms s off
    xset s 0 -dpms

    Regards
    Rand

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hans@21:1/5 to All on Tue Nov 19 16:30:01 2024
    Dear list,

    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.

    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?

    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.

    Thanks for any help!

    Best

    Hans

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hans@21:1/5 to All on Tue Nov 19 17:00:01 2024
    Does this not set dpms off permanently? This was the workaround, I already read of. I had the hope of a setting, when watching video, dpms will be automatically shut off.

    Since when did debian activate DPMS? As this issue appeared after some
    upgrade, it must be added or activated somehow. Of course, if the issue is related to DPMS at all.

    Best

    Hans

    Hello,

    Maybe by adding this in your $HOME/.xinitrc:

    xset -dpms s off
    xset s 0 -dpms

    Regards
    Rand

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to Hans on Tue Nov 19 19:20:02 2024
    On Tue, 19 Nov 2024 16:22:44 +0100
    Hans <hans.ullrich@loop.de> wrote:

    My hardware is a notebook Lenovo T-520, running debian/stable, fully upgraded.

    I also have a t-520, running XFCE, and I have "Disable screensavers"
    checked. https://www.screensaversplanet.com/help/guides/mac/how-to-disable-the-screensaver-during-vlc-video-playback-24

    I see the screensavers disabled on my T-520 and on other machines here.
    This is while playing an ISO image from a DVD. I don't run KDE here, so
    I can't test it.

    root@jhegaala:~# lspci -vs 0:2
    00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
    Subsystem: Lenovo ThinkPad T520
    Flags: bus master, fast devsel, latency 0, IRQ 28, IOMMU group 0
    Memory at f0000000 (64-bit, non-prefetchable) [size=4M]
    Memory at e0000000 (64-bit, prefetchable) [size=256M]
    I/O ports at 6000 [size=64]
    Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
    Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [d0] Power Management version 2
    Capabilities: [a4] PCI Advanced Features
    Kernel driver in use: i915
    Kernel modules: i915

    root@jhegaala:~#


    XFCE also has a manual way to turn off the screensaver. In the power
    manager plugin settings, enable the "Presentation mode" indicator. Then
    use it to turn presentation mode (no screen blanking or screen saver)
    on. Perhaps KDE has something similar?

    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Monnier@21:1/5 to All on Wed Nov 20 05:50:01 2024
    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.

    Blanking seems acceptable if your video is running in some window
    somewhere, but if it's running fullscreen then it sounds like a bug.
    I recommend you report it as such (against the specific video player
    you're using).

    I suspect the behavior may depend on the DE you're using and things like
    that, so you'll probably want to include that in your description of
    the bug.


    Stefan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Wright@21:1/5 to Hans on Wed Nov 20 05:30:01 2024
    On Tue 19 Nov 2024 at 16:53:59 (+0100), Hans wrote:
    Does this not set dpms off permanently? This was the workaround, I already read
    of. I had the hope of a setting, when watching video, dpms will be automatically shut off.

    Script it then?

    Since when did debian activate DPMS? As this issue appeared after some upgrade, it must be added or activated somehow. Of course, if the issue is related to DPMS at all.

    Since the last millennium…

    Defeating kernel blanking:

    https://lists.debian.org/debian-user/1996/12/msg00789.html

    I don't remember a time when linux didn't blank the console.
    (1996 Sept.)

    DPMS:

    https://lists.debian.org/debian-user/2000/11/msg02800.html

    I get the impression that defeating DPMS was the aim of DE users,
    as here, but that at this time there were many WM users wishing to
    enable it. It's up to you whether you blame Debian or DE authors.

    Cheers,
    David.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)