linuxmint / cinnamon-settings-daemon

The settings daemon for the Cinnamon desktop
GNU General Public License v2.0
57 stars 58 forks source link

Display does not turn off after set time(10 minutes) after using machine for some time(in the beggining it turns off). #261

Open bobe84 opened 5 years ago

bobe84 commented 5 years ago
 * csd version ('dpkg --list | grep cinnamon-settings-daemon' in Mint/Ubuntu)
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...)
 * Graphics hardware *and* driver used
 * 32 or 64 bit
ii  cinnamon-settings-daemon                   4.2.2+tina                                   amd64        daemon 

Distro is 19.2 beta Linux mint. BUT same was with 19.1 Linux Mint
hardware is gigabyte ab450m ds3h + ryzen 2400g (opensource amdgpu)

Using latest kernel 5.2.3 + latest firmware from git for (amd amducode and amdgpu) + xorg_hwe (no matter if i use stock or latest kernel and microcodes)

64bit architecture.

Issue After more couple of hours of using linux mint 19.2(or 19.1), multiple suspend/resumes display stays on without going to standby after set amount of inactivity (10 minutes)

When booted fresh it works.

Steps to reproduce Use machine for 1 day without rebooting, only standy/resume. This is 100% reproducable all the time, after some time of using machine it just stops turning off the display.

Expected behaviour Display/monitor should turn off after specified amount of time.

Other information

from .xsession_errors (csd-power:20547): power-plugin-WARNING **: 16:59:33.319: failed to turn the panel off: Could not change DPMS mode

(csd-power:20547): power-plugin-WARNING **: 17:35:47.650: failed to turn the panel on: Could not change DPMS mode

xset -q : DPMS (Energy Star): Standby: 0 Suspend: 0 Off: 0 DPMS is Enabled Monitor is On

bobe84 commented 5 years ago

If i do xset dpms force off, display is turned off. This bug i have been having for long period of time, probably 6 months +

icarter09 commented 4 years ago

@bobe84 are you still experiencing this issue?

pvnovarese commented 4 years ago

I am seeing this issue as well, though I'm using cinnamon on Fedora 32.

some system info:

pvn@gyarados /home/pvn> lspci | grep VGA
02:00.0 VGA compatible controller: NVIDIA Corporation G96CGL [Quadro FX 580] (rev a1)

pvn@gyarados /home/pvn> rpm -qa | grep cinnamon
imsettings-cinnamon-1.8.2-1.fc32.x86_64
cinnamon-session-4.6.1-1.fc32.x86_64
cinnamon-control-center-4.6.1-1.fc32.x86_64
cinnamon-desktop-4.6.2-1.fc32.x86_64
cinnamon-settings-daemon-4.6.4-1.fc32.x86_64
slick-greeter-cinnamon-1.4.0-1.fc32.noarch
cinnamon-menus-4.6.0-1.fc32.x86_64
cinnamon-control-center-filesystem-4.6.1-1.fc32.x86_64
cinnamon-4.6.5-1.fc32.x86_64
cinnamon-applet-blueberry-1.3.3-3.fc32.noarch
cinnamon-screensaver-4.6.0-1.fc32.x86_64
cinnamon-translations-4.6.1-1.fc32.noarch
cinnamon-themes-1.8.6-1.fc32.noarch

Something seems to be periodically disabling DPMS.

pvn@gyarados /home/pvn> xset -q | grep -A 3 DPMS
DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 0
  DPMS is Disabled

pvn@gyarados /home/pvn> xset dpms force on

pvn@gyarados /home/pvn> xset -q | grep -A 3 DPMS
DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 0
  DPMS is Enabled
  Monitor is On

then I check back later and it's off (within five minutes or so).

I will be poking at this and will report back if I find anything.

pvnovarese commented 4 years ago

just upgraded to cinnamon-settings-daemon-4.6.4-1.fc32.x86_64 and whatever was causing DPMS to become disabled periodically has stopped.

janpfeifer commented 3 years ago

Same (screen not being turned off) happens in my Ubuntu 21.04:

$ dpkg --list | grep cinnamon-settings-daemon
ii  cinnamon-settings-daemon                                    4.8.5-1                                                              amd64        daemon handling the Cinnamon session settings

But I haven't perceived any DPMS flipping (by polling xset -q every few seconds).