Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48091 - rhythmbox problems
Summary: rhythmbox problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-16 17:27 UTC by Dale K Dicks
Modified: 2004-04-20 15:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dale K Dicks 2004-04-16 17:27:43 UTC
when trying to play any type of media the following error occurs:

"Could not create audio outputelement; check your settings."

The following is printed in the terminal when run frmo aterm.

[ ddicks@linuxbox ~ ] $ rhythmbox

(rhythmbox:29809): GLib-GObject-WARNING **: g_object_set_property: construct property "enable-sound" for object `GnomeProgram' can't be set after construction
Comment 1 Dale K Dicks 2004-04-16 17:33:29 UTC
this is what is printed in the terminal when I click on play:

** (rhythmbox:30712): WARNING **: Unrecoverable syntax error while parsing pipeline
DEBUG: gstgconf: error parsing pipeline osssink
no element "osssink"

** (rhythmbox:30712): WARNING **: No GConf default audio sink key and osssink doesn't work
Got error opening "file:///mnt/music/Thompson_Twins/Thompson%20Twins%20-%20Hold%20Me%20Now.mp3": Could not create audio output element; check your settings

Why is it trying to use OSS ?

[ ddicks@linuxbox ~ ] $ emerge info
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5)
=================================================================
System uname: 2.6.5 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.4.9
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -mfpmath=sse -msse -msse2 -mmmx -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -mfpmath=sse -msse -msse2 -mmmx -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="ftp://gentoo.agsn.ca/ http://gentoo.mirrored.ca/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="X aalib alsa avi berkdb bonobo cdr crypt cups directfb dvd encode flac foomaticdb gdbm gif gimpprint gnome gphoto2 gstreamer gtk gtk2 gtkhtml imagemagick imap imlib java javascript joystick jpeg ldap libg++ libwww mad mikmod mmx motif mozilla moznoirc moznomail mozsvg mpeg mpeg4 msn mysql ncurses nptl oggvorbis opengl oss pam pdflib perl png ppds python quicktime readline ruby samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype usb v4l x86 xml2 xmms xv zlib"
Comment 2 Craig Keogh 2004-04-17 00:15:48 UTC
Rhythmbox needs an output device, otherwise known as a sink.
You need to emerge one (or more) of 
media-plugins/gst-plugins-oss
media-plugins/gst-plugins-esd
media-plugins/gst-plugins-alsa

Check your settings, and to ensure the output is working by clicking 'Test' in:
gstreamer-properties
Comment 3 Dale K Dicks 2004-04-17 05:42:15 UTC
i'm getting segfaults in gstreamer-properties when i try to test the "Default Source"

the "Default Sink" tests OK.

i get a ton of these when i run it from a terminal:

[ ddicks@linuxbox ~ ] $ gstreamer-properties

** (gstreamer-properties:17399): WARNING **: Unrecoverable syntax error while parsing pipeline

** (gstreamer-properties:17399): WARNING **: Unrecoverable syntax error while parsing pipeline

** (gstreamer-properties:17399): WARNING **: Unrecoverable syntax error while parsing pipeline

i re-emerged the alsa plugin and i'm about to re-emerge gstreamer.
Comment 4 Dale K Dicks 2004-04-17 06:04:43 UTC
ok, i was able to get it to play streams off of the internet but i get an error when i try to play any local mp3s/oggs.

i also see this error when i run rhythmbox from a terminal (when the app starts).

(rhythmbox:13763): GLib-GObject-WARNING **: g_object_set_property: construct property "enable-sound" for object `GnomeProgram' can't be set after construction

and then i get this.

(rhythmbox:13763): GStreamer-WARNING **: inconsistent state information, fix threading please

and when i attempt to play some local music files, a window with this pops up:

"Internal GStreamer error: seek problem.  File a bug."

(so very descriptive - not! :))

the above error appears at the same time the inconsistent state information appears in the terminal.



Comment 5 Craig Keogh 2004-04-17 18:45:33 UTC
For mp3 play-back you need media-plugins/gst-plugins-mad installed.

Test it from the command line using:
gst-launch filesrc location=my.mp3 ! mad ! esdsink

Replace my.mp3 with the location of an actual mp3 file on you computer.
Repleace esdsink with either alsasink or osssink if they are your default output
device.

For ogg play-back you need media-plugins/gst-plugins-vorbis installed.

Test it from the command line using:
gst-launch filesrc location=my.ogg ! spider ! esdsink
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-20 01:03:48 UTC
rhythmbox DEPENDs on gst-plugins (which contains the sinks), so you should have them installed...  reassigning to gnome.
Comment 7 foser (RETIRED) gentoo-dev 2004-04-20 02:46:26 UTC
well... hmm checking your CFLAGS i'd say you should start to be seriously more conservative before filing bugs, especially with gstreamer/rhythmbox which is quite sensetive to them. So try that first.

Second, playback problems might be due to weird formats/containers/whatever. So does the seek problem happen with every file ? If so you might want to try another scheduler. Try and run gstreamer with '--gst-scheduler=basicgthread' see if that solves any of the playback problems.
Comment 8 Dale K Dicks 2004-04-20 05:06:38 UTC
I have the sinks installed (always did).

I re-emerged tham and it cleared up some of the errors however this app still crashes a lot.

This app still has some serious stability issues.  IMHO, if the Rhythmbox developers can't get it somewhat stable by now then there is a serious problem.

I am going to re-emerge it this morning and I'll post back any errors I get.


Comment 9 foser (RETIRED) gentoo-dev 2004-04-20 05:11:43 UTC
the sinks are slotted, so it also depends on versions etc. Anyway, have you saned up your cflags ? I don't read that anywhere in your comment.
Comment 10 Dale K Dicks 2004-04-20 05:25:19 UTC
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -mfpmath=sse -msse -msse2 -mmmx -pipe"

there is nothing unstable in those at all in fact it is almost totally redundant as all of those flags are covered by the -march=pentium4 except for the -mfpmath=sse

so I could have my flags as: -O2 -march=pentium4 -pipe -mfpmath=sse, which is the same as what I have.

if you want me to remove the -mfpmath=sse then I will and recompile or do you want me to make it -march=i686 ?

also, which packages do you want me to recompile this way?  i will add them to /etc/portage/package.use
Comment 11 Dale K Dicks 2004-04-20 05:40:33 UTC
OK, it is rebuilt (with my original cflags and it works, except on some MP3 files I get a seek error and it prints this error out in aterm:

(rhythmbox:4086): GStreamer-WARNING **: inconsistent state information, fix threading please

The following error is displayed when it (Rhythmbox) loads, which is think is not a big deal.

(rhythmbox:4086): GLib-GObject-WARNING **: g_object_set_property: construct property "enable-sound" for object `GnomeProgram' can't be set after construction.

I am now in the process if re-emerging rhythmbox, gstreamer, and all the gst-plugins with only -march=i686
Comment 12 Dale K Dicks 2004-04-20 06:56:27 UTC
after recompiling it all with -march=i686, the mp3 probles are resolved.

i am going to try it with -O2 -march=pentium4 (-pipe)
Comment 13 Dale K Dicks 2004-04-20 15:14:50 UTC
recompiling with -march=pentium4 -O2 worked

however, streaming music from the Internet with gstreamer needs work, it stutters and stops/starts frequently (on all streams I tried).

i rebuilt rhythmbox with the xine backend and it works great.

this can ble closed now.