Screen no longer blanking - Leap 15.6 KDE

For some reason my screen no longer blanks after a period of inactivity. Screen Energy Saving is enabled to switch off after 15 minutes. This worked until recently and there were some recent updates. Has anyone else experienced this? tnx jk

On 2/23/25 11:29 AM, James Knott wrote:
console-blanking was disabled by default the kernel in the 5.x days. You likely just moved to a kernel that now disables it. You can enable it with setterm, e.g. # setterm --blank=4 --powerdown=5 --powersave powerdown where the 4 and 5 are minutes. Adjust to your liking. -- David C. Rankin, J.D.,P.E.

On 2/23/25 5:58 PM, James Knott wrote:
There was a kernel update recently. Perhaps this is what caused it?
How often do I have to use that setterm?
Only once per-boot. You can set it anytime by echoing the number of *seconds* before blanking into: /sys/module/kernel/parameters/consoleblank On servers, I use a systemd service to set it on boot. You can do it manually if you like. The change occurred in June 2018 with whatever kernel Linus released then. I created a package for Arch to restore the default back then: https://aur.archlinux.org/packages/console-blanking $ cat console-blanking.service ## systemd service file to restore default blanking and powerdown for # virtual consoles after a given timeout period (5-min blank, 6-min powerdown) # this functionality was originally provided by the kernel defaults setting # /sys/module/kernel/parameters/consoleblank 600 (now 0-disabled). the # blanking and powerdown were delegated to systemd to implement, but no ## service was ever provided by systemd to accomplish this fundamental task. [Unit] Description=Enable virtual console blanking and poweroff [Service] Type=oneshot Environment=TERM=linux StandardOutput=tty TTYPath=/dev/console ExecStart=/usr/bin/setterm -blank 5 -powerdown 6 [Install] WantedBy=multi-user.target -- David C. Rankin, J.D.,P.E.

On 2/23/25 5:58 PM, James Knott wrote:
There was a kernel update recently. Perhaps this is what caused it?
How often do I have to use that setterm?
Here is the kernel change that did it: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?i... For all the servers all over the world booting to multiuser expecting the console blanking to save power (remember all those Energy-star rated monitors?), they were in for a surprise after the kernel update when they came in the next morning to a server-room full of monitors still brightly lit, just burning those prompt characters into the display :) That's a lot of computers and monitors... Not to mention the power-waste. But as more and more systems move into the "cloud", the virtual terminal blanking wasn't really needed in those setups. So the change kind of made sense. It was just a pain for everyone still working with real hardware, with one monitor per-box. -- David C. Rankin, J.D.,P.E.

Hello, In the Message; Subject : Re: Screen no longer blanking - Leap 15.6 KDE Message-ID : <cf2bbb1d-2c96-403f-8f4d-85b05199ac2a@jknott.net> Date & Time: Sun, 23 Feb 2025 22:12:06 -0500 [JK] == James Knott <james.knott@jknott.net> has written: JK> On 2/23/25 18:28, David C. Rankin wrote: DCR> > # setterm --blank=4 --powerdown=5 --powersave powerdown DCR> > where the 4 and 5 are minutes. Adjust to your liking. JK> #setterm --blank=15 JK> setterm: terminal xterm-256color does not support --blank Alt 1. Use a different TERM value: $ export TERM=xterm Alt 2. Use an alternative command: $ xset s blank Alt 3. 3-1. Adjust power management settings in system-setting on KDE or 3-2/ Edit ~/.config/powermanagementprofilesrc Best Regards. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "To hire for skills, firms will need to implement robust and intentional changes in their hiring practices ― and change is hard." -- Employers don’t practice what they preach on skills-based hiring --

Hello, In the Message; Subject : Screen no longer blanking - Leap 15.6 KDE Message-ID : <5f64572b-5d7d-4ab7-8f47-e2de610f4c0b@jknott.net> Date & Time: Sun, 23 Feb 2025 12:29:37 -0500 [JK] == James Knott <james.knott@jknott.net> has written: JK> For some reason my screen no longer blanks after a period of JK> inactivity. Screen Energy Saving is enabled to switch off after JK> 15 minutes. This worked until recently and there were some JK> recent updates. [...] It must be the effect of the update. 1. Have you checked whether the power management and screen saver settings have been changed? 2. There is a possibility that DPMS is not functioning correctly due to compatibility issues with the graphics driver1. Have you checked whether there are any compatibility issues with the graphics driver? Does this work corfrectly? $ xset dpms force off Best Regards. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "During testing, Sakana found that its system began unexpectedly attempting to modify its own experiment code to extend the time it had to work on a problem." -- Research AI model unexpectedly attempts to modify its own code to extend runtime (ars TECHNICA) --

Hello, In the Message; Subject : Re: Screen no longer blanking - Leap 15.6 KDE Message-ID : <f30a7e05-bd4f-499f-af6e-a6e7d4b79569@jknott.net> Date & Time: Sun, 23 Feb 2025 20:01:18 -0500 [JK] == James Knott <james.knott@jknott.net> has written: JK> On 2/23/25 19:57, Masaru Nomiya wrote: [...] MN> > Does this work corfrectly? MN> > $ xset dpms force off JK> Haven't tried yet. I'll give it a try. And, if you have set 'Automatic Power Saver' to enable, please check that as well. Best Regards. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "To hire for skills, firms will need to implement robust and intentional changes in their hiring practices — and change is hard." -- Employers don’t practice what they preach on skills-based hiring --

On 2/23/25 21:01, Masaru Nomiya wrote:
And, if you have set 'Automatic Power Saver' to enable, please check that as well.
Where is that setting? In the Power Management, there is the Screen Energy Saving, which is enabled. As I mentioned, this just started happening and it's worked well before.

Hello, In the Message; Subject : Re: Screen no longer blanking - Leap 15.6 KDE Message-ID : <b3b4829f-860f-470b-84a0-33f32312574a@jknott.net> Date & Time: Sun, 23 Feb 2025 21:08:33 -0500 [JK] == James Knott <james.knott@jknott.net> has written: JK> On 2/23/25 21:01, Masaru Nomiya wrote: MN> > And, if you have set 'Automatic Power Saver' to enable, please check MN> > that as well. JK> Where is that setting? In the Power Management, there is the JK> Screen Energy Saving, which is enabled. As I mentioned, this JK> just started happening and it's worked well before. I mean that Automatic Power Saver can also be a trigger. If you have not installed power-profiles-daemon and without ~/.config/powermanagementprofilesrc, please ignore the Automatic Power Saver issue. Best Regards. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "Microsoft is overhauling its cybersecurity strategy, called the Secure Future Initiative, to incorporate key security features into its core set of technology platforms and cloud services. " -- Microsoft overhauls cyber strategy to finally embrace security by default --

Hello, In the Message; Subject : Re: Screen no longer blanking - Leap 15.6 KDE Message-ID : <ab10d3f5-7672-4447-adce-d117065a5222@jknott.net> Date & Time: Sun, 23 Feb 2025 22:10:19 -0500 [JK] == James Knott <james.knott@jknott.net> has written: JK> On 2/23/25 21:55, Masaru Nomiya wrote: MN> > If you have not installed power-profiles-daemon and without MN> > ~/.config/powermanagementprofilesrc, please ignore the Automatic Power MN> > Saver issue. JK> I haven't even heard of it, let alone installed it. I just installed an JK> ordinary desktop, as always. Is it? Ah I see, it seems that only Tumbleweed is installed as the basic package. However, since there is TLP, it is an unnecessary package now, so I have uninstalled it. Sorry for troubled you. Best Regards. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "During testing, Sakana found that its system began unexpectedly attempting to modify its own experiment code to extend the time it had to work on a problem." -- Research AI model unexpectedly attempts to modify its own code to extend runtime (ars TECHNICA) --

On 2/23/25 11:29 AM, James Knott wrote:
console-blanking was disabled by default the kernel in the 5.x days. You likely just moved to a kernel that now disables it. You can enable it with setterm, e.g. # setterm --blank=4 --powerdown=5 --powersave powerdown where the 4 and 5 are minutes. Adjust to your liking. -- David C. Rankin, J.D.,P.E.

On 2/23/25 5:58 PM, James Knott wrote:
There was a kernel update recently. Perhaps this is what caused it?
How often do I have to use that setterm?
Only once per-boot. You can set it anytime by echoing the number of *seconds* before blanking into: /sys/module/kernel/parameters/consoleblank On servers, I use a systemd service to set it on boot. You can do it manually if you like. The change occurred in June 2018 with whatever kernel Linus released then. I created a package for Arch to restore the default back then: https://aur.archlinux.org/packages/console-blanking $ cat console-blanking.service ## systemd service file to restore default blanking and powerdown for # virtual consoles after a given timeout period (5-min blank, 6-min powerdown) # this functionality was originally provided by the kernel defaults setting # /sys/module/kernel/parameters/consoleblank 600 (now 0-disabled). the # blanking and powerdown were delegated to systemd to implement, but no ## service was ever provided by systemd to accomplish this fundamental task. [Unit] Description=Enable virtual console blanking and poweroff [Service] Type=oneshot Environment=TERM=linux StandardOutput=tty TTYPath=/dev/console ExecStart=/usr/bin/setterm -blank 5 -powerdown 6 [Install] WantedBy=multi-user.target -- David C. Rankin, J.D.,P.E.
participants (4)
-
Carlos E. R.
-
David C. Rankin
-
James Knott
-
Masaru Nomiya