Hello! I am new to the AMD64 arch. in Gentoo, i buyed a new machine some days ago. Now i am experiencing some problems with the new release of skype 1.4.74. The point is that Skype, a 32 bit app, uses the emul-linux compatibility layer to work but. Now emul-linux includes alsa-lib-rc1 that has a different behaviour from the stable release. Here is the proof: Alsa 1.0.14 rc1, file pcm_softvol.c line 870: if (strcmp(id, "resolution") == 0) { long v; err = snd_config_get_integer(n, &v); if (err < 0) { SNDERR("Invalid resolution value"); return err; } resolution = v; continue; } if (strcmp(id, "min_dB") == 0) { err = snd_config_get_real(n, &min_dB); if (err < 0) { SNDERR("Invalid min_dB value"); return err; } continue; } SNDERR("Unknown field %s", id); return -EINVAL; } different from the stable release: continue; } if (strcmp(id, "min_dB") == 0) { err = snd_config_get_real(n, &min_dB); if (err < 0) { SNDERR("Invalid min_dB value"); return err; } continue; } if (strcmp(id, "max_dB") == 0) { err = snd_config_get_real(n, &max_dB); if (err < 0) { SNDERR("Invalid max_dB value"); return err; } continue; } SNDERR("Unknown field %s", id); return -EINVAL; } As you can see a max_DB parameter has been introduced.. and my Skype hangs because of that: if i run Skype in the terminal i can see messages like: andrea@localhost:~$ skype ALSA lib pcm_softvol.c:889:(_snd_pcm_softvol_open) Unknown field max_dB ALSA lib pcm_softvol.c:889:(_snd_pcm_softvol_open) Unknown field max_dB ALSA lib pcm_softvol.c:889:(_snd_pcm_softvol_open) Unknown field max_dB ALSA lib pcm_softvol.c:889:(_snd_pcm_softvol_open) Unknown field max_dB This doesn't surprise me. I think the way to solve this is a version bump of the alsa-lib in the compatibility layer. Andrea Cimino Reproducible: Always
Ping
I can't reproduce this using, net-im/skype-1.4.0.94 works perfectly with alsa-lib 1.0.144_rc1 here. Which kernel version are you using ? Can you provide your emerge --info ? Can you try http://dev.gentoo.org/~tester/alsa-lib-1.0.14_rc2.tbz2 you can easily try it by putting it in your /usr/portage/distfiles, then making a copy of the soundlibs ebuild (rename it something to 10.0-r5 or something), then ebuild newebuild.ebuild digest, then just emerging it.
(In reply to comment #2) > I can't reproduce this using, net-im/skype-1.4.0.94 works perfectly with > alsa-lib 1.0.144_rc1 here. Which kernel version are you using ? Can you provide > your emerge --info ? > > Can you try > http://dev.gentoo.org/~tester/alsa-lib-1.0.14_rc2.tbz2 > you can easily try it by putting it in your /usr/portage/distfiles, then making > a copy of the soundlibs ebuild (rename it something to 10.0-r5 or something), > then ebuild newebuild.ebuild digest, then just emerging it. > I was trying to download the .tbz2, but the file doesn't seem to exist anymore. Ciao, Andrea
sorry its http://dev.gentoo.org/~tester/dist/alsa-lib-1.0.14_rc2.tbz2
(In reply to comment #4) > sorry its http://dev.gentoo.org/~tester/dist/alsa-lib-1.0.14_rc2.tbz2 > Still the same problem, but it's quite easy to find the reason. The first release the introduced the the max_dB field is he 1.0.14 (stable), not 1.0.14rc2. So that's why i am continuing to get ALSA lib pcm_softvol.c:889:(_snd_pcm_softvol_open) Unknown field max_dB ALSA lib pcm_softvol.c:889:(_snd_pcm_softvol_open) Unknown field max_dB I would suggest to puckage at least that version (or the 14a version). Or maybe you can give me an hint (www link also) to how to package a an alsa .tbz2. Thanks for you support, Andrea Cimino
i have the same output with net-im/skype-1.4.0.99: ALSA lib pcm_softvol.c:889:(_snd_pcm_softvol_open) Unknown field max_dB However, skype works well.
emul-linux-x86-soundlibs-20071114 in the tree, package.masked. use at your own risk.