Page 1 of 1

Screensaver not inhibited (KDE 4.6.5, Arch Linux)

Posted: 21 Jul 2011 23:52
by mahen
Hi everyone !

I'm pretty sure it shouldn't happen, but can't figure out what is wrong.

I use a cutting-edge Arch Linux install (KDE 4.6.5, everything up to date, latest VLC 1.1.11, works like a charm), and noticed that VLC didn't inhibit my screensaver. For instance, Dragon Player does.

It may be completely unrelated or not, but there's something else that doesn't work properly : when I start VLC, I have to wait for about 1 second (SSD drive) before it appears. Sometimes for several of them (non SSD drive). It used to be almost instant. (I don't refer to the first start of the app, but after quitting & relaunching it). Maybe something related to dbus or qt versions.... ? :-)

Cheers ! & THANKS A LOT to the developers, been using VLC forever !

Re: Screensaver not inhibited (KDE 4.6.5, Arch Linux)

Posted: 22 Jul 2011 10:03
by Rémi Denis-Courmont
Is xdg-utils installed? Being slow to start usually means that the plugins cache was not generated properly. If this is the case, it would be a bug in your VLC binary package.

Re: Screensaver not inhibited (KDE 4.6.5, Arch Linux)

Posted: 22 Jul 2011 10:55
by mahen
Thanks for your reply, Rémi,

yes, xdg-utils is definitely installed as well, I checked this beforehand.

I don't know if it helps, but Arch Linux usually makes pretty "vanilla" builds. I remember it occured on an OpenSUSE 11.4 install too, although I double checked from the Live DVD and it didn't trigger the problem (I mean, the slowness bug)

Out of curiosity, what distro to you develop on ?

Cheers !

Re: Screensaver not inhibited (KDE 4.6.5, Arch Linux)

Posted: 22 Jul 2011 11:19
by Rémi Denis-Courmont
Then you can start Konsole and try:

Code: Select all

xdg-screensaver suspend $WINDOWID
to check if it actually works.

Re: Screensaver not inhibited (KDE 4.6.5, Arch Linux)

Posted: 22 Jul 2011 11:36
by mahen
Oh ! You're right, xdg-screensaver doesn't inhibit the screensaver, although it can activate it and although another player managed to inhibit it (Dragon).

I guess we can definitely rule out VLC of the culprits list ?

Re: Screensaver not inhibited (KDE 4.6.5, Arch Linux)

Posted: 22 Jul 2011 12:56
by Rémi Denis-Courmont
Unless you consider relying xdg-utils as a bug in itself.

Re: Screensaver not inhibited (KDE 4.6.5, Arch Linux)

Posted: 23 Jul 2011 11:52
by mahen
Thanks Rémi. Oh BTW, I figured out the VLC launch delay (about 1 sec or more) only occured when the proprietary nvidia drivers were enabled (under both OpenSUSE 11.4 and ArchLinux).