"No GConf default audio sink key and osssink doesn't work"

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
karderio
n00b
n00b
Posts: 8
Joined: Thu Feb 17, 2005 7:19 pm

"No GConf default audio sink key and osssink doesn't wo

Post by karderio »

Hi !

I just installed gentoo, everything went fine, as usual, except totem would not start. It gave the following error message on the command line :

** (totem:3177): WARNING **: No GConf default audio sink key and osssink doesn't work
** Message: failed to render default audio sink from gconf

It also came up with a dialog box : "Totem could not startup. No reason.".

A quick look at google found several people with the same problem, but no solution.

To solve this I fired up gconf and changed two keys :

/system/gstreamer/0.8/default/audiosink from osssink to alsasink
/system/gstreamer/0.8/default/audiosrc from osssrc to alsasrc

I suppose the problem is that I do not have oss compatibility installed.

Hope this can help somebody, all the best !

Edit: Changed title from "Totem refuses to start - Message: failed to render default a". --Maedhros
User avatar
nlindblad
Guru
Guru
Posts: 476
Joined: Thu Jun 30, 2005 1:07 pm
Location: Lund, Sweden
Contact:

Post by nlindblad »

Please provide us with more information (like what version of totem), along with your emerge --info.
Please provide detailed tracebacks and your emerge --info when posting compile errors.
Add [SOLVED] to the thread's topic if you feel that your question has been anwered or your problem is solved.
User avatar
curtis119
Bodhisattva
Bodhisattva
Posts: 2160
Joined: Mon Mar 10, 2003 4:41 pm
Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

Post by curtis119 »

If you go to Preferences > MultiMedia Systems Selector in the Gnome menu there is an option to change the sink (this is the same as changing the gconf key as mentioned above). Gnome defaults to oss but if you built your system without oss support it fails.
Gentoo: it's like wiping your ass with silk.
karderio
n00b
n00b
Posts: 8
Joined: Thu Feb 17, 2005 7:19 pm

Post by karderio »

The first thing I did was to look at >Preferences > MultiMedia Systems Selector, this was set to alsa, however the gconf Key was osssink. Maybe I did not pay attention, perhaps it was written osssink in the text entry, but the combo box definitely said alsa. Now the MultiMedia Systems Selector works perfectly however. OSS is not a choice in the MultiMedia Systems Selector.

--------------

Here is more information :

Totem 1.0.4
Gnome 2.10.2

emerge --info
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/var/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ http://gentoo.modulix.net/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aim alsa apm artworkextra audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdb cdda cddb cdparanoia cdr crypt cups dbus djvu doc dvb dvd dvdr eds emboss encode ethereal exif expat fam fat fbsplash ffmpeg firefox flac font-server fontconfig foomaticdb fortran freetype ftp gd gdbm gif gimp gimpprint glut glx gnome gpm gstreamer gtk gtk2 hal howl idn imlib ipv6 ithreads jpeg lcms ldap libg++ libwww lirc lzo mad maildir matroska mikmod mmx mmx2 mmxext mng motif mp3 mpeg msn mysql ncurses nls ntfs offensive ogg oggvorbis opengl pam pcre pdflib perl pic png ppds python quicktime readline real reiserfs scanner sdl shorten spell sse sse2 ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts udev usb v4l2 vorbis win32codecs wmf wxwindows x86 xml2 xmms xprint xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
User avatar
luca82
Guru
Guru
Posts: 306
Joined: Wed Oct 22, 2003 7:29 am
Location: Somewhere Between Heaven and Hell

Post by luca82 »

Same problem with totem-1.2.0-r2 and gnome-2.12 without oss...
User avatar
Maedhros
Bodhisattva
Bodhisattva
Posts: 5511
Joined: Wed Apr 14, 2004 8:10 pm
Location: Durham, UK

Post by Maedhros »

There seem to be several solutions to this, from looking at quite a few threads with this problem:
  • Change the gconf key directly (search for osssink)
  • Run gst-register-0.8 (not tested)
  • emerge gst-plugins-alsa if you don't already have it
No-one's more important than the earthworm.
User avatar
iverson0881
Apprentice
Apprentice
Posts: 285
Joined: Thu Jan 08, 2004 3:22 am
Location: CA

Post by iverson0881 »

Hm. No luck for me. Changing the gconf key had no effect except amarok crashed a little while later because it first complains of gstreamer not working and then crashes. I then tried gst-register but that didn't work and it gave me this

Code: Select all

Rebuilding global_registry (/var/lib/cache/gstreamer-0.8/registry.xml) ...
Added plugin video4linux2 with 2 features.
Segmentation fault
The video4linux2 doesn't matter I just recently added it but the problem was occuring before I emerged that ebuild. And as for gst-plugins-alsa. I already got it but just to safe I tried remerging all my gstreamer things but to no avail. So right now my option to listening to music is xmms since it doesn't use gstreamer which is a pain but it works. Anyone have any other ideas?

EDIT: Oh yeah re-emerging taglib doesn't help and amarok isn't the only effected player. juK mplayer everything except xmms.
EDIT2: Ok i noticed that when emerging a gst-plugin-pluginname and at the end where it tries to rebuild the registry.xml I also get this error:

Code: Select all

/usr/portage/eclass/gst-plugins.eclass: line 106: 27869 Segmentation fault      gst-register-${SLOT}
I'm not sure what that means but maybe there is a typo somewhere?
User avatar
curtis119
Bodhisattva
Bodhisattva
Posts: 2160
Joined: Mon Mar 10, 2003 4:41 pm
Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

Post by curtis119 »

iverson0881 wrote:Hm. No luck for me. Changing the gconf key had no effect except amarok crashed a little while later because it first complains of gstreamer not working and then crashes. I then tried gst-register but that didn't work and it gave me this

Code: Select all

Rebuilding global_registry (/var/lib/cache/gstreamer-0.8/registry.xml) ...
Added plugin video4linux2 with 2 features.
Segmentation fault
The video4linux2 doesn't matter I just recently added it but the problem was occuring before I emerged that ebuild. And as for gst-plugins-alsa. I already got it but just to safe I tried remerging all my gstreamer things but to no avail. So right now my option to listening to music is xmms since it doesn't use gstreamer which is a pain but it works. Anyone have any other ideas?

EDIT: Oh yeah re-emerging taglib doesn't help and amarok isn't the only effected player. juK mplayer everything except xmms.
EDIT2: Ok i noticed that when emerging a gst-plugin-pluginname and at the end where it tries to rebuild the registry.xml I also get this error:

Code: Select all

/usr/portage/eclass/gst-plugins.eclass: line 106: 27869 Segmentation fault      gst-register-${SLOT}
I'm not sure what that means but maybe there is a typo somewhere?
Do you have more than one version of gstreamer installed? Try unmerging all versions of it and all versions of the plugins and then merge the latest version.
Gentoo: it's like wiping your ass with silk.
User avatar
iverson0881
Apprentice
Apprentice
Posts: 285
Joined: Thu Jan 08, 2004 3:22 am
Location: CA

Post by iverson0881 »

Ok I think I may have been able to figure out what the problem was. Right after I unmerged gst-plugins-speex then gstreamer was able to recreate its registry.xml. So I guess there is something going on in that ebuild or the program itself.
User avatar
mariourk
l33t
l33t
Posts: 807
Joined: Fri Jul 11, 2003 8:48 am
Location: Urk, Netherlands

Post by mariourk »

I don't have MultiMedia Systems Selector in my preferences menu :?

What do I need to install to get it? Or maybe I need to enable a useflag??
Or even better, can I somehow change this option with the console?

I installed Gnome-lite with some extra's (like Evolution and OOo-2.0)
If there is one thing to learn from history, it's that we usualy don't learn anything from it, at all.
User avatar
Perennial
n00b
n00b
Posts: 56
Joined: Mon Mar 07, 2005 9:35 pm
Location: Center of Europe

Post by Perennial »

mariourk wrote:I don't have MultiMedia Systems Selector in my preferences menu :?
You can get to it by running 'gstreamer-properties' from a shell prompt while in X windows.
It belongs to the 'gnome-media' package:

Code: Select all

~ $ equery belongs /usr/bin/gstreamer-properties
[ Searching for file(s) /usr/bin/gstreamer-properties in *... ]
gnome-extra/gnome-media-2.10.2 (/usr/bin/gstreamer-properties)
Mystery creates wonder and wonder is the basis of man's desire to understand. -- Neil Armstrong
User avatar
mariourk
l33t
l33t
Posts: 807
Joined: Fri Jul 11, 2003 8:48 am
Location: Urk, Netherlands

Post by mariourk »

It turned out I had the wrong driver compiled in my kernel :oops:

It's all working fine now, thanks! :D
If there is one thing to learn from history, it's that we usualy don't learn anything from it, at all.
User avatar
danyer
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Thu Nov 25, 2004 9:59 pm
Location: Bucharest, Romania/EU

Re: "No GConf default audio sink key and osssink doesn'

Post by danyer »

karderio wrote:Hi !

I just installed gentoo, everything went fine, as usual, except totem would not start. It gave the following error message on the command line :

** (totem:3177): WARNING **: No GConf default audio sink key and osssink doesn't work
** Message: failed to render default audio sink from gconf

It also came up with a dialog box : "Totem could not startup. No reason.".

A quick look at google found several people with the same problem, but no solution.

To solve this I fired up gconf and changed two keys :

/system/gstreamer/0.8/default/audiosink from osssink to alsasink
/system/gstreamer/0.8/default/audiosrc from osssrc to alsasrc

I suppose the problem is that I do not have oss compatibility installed.

Hope this can help somebody, all the best !
Thank you karderio! It worked for me.
bocacorazon
n00b
n00b
Posts: 31
Joined: Fri May 07, 2004 12:56 am

I used xine instead of gstreamer

Post by bocacorazon »

Following the advice on another post (http://forums.gentoo.org/viewtopic-t-22 ... ssink.html) I reemerged totem with xine instead of gstreamer and it solved the problem.

I had spent a considerable amount of time solving this and since I have no particular love towards gstreamer it works for me...
Post Reply