First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 230419
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexandre Hannud Abdo <solstag@member.fsf.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge.info my emerge --info text/plain Alexandre Hannud Abdo 2008-07-02 02:35 0000 3.59 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 230419 depends on: Show dependency tree
Show dependency graph
Bug 230419 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-07-02 02:29 0000
Totem and rhythmbox produce no sound since the gstreamer update that took place
this week, where gst and several plugins got bumped.

Also, when I try to open any sound-only file on totem, an error window pops up
with title "An error ocurred" and text "Internal data flow error". If it's a
video with an audio track, the video plays but with no sound and no error
message. Totem also recognizes the audio track correctly in both cases, it just
won't play it.

From the command line, the error in totem is:

$totem
OIL: ERROR liboiltest.c 361: oil_test_check_impl(): illegal instruction in
mmxCombineAddU
** Message: Error: Internal data flow error.
gstbasesrc.c(2240): gst_base_src_loop (): /play/source:
streaming task paused, reason not-linked (-1)

In rhythmbox, the message is:
$ rhythmbox
OIL: ERROR liboiltest.c 361: oil_test_check_impl(): illegal instruction in
mmxCombineAddU

I'm not sure if the liboil message on both are relevant, even if it's the only
message for rhythmbox, since I can't verify if they were there before.

For totem this liboil message appears as soon as I start it, while the rest of
the error messages appears only when I tell it to play the file.
For rhythmbox the liboil message appears only when I tell it to play some
music, but then it only appears for the first song I try.

I am running an Athlon Thunderbird which does not have SSE instructions,
perhaps this has to do with the liboil message...

It might be relevant that the following plays the sound as expected:
$gst-launch-0.10 -v filesrc location=sound.mp3 ! mad ! alsasink

Hope you can help me :)
&TxAnwy!

Reproducible: Always

------- Comment #1 From Alexandre Hannud Abdo 2008-07-02 02:35:26 0000 -------
Created an attachment (id=159195) [edit]
my emerge --info

------- Comment #2 From Rémi Cardona 2008-07-02 06:24:25 0000 -------
A couple things :

1) drop the -O3, -O2 is the most we support
2) some glibc versions add the wrong assembly optimizations : try putting
-mno-see in your CFLAGS

Thanks

------- Comment #3 From Gilles Dartiguelongue 2008-07-02 06:49:49 0000 -------
Well in this case it seems there is a problem with mmx optimizations.
>> illegal instruction in mmxCombineAddU

are you sure your processor really supports mmx ?

you can check by using grep "mmx" /proc/cpuinfo.

------- Comment #4 From Samuli Suominen 2008-07-02 12:38:35 0000 -------
I've committed liboil-0.3.15 (latest) to tree. Please test.

------- Comment #5 From Samuli Suominen 2008-07-02 13:52:34 0000 -------
(In reply to comment #4)
> I've committed liboil-0.3.15 (latest) to tree. Please test.
> 

OK, this might fix some of the other comments we have in this bug..

But here is the real fix, to issue this bug is for. Other issues in new bug,
thanks.

+*gst-plugins-good-0.10.8-r1 (02 Jul 2008)
+
+  02 Jul 2008; Samuli Suominen <drac@gentoo.org>
+  +gst-plugins-good-0.10.8-r1.ebuild:
+  Pass --with-default-audiosink=autoaudiosink and
+  --with-default-visualizer=goom wrt upstream bug #532295, this fixes Gentoo
+  bug #230419.

------- Comment #6 From Samuli Suominen 2008-07-02 14:17:05 0000 -------
And one more hint, I had to remove ~/.config/banshee* to get banshee in shape
again after installing new -good-0.10.8-r1.

Totem worked out of box after.

------- Comment #7 From Alexandre Hannud Abdo 2008-07-02 19:00:06 0000 -------
(In reply to comment #2)
> 2) some glibc versions add the wrong assembly optimizations : try putting
> -mno-see in your CFLAGS

Just one thing about that, adding "-mno-sse" to CFLAGS is expected to break
liboil compilation. Liboil is supposed to compile optimized code for several
platforms and choose wich to use at runtime. Or at least that's what I learned
when I filed bug #218592 , so one should not explicitly inclde -mno-sse in
CFLAGS.

Thanks!!

------- Comment #8 From Alexandre Hannud Abdo 2008-07-02 19:06:15 0000 -------
Hey!! Thanks everyone for being so helpful and responding so quickly :)

So, about the present bug...

Updating liboil to the new version clears the liboil related messages from both
programs.

However, even after updating gst-plugins-good, and after deleting any mention
to 'totem' or 'Totem' in .config and .gnome2, my situation is exactly the same
except for the liboil messages having vanished.

:\

I will try some more things in the next hour or so, but if nothing helps I'd
like to reopen this bug...

Thanks again!

ale
~~

------- Comment #9 From Alexandre Hannud Abdo 2008-07-02 20:52:59 0000 -------
Ok, so I have some news...

After deleting ~/.gconf/apps/totem/ all the errors and warnings went away and I
even got to see the pretty visualizations when playing audio files, but still
no sound.

Then I opened System -> Preferences -> Sound and noticed that the default
setting for all actions was "Custom" instead of "Autodetect", and changing this
returned sound playback to normal.

For some reason, at least on my system, "Autodetect" was not the default.
In the proccess of bugtracking I created a new account with no config files at
all, and the same seemed to happen there, though I did not login on gnome, but
started totem through a shell on my usual account's X session.

So maybe someone should take a look on the global gconf files...

Thanks everyone!!
ale
~~

------- Comment #10 From Alexandre Hannud Abdo 2008-07-02 21:01:27 0000 -------
(In reply to comment #9)
> So maybe someone should take a look on the global gconf files...

More specifically, the keys:

/system/gstreamer/0.10/default/musicaudiosink_description
/system/gstreamer/0.10/default/audiosink_description
/system/gstreamer/0.10/default/chataudiosink_description

(curisouly, my system doesn't have default keys for gstreamer-0.10 in
/etc/gconf, so I guess those above I see in my ~/.gconf/ were created by
gnome/totem/?...)

------- Comment #11 From Olivier Crete 2008-07-22 05:47:58 0000 -------
The --default-audiosink=autoaudiosink should also be passed to the
media-plugins/gst-plugins-gconf package... since we split it out of
gst-p-good...

------- Comment #12 From Pacho Ramos 2008-07-22 15:35:34 0000 -------
(In reply to comment #11)
> The --default-audiosink=autoaudiosink should also be passed to the
> media-plugins/gst-plugins-gconf package... since we split it out of
> gst-p-good...
> 

I didn't need this after updating from gst-plugins-good-0.10.6 DIRECTLY to
0.10.8-r1, maybe I didn't suffer this because I didn't installed buggy
gst-plugins-good that was available in testing in the pass :-/

------- Comment #13 From Olivier Crete 2008-07-24 05:05:33 0000 -------
(In reply to comment #12)
> I didn't need this after updating from gst-plugins-good-0.10.6 DIRECTLY to
> 0.10.8-r1, maybe I didn't suffer this because I didn't installed buggy
> gst-plugins-good that was available in testing in the pass :-/

Well, if you read the code, the only place these variables are used is in the
gconf plugin.. 

I added gst-plugins-gconf-0.10.8-r1 with the fix

First Last Prev Next    No search results available      Search page      Enter new bug