Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 459282

Summary: app-emulation/emul-linux-x86-soundlibs incompatible with media-sound/pulseaudio-3
Product: Gentoo Linux Reporter: Oleksii Shevchuk <alxchk>
Component: [OLD] LibraryAssignee: Multilib team <multilib+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: ford_prefect, thomas
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 416723, 477662    
Bug Blocks:    

Description Oleksii Shevchuk 2013-02-26 10:53:45 UTC
app-emulation/emul-linux-x86-soundlibs (~amd64, 20130224) is incompatible with media-sound/pulseaudio (~amd64, 3.0) that leads to x32 emulation apps with pulse deps, like skype, couldn't output sound.
Comment 1 Pacho Ramos gentoo-dev 2013-02-26 19:13:29 UTC
That is because emul sets only include already stabilized packages
Comment 2 Arun Raghavan (RETIRED) gentoo-dev 2013-08-02 16:01:53 UTC
This likely has nothing to do with emul soundlibs, and more to do with a Skype bug. Please try skype-4.2.0.11-r1 for a fix.
Comment 3 Arun Raghavan (RETIRED) gentoo-dev 2013-08-02 16:05:01 UTC
Please reopen if you still find things broken with 4.2.0.11-r1
Comment 4 Vasily Pupkin 2013-08-02 18:20:04 UTC
This is not the skype bug. Recent libpulse should be provided, because 2.0 and 3.0  are incompatible.
Comment 5 Arun Raghavan (RETIRED) gentoo-dev 2013-08-02 18:58:06 UTC
Incompatible in what way?
Comment 6 Vasily Pupkin 2013-08-02 19:35:00 UTC
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
Comment 7 Vasily Pupkin 2013-08-02 19:35:36 UTC
I use 32bit libpulse from Arch linux and don't like it =\
Comment 8 Arun Raghavan (RETIRED) gentoo-dev 2013-08-03 04:39:06 UTC
Could you post verbose logs for when this happens? Do this with:

* pacmd set-log-level 4
* Try reproducing the connection refused error
* You should see some error logs in your syslog.
Comment 9 Vasily Pupkin 2013-08-03 09:28:54 UTC
There is no additional info in syslog:

> flog _SYSTEMD_USER_UNIT=pulseaudio.service --since -3m
-- Logs begin at Пт 2013-08-02 14:49:27 EEST. --
авг 03 12:23:31 WinterMute pulseaudio[2725]: [pulseaudio] cli.c: CLI got EOF from user.
авг 03 12:23:31 WinterMute pulseaudio[2725]: [pulseaudio] client.c: Freed 34 "UNIX socket client"
авг 03 12:23:31 WinterMute pulseaudio[2725]: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Client removed from object /org/pulseaudio/core1/client34
авг 03 12:23:37 WinterMute pulseaudio[2725]: [pulseaudio] client.c: Freed 22 "Skype"
авг 03 12:23:37 WinterMute pulseaudio[2725]: [pulseaudio] protocol-native.c: Connection died.
авг 03 12:23:37 WinterMute pulseaudio[2725]: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Client removed from object /org/pulseaudio/core1/client22

The only thing that I can get then skype reports 
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
is:

D: [pulseaudio] module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
D: [pulseaudio] module-udev-detect.c: Resuming all sinks and sources of card alsa_card.pci-0000_00_1b.0.
Comment 10 Arun Raghavan (RETIRED) gentoo-dev 2013-08-04 03:30:37 UTC
Could you also post the output of:

PULSE_LOG=4 skype

This works just fine for me here, so the error you're facing is strange.

Also, I notice you're having Skype use ALSA. As a workaround, you could try to see if making Skype talk to PA directly works.
Comment 11 Vasily Pupkin 2013-08-04 06:28:17 UTC
Using shared memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65496
Trying to connect to /tmp/pulse-EWWMpQUtoHHK/native...
connect(): No such file or directory (2)
Trying to connect to /home/alxchk/.pulse/native...
connect(): No such file or directory (2)
Trying to connect to /var/run/pulse/native...
connect(): No such file or directory (2)
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

There is pulseaudio in in skype settings all the time.

With arch library:
LC_ALL=C PULSE_LOG=4 skype
Using shared memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65496
Trying to connect to /run/user/1000/pulse/native...
SHM possible: yes
Protocol version: remote 28, local 27
Negotiated SHM: yes

I make symlinks  /run/user/1000/pulse/native > /home/alxchk/.pulse/native and now it works..
Comment 12 Pacho Ramos gentoo-dev 2013-10-08 21:13:50 UTC
solved in 20131008