Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321333 - Alsa does not handle very well multilib
Summary: Alsa does not handle very well multilib
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-24 16:28 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2010-05-24 18:33 UTC (History)
0 users

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


Attachments
/tmp/emerge--info (emerge--info,14.48 KB, text/plain)
2010-05-24 16:28 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DEMAINE Benoît-Pierre, aka DoubleHP 2010-05-24 16:28:11 UTC
I am trying to use
http://home.roadrunner.com/~infofiles/asoundrc/ladspa.equalizer.arch

and got this:

   1.
      dhp@uranus ~ $ mplayer foo.mp3
   2.
      MPlayer SVN-r29796-4.3.4 (C) 2000-2009 MPlayer Team
   3.
      mplayer: could not connect to socket
   4.
      mplayer: No such file or directory
   5.
      Failed to open LIRC support. You will not be able to use your remote control.
   6.
       
   7.
      Playing foo.mp3.
   8.
      Audio only file format detected.
   9.
      Clip info:
  10.
       Title: bar
  11.
       Artist: bar
  12.
       Album: bar
  13.
       Year: 2001
  14.
       Comment: bar
  15.
       Track: 2
  16.
       Genre: Slow Rock
  17.
      ==========================================================================
  18.
      Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
  19.
      AUDIO: 44100 Hz, 2 ch, s16le, 256.0 kbit/18.14% (ratio: 32000->176400)
  20.
      Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
  21.
      ==========================================================================
  22.
      [AO_ALSA] alsa-lib: pcm_ladspa.c:1502:(snd_pcm_ladspa_add_plugin) Unable to find or load plugin 'mbeq' ID 1197, path '/usr/lib32/ladspa/'
  23.
      [AO_ALSA] Playback open error: No such file or directory
  24.
      Failed to initialize audio driver 'alsa'
  25.
      Could not open/initialize audio device -> no sound.
  26.
      Audio: no sound
  27.
      Video: no video
  28.
       
  29.
       
  30.
      Exiting... (End of file)
  31.
      dhp@uranus ~ $ ls /usr/lib64/ladspa/m*
  32.
      ls: cannot access /usr/lib64/ladspa/m*: No such file or directory
  33.
      dhp@uranus ~ $ ls /usr/lib32/ladspa/m*
  34.
      /usr/lib32/ladspa/matrix_ms_st_1421.so        /usr/lib32/ladspa/mbeq_1197.so
  35.
      /usr/lib32/ladspa/matrix_spatialiser_1422.so  /usr/lib32/ladspa/mod_delay_1419.so
  36.
      /usr/lib32/ladspa/matrix_st_ms_1420.so        /usr/lib32/ladspa/multivoice_chorus_1201.so
  37.
      dhp@uranus ~ $




I tried all possible things:
path "/usr/lib/ladspa/"
path "/usr/lib32/ladspa/"
path "/usr/lib64/ladspa/"
all the same.

I am not sure, but I think there is a bug. I think I have all required deps and USE flags.
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2010-05-24 16:28:23 UTC
Created attachment 232741 [details]
/tmp/emerge--info
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-05-24 17:40:26 UTC
What bug? 

You need 64bit ladspa/plugins, for 64bit alsa, for 64bit mplayer. You can't mix 32bit libs/plugins there in-between.
Comment 3 DEMAINE Benoît-Pierre, aka DoubleHP 2010-05-24 17:42:21 UTC
Fact those drivers have not been produced by emerge ?
Comment 4 DEMAINE Benoît-Pierre, aka DoubleHP 2010-05-24 17:46:57 UTC
When i force
path "/usr/lib64/ladspa/"

Message becomes
[AO_ALSA] alsa-lib: pcm_ladspa.c:1502:(snd_pcm_ladspa_add_plugin) Unable
to find or load plugin 'mbeq' ID 1197, path '/usr/lib64/ladspa/'

what means, I make the change at the right place, but it has no effect ... thus ls prooving the file is absent, thus a bug because emerge should have detect i want multilib (from profile) and create the two plugins.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-05-24 18:20:59 UTC
(In reply to comment #4)
> When i force
> path "/usr/lib64/ladspa/"
> 
> Message becomes
> [AO_ALSA] alsa-lib: pcm_ladspa.c:1502:(snd_pcm_ladspa_add_plugin) Unable
> to find or load plugin 'mbeq' ID 1197, path '/usr/lib64/ladspa/'
> 
> what means, I make the change at the right place, but it has no effect ... thus
> ls prooving the file is absent, thus a bug because emerge should have detect i
> want multilib (from profile) and create the two plugins.

That could be because you haven't installed swh-plugins ? (emerge swh-plugins). I don't see what multilib has to do with any of this...

$ ls /usr/lib64/ladspa/mbeq*
/usr/lib64/ladspa/mbeq_1197.so
$ qfile /usr/lib64/ladspa/mbeq_1197.so
media-plugins/swh-plugins (/usr/lib64/ladspa/mbeq_1197.so)