I have sound output perfectly fine in all the testing for if the sound drivers, etc. are working, but I still am having issues adjusting sound volume. I'll try to explain it as best as I can.
- My volume icon is showing as being muted (three dashes). On the other hand, I can play sound through Rhythmbox and the command speaker-test, which indicates that it isn't a problem with the sound driver being completely dysfunctional.
- I tried to troubleshoot PulseAudio to see what was wrong with it, and here is basically what happened:
I run the following commands (denoted by Command here) and get the following output (denoted by Output).
Command: pulseaudio --check
Command: killall pulseaudio
Output: pulseaudio: no process found
Command: sudo rm -rf /tmp/.pulse*
Output: [sudo] password for <user>:
(no further output--success)
Command: rm -rf ~/.pulse*
Command: pulseaudio -D
Output: E: [pulseaudio] main.c: Daemon startup failed.
Command: pulseaudio -vvvv
Output: (This is a bit long...)
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 3.0
D: [pulseaudio] main.c: Compilation host: x86_64-pc-linux-gnu
D: [pulseaudio] main.c: Compilation CFLAGS: -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -W -Wextra -pipe -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 -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option
D: [pulseaudio] main.c: Running on host: Linux x86_64 3.8.0-26-generic #38-Ubuntu SMP Mon Jun 17 21:43:33 UTC 2013
D: [pulseaudio] main.c: Found 2 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 [128-bit ID].
I: [pulseaudio] main.c: Using runtime directory /run/user/<user>/pulse.
E: [pulseaudio] core-util.c: Home directory not accessible: Permission denied
I, then, following some troubleshooting steps online (URL: https://help.ubuntu.com/community/So...otingProcedure
), download pavucontrol, and run it (pavucontrol
), finding this message after entering the command:
Connection to PulseAudio failed. Auto Retry in 5s
In this case this is likely because PULSE_SERVER in the Environment/X11 Root Window Properties or default-server is misconfigured.
This situation can also arrise when PulseAudio crashed and left stale details in the X11 Root Window.
If this is the case, then PulseAudio should autospawn again, or if htis is not configured you should run start-pulseaudio-x11 manually.
I read this message and try the following command: start-pulseaudio-x11
, with the following output:
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
- The real issue I have right now (as far as I've seen) is that the PulseAudio daemon isn't wanting to start. I can get my speakers to play things through Rhythmbox and that terminal test (speaker-test), but I have no control over volume whatsoever. Also, in Settings>Sound, the sections "Output Volume", "Input Volume" (in Settings>Sound>Input), and "Alert Volume" (in Settings>Sound>Sound Effects) are grayed out (slider bar and on/off switch both on all of them) and the button "Test sound" is non-functional. The boxes labeled "Play sound through" and "Record sound through" are blank.
I have done a ton of Google searches, searched these forums quite a bit, among other things, and found nothing to help me in this massive dilemma.