LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2021, 04:10 AM   #1
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Rep: Reputation: Disabled
blanking or dimming or darkening of monitor when i watch video ?


I am using Endea Plasma

May i know what are the things that control my screen to dimming / darkening, even blanking on laptop monitor.

What control blanking and lost signal on HDMI monitor ?

I often came across with monitor individual monitor go blank, even lost HDMI signal.

For example today, when i was watching video on HDMI screen without working on laptop, the screen just went blank while the video still playing.. that's not right.. it should only be blank when there is no activity on it.

Note:
Both screen dimming/ darkening / blanking are at different time, not simultaneously.

Is it under TLP ? I am trying to run TLPUI from launcher.. but nothing appears..weird.

Tons of "screen gone black while "doing something" on windows" but none on linux in youtube.. weird

Last edited by andrewysk; 01-28-2021 at 04:15 AM.
 
Old 01-28-2021, 01:24 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Xorg or Wayland?
 
Old 01-30-2021, 12:38 PM   #3
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
Xorg or Wayland?
Code:
Display: x11 server: X.Org 1.20.10 compositor: kwin_x11
 
Old 01-31-2021, 01:35 AM   #4
lvm_
Member
 
Registered: Jul 2020
Posts: 925

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
Power management considers user input - mouse or keyboard activity, as the only indication that it shouldn't activate - this is the standard approach. Screen activity cannot be used here because usually there is always some and because detecting it is difficult and inefficient. You may either set up your video player to disable screen saver temporarily - most video players support it, albeit it doesn't work very well if you are in the habit of keeping several players open simultaneously, or disable screen saver completely in system settings or by running 'xset s 0 0'.
 
Old 01-31-2021, 01:48 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Check KDE's power manager. I'm not familiar with it.

Also
Code:
xset q
systemd-inhibit
 
Old 01-31-2021, 09:23 AM   #6
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
Check KDE's power manager. I'm not familiar with it.

Also
Code:
xset q
systemd-inhibit
Please tell me from the output, which should change to what to disable the auto screen darkening / blanking ?

Code:
$ xset q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  ffffe7fe
  XKB indicators:
    00: Caps Lock:   off    01: Num Lock:    on     02: Scroll Lock: on 
    03: Compose:     on     04: Kana:        on     05: Sleep:       on 
    06: Suspend:     on     07: Mute:        on     08: Misc:        on 
    09: Mail:        on     10: Charging:    on     11: Shift Lock:  off
    12: Group 2:     off    13: Mouse Keys:  on 
  auto repeat delay:  600    repeat rate:  25
  auto repeating keys:  00ffffffdffffbbf
                        fadfffefffedffff
                        9fffffffffffffff
                        fff7ffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  0    cycle:  0
Colors:
  default colormap:  0x22    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  built-ins
DPMS (Energy Star):
  Standby: 600    Suspend: 900    Off: 1200
  DPMS is Enabled
  Monitor is On
 
Old 01-31-2021, 10:29 AM   #7
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
The player must take care of that, and most of them do when it is a matter of managing Xorg screen saving features. Either your player is not configured properly or Plasma is incompatible with your player.
 
Old 01-31-2021, 10:38 AM   #8
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lvm_ View Post
Power management considers user input - mouse or keyboard activity, as the only indication that it shouldn't activate - this is the standard approach. Screen activity cannot be used here because usually there is always some and because detecting it is difficult and inefficient. You may either set up your video player to disable screen saver temporarily - most video players support it, albeit it doesn't work very well if you are in the habit of keeping several players open simultaneously, or disable screen saver completely in system settings or by running 'xset s 0 0'.
Thanks for the
Code:
$xset s 0 0
command.

I kept a copy of xset query output before i executed the command:

Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 600 cycle: 600

After i executed the
Code:
$xset s 0 0
, the output changed to timeout: 0 and cycle: 0

Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 0

I suppose timeout value when set to "0", it is disabled the timeout to screen saver.
that "600".. is it in seconds ?

what does "cycle" mean?
what is "prefer blanking" and "allow exposure"? sound like photography! :
 
Old 01-31-2021, 10:44 AM   #9
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
The player must take care of that, and most of them do when it is a matter of managing Xorg screen saving features. Either your player is not configured properly or Plasma is incompatible with your player.
Then again, i think it is not screen saver that causing dimming / blanking of my screen.. it just did that again.. even after i executed the command "xset s 0 0" just now.
Well, i forgot if i have restarted this laptop or not.. very forgetful.

anyway, i post the output of
Code:
xset q
Code:
$ xset q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000002
  XKB indicators:
    00: Caps Lock:   off    01: Num Lock:    on     02: Scroll Lock: off
    03: Compose:     off    04: Kana:        off    05: Sleep:       off
    06: Suspend:     off    07: Mute:        off    08: Misc:        off
    09: Mail:        off    10: Charging:    off    11: Shift Lock:  off
    12: Group 2:     off    13: Mouse Keys:  off
  auto repeat delay:  600    repeat rate:  25
  auto repeating keys:  00ffffffdffffbbf
                        fadfffefffedffff
                        9fffffffffffffff
                        fff7ffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  0    cycle:  600
Colors:
  default colormap:  0x22    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  built-ins
DPMS (Energy Star):
  Standby: 600    Suspend: 900    Off: 1200
  DPMS is Enabled
  Monitor is On
The query output is like such when it auto dimmed my laptop screen even .. not running any media player this time.
It happens when i didn't do anything on it (but i thought i did executed $xset s 0 0 , which set the timeout and cycle to 0 0).
 
Old 01-31-2021, 11:38 AM   #10
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Look, I do not use Plasma, but xset manages only the power management which is built into Xorg, Plasma evidently has its own.
 
Old 01-31-2021, 02:06 PM   #11
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
Check KDE's power manager. I'm not familiar with it.

Also
Code:
xset q
systemd-inhibit
I can't find any good working example of
Code:
systemd-inhibit
apart from the same https://www.man7.org/linux/man-pages...inhibit.1.html

which is of no help to me.

How to use that systemd-inbibit, may i ask ?
 
Old 02-01-2021, 02:14 PM   #12
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
It's a command just like "xset q". Enter it in your terminal.
Also, the very first sentence in my post refers to KDE's power manager. Please check that first and foremost.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How do I stop the screen from blanking when I watch 1 hour Youtube movies? dugan Slackware 37 09-26-2019 08:40 AM
Laptop external monitor starts dimming dosnlinux Linux - Hardware 3 10-09-2007 04:32 PM
Monitor dimming in X J. R. "Bob" Dobbs Slackware 3 09-27-2006 11:20 PM
Screen Dimming works in APM, but not in ACPI ming0 Linux - Laptop and Netbook 2 11-09-2004 11:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration