Bug 153481 - missing alsa-lib smixer libraries from emul-linux-x86-soundlibs
|
Bug#:
153481
|
Product: Gentoo Linux
|
Version: 2006.1
|
Platform: AMD64
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: major
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: amd64@gentoo.org
|
Reported By: peralta.juan.manuel@gmail.com
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: missing alsa-lib smixer libraries from emul-linux-x86-soundlibs
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-10-30 13:57 0000
|
Hi. I'm reporting here a problem with the emul-linux-x86-soundlibs on amd64.
The problem is that 32 bit apps can not use the sound device when 64 bit apps
are using it, and viceversa, when using software mixing (aka dmix). When only
one "kind" (32 bit or 64 bit but not both) of application uses the sound device
software mixing works ok.
I've tracked down the problem. The 32 bit libraries that are required for
software mixing are not included in emul-linx-x86-soundlibs (I've tested only
version 2.4). The missing libraries are:
smixer-ac97.a smixer-ac97.so smixer-hda.la smixer-sbase.a smixer-sbase.so
smixer-ac97.la smixer-hda.a smixer-hda.so smixer-sbase.la
and should be in the alsa-lib/smixer (/emul/linux/x86/usr/lib/alsa-lib/smixer)
folder from where libasound.so.2 is installed (/emul/linux/x86/usr/lib)
Placing 32 bit binaries of alsa-lib and the smixer libs from an RPM for anther
distribution (alsa-lib version 1.0.13, which matches the native 64 bit version
that I have) under /emul/linux/x86/usr/lib fixed the problem in my case. For
example, I'm able to have audacity (64bit) playing mp3s while I'm talking to
someone else through skype (32bit), something that didn't work before.
I don't think that this bug is an issue for people with cards with hw mixing
support in alsa, but I think that many will benefit from the addition of the 32
bit smixer libraries to the emul-linux-x86-soundlibs ebuild.
Finally, I think that this bug is related to bug #148102 to some extent.
--Juan
Forgot to add this...
Portage 2.1.1-r1 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3,
2.6.18-gentoo x86_64)
=================================================================
System uname: 2.6.18-gentoo x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.5
Last Sync: Wed, 01 Nov 2006 14:30:07 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.3
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox
sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="es_CR.UTF-8"
LC_ALL="es_CR.UTF-8"
LINGUAS="es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/portage /usr/portage/local/layman/portage-xgl
/usr/portage/local/layman/java-experimental
/usr/portage/local/layman/java-migration-packages
/usr/portage/local/layman/science"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa arts bash-completion berkdb bitmap-fonts bzip2 cairo
cdparanoia cdr cli cracklib crypt cups curl dbus dlloader dri dts dv dvb dvd
dvdr eds elibc_glibc emboss encode expat fam fbcon ffmpeg firefox flac fortran
gcj gdbm gif glitz gpm gstreamer gtk2 hal iconv imagemagick
input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog
jack java jpeg kde kernel_linux ldap libg++ linguas_es lm_sensors mad mikmod
mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pda perl
pic png ppds pppd python qt qt3 qt4 quicktime readline reflection samba scanner
sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts
udev unicode usb userland_GNU v4l v4l2 video_cards_fbdev video_cards_fglrx
video_cards_radeon video_cards_v4l video_cards_vesa video_cards_vga vorbis
xcomposite xine xml xml2 xorg xv zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS
can you post the libs you are using?
(In reply to comment #2)
> can you post the libs you are using?
>
Sure, see the attachment. Unfortunately I deleted the rpm that was the source
of the libs... so no way to know their original source.
I have updated alsa-lib to 1.0.14_rc1 and added its smixer libs in
emul-linux-x86-soundlibs-2.5. Try this please and reopen if you have any
problems.