Unable to connect to PulseAudio, sound doesn't work

Unable to connect to PulseAudio, sound doesn't work

Postby hmslima » Dec 31st, '16, 19:19

After updates the pulseaudio doesn't work, I even completely reinstalled the system (without updating it, just adding some programs I really need) and pulse audio still doesn't work. So I've updated my system once I will be without audio anyway. I am using updated Mageia 5.1 64 bits, the Desktop Environment is LXDE.

The sound worked in the first time I turn on the system, but since the second time it didn't work

Any program that uses audio say that the occurred a fail in the connection, the connection was refused.

When I try to open alsamixer in terminal I receive the following message:
Code: Select all
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Conexão recusada

cannot open mixer: Conexão recusada

coneção recusada = refused connection

The volume control of PulseAudio doesn't open but returns the following error message:
Code: Select all
Fatal Error: Unable to connect to PulseAudio: OK


I don't believe it is necessary, but here is the result of lspci
Code: Select all
$ lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 671MX
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] AGP Port (virtual PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] (rev 01)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 IDE Controller (rev 01)
00:03.0 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.3 USB controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter (rev 02)
00:05.0 IDE interface: Silicon Integrated Systems [SiS] SATA Controller / IDE mode (rev 03)
00:06.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:07.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:0b.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
00:0b.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
00:0b.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
00:0f.0 Audio device: Silicon Integrated Systems [SiS] Azalia Audio Controller
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter (rev 10)
02:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)


.

Here the result of some commands:

Code: Select all
$ systemctl --user status pulseaudio.socket pulseaudio.service -a
Failed to get properties: Process org.freedesktop.systemd1 exited with status 1


Code: Select all
$ LC_ALL=C PULSE_LOG=99 pulseaudio --check
D: [pulseaudio] caps.c: Cleaning up privileges.
I: [pulseaudio] main.c: Daemon not running


Code: Select all
$ LC_ALL=C PULSE_LOG=99 pactl stat
Using shared memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472
Trying to connect to /tmp/pulse-PKdhtXMmr18n/native...
connect(): No such file or directory (2)
Trying to connect to /var/run/pulse/native...
connect(): No such file or directory (2)
Connection failure: Connection refused
pa_context_connect() failed: Connection refused


Code: Select all
$ getfacl /dev/snd/*
getfacl: Removing leading '/' from absolute path names
# file: dev/snd/by-path
# owner: root
# group: root
user::rwx
group::r-x
other::r-x

# file: dev/snd/controlC0
# owner: root
# group: audio
user::rw-
user:hmslima:rw-
group::rw-
mask::rw-
other::---

# file: dev/snd/hwC0D0
# owner: root
# group: audio
user::rw-
user:hmslima:rw-
group::rw-
mask::rw-
other::---

# file: dev/snd/hwC0D1
# owner: root
# group: audio
user::rw-
user:hmslima:rw-
group::rw-
mask::rw-
other::---

# file: dev/snd/pcmC0D0c
# owner: root
# group: audio
user::rw-
user:hmslima:rw-
group::rw-
mask::rw-
other::---

# file: dev/snd/pcmC0D0p
# owner: root
# group: audio
user::rw-
user:hmslima:rw-
group::rw-
mask::rw-
other::---

# file: dev/snd/pcmC0D6c
# owner: root
# group: audio
user::rw-
user:hmslima:rw-
group::rw-
mask::rw-
other::---

# file: dev/snd/pcmC0D6p
# owner: root
# group: audio
user::rw-
user:hmslima:rw-
group::rw-
mask::rw-
other::---

# file: dev/snd/seq
# owner: root
# group: audio
user::rw-
user:hmslima:rw-
group::rw-
mask::rw-
other::---

# file: dev/snd/timer
# owner: root
# group: audio
user::rw-
user:hmslima:rw-
group::rw-
mask::rw-
other::---


Code: Select all
$ pactl list cards
Falha na conexão: Conexão recusada
pa_context_new() falhou: Conexão recusada
Kamo bleigu aghyerns, dengu middiens, windic posmiddiens ed starwent nocts
User avatar
hmslima
 
Posts: 24
Joined: Dec 30th, '16, 01:57
Location: Bahia - Brazil

Re: Unable to connect to PulseAudio, sound doesn't work

Postby doktor5000 » Jan 4th, '17, 02:02

You ran all of those commands as regular user or as root?

Please also show the output as regular user of
Code: Select all
ps auxwww|grep -v grep|grep -iE "dbus|pulse"
pulseaudio -vvvvv
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 14320
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Sound

Who is online

Users browsing this forum: No registered users and 1 guest

cron