LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   gnome-mplayer and vlc dbus error wont play video (https://www.linuxquestions.org/questions/gentoo-87/gnome-mplayer-and-vlc-dbus-error-wont-play-video-947147/)

fogpipe 05-27-2012 03:49 PM

gnome-mplayer and vlc dbus error wont play video
 
This happened suddenly about 10 packages into the emerge of kde-meta both gnome-mplayer and vlc were working fine before that. The reason i know the specific point that it happend is that i restarted vlc after changing its output module. This is not vlc specific, any video player gives the same message, here is the error:


Code:

vlc <sometitlehere>.avi
VLC media player 1.1.13 The Luggage (revision exported)
Warning: call to srand(1338150302)
Warning: call to rand()
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x604150] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Blocked: call to setlocale(6, "")
Warning: call to srand(1338150302)
Warning: call to rand()
Warning: call to srand(1338150302)
Warning: call to rand()
Warning: call to srand(1338150302)
Warning: call to rand()
Warning: call to srand(1338150302)
Warning: call to rand()
Blocked: call to setlocale(6, "")
Illegal instruction


This is the error from gnome-mplayer:

Code:

gnome-mplayer -v <sometitlehere>.avi
GNOME MPlayer v1.0.5
gmtk v1.0.5
Running with GIO support
Using audio device:
Illegal instruction


alsaplayer works fine, im currently listening to some music. My user belongs to both the audio and video groups and video plays fine when booted to another linux and using the same home directory.
UPDATE: same thing trying to play .flv files
Thanks

EDIT: about the same time the underscore character "_" dissapeared from my terminal font. Not sure if thats related. The underscore character does appear in directory listings but not in what i type at a prompt.

fogpipe 05-27-2012 07:36 PM

Ok so as near as i can tell, what happened was that polkit-kde made some changes to the dbus config. This may have been due to my stepping on one of the many figurative land mines in the USE flag wilderness. No need to reply to the above post and if mods want to delete it, go ahead. Im done with gentoo so its irrelevant to me now anyway.

i92guboj 05-28-2012 03:06 AM

In case you still care, an "Illegal instruction" error is nothing related to what you think.

It's a much lower-level error, which basically means you are trying to run an instruction that your cpu doesn't support. This can be triggered by binaries coming from external repositories that have been compiled for another cpu (even a slightly different one).

In Gentoo, these can appear also because you have set your CFLAGS above what your cpu can run, or because you enabled some optimization via an USE flag, which can be done specially for media players like vlc or mplayer.

A common failure is to enable USE=sse when your cpu doesn't support it, or 3dnow or mmx (well, mmx shouldn't be a problem nowadays...). A more common error is to confuse the ssse3 extension with the regular sse3 one (there's an USE to set that on the mplayer ebuild).

fogpipe 05-29-2012 01:48 AM

it turned out to be an interface construction error. clvc worked fine, as did command line mplayer. I installed kde and it repeatedly crashed with dbus errors. Fluxbox rox and alot of other stuff worked ok and the above error appeared when kde was emerging. i didnt change the use flags, vlc just lost the ability to present a gui during the kde emerge. At the same time the console font lost the "_" character. I was a loyal gentoo user up until about 2006 or so but imo its current incarnation is a mess. It reminds of nothing so much as "dll hell" from the windows 95 days. Thanks for the input anyway, but i no longer have a gentoo partition on my hard drive.

EDIT:btw my guess as to what actually was going on is that when kde started installing vlc tried to use a qt4 interface module and the interface crashed for whatever reason kde was crashing. If you look at bugs.gentoo.org kde and dbus dont seem to play well together on gentoo for alot of people.


All times are GMT -5. The time now is 01:03 PM.