Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: >=skype-4.3 with alsa and minimal pulseaudio
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
mariuz
n00b
n00b


Joined: 04 Oct 2014
Posts: 5
Location: Romania

PostPosted: Tue Oct 07, 2014 4:18 pm    Post subject: Anyone tested apulse ? Reply with quote

Anyone tested apulse - PulseAudio emulation for ALSA :?:


https://github.com/i-rinat/apulse
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3509

PostPosted: Tue Oct 07, 2014 4:28 pm    Post subject: Re: Anyone tested apulse ? Reply with quote

mariuz wrote:
Anyone tested apulse - PulseAudio emulation for ALSA :?:


https://github.com/i-rinat/apulse


I've heard that it doesn't work on multilib systems.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1249

PostPosted: Tue Oct 07, 2014 4:54 pm    Post subject: Reply with quote

it works, but may not work with some audiocards like e-mu 0404 usb
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3509

PostPosted: Tue Oct 07, 2014 5:17 pm    Post subject: Reply with quote

Perfect Gentleman wrote:
it works, but may not work with some audiocards like e-mu 0404 usb


As long as it works with hd-audio I'll be happy. Guess I'll have to test it.

Side question... Some people seem to consider multilib to be anathema, along with *kit, etc. I can see the problems with *kit, but I'm not quite sure what the problem is with multilib, or how you run legacy 32-bit software (Notably under WINE) without it. Or maybe I'm confusing what multilib really is. I don't have the no-multilib profile, and I generally wind up with a bunch of emul-linux-x86-* packages installed.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1249

PostPosted: Tue Oct 07, 2014 5:54 pm    Post subject: Reply with quote

depontius, as you have skype installed that means you have multilib
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Sun Oct 12, 2014 10:39 am    Post subject: Reply with quote

Heads up, the first posting was edited: You do no longer have to mess with pulseaudio at all; just install skype[apulse]
(On amd64 you currently still have to unmask some USE-flags and switch to ABI_X86="32" instead of emul-libs, but these things are discussed in separate threads:
All you need is already in the portage main tree, just partially masked.)
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1249

PostPosted: Sun Oct 12, 2014 10:59 am    Post subject: Reply with quote

mv, apulse doesn't work work with some cards, so, please, don't remove your manual for pulseaudio
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Sun Oct 12, 2014 11:09 am    Post subject: Reply with quote

Perfect Gentleman wrote:
mv, apulse doesn't work work with some cards, so, please, don't remove your manual for pulseaudio

I don't plan to remove it.

It's hard to imagine that apulse does not work with some cards: AFAIK it just "translates" all requests into alsa requests, so if a card is supported by alsa it should immediately be supported by apulse, shouldn't it? Maybe it is another problem than your card, e.g. the compile flags (which was the problem in my case: Surprisingly, apulse compiles fine with -flto but does not work with skype if compiled in this way)
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1249

PostPosted: Sun Oct 12, 2014 11:24 am    Post subject: Reply with quote

mv wrote:
so if a card is supported by alsa it should immediately be supported by apulse, shouldn't it?

as developer said "No, it shouldn't"
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Sun Oct 12, 2014 11:41 am    Post subject: Reply with quote

Perfect Gentleman wrote:
as developer said "No, it shouldn't"

Interesting. Can you perhaps provide a link which contains a more detailed explanation? I looked into the closed isues of the apulse project on github, but couldn't find anything related.
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1249

PostPosted: Sun Oct 12, 2014 11:49 am    Post subject: Reply with quote

mv wrote:
Can you perhaps provide a link which contains a more detailed explanation?

I can, but it's russian.
Shortly, my E-MU 0404 USB doesn't work properly in Skype when apulse is used.
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Sun Oct 12, 2014 1:36 pm    Post subject: Reply with quote

I wonder if this patch is relevant; looks like it's meant for distro usage, since they would tend not to use bundled headers.

This one allows you to use envvars to select the playback and/or capture card, rather than using "default" for both, unconditionally.

All in all, looks quite nice; definitely much nicer than pulsefail, afaic.
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1249

PostPosted: Sun Oct 12, 2014 1:57 pm    Post subject: Reply with quote

steveL, tried that too, it doesn't help.
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 916

PostPosted: Tue Oct 28, 2014 9:51 pm    Post subject: Reply with quote

apulse works well here. While I'm waiting for multilib to become stable and usable, I'm running it in a 32-bit chroot jail.
Back to top
View user's profile Send private message
sl70
Guru
Guru


Joined: 18 Jun 2002
Posts: 449
Location: Saitama, JP

PostPosted: Tue Nov 11, 2014 5:35 pm    Post subject: Reply with quote

This is not working for me. I can't stand pulseaudio so I was very happy to try apulse. However, I keep getting the same error messages that I don't understand:
Code:
emerge: there are no ebuilds to satisfy "media-libs/alsa-lib[abi_x86_32(-)]".
(dependency required by "media-sound/apulse-0.1.2-r1[abi_x86_32]" [ebuild])
(dependency required by "net-im/skype-4.3.0.37-r2[apulse]" [ebuild])
(dependency required by "skype" [argument])

I have this in package.use:
Code:
net-im/skype apulse
media-sound/apulse abi_x86_32
media-libs/alsa-lib abi_x86_32

but I still get the abi_x86_32 message with alsa-lib. I even tried this:
Code:
 ABI_X86="32 64" emerge -pv alsa-lib

but it says:
Code:
[ebuild   R    ] media-libs/alsa-lib-1.0.28  USE="python -alisp -debug -doc" ABI_X86="(64) (-32) (-x32)" PYTHON_TARGETS="python2_7" 0 kB

Can't figure out how to build alsa-lib with the 32-bit ABI. Anyone have an idea?
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Tue Nov 11, 2014 8:02 pm    Post subject: Reply with quote

You have to unmask the USE-flag. Put into
/etc/portage/profile/use.stable.mask wrote:
-abi_x86_32
Back to top
View user's profile Send private message
sl70
Guru
Guru


Joined: 18 Jun 2002
Posts: 449
Location: Saitama, JP

PostPosted: Tue Nov 11, 2014 9:29 pm    Post subject: Reply with quote

mv wrote:
You have to unmask the USE-flag. Put into
/etc/portage/profile/use.stable.mask wrote:
-abi_x86_32

When I do this I get this message:
Code:
--- EAPI '0' does not support 'use.stable.mask': '/etc/portage/profile/use.stable.mask'


I don't get this. The alsa-lib ebuild states EAPI=5. Why does it think it's EAPI=0?
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Tue Nov 11, 2014 9:44 pm    Post subject: Reply with quote

Code:
echo 5 >/etc/portage/profile/eapi
Back to top
View user's profile Send private message
sl70
Guru
Guru


Joined: 18 Jun 2002
Posts: 449
Location: Saitama, JP

PostPosted: Tue Nov 11, 2014 10:14 pm    Post subject: Reply with quote

mv wrote:
Code:
echo 5 >/etc/portage/profile/eapi

Awesome! That fixed it.
Thanks very much.
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3509

PostPosted: Tue Nov 11, 2014 10:51 pm    Post subject: Reply with quote

sl70 wrote:
mv wrote:
Code:
echo 5 >/etc/portage/profile/eapi

Awesome! That fixed it.
Thanks very much.


I don't have /etc/portage/profile - did you have it previously with a different default, or is "base install" not ready to do this particular trick?
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
sl70
Guru
Guru


Joined: 18 Jun 2002
Posts: 449
Location: Saitama, JP

PostPosted: Tue Nov 11, 2014 11:01 pm    Post subject: Reply with quote

depontius wrote:
sl70 wrote:
mv wrote:
Code:
echo 5 >/etc/portage/profile/eapi

Awesome! That fixed it.
Thanks very much.


I don't have /etc/portage/profile - did you have it previously with a different default, or is "base install" not ready to do this particular trick?


Nah, I just created it by hand.
Back to top
View user's profile Send private message
sl70
Guru
Guru


Joined: 18 Jun 2002
Posts: 449
Location: Saitama, JP

PostPosted: Wed Nov 12, 2014 1:37 am    Post subject: Reply with quote

[quote="sl70"][quote="depontius"]
sl70 wrote:
mv wrote:
Code:
echo 5 >/etc/portage/profile/eapi

Awesome! That fixed it.
Thanks very much.


Oops. Still not perfect. emul-linux-x86-soundlibs conflicts with apulse, but em...soundlibs is required by em...medialibs which is required by em...qtlibs which is required by skype, which is the package I want to run in the first place.
Code:
!!! All ebuilds that could satisfy "~app-emulation/emul-linux-x86-soundlibs-20140508" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-emulation/emul-linux-x86-soundlibs-20140508-r1::gentoo (masked by: package.mask, ~amd64 keyword)
/etc/portage/package.mask:
## this conflicts with apulse, which is needed by skype

- app-emulation/emul-linux-x86-soundlibs-20140508::gentoo (masked by: package.mask)

(dependency required by "app-emulation/emul-linux-x86-medialibs-20140508-r6[-abi_x86_32]" [installed])
(dependency required by "app-emulation/emul-linux-x86-qtlibs-20140508-r1" [installed])
(dependency required by "net-im/skype-4.3.0.37-r2" [installed])
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3509

PostPosted: Wed Nov 12, 2014 3:23 am    Post subject: Reply with quote

[quote="sl70"][quote="sl70"]
depontius wrote:
sl70 wrote:
mv wrote:
Code:
echo 5 >/etc/portage/profile/eapi

Awesome! That fixed it.
Thanks very much.


Oops. Still not perfect. emul-linux-x86-soundlibs conflicts with apulse, but em...soundlibs is required by em...medialibs which is required by em...qtlibs which is required by skype, which is the package I want to run in the first place.
Code:
!!! All ebuilds that could satisfy "~app-emulation/emul-linux-x86-soundlibs-20140508" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-emulation/emul-linux-x86-soundlibs-20140508-r1::gentoo (masked by: package.mask, ~amd64 keyword)
/etc/portage/package.mask:
## this conflicts with apulse, which is needed by skype

- app-emulation/emul-linux-x86-soundlibs-20140508::gentoo (masked by: package.mask)

(dependency required by "app-emulation/emul-linux-x86-medialibs-20140508-r6[-abi_x86_32]" [installed])
(dependency required by "app-emulation/emul-linux-x86-qtlibs-20140508-r1" [installed])
(dependency required by "net-im/skype-4.3.0.37-r2" [installed])


My impression is that the emul-linux-x86-* stuff is being replaced by a full multilib, and things get built for both amd64 and x86. Right now we really only build for amd64, and the x86 is supplied by emul-linux-x86-*. They've also changed skype to "-r2" which requires the new multilib, not the old emul-linux-x86-* stuff.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Wed Nov 12, 2014 7:26 pm    Post subject: Reply with quote

sl70 wrote:
(dependency required by "net-im/skype-4.3.0.37-r2" [installed])

There was just an -r3 release which again fixed some depedencies.
The ony emul-* which you really need is qtlibs, but you have to mark a lot of packages ABI_X86=32 and probably also have to unmask some packages.
Here is my current files for unmasking (no gurantee for completeness, since I have also unmasked some packages for other reasons):
/etc/portage/package.accept_keywords/multilib wrote:
~media-libs/fontconfig-2.10.93
~x11-libs/cairo-1.12.16
~x11-libs/libSM-1.2.2

And here is my file for setting multilib-related USE. Perhaps you do not need all of these if you do not run acroread or wine (or run wine only with fewer USE-Flags than me):
/etc/portage/package.use/multilib wrote:
app-emulation/emul-linux-x86-* abi_x86_32
app-emulation/wine abi_x86_32

# The rest we are forced to take...

# net-im/skype:

dev-qt/qtcore abi_x86_32
dev-qt/qtdbus abi_x86_32
dev-qt/qtgui abi_x86_32
dev-qt/qtwebkit abi_x86_32
media-libs/alsa-lib abi_x86_32
media-sound/apulse abi_x86_32
x11-libs/libX11 abi_x86_32
x11-libs/libXScrnSaver abi_x86_32
x11-libs/libXext abi_x86_32
x11-libs/libXv abi_x86_32

# Implicit of net-im/skype:

app-arch/xz-utils abi_x86_32
dev-libs/libpthread-stubs abi_x86_32
dev-libs/libxml2 abi_x86_32
dev-util/pkgconf abi_x86_32
media-libs/gstreamer abi_x86_32
media-libs/gst-plugins-base:0.10 abi_x86_32
virtual/pkgconfig abi_x86_32
x11-proto/inputproto abi_x86_32
x11-proto/kbproto abi_x86_32
x11-proto/printproto abi_x86_32
x11-proto/scrnsaverproto abi_x86_32
x11-proto/videoproto abi_x86_32
x11-proto/xextproto abi_x86_32
x11-proto/xf86bigfontproto abi_x86_32
x11-proto/xproto abi_x86_32

# Implicit of media-sound/skype although not explcitly required:

dev-libs/json-c abi_x86_32
media-libs/flac abi_x86_32
media-libs/libogg abi_x86_32
media-libs/libsndfile abi_x86_32
media-libs/libvorbis abi_x86_32
sys-libs/libcap abi_x86_32
x11-libs/libXtst abi_x86_32
x11-proto/recordproto abi_x86_32

# app-emulation/wine:

media-libs/alsa-lib abi_x86_32
media-libs/libpng abi_x86_32
sys-libs/ncurses abi_x86_32
virtual/glu abi_x86_32
virtual/jpeg:0 abi_x86_32
virtual/opengl abi_x86_32
x11-libs/libXcursor abi_x86_32
x11-libs/libXext abi_x86_32
x11-libs/libXi abi_x86_32
x11-libs/libXrandr abi_x86_32
x11-proto/randrproto abi_x86_32
x11-libs/libXxf86vm abi_x86_32

# Implicit of app-emulation/wine:

media-libs/glu abi_x86_32
media-libs/libjpeg-turbo abi_x86_32
sys-libs/gpm abi_x86_32

# app-emulation/acroread:

dev-libs/openssl:0.9.8 abi_x86_32
net-dns/libidn abi_x86_32
net-nds/openldap abi_x86_32
x11-libs/gtk+:2 abi_x86_32
x11-libs/pangox-compat abi_x86_32

# Implicit of app-emulation/acroread:

app-arch/xz-utils abi_x86_32
dev-libs/atk abi_x86_32
dev-libs/expat abi_x86_32
dev-libs/glib abi_x86_32
dev-libs/gmp abi_x86_32
dev-libs/icu abi_x86_32
dev-libs/libffi abi_x86_32
dev-libs/lzo abi_x86_32
dev-libs/openssl:0 abi_x86_32
dev-util/pkgconf abi_x86_32
media-gfx/graphite2 abi_x86_32
media-libs/fontconfig abi_x86_32
media-libs/harfbuzz abi_x86_32
media-libs/jbigkit abi_x86_32
media-libs/mesa abi_x86_32
media-libs/tiff:0 abi_x86_32
sys-apps/attr abi_x86_32
sys-apps/systemd abi_x86_32
sys-libs/zlib abi_x86_32
virtual/libffi abi_x86_32
virtual/libgudev abi_x86_32
virtual/libiconv abi_x86_32
virtual/libudev abi_x86_32
virtual/pkgconfig abi_x86_32
virtual/udev abi_x86_32
x11-libs/cairo abi_x86_32
x11-libs/gdk-pixbuf abi_x86_32
x11-libs/libXau abi_x86_32
x11-libs/libXcomposite abi_x86_32
x11-libs/libXdamage abi_x86_32
x11-libs/libXdmcp abi_x86_32
x11-libs/libXfixes abi_x86_32
x11-libs/libXft abi_x86_32
x11-libs/libXft abi_x86_32
x11-libs/libXrender abi_x86_32
x11-libs/libXvMC abi_x86_32
x11-libs/libdrm abi_x86_32
x11-libs/libpciaccess abi_x86_32
x11-libs/libvdpau abi_x86_32
x11-libs/libxcb abi_x86_32
x11-libs/libxshmfence abi_x86_32
x11-libs/pango abi_x86_32
x11-libs/pixman abi_x86_32
x11-proto/compositeproto abi_x86_32
x11-proto/damageproto abi_x86_32
x11-proto/dri2proto abi_x86_32
x11-proto/dri3proto abi_x86_32
x11-proto/fixesproto abi_x86_32
x11-proto/fixesproto abi_x86_32
x11-proto/glproto abi_x86_32
x11-proto/presentproto abi_x86_32
x11-proto/renderproto abi_x86_32
x11-proto/xcb-proto abi_x86_32
x11-proto/xf86driproto abi_x86_32
x11-proto/xf86vidmodeproto abi_x86_32

# app-emulation/emul-linux-x86-qtlibs is currently needed for skype
# (This can removed, once dev-qt/qt* becomes abi_x86_32 aware).
# We install the minimal possible version:

app-emulation/emul-linux-x86-qtlibs -development

# Implicit of app-emulation/emul-linux-x86-qtlibs:

dev-db/sqlite abi_x86_32
media-libs/freetype abi_x86_32
sys-apps/dbus abi_x86_32
sys-apps/util-linux abi_x86_32
virtual/jpeg:62 abi_x86_32
x11-libs/libICE abi_x86_32
x11-libs/libSM abi_x86_32
x11-libs/libXinerama abi_x86_32
x11-proto/xineramaproto abi_x86_32

# Implicit of app-emulation/emul-linux-x86-qtlibs:

app-arch/bzip2 abi_x86_32
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Fri Nov 14, 2014 6:40 pm    Post subject: Reply with quote

There might be a neater solution around the corner.

MS are making Skype a webapp to work in chrome,FF ...
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum