mplayer-nogui does not disable screensaver while playing

Bug #439787 reported by Daniel LaGesse
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
mplayer (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: mplayer-nogui

Not sure if this exists in the gui version as well. When you start playing something with mplayer, it no longer disables the screensaver.

In previous versions, it printed a little message like "Disabling screensaver" before playing. Now, it doesn't, and fades to screensaver while playing.

ProblemType: Bug
Architecture: amd64
Date: Wed Sep 30 22:59:38 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: mplayer-nogui 2:1.0~rc3+svn20090426-1ubuntu7
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-10.34-generic
SourcePackage: mplayer
Uname: Linux 2.6.31-10-generic x86_64

Related branches

Revision history for this message
Daniel LaGesse (dlagesse1992) wrote :
Revision history for this message
Reinhard Tartler (siretart) wrote : Re: [Bug 439787] [NEW] mplayer-nogui does not disable screensaver while playing

Daniel LaGesse <email address hidden> writes:

> Public bug reported:
>
> Binary package hint: mplayer-nogui
>
> Not sure if this exists in the gui version as well. When you start
> playing something with mplayer, it no longer disables the screensaver.
>
> In previous versions, it printed a little message like "Disabling
> screensaver" before playing. Now, it doesn't, and fades to screensaver
> while playing.
>
> ProblemType: Bug
> Architecture: amd64
> Date: Wed Sep 30 22:59:38 2009
> DistroRelease: Ubuntu 9.10
> NonfreeKernelModules: nvidia
> Package: mplayer-nogui 2:1.0~rc3+svn20090426-1ubuntu7
> ProcEnviron:
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.31-10.34-generic
> SourcePackage: mplayer
> Uname: Linux 2.6.31-10-generic x86_64
>
> ** Affects: mplayer (Ubuntu)
> Importance: Undecided
> Status: New

Is this in fullscreen mode or in window mode? If in window mode, you
need to keep the cursor inside of the window.

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

Revision history for this message
Reinhard Tartler (siretart) wrote :

A Mennucc <email address hidden> writes:

> you also need -stop-xscreensaver , or set it in a config file

perhaps we can change the patch so that it is enabled by default? I
really think that this makes sense for a distribution package.

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

Revision history for this message
Daniel LaGesse (dlagesse1992) wrote :

Fullscreen mode. Thanks for the tip about the -stop-xscreensaver switch. I thought one may exist, but didn't feel like searching through mplayer's 12-foot manpage.

Default would definitely be better, if nothing else just to match older releases.

Revision history for this message
Reinhard Tartler (siretart) wrote : Re: [Bug 439787] Re: mplayer-nogui does not disable screensaver while playing

Daniel LaGesse <email address hidden> writes:

> Fullscreen mode. Thanks for the tip about the -stop-xscreensaver switch.
> I thought one may exist, but didn't feel like searching through
> mplayer's 12-foot manpage.

does it work for you after all?

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

Revision history for this message
Daniel LaGesse (dlagesse1992) wrote :

No, that switch does not work. I tried in absence of all other switches, with others, in fullscreen, and windowed.

It is a correct switch, but it looks like this is more than a default config issue.

Changed in mplayer (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mplayer - 2:1.0~rc3+svn20090426-1ubuntu9

---------------
mplayer (2:1.0~rc3+svn20090426-1ubuntu9) karmic; urgency=low

  [ Julien Lavergne ]
  * Renable xvid support by removing --disable-xvid in debian/rules.

  [ Reinhard Tartler ]
  * Also enable mp3lame support (at least for now) LP: #386449
  * don't override the mplayer built-in defaults for the vo module LP: #446040
  * verified that mennuc's screensaver patch is enabled and works in the default
    configuration. LP: #439787

 -- Reinhard Tartler <email address hidden> Thu, 08 Oct 2009 09:23:29 +0200

Changed in mplayer (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Robert Hrovat (robi-hipnos) wrote :

Not good. In Karmic, since last week updates, Mplayer can't disable screensaver!

Revision history for this message
zetero (zetero) wrote :

Karmic fully updated, Mplayer can't disable screensaver too.

:(

Revision history for this message
madmax1735 (rebel1735) wrote :

yes in karmic it doesnt disable screensaver
also it refuses to play video in fullscreen.

Revision history for this message
Daniel LaGesse (dlagesse1992) wrote :

@10 not sure that is the same bug. Fullscreen works fine here. Just can't disable screensaver.

Revision history for this message
apinunt (apinunt) wrote :

I can't disable the screensaver in Mplayer or VLC. There appears to be a separate bug report on VLC that gave me the impression the problem only affected VLC, but in my case the problem did not exist in either player under 9.04 and does on both my PC's now upgraded to 9.10 affecting both VLC and Mplayer.
I hate to say it, but each Ubuntu upgrade seems to not only accumulate some new bugs but also retains a growing number of old bugs, some of which I find complaints existing since Ubuntu version 6. Personally, I would prefer to see a reduction in the number of bugs rather than an increase in the number of features, most of which do nothing to improve the use of my system.

Revision history for this message
Vlad Novak (vnovak06) wrote :

Cannot disable screensaver in SMPlayer since last update, too.

First, I had this problem about mouse pointer popping up every 8-10 seconds in fullscreen if 'Disable screensaver' was checked (but screensaver was disabled), and now the option (set from GUI) doesn't work at all).

Pretty annoying thing, given that in 9.04 it all worked just fine.

Revision history for this message
Chow Loong Jin (hyperair) wrote :

I'm reopening this bug and confirming, as a few other people (previous comments) and I have noticed this issue in both the GUI and non-GUI versions of mplayer. It's particularly annoying with gnome-screensaver because for some reason, it does not recognize any input from the keyboard/mouse while fading in while mplayer is running. It works properly otherwise.

Changed in mplayer (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Reinhard Tartler (siretart) wrote :

On Mi, Jan 06, 2010 at 11:51:44 (CET), Chow Loong Jin wrote:

> I'm reopening this bug and confirming,

please attach apport data then.

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

Changed in mplayer (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
yarly (ih8junkmai1) wrote :

Reinhard can you explain in detail what you require to troubleshoot this bug?
Thanks

Gnome-screensaver activates after several minutes during video playback in Mplayer.
Stop XScreenSaver is checked in Mplayer preferences.

Bug encountered on:
-------------------------------------------------------------------------------------
Ubuntu 9.10 Karmic Koala amd64

Ubuntu repository packages
mplayer_1.0~rc3+svn20090426-1ubuntu10.1_amd64.deb
gnome-screensaver_2.28.0-0ubuntu3.2_amd64.deb

Revision history for this message
Daniel LaGesse (dlagesse1992) wrote :

Is this the same bug as 428884? It seems similar, but I haven't had a chance to test whether the recently released fix helps. Anyone seeing improvement?

https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/428884

Revision history for this message
Reinhard Tartler (siretart) wrote :

On Fr, Jan 08, 2010 at 22:47:03 (CET), yarly wrote:

> Reinhard can you explain in detail what you require to troubleshoot
> this bug?

close this one and file a new one with ubuntu-bug, that will attach
various kinds ofinformation about your system, include exact package
version and architecture.

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

Revision history for this message
Reinhard Tartler (siretart) wrote :

On Sa, Jan 09, 2010 at 06:43:35 (CET), Daniel LaGesse wrote:

> Is this the same bug as 428884?

No, that bug is about gnome-screensaver-command --poke being broken. our
patch to mplayer (which was rejected upstream, BTW) simulates keypresses
on its own.

upstream mplayer just doesn't disable gnome-screensaver *AT ALL*.

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

Revision history for this message
Reinhard Tartler (siretart) wrote :

setting this bug back to fixreleased, people that experience that the patch doesn't work please refer to bug #505149

Changed in mplayer (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
jetole (jetole) wrote :

I don't follow where anything in bug #505149 is worth looking at other then it's the same problem affecting mplayer-gui. I'm glad that someone mentioned bug #428884 since I was wondering why heartbeat-cmd wasn't working. I wanted to clarify something here. stop-xscreensaver has nothing to do with gnome-screensaver. gnome-screensaver and xscreensaver are different packages with different methods of disabling them. As far as Ubuntu is concerned, xscreensaver is long deprecated. As per gnome-screensaver in this particular case, using the most recent update of all packages (including mplayer-nogui in my case), I don't see mplayer saying that it is disabling screensavers as it did in previous versions of ubuntu (8.10 previously on this computer and 9.04 on my workstation at work). mplayer would, by default, attempt to stop xscreensaver and gnome-screensaver (separately since they are not combined) and would say so on the console window when you run it, Also I think it's worth noting that mplayer does not have the ability to disable gnome-screensaver natively and instead has relied on a patch.

http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070715/67c23cbf/attachment.obj

For what it's worth, since this problem is old and no one has fixed it at this point. I would suggest to everyone else to get the mplayer svn, patch with the link I just pasted and compile that. I would uninstall mplayer-gui first however you don't have to since /usr/local/bin takes precedence in the default bash PATH variable over /usr/bin and /bin

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.