screen turns off after 20 minutes even when playing in fullscreen

Bug #97251 reported by Michael R. Head
40
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-screensaver (Ubuntu)
Fix Released
Low
Unassigned
totem (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: totem

This is new in feisty.

When I watch videos in full screen, I usually stop using the mouse. When I do this, I find that the screen blanks after just about exactly 20 minutes.

I posted this to ubuntu-users a couple weeks ago:
Hi, I have two machines running feisty that I like to watch DVDs and
videos on. Unfortunately, there's a feisty regression that's affecting
me that causes the display to shut off after about 20 minutes exactly. I
have screensaver and power management turned off, and I'm using totem,
which should be squelching that anyway. I imagine it's either a problem
with the opensource radeon driver, or some ACPI Xorg setting that
gnome-power-manager isn't controlling.

Revision history for this message
Michael R. Head (burner) wrote :

After a little fiddling, I've discovered that gnome-screensaver is turning the screen off. This is despite the fact that totem is running in full screen, and despite the fact that the screensaver has been disabled ("Regard the computer as idle after: is set to "2 hours" , and "Activate screensaver when computer is idle" is unchecked.

Also, in gnome-power-manager, "Put display to sleep when inactive for:" is set to never.

I've determined this by running a video for 20 minutes without touching the mouse and noticing that the monitor goes to sleep kicks in.
I then ran "killall gnome-screensaver" and ran the video again. This time the monitor did not turn off.

Revision history for this message
Michael R. Head (burner) wrote :

A workaround seems to be to running the following two commands:
gconftool-2 -s -t boolean /apps/gnome_settings_daemon/screensaver/start_screensaver false
killall gnome-screensaver

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. Do you use totem-gstreamer or totem-xine? Could you run dbus-monitor and note if there is any signal received when totem is switched to fullscreen mode then?

Changed in totem:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: Unconfirmed → Needs Info
Revision history for this message
Michael R. Head (burner) wrote :

totem-gstreamer 2.18.0-0ubuntu2

I'll collect the dbus data shortly.

Revision history for this message
Michael R. Head (burner) wrote :

I ran dbus-monitor and logged its output. I then ran totem and instructed it to go full screen, then normal, then back and forth.

Revision history for this message
Sebastien Bacher (seb128) wrote :

"method call sender=:1.43 -> dest=:1.40 path=/org/gnome/ScreenSaver; interface=org.gnome.ScreenSaver; member=Inhibit
   string "Totem"
   string "Playing a movie""

totem does its job, looks like a gnome-screensaver bug then

Changed in totem:
status: Needs Info → Rejected
Toma (tomhaste)
Changed in gnome-screensaver:
status: Unconfirmed → Confirmed
Revision history for this message
bwallum (rbw2) wrote :

It's back!

Compiz set to 'none'. Fully updated 7.10. Screensaver set to 1 minute (I'm testing) with random visual.

Playing dvd with latest VLC player. 'Disable Screensaver' check box ticked.

After 10 minutes (exactly - measured) the screen goes blank. Can be repeated at every attempt.

The good news is I can turn Compiz 'Visual Effects' to 'Extra' and get the same effect.

Revision history for this message
tad.mcdearmont (tad-mcdearmont) wrote :

I had this problem as well in Gutsy. I am running with an ATI Radeon X200 mobile chipset. I recently hosed my system and needed to reinstall. I installed the proprietary drivers from the restricted drivers manager but I have NOT enabled desktop effects again.... NOW the problem is NON-Existent I believe that the screensaver/power settings are being turned off by Compiz or are otherwise being disturbed in some form or way. I am sorry that I can't give any more info but it has to be the effects or a combination of the driver/effects. hopefully this will help the devs...

Changed in gnome-screensaver:
importance: Undecided → Low
Revision history for this message
bwallum (rbw2) wrote :

This problem does not exist in Hardy Heron beta

Revision history for this message
erichgamba (erichgamba) wrote :

I got kubuntu 8.04 installed and get the same problem. First the screen-saver starts. If I disable the screen-saver then after 20 min. the screen turns off. I'm running Totem Movie Player 2.22.1. using xine-lib version 1.1.11.1.
If I run kaffeine I don't have this problem.

Revision history for this message
Fulike (fulike) wrote :

I'm playing '"mkv" movie with Totem 2.24.3 (Gstreamer 0.10.21, Ubuntu Intrepid 8.10). About for 20 minutes the movie hang up, but if I click the timeline the movie continues. Another problem. the "mkv" movie discursive when heavy movement.

Revision history for this message
Felipe Mellado U. (famellad) wrote :

as a more permanent workaround, one could rename /usr/bin/totem and place a script in its place, that disables the screensaver when totem is run.. such as the following (it's really simple, i'm sure there's a better way):

#!/bin/bash
# Assuming totem was renamed totem1, waits for gnome-screensaver to be killed, opens totem and waits for exit, then it runs the screensaver again
killall gnome-screensaver && totem1 $@ ; gnome-screensaver

Revision history for this message
Hadrien Dussuel (dbkblk) wrote :

Hi,
i just installed ubuntu of my girlfriend's pc, because i try to convince her to use it (she has xp...).
The problem is that pc go to sleep while she is watching fullscreen flash videos.

I remember that i had this problem a long time ago on ubuntu (on my pc) and i think this is more than a "low" issue.
After a search on internet, i didn't found any other fix than running a command or clicking on an applet to inhibit the screensaver EACH TIME i want to see a fullscreen video.

I don't want to be rude but ubuntu want to be a perfect linux desktop and this bug is really annoying for non-geek people.
Ubuntu has to be capable on running fullscreen videos / flash videos without disturbing the user. I mean, it need to be automatic because the argument "On windows, i can watch my videos quietly" is stronger than anything else.

BTW, her pc is running an up-to-date maverick. Do i need to report something ?

Revision history for this message
Mark Baas (mark-baas123) wrote :

Either way i dont think you need to write the whole story like this in a bug report. Who cares what your girlfriend says, if she wants to go back to windows, let her.

There is a workaround, little applet called caffeine. It can automatically disable power saving features when watching a video, flash, etc. Try it.

Revision history for this message
Hadrien Dussuel (dbkblk) wrote :

Yes, you're right. I already knew the workaround.
Anyway, do you think this workaround sound anything like a solution ? i mean, this is a serious bug. New users do really need to seek for this workaround before to appreciate viewing fullscreen videos ?
This is a common task, like surfing with firefox or chatting with empathy.
I hope you'll fix it one day.

Revision history for this message
Mark Baas (mark-baas123) wrote :

right, I also used to have this bug, but now I cannot reproduce it.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Totem should correctly disable gnome-screensaver in current releases of Ubuntu. I am closing this bug.

Please feel free to open a new bug if this issue can be reproduced with a current version of Ubuntu.

Changed in gnome-screensaver (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Julien Olivier (julo) wrote :

The bug seems to be back in GNOME 3, with no way to disable the screen saver.

Revision history for this message
Christian Dysthe (christian-dysthe) wrote :

I'm having this problem on LMDE, but only when I run without compiz. When I use compiz the screen stays on and turns off like ti should.

Revision history for this message
GreyGeek (greygeek77) wrote :

I am running Kubuntu Precise beta 64bit with the 3.2.0-22 generic kernel on an Acer 7739-6830 which uses an Intel HD3000 graphics chip. I do not have screen saver activated, and powersave is off. I do not use sleep or hibernation, but both are set to power down this laptop. Regardless of what I am doing or what app is open, if any, after about 5 minutes of no mouse movement the screen goes black.

I've tried "seterm" and "xset" to no avail.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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