Screensaver not inhibited (KDE 4.6.5, Arch Linux)

*nix specific usage questions
mahen
New Cone
New Cone
Posts: 6
Joined: 19 May 2007 11:08
VLC version: Latest stable
Operating System: Arch Linux
Location: Fr

Screensaver not inhibited (KDE 4.6.5, Arch Linux)

Postby mahen » 21 Jul 2011 23:52

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 !

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

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

Postby Rémi Denis-Courmont » 22 Jul 2011 10:03

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

mahen
New Cone
New Cone
Posts: 6
Joined: 19 May 2007 11:08
VLC version: Latest stable
Operating System: Arch Linux
Location: Fr

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

Postby mahen » 22 Jul 2011 10:55

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 !

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

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

Postby Rémi Denis-Courmont » 22 Jul 2011 11:19

Then you can start Konsole and try:

Code: Select all

xdg-screensaver suspend $WINDOWID
to check if it actually works.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

mahen
New Cone
New Cone
Posts: 6
Joined: 19 May 2007 11:08
VLC version: Latest stable
Operating System: Arch Linux
Location: Fr

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

Postby mahen » 22 Jul 2011 11:36

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 ?

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

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

Postby Rémi Denis-Courmont » 22 Jul 2011 12:56

Unless you consider relying xdg-utils as a bug in itself.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

mahen
New Cone
New Cone
Posts: 6
Joined: 19 May 2007 11:08
VLC version: Latest stable
Operating System: Arch Linux
Location: Fr

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

Postby mahen » 23 Jul 2011 11:52

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).


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

Who is online

Users browsing this forum: No registered users and 10 guests