You are not logged in.

#1 2016-05-22 05:30:56

be11f157cd19c
Member
Registered: 2016-05-22
Posts: 3

[SOLVED]Cannot connect to PulseAudio

After I compiled a custom kernel and reinstalled the system, I can't get PulseAudio to work. It seems that the loopback option in ALSA does work though, so it's not a problem with drivers. So does alsamixer volume adjustments. However, when I try to use deadbeef, the songs just instantly finish playing and nothing plays through my browser(firefox). PulseAudio seems to be running, since it's the default one that works "out of the box" and that /run/user/1000/pulse does exist. But when I use pavucontrol, it just says connecting to pulseaudio forever. Digging though strace output shows that both the pulseaudio daemon and anything pulse-related in general gives lots of EAGAINs(I believe this is normal because apparently it's something with X) and ENOENTs with some shared objects and config files(ldd says it's fine). By the way, I do have System V IPC, POSIX message queues and Unix Domain sockets compiled in just in case.

I'm on kernel version 4.6.0, and I just pacman -Syu'd one minute ago. I can post my kernel compile options if it's necessary.

I think it's fair to say I broke something, and really badly too.

Last edited by be11f157cd19c (2016-05-24 05:49:22)

Offline

#2 2016-05-22 05:33:18

be11f157cd19c
Member
Registered: 2016-05-22
Posts: 3

Re: [SOLVED]Cannot connect to PulseAudio

aplay gives me Device or Resource Busy, presumably EAGAIN

Offline

#3 2016-05-24 05:48:36

be11f157cd19c
Member
Registered: 2016-05-22
Posts: 3

Re: [SOLVED]Cannot connect to PulseAudio

Solved, at last!
Thanks to brebs' .asoundrc


pcm_slave.slavej {
  pcm "hw:0"
  channels 2
  rate 44100
}
pcm.plugj {
  type plug
  slave slavej
}

Offline

Board footer

Powered by FluxBB