VLC 1.1.0-git starts screensaver after video playback stops

*nix specific usage questions
adee
New Cone
New Cone
Posts: 2
Joined: 10 Jan 2010 13:34

VLC 1.1.0-git starts screensaver after video playback stops

Postby adee » 10 Jan 2010 13:39

it starts screensaver after video playback stops in KDE 4.4 RC1. I've found no setting that has any effect on it. Anyone else has anything like this?

Rémi Denis-Courmont
Developer
Developer
Posts: 15287
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC 1.1.0-git starts screensaver after video playback stops

Postby Rémi Denis-Courmont » 10 Jan 2010 15:00

VLC stops inhibiting the screensaver, which is not the same as enabling it.

I guess it's a matter of interpretation from the screensaver side whether "resuming" resets the screensaver timeout or not. But I suspect the KDE interpretation is wrong, or perhaps xdg-screensaver is not using the KDE screensaver interface correctly.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

moviemaniac
Blank Cone
Blank Cone
Posts: 19
Joined: 10 May 2009 10:19
Operating System: Linux
Location: Austria
Contact:

Re: VLC 1.1.0-git starts screensaver after video playback stops

Postby moviemaniac » 11 Jan 2010 23:47

I too experience screensaver issues on Ubuntu 9.10 with todays nightly (it's the first of the 1.10-branch I've tried): VLC doesn't seem to inhibit the screensaver whereas 1.0.4 works as it should. Any ideas? I know it could be nothing being a product of ongoing development but I wanted to mention it nonetheless.
Greetings from Austria!

Image

Rémi Denis-Courmont
Developer
Developer
Posts: 15287
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC 1.1.0-git starts screensaver after video playback stops

Postby Rémi Denis-Courmont » 12 Jan 2010 17:31

Sounds like you did not install xdg-screensaver.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

moviemaniac
Blank Cone
Blank Cone
Posts: 19
Joined: 10 May 2009 10:19
Operating System: Linux
Location: Austria
Contact:

Re: VLC 1.1.0-git starts screensaver after video playback stops

Postby moviemaniac » 12 Jan 2010 18:30

xdg-screensaver (part of xdg-utils in Ubuntu 9.10) is installed (ver. 1.0.2-6.1). I don't seem to be able to find a corresponding -dev package, though - but I didn't get any errors regarding XDG during ./configure so I don't think that matters.
Greetings from Austria!

Image

Rémi Denis-Courmont
Developer
Developer
Posts: 15287
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC 1.1.0-git starts screensaver after video playback stops

Postby Rémi Denis-Courmont » 12 Jan 2010 21:05

Then either xdg-screensaver is buggy, or GNOME is. (I'd bet on the latter looking at Launchpad bug reports)
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

adee
New Cone
New Cone
Posts: 2
Joined: 10 Jan 2010 13:34

Re: VLC 1.1.0-git starts screensaver after video playback stops

Postby adee » 13 Jan 2010 22:18

VLC stops inhibiting the screensaver, which is not the same as enabling it.
No, VLC is inhibiting the screensaver as long as the video plays, no matter how long it is. I can watch a 2 hour long movie without problems. But when it stops (either because EOF or manual stop) the screensaver starts. This is independent from the length of the video, if it ends after 5 secs the screensaver will start despite that my timeout is set to 10 minutes. It's probably an xdg-utils or vlc issue as far as I can tell. I wouldn't think that both GNOME and KDE4.4 implementation could be wrong.

Rémi Denis-Courmont
Developer
Developer
Posts: 15287
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC 1.1.0-git starts screensaver after video playback stops

Postby Rémi Denis-Courmont » 14 Jan 2010 17:30

That sounds like a bug in xdg-screensaver then
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

JPeg
New Cone
New Cone
Posts: 9
Joined: 01 Nov 2007 23:25

Re: VLC 1.1.0-git starts screensaver after video playback stops

Postby JPeg » 21 Jan 2010 14:23

That sounds like a bug in xdg-screensaver then
That's right, this is a bug in xdg-screensaver, see http://bugs.freedesktop.org/show_bug.cgi?id=26085.
The bug is fixed in the CVS of xdg-utils.

Still, it looks like I can't inhibit the screensaver with xdg-screensaver on my KDE box (see the above bug report).

heaven87
Blank Cone
Blank Cone
Posts: 41
Joined: 14 Feb 2010 16:35
Operating System: Linux
Contact:

Re: VLC 1.1.0-git starts screensaver after video playback stops

Postby heaven87 » 14 Feb 2010 16:43

Before running xdg-screensaver you should be check — need do it or not? For example, I added this command in to autorun "xset dpms 0 0 0 s noblank s noexpose s 0 0", so my screen saver is completely disabled, and there is no need to run stoppers.

P.S. To solve this problem, I had to run "sudo chmod -x /usr/bin/xdg-screensaver" :)


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 19 guests