You are not logged in.

#1 2016-08-11 21:22:13

ckubrak
Member
Registered: 2016-08-11
Posts: 4

[Solved] Pulseaudio not working

I made the stupid mistake to install jack2 while using pulseaudio. The audio wasn't working at all (and I realized I didn't need Jack) so I decided to remove jack2. Now I do have sound (with the laptop's built in speakers), but pavucontrol is not loading (frozen at Establishing connection with pulseaudio. Please wait..." and I get this when I run "pulseaudio"

E: [pulseaudio] main.c: Daemon startup without any loaded modules, refusing to work.


This is my system.pa
https://gist.github.com/ckubrak/183d2b8 … dce011f768

Client.conf
https://gist.github.com/ckubrak/dec65d4 … df8a2e89d0


daemon.conf
https://gist.github.com/ckubrak/deb77c0 … 96d5cfcb49

default.pa
https://gist.github.com/ckubrak/f4ffe39 … 0dbd21a474



Thanks!

Last edited by ckubrak (2016-08-12 20:25:18)

Offline

#2 2016-08-12 07:30:41

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,743

Re: [Solved] Pulseaudio not working

Post

sudo fuser -v /dev/snd/*
aplay -l

you may also want to reset local pulse config by removing ~/.config/pulse and ~/.pulse

Last edited by V1del (2016-08-12 09:17:46)

Online

#3 2016-08-12 13:48:44

ckubrak
Member
Registered: 2016-08-11
Posts: 4

Re: [Solved] Pulseaudio not working

I've removed ~/.config/pulse

When I run "sudo fuser -v /dev/snd/*" I don't get any output
When I run "aplay -l" I got this:

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20756 Analog [CX20756 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Offline

#4 2016-08-12 14:18:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,743

Re: [Solved] Pulseaudio not working

Reading your files again, why does your default.pa open up with ".fail"? it will simply abort further parsing and not load any modules

On second thought that might not be it, can you post

pulseaudio -vvv

in that case?

Last edited by V1del (2016-08-12 14:20:57)

Online

#5 2016-08-12 15:52:57

ckubrak
Member
Registered: 2016-08-11
Posts: 4

Re: [Solved] Pulseaudio not working

I got this when I run "pulseaudio -vvv"

I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: RealtimeKit worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 9.0
D: [pulseaudio] main.c: Compilation host: x86_64-unknown-linux-gnu
D: [pulseaudio] main.c: Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wall -W -Wextra -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto
D: [pulseaudio] main.c: Running on host: Linux x86_64 4.6.4-1-ARCH #1 SMP PREEMPT Mon Jul 11 19:12:32 CEST 2016
D: [pulseaudio] main.c: Found 4 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled.
I: [pulseaudio] main.c: Machine ID is 7ddb8d8a3f0b42a3bd8cf8ec9f44fe52.
I: [pulseaudio] main.c: Session ID is c2.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/cristian/.pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-9.0/modules.
I: [pulseaudio] main.c: Running in system mode: no
I: [pulseaudio] main.c: System supports high resolution timers
D: [pulseaudio] memblock.c: Using shared posix-shm memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472
I: [pulseaudio] cpu-x86.c: CPU flags: CMOV MMX SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2 
I: [pulseaudio] svolume_mmx.c: Initialising MMX optimized volume functions.
I: [pulseaudio] remap_mmx.c: Initialising MMX optimized remappers.
I: [pulseaudio] svolume_sse.c: Initialising SSE2 optimized volume functions.
I: [pulseaudio] remap_sse.c: Initialising SSE2 optimized remappers.
I: [pulseaudio] sconv_sse.c: Initialising SSE2 optimized conversions.
I: [pulseaudio] svolume_orc.c: Initialising ORC optimized volume functions.
E: [pulseaudio] main.c: Daemon startup without any loaded modules, refusing to work.
I: [pulseaudio] main.c: Daemon terminated.

Just in case, the config files I posted above are from /etc/pulse/

Offline

#6 2016-08-12 19:07:22

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,743

Re: [Solved] Pulseaudio not working

There are no other default.pa files in your ~./pulse folder? Is your pulseinstallation broken? What does

pacman -Qkk pulseaudio

give?

Online

#7 2016-08-12 19:53:06

ckubrak
Member
Registered: 2016-08-11
Posts: 4

Re: [Solved] Pulseaudio not working

"pacman -Qkk pulseaudio"

pulseaudio: 309 total files, 0 altered files

I just realized I do have files in ~/.pulse
client.conf only has autospawn=no
and default.pa is empty.

Should I remove them?


Edit: I removed them and now it works fine. Thanks!

Last edited by ckubrak (2016-08-12 20:24:54)

Offline

#8 2016-08-12 20:33:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,743

Re: [Solved] Pulseaudio not working

yes a empty default.pa in there will replace the system wide one, so if it is empty you aren't loading any modules anymore

Online

Board footer

Powered by FluxBB