public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] broken ALSA
@ 2008-10-25 17:51 Andrey Vul
  2008-10-25 21:55 ` Willie Wong
  0 siblings, 1 reply; 18+ messages in thread
From: Andrey Vul @ 2008-10-25 17:51 UTC (permalink / raw
  To: gentoo-user

Here's the error from using mplayer on an mp3 file:
[AO_ALSA] alsa-lib: dlmisc.c:118:(snd_dlsym_verify) unable to verify
version for symbol _snd_pcm_asym_open
[AO_ALSA] alsa-lib: pcm.c:2148:(snd_pcm_open_conf) symbol
_snd_pcm_asym_open isnot defined inside [builtin]

Similar output happens in vlc and other players.

I've recompiled alsa-lib about 5 times and the error still persists.
How do I fix this?

-- 
Andrey Vul

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] broken ALSA
  2008-10-25 17:51 [gentoo-user] broken ALSA Andrey Vul
@ 2008-10-25 21:55 ` Willie Wong
  2008-10-28  6:30   ` M. Sitorus
  0 siblings, 1 reply; 18+ messages in thread
From: Willie Wong @ 2008-10-25 21:55 UTC (permalink / raw
  To: gentoo-user

On Sat, Oct 25, 2008 at 01:51:17PM -0400, Penguin Lover Andrey Vul squawked:
> Here's the error from using mplayer on an mp3 file:
> [AO_ALSA] alsa-lib: dlmisc.c:118:(snd_dlsym_verify) unable to verify
> version for symbol _snd_pcm_asym_open
> [AO_ALSA] alsa-lib: pcm.c:2148:(snd_pcm_open_conf) symbol
> _snd_pcm_asym_open isnot defined inside [builtin]
> 
> Similar output happens in vlc and other players.
> 
> I've recompiled alsa-lib about 5 times and the error still persists.
> How do I fix this?
> 

If you have recently updated ALSA, check to see if you have all the
alsa pcm plugins you need. I just enable all of them to save myself 
some headache. It looks like you don't have the asym plugin compiled. 

(Hint: look at emerge --verbose --pretend alsa-lib ; you can set
ALSA_PCM_PLUGINS in /etc/make.conf)

W
-- 
"I assume you've all done stationary phase integrals...right?"
~DeathMech, S. Sondhi. P-town PHY 205
Sortir en Pantoufles: up 687 days, 20:31



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] broken ALSA
  2008-10-25 21:55 ` Willie Wong
@ 2008-10-28  6:30   ` M. Sitorus
  2008-10-28  7:05     ` Andrey Vul
  0 siblings, 1 reply; 18+ messages in thread
From: M. Sitorus @ 2008-10-28  6:30 UTC (permalink / raw
  To: gentoo-user

i have the same problem. here is mine :
http://forums.gentoo.org/viewtopic-t-712862.html

-- 
Salam,

Marc



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] broken ALSA
  2008-10-28  6:30   ` M. Sitorus
@ 2008-10-28  7:05     ` Andrey Vul
  2008-10-30  3:05       ` M. Sitorus
  0 siblings, 1 reply; 18+ messages in thread
From: Andrey Vul @ 2008-10-28  7:05 UTC (permalink / raw
  To: gentoo-user

On Tue, Oct 28, 2008 at 2:30 AM, M. Sitorus <gkjdsh@gmail.com> wrote:
> i have the same problem. here is mine :
> http://forums.gentoo.org/viewtopic-t-712862.html
>
> --
> Salam,
>
> Marc
>
>
Apparently asym needs to be the final token in ALSA_PCM_PLUGINS.
I don't know why, but doing that made alsa work again (i.e. the ebuild
recognized ALSA_PCM_PLUGINS contains "asym").


-- 
Andrey Vul

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] broken ALSA
  2008-10-28  7:05     ` Andrey Vul
@ 2008-10-30  3:05       ` M. Sitorus
  2008-10-30  3:10         ` Andrey Vul
  0 siblings, 1 reply; 18+ messages in thread
From: M. Sitorus @ 2008-10-30  3:05 UTC (permalink / raw
  To: gentoo-user

Hi Andrey,
what do you mean by: "Apparently asym needs to be the final token in
ALSA_PCM_PLUGINS.
I don't know why, but doing that made alsa work again (i.e. the ebuild
recognized ALSA_PCM_PLUGINS contains "asym")." ?
I have try to enable asym use flag, but alsa still not working.

-- 
Salam,

Marc



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] broken ALSA
  2008-10-30  3:05       ` M. Sitorus
@ 2008-10-30  3:10         ` Andrey Vul
  2008-10-30  3:53           ` M. Sitorus
  0 siblings, 1 reply; 18+ messages in thread
From: Andrey Vul @ 2008-10-30  3:10 UTC (permalink / raw
  To: gentoo-user

On Wed, Oct 29, 2008 at 11:05 PM, M. Sitorus <gkjdsh@gmail.com> wrote:
> Hi Andrey,
> what do you mean by: "Apparently asym needs to be the final token in
> ALSA_PCM_PLUGINS.
> I don't know why, but doing that made alsa work again (i.e. the ebuild
> recognized ALSA_PCM_PLUGINS contains "asym")." ?
> I have try to enable asym use flag, but alsa still not working.
I mean this (taken from make.conf):
ALSA_PCM_PLUGINS="adpcm alaw copy dmix dshare dsnoop empty extplug
file hooks ioplug
                ladspa lfloat linear meter mulaw multi null plug rate
route share shm softvol asym"

"asym" is the final space-delimited token in ALSA_PCM_PLUGINS.



-- 
Andrey Vul

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] broken ALSA
  2008-10-30  3:10         ` Andrey Vul
@ 2008-10-30  3:53           ` M. Sitorus
  2008-10-30  4:02             ` Andrey Vul
  2008-10-30  4:04             ` Andrey Vul
  0 siblings, 2 replies; 18+ messages in thread
From: M. Sitorus @ 2008-10-30  3:53 UTC (permalink / raw
  To: gentoo-user

asym should be the last flag? i don't know emerge read USE Flag by order.

by the way, i usually only have dmix in ALSA_PCM_PLUGINS, and it's
work. Only after i read your email i put asym on it. So, right know i
have ALSA_PCM_PLUGINS="asym dmix" on make.conf.
It's okay right? I don't need to put the same flag with yours, to make
alsa work again right?


-- 
Salam,

Marc



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] broken ALSA
  2008-10-30  3:53           ` M. Sitorus
@ 2008-10-30  4:02             ` Andrey Vul
  2008-10-30  4:04             ` Andrey Vul
  1 sibling, 0 replies; 18+ messages in thread
From: Andrey Vul @ 2008-10-30  4:02 UTC (permalink / raw
  To: gentoo-user

On Wed, Oct 29, 2008 at 11:53 PM, M. Sitorus <gkjdsh@gmail.com> wrote:
> asym should be the last flag? i don't know emerge read USE Flag by order.
It's not supposed to. There's a bug in the ebuild or eclass and
putting asym is the best workaround.
> by the way, i usually only have dmix in ALSA_PCM_PLUGINS, and it's
> work. Only after i read your email i put asym on it. So, right know i
> have ALSA_PCM_PLUGINS="asym dmix" on make.conf.
> It's okay right? I don't need to put the same flag with yours, to make
> alsa work again right?
>



-- 
Andrey Vul

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] broken ALSA
  2008-10-30  3:53           ` M. Sitorus
  2008-10-30  4:02             ` Andrey Vul
@ 2008-10-30  4:04             ` Andrey Vul
  2008-10-30  5:26               ` M. Sitorus
  1 sibling, 1 reply; 18+ messages in thread
From: Andrey Vul @ 2008-10-30  4:04 UTC (permalink / raw
  To: gentoo-user

On Wed, Oct 29, 2008 at 11:53 PM, M. Sitorus <gkjdsh@gmail.com> wrote:
> asym should be the last flag? i don't know emerge read USE Flag by order.
>
> by the way, i usually only have dmix in ALSA_PCM_PLUGINS, and it's
> work. Only after i read your email i put asym on it. So, right know i
> have ALSA_PCM_PLUGINS="asym dmix" on make.conf.
> It's okay right? I don't need to put the same flag with yours, to make
> alsa work again right?
>
You're not missing asym, you're missing empty.
Easy way to check for missing ALSA_PCM_PLUGIN token:
errors of the form _snd_pcm_$foo_open
where $foo is the missing pcm plugin.



-- 
Andrey Vul

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] broken ALSA
  2008-10-30  4:04             ` Andrey Vul
@ 2008-10-30  5:26               ` M. Sitorus
  2008-10-30  5:34                 ` Andrey Vul
  0 siblings, 1 reply; 18+ messages in thread
From: M. Sitorus @ 2008-10-30  5:26 UTC (permalink / raw
  To: gentoo-user

pardon me?
here is my error:

-------------------------------------------------------------------------------------------------
slumpia@sitorus ~ $ mpg123 Padi-Sobat.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 0.65; written and copyright by Michael Hipp and others
        free software (LGPL/GPL) without any warranty but with best wishes
ALSA lib dlmisc.c:118:(snd_dlsym_verify) unable to verify version for
symbol _snd_pcm_empty_open
ALSA lib pcm.c:2148:(snd_pcm_open_conf) symbol _snd_pcm_empty_open is
not defined inside [builtin]
audio_open(): cannot open device default
audio: Success

Playing MPEG stream 1 of 1: Padi-Sobat.mp3 ...
Title:                                   Artist:
Comment:                                 Album:
Year:    0                               Genre:  Unknown
MPEG 1.0 layer III, 160 kbits/s, 44100 Hz stereo
[audio.c:264] error: No supported rate found!
-----------------------------------------------------------------------------------------------------------
snd_pcm_open_conf <--- i miss conf USE Flag?



-- 
Salam,

Marc



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] broken ALSA
  2008-10-30  5:26               ` M. Sitorus
@ 2008-10-30  5:34                 ` Andrey Vul
  2008-10-30  6:53                   ` M. Sitorus
  0 siblings, 1 reply; 18+ messages in thread
From: Andrey Vul @ 2008-10-30  5:34 UTC (permalink / raw
  To: gentoo-user

On Thu, Oct 30, 2008 at 1:26 AM, M. Sitorus <gkjdsh@gmail.com> wrote:
> pardon me?
> here is my error:
>

> ALSA lib dlmisc.c:118:(snd_dlsym_verify) unable to verify version for
> symbol _snd_pcm_empty_open
> ALSA lib pcm.c:2148:(snd_pcm_open_conf) symbol _snd_pcm_empty_open is
> not defined inside [builtin]
That error means that the plugin empty is required yet wasn't compiled
due to being disabled.
Set your ALSA_PCM_PLUGINS to "dmix open asym"
If things still don't work, use the ALSA_PCM_PLUGINS that I supplied.
Pretty much everything except SPDIF is enabled.


-- 
Andrey Vul

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] broken ALSA
  2008-10-30  5:34                 ` Andrey Vul
@ 2008-10-30  6:53                   ` M. Sitorus
  2008-10-30 16:15                     ` Andrey Vul
  0 siblings, 1 reply; 18+ messages in thread
From: M. Sitorus @ 2008-10-30  6:53 UTC (permalink / raw
  To: gentoo-user

Ok, thanks. I'll try that later. I'm not on my gentoo box right now

-- 
Salam,

Marc



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] broken ALSA
  2008-10-30  6:53                   ` M. Sitorus
@ 2008-10-30 16:15                     ` Andrey Vul
  2008-10-31  0:36                       ` M. Sitorus
  0 siblings, 1 reply; 18+ messages in thread
From: Andrey Vul @ 2008-10-30 16:15 UTC (permalink / raw
  To: gentoo-user

On Thu, Oct 30, 2008 at 2:53 AM, M. Sitorus <gkjdsh@gmail.com> wrote:
> Ok, thanks. I'll try that later. I'm not on my gentoo box right now
>
There's always SSH...

-- 
Andrey Vul

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] broken ALSA
  2008-10-30 16:15                     ` Andrey Vul
@ 2008-10-31  0:36                       ` M. Sitorus
  2008-10-31  2:40                         ` Andrey Vul
  0 siblings, 1 reply; 18+ messages in thread
From: M. Sitorus @ 2008-10-31  0:36 UTC (permalink / raw
  To: gentoo-user

unfortunately, my Gentoo box is not connected to Internet ( i'm
writing this from my office :D )

Andrey, I've try your advice my alsa still not working.
First I try to put asym after dmix on ALSA_PCM_PLUGINS, but it still
not working. And then I run emerge -pv alsa-lib, and look at the USE
Flag. I saw empty there, so I put empty on ALSA_PCM_PLUGINS, then I
emerge alsa-lib alsa-utils mpg123 again. But the results still the
same.
I try to put open on ALSA_PCM_PLUGINS, eventhough i didn't saw that
flag on emerge -pv alsa-lib, but there is no progress. I still got the
same error with the one before.

-- 
Salam,

Marc



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] broken ALSA
  2008-10-31  0:36                       ` M. Sitorus
@ 2008-10-31  2:40                         ` Andrey Vul
  2008-10-31  4:43                           ` M. Sitorus
  0 siblings, 1 reply; 18+ messages in thread
From: Andrey Vul @ 2008-10-31  2:40 UTC (permalink / raw
  To: gentoo-user

On Thu, Oct 30, 2008 at 8:36 PM, M. Sitorus <gkjdsh@gmail.com> wrote:
> unfortunately, my Gentoo box is not connected to Internet ( i'm
> writing this from my office :D )
>
> Andrey, I've try your advice my alsa still not working.
> First I try to put asym after dmix on ALSA_PCM_PLUGINS, but it still
> not working. And then I run emerge -pv alsa-lib, and look at the USE
> Flag. I saw empty there, so I put empty on ALSA_PCM_PLUGINS, then I
> emerge alsa-lib alsa-utils mpg123 again. But the results still the
> same.
> I try to put open on ALSA_PCM_PLUGINS, eventhough i didn't saw that
> flag on emerge -pv alsa-lib, but there is no progress. I still got the
> same error with the one before.
>
Something's weird, because my ALSA_PCM_PLUGINS works on all 3 of my
gentoo boxes.
Did you try emerge -DN alsa-lib ?



-- 
Andrey Vul

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] broken ALSA
  2008-10-31  2:40                         ` Andrey Vul
@ 2008-10-31  4:43                           ` M. Sitorus
  2008-10-31  4:52                             ` Andrey Vul
  0 siblings, 1 reply; 18+ messages in thread
From: M. Sitorus @ 2008-10-31  4:43 UTC (permalink / raw
  To: gentoo-user

no, I did emerge -v. But the asym and empty USE Flag is used on emerge

-- 
Salam,

Marc



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] broken ALSA
  2008-10-31  4:43                           ` M. Sitorus
@ 2008-10-31  4:52                             ` Andrey Vul
  2008-11-03  4:00                               ` M. Sitorus
  0 siblings, 1 reply; 18+ messages in thread
From: Andrey Vul @ 2008-10-31  4:52 UTC (permalink / raw
  To: gentoo-user

On Fri, Oct 31, 2008 at 12:43 AM, M. Sitorus <gkjdsh@gmail.com> wrote:
> no, I did emerge -v. But the asym and empty USE Flag is used on emerge
Try -DNv . Sometimes portage is blind to new USE flags / features
unless -N or --newuse is used.



-- 
Andrey Vul

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [gentoo-user] broken ALSA
  2008-10-31  4:52                             ` Andrey Vul
@ 2008-11-03  4:00                               ` M. Sitorus
  0 siblings, 0 replies; 18+ messages in thread
From: M. Sitorus @ 2008-11-03  4:00 UTC (permalink / raw
  To: gentoo-user

Andrey, emerge -DNv did not work, but i managed to get alsa working.
I got the solution by adding "asound" on ALSA_PCM_PLUGINS. Thanks for
the help Andrey

-- 
Salam,

Marc



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2008-11-03  4:00 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-25 17:51 [gentoo-user] broken ALSA Andrey Vul
2008-10-25 21:55 ` Willie Wong
2008-10-28  6:30   ` M. Sitorus
2008-10-28  7:05     ` Andrey Vul
2008-10-30  3:05       ` M. Sitorus
2008-10-30  3:10         ` Andrey Vul
2008-10-30  3:53           ` M. Sitorus
2008-10-30  4:02             ` Andrey Vul
2008-10-30  4:04             ` Andrey Vul
2008-10-30  5:26               ` M. Sitorus
2008-10-30  5:34                 ` Andrey Vul
2008-10-30  6:53                   ` M. Sitorus
2008-10-30 16:15                     ` Andrey Vul
2008-10-31  0:36                       ` M. Sitorus
2008-10-31  2:40                         ` Andrey Vul
2008-10-31  4:43                           ` M. Sitorus
2008-10-31  4:52                             ` Andrey Vul
2008-11-03  4:00                               ` M. Sitorus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox