After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 709114 - Screen goes off even playing video
Screen goes off even playing video
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: power
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
3.10.1
: 709630 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-09-30 16:27 UTC by Juan Antonio
Modified: 2013-10-13 17:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
power: Stop X from turning our screen off (1.68 KB, patch)
2013-10-05 20:16 UTC, Bastien Nocera
committed Details | Review

Description Juan Antonio 2013-09-30 16:27:59 UTC
Totem doesn't inhibit blank screen when playing video. thats happens in every new big releases (3.2, 3.4, 3.6 etc ...)
Comment 1 Bastien Nocera 2013-09-30 16:32:14 UTC
It does. Run:
gdbus monitor --session --dest org.gnome.SessionManager --object-path /org/gnome/SessionManager

and attach the output of the command after reproducing the problem.
Comment 2 Florian Scandella 2013-10-05 00:57:12 UTC
i have the same problem after upgrading to 3.10

i don't think the problem is with totem .. the inhibitor gets added, but screen goes blank after a few minutes.

/org/gnome/SessionManager: org.freedesktop.DBus.Properties.PropertiesChanged ('org.gnome.SessionManager', {'InhibitedActions': <uint32 12>}, @as [])
/org/gnome/SessionManager: org.gnome.SessionManager.InhibitorAdded (objectpath '/org/gnome/SessionManager/Inhibitor8',)
Comment 3 Juan Antonio 2013-10-05 06:28:59 UTC
[pushakk@armitage ~]$ gdbus monitor --session --dest org.gnome.SessionManager --object-path /org/gnome/SessionManager
Monitoring signals on object /org/gnome/SessionManager owned by org.gnome.SessionManager
The name org.gnome.SessionManager is owned by :1.2
/org/gnome/SessionManager: org.freedesktop.DBus.Properties.PropertiesChanged ('org.gnome.SessionManager', {'InhibitedActions': <uint32 8>}, @as [])
/org/gnome/SessionManager: org.gnome.SessionManager.InhibitorAdded (objectpath '/org/gnome/SessionManager/Inhibitor3',)
/org/gnome/SessionManager: org.freedesktop.DBus.Properties.PropertiesChanged ('org.gnome.SessionManager', {'InhibitedActions': <uint32 0>}, @as [])
/org/gnome/SessionManager: org.gnome.SessionManager.InhibitorRemoved (objectpath '/org/gnome/SessionManager/Inhibitor3',)
Comment 4 Bastien Nocera 2013-10-05 12:30:50 UTC
(In reply to comment #2)
> i have the same problem after upgrading to 3.10
> 
> i don't think the problem is with totem .. the inhibitor gets added, but screen
> goes blank after a few minutes.
> 
> /org/gnome/SessionManager: org.freedesktop.DBus.Properties.PropertiesChanged
> ('org.gnome.SessionManager', {'InhibitedActions': <uint32 12>}, @as [])
> /org/gnome/SessionManager: org.gnome.SessionManager.InhibitorAdded (objectpath
> '/org/gnome/SessionManager/Inhibitor8',)

You have something running that inhibits suspend?

If the screen goes blank, it means that gnome-settings-daemon doesn't see the inhibitor. What's the output of
/usr/libexec/gnome-settings-daemon --replace --debug
and then reproducing the problem?
Comment 5 Bastien Nocera 2013-10-05 19:28:58 UTC
Actually, does the screen turn off after 10 minutes precisely? And what's the output of "xset q" on your machines?

I have an inkling that I should be angry at someone.
Comment 6 Bastien Nocera 2013-10-05 20:16:15 UTC
Created attachment 256549 [details] [review]
power: Stop X from turning our screen off

The default timeouts for DPMS in Xorg were finally applied after about
10 years:
http://cgit.freedesktop.org/xorg/xserver/commit/?id=6238bd68bd71323f8b4f1808f34dabe2ae447fe3

So work-around that horror.
Comment 7 Florian Scandella 2013-10-05 20:19:05 UTC
10min sounds correct but will time it.

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:  500    repeat rate:  33
  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:  600    cycle:  600
Colors:
  default colormap:  0x20    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  /usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/OTF/,/usr/share/fonts/Type1/,built-ins
DPMS (Energy Star):
  Standby: 600    Suspend: 600    Off: 600
  DPMS is Enabled
  Monitor is On
Comment 8 Florian Scandella 2013-10-05 20:35:16 UTC
ok, it's exactly 10min, and gsd in debug mode shows no output .. last output relating to blanking is:

(gnome-settings-daemon:1362): power-plugin-DEBUG: Received gnome session inhibitor change
(gnome-settings-daemon:1362): power-plugin-DEBUG: inhibited, so using normal state
(gnome-settings-daemon:1362): power-plugin-DEBUG: Doing a state transition: normal
(gnome-settings-daemon:1362): power-plugin-DEBUG: TESTSUITE: Unblanked screen
Comment 9 Bastien Nocera 2013-10-05 20:56:44 UTC
Yeah, because it's X turning off the screen, not gnome-settings-daemon. There was a change in X (see above) that meant that it would now turn off the screens after 10 minutes. The patch to gnome-settings-daemon works around that problem.
Comment 10 Bastien Nocera 2013-10-06 12:28:16 UTC
Attachment 256549 [details] pushed as aef54ea - power: Stop X from turning our screen off
Comment 11 Juan Antonio 2013-10-06 19:20:56 UTC
the energy configuration options  "blank screen when inactive" either "shutdown the screen after ..." do nothing in any case, playing video or not the screen always goes off after ten minutes.

maybe related?
Comment 12 Bastien Nocera 2013-10-08 11:42:59 UTC
*** Bug 709630 has been marked as a duplicate of this bug. ***
Comment 13 Anthony Ruhier 2013-10-13 17:49:16 UTC
(In reply to comment #6)
> Created an attachment (id=256549) [details] [review]
> power: Stop X from turning our screen off
> 
> The default timeouts for DPMS in Xorg were finally applied after about
> 10 years:
> http://cgit.freedesktop.org/xorg/xserver/commit/?id=6238bd68bd71323f8b4f1808f34dabe2ae447fe3
> 
> So work-around that horror.

It perfectly works, thank you !