I've noticed on Ubuntu 24.04 this appears to occur due to a mismatch
between how Xorg blanks the screen and the configuration gnome-settings-
daemon applies.
If you go into GSD -> Power -> Screen Blank and set it to "Never", then
go to Privacy & Security -> Blank Screen Delay -> Never, xset q still
reports
Screen Saver: prefer blanking yes, allow exposures: yes, timeout 600
cycle 600.
In other words, changing the configuration in GSD does not actually turn
off the screen saver in Xorg.
However, this issue does not appear to impact Wayland.
I was able to figure this out because my AMD box on Wayland doesn't have
this problem, only my NVidia box on Xorg.
A workaround is setting putting "xset s off" in your .bashrc or .xinitrc, but
that still means that the configuration in GSD won't actually control your
screen blank.
** Also affects: gnome-settings-daemon (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/2002358
Title:
Screen turned off after seconds of inactivity, fixed by xset -dpms;
bug depending on kernel version?
Status in gnome-settings-daemon package in Ubuntu:
New
Status in linux-signed-hwe-5.15 package in Ubuntu:
Confirmed
Bug description:
Now and then I have the problem, that the screen turns off after
seconds of keyboard or mouse inactivity. I think that it changes with
kernel versions but I'm not 100% sure that kernel version is the
cause. The annoying bug is present for some time then it's gone, and
after a while, the problem is back.
Two days ago following packages were installed or updated, since then
the problem is there again:
Install: linux-hwe-5.15-headers-5.15.0-57:amd64 (5.15.0-57.63~20.04.1,
automatic), linux-image-5.15.0-57-generic:amd64 (5.15.0-57.63~20.04.1,
automatic), linux-headers-5.15.0-57-generic:amd64 (5.15.0-57.63~20.04.1,
automatic), linux-modules-extra-5.15.0-57-generic:amd64 (5.15.0-57.63~20.04.1,
automatic), linux-modules-5.15.0-57-generic:amd64 (5.15.0-57.63~20.04.1,
automatic)
Upgrade: linux-headers-generic-hwe-20.04:amd64 (5.15.0.56.62~20.04.22,
5.15.0.57.63~20.04.23), update-manager-core:amd64 (1:20.04.10.10,
1:20.04.10.11), linux-libc-dev:amd64 (5.4.0-135.152, 5.4.0-136.153),
libcurl4:amd64 (7.68.0-1ubuntu2.14, 7.68.0-1ubuntu2.15), libksba8:amd64
(1.3.5-2ubuntu0.20.04.1, 1.3.5-2ubuntu0.20.04.2), update-manager:amd64
(1:20.04.10.10, 1:20.04.10.11), linux-image-generic-hwe-20.04:amd64
(5.15.0.56.62~20.04.22, 5.15.0.57.63~20.04.23), gir1.2-nautilus-3.0:amd64
(1:3.36.3-0ubuntu1.20.04.1, 1:3.36.3-0ubuntu1.20.04.2),
linux-generic-hwe-20.04:amd64 (5.15.0.56.62~20.04.22, 5.15.0.57.63~20.04.23),
libfabric1:amd64 (1.6.2-3, 1.6.2-3ubuntu0.1), nautilus:amd64
(1:3.36.3-0ubuntu1.20.04.1, 1:3.36.3-0ubuntu1.20.04.2),
libnautilus-extension1a:amd64 (1:3.36.3-0ubuntu1.20.04.1,
1:3.36.3-0ubuntu1.20.04.2), python3-update-manager:amd64 (1:20.04.10.10,
1:20.04.10.11), nautilus-data:amd64 (1:3.36.3-0ubuntu1.20.04.1,
1:3.36.3-0ubuntu1.20.04.2), curl:amd64 (7.68.0-1ubuntu2.14,
7.68.0-1ubuntu2.15), libcurl3-gnutls:amd64 (7.68.0-1ubuntu2.14,
7.68.0-1ubuntu2.15)
Today I figured out that
xset -dpms
solves the problem but
xset s off
does not.
In gnome-control-center -> Power I have the following settings:
Power Saving: Blank Screen -> 15 minutes ( Selecting Never doesn't
change anything.)
Suspend & Power Button:
Automatic Suspend: On, Delay 15 minutes
Power Button Action: Power off
I'm using
Description: Ubuntu 20.04.5 LTS
Release: 20.04
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.15.0-57-generic 5.15.0-57.63~20.04.1
ProcVersionSignature: Ubuntu 5.15.0-57.63~20.04.1-generic 5.15.74
Uname: Linux 5.15.0-57-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.25
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Mon Jan 9 22:47:36 2023
InstallationDate: Installed on 2022-01-01 (372 days ago)
InstallationMedia: Ubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819)
SourcePackage: linux-signed-hwe-5.15
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/2002358/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp