Closed GoogleCodeExporter closed 8 years ago
Did you build the code yourself? If so can you post the config.h file from the
build? I want to see what options are enabled.
Also are you running DBUS? If not that could be the reason for the hanging.
Original comment by kdeko...@gmail.com
on 8 Dec 2012 at 2:28
Before running gnome-mplayer you can try setting one of these environment
variables and seeing if that solves it.
GM_DISABLE_ORG_GNOME_SCREENSAVER
GM_DISABLE_ORG_GNOME_SESSIONMANAGER
GM_DISABLE_ORG_FREEDESKTOP_SCREENSAVER
GM_DISABLE_XDG_SCREENSAVER
GM_DISABLE_XSCREENSAVERSUSPEND
Each one of those variables disables one of the screen saver backends
Running with the --reallyverbose option may also tell you which screen saver it
is hanging on. or setting the following variable before runnig gnome-mplayer
with give you lots of debug information: G_MESSAGES_DEBUG=GMLIB
Original comment by kdeko...@gmail.com
on 8 Dec 2012 at 2:38
I'm running openbox + dbus + gnome-screensaver. The problem is resolved after
setting GM_DISABLE_XDG_SCREENSAVER env. I also tried a pure Gnome desktop
session - everything is fine.
My guess is gnome mplayer is confused with the combination of openbox +
gnome-screensaver and freezes when trying to disable xdg-screensaver instead.
Dbus is started in .xinitrc:
exec ck-launch-session dbus-launch --sh-syntax --exit-with-session
openbox-session
and gnome-mplayer is working fine with dbus according to debug messages in the
attached file. Gnome-screensaver is started in openbox autostart scripts.
There is always a zombie xdg-screensaver process when gnome-mplayer freezes.
I'm using the built package of Arch Linux. I don't know what building options
were used.
Original comment by pinglipi...@gmail.com
on 9 Dec 2012 at 3:50
Closing issue as you found a workaround. It appears the xdg-screensaver is
hanging which causes gnome-mplayer to hang.
Original comment by kdeko...@gmail.com
on 10 Dec 2012 at 1:22
I don't know why, but it seems like xdg-screensaver is started automatically by
gnome-mplayer which causes the freezing.
Best if workarounds can be added to codes.
Original comment by pinglipi...@gmail.com
on 10 Dec 2012 at 4:22
What is happening is that gnome-mplayer is trying several methods of disabling
the screen saver, and they are failing. So it keeps trying them, and
xdg-screensaver is actually started and then it hangs. So for your setup the
proper thing to do is to set GM_DISABLE_XDG_SCREENSAVER in your .bashrc and
that is the fix.
Are there any error messages that are emitted by xdg-screensaver?
Original comment by kdeko...@gmail.com
on 10 Dec 2012 at 1:44
I couldn't find any error messages from system logs.
Is there anything I can do to find out why gnome mplayer hangs with
xdg-screensaver? Hope this may help find out a solution.
Original comment by pinglipi...@gmail.com
on 13 Dec 2012 at 7:28
Can you post the output from gnome-mplayer? I may see something in that log.
Original comment by kdeko...@gmail.com
on 13 Dec 2012 at 1:21
Yes I have attached the debug logs of gnome-mplayer in the 1st post.
Original comment by pinglipi...@gmail.com
on 13 Dec 2012 at 2:19
I was hoping to see a log with the debug messages. Run gnome-mplayer with the
--reallyverbose option
Original comment by kdeko...@gmail.com
on 13 Dec 2012 at 2:25
Forgot to mention: both UI of gnome-mplayer freezes and there is no video
display. However no problem with audio.
I tried to play another mkv file with --reallyverbose option and attached the
output. It still stopped working but with an error message box: cannot open
.mplayer/config file.
The debug messages in the 1st post were produced with "Verbose Debug Enabled"
in the Preferences screen.
Hope these help.
Original comment by pinglipi...@gmail.com
on 13 Dec 2012 at 2:57
Attachments:
That didn't have the message I was looking for, how about the output of
gnome-mplayer when G_MESSAGES_DEBUG is set
Also does xdg_screensaver hang on the command line?
Original comment by kdeko...@gmail.com
on 13 Dec 2012 at 3:06
Original issue reported on code.google.com by
pinglipi...@gmail.com
on 8 Dec 2012 at 5:28Attachments: