Screen turned off after seconds of inactivity, fixed by xset -dpms; bug depending on kernel version?

Bug #2002358 reported by J-K
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux-signed-hwe-5.15 (Ubuntu)
Confirmed
Undecided
Unassigned

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)

Revision history for this message
J-K (johannes-out-of-the-forest) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-signed-hwe-5.15 (Ubuntu):
status: New → Confirmed
Revision history for this message
Timur Tabi (timur-tabi) wrote (last edit ):

I have the same problem, but with Ubuntu 22. Using xset does resolve the issue, but then the problem is that when my computer does go to sleep, the monitor does not power down -- the screen is just blank but still powered.

$ uname -a
Linux ubuntu 5.19.0-35-generic #36~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 17 15:17:25 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Munch (graystripe) wrote :

This just started happening to me on Ubuntu 23.04 after updating openssh-client to amd64 1:9.0p1-1ubuntu8.5 for some reason.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.