GNOME Bugzilla – Bug 709114
Screen goes off even playing video
Last modified: 2013-10-13 17:49:16 UTC
Totem doesn't inhibit blank screen when playing video. thats happens in every new big releases (3.2, 3.4, 3.6 etc ...)
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.
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',)
[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',)
(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?
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.
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.
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
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
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.
Attachment 256549 [details] pushed as aef54ea - power: Stop X from turning our screen off
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?
*** Bug 709630 has been marked as a duplicate of this bug. ***
(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 !