Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sound stopped working - not ChromeOS update related #1234

Closed
michalzahorik opened this issue Dec 8, 2014 · 2 comments
Closed

Sound stopped working - not ChromeOS update related #1234

michalzahorik opened this issue Dec 8, 2014 · 2 comments
Labels

Comments

@michalzahorik
Copy link

Ubuntu 12.04, HP Chromebook, crouton: version 1-20141118113718~master:0708c122
release: precise
architecture: amd64
targets: unity
host: version 6310.61.0 (Official Build) stable-channel falco

Hi there,
audio/sound suddenly stopped working (probably after using skype). At the same time Mozilla gets laggy. Pulseaudio/ Pulseaudio deamon reinstalled, but no sound. It's working in ChromeOS though. Chroot updated, but still no sound. CRAS seems to be fine. It might have something to do with Pulseaudio temporary files, but I am not sure. When I try to play mp3 files in VLC player I get this:

Potential PulseAudio version problem:
PulseAudio is streaming with an excessive latency. Sound may be lost or quality degraded.
To address that issue, upgrade the PulseAudio daemon to version 3.0, or disable the alternate sampling rate in its configuration

DIAGNOSTICS:
cras_test_client --dump_server_info output:

System Volume (0-100): 100
Capture Gain (-17.25 - 30.00): 20.00dB
Output Devices:
ID Name
6 HDA Intel PCH: ALC283 Analog:1,0
5 HDA Intel MID: HDMI 2:0,8
4 HDA Intel MID: HDMI 1:0,7
3 HDA Intel MID: HDMI 0:0,3
Output Nodes:
ID Prio Vol Plugged L/R swapped Time Type Name
6:0 0 0 no yes 0 PHONE phone
1:1 1 0 yes yes 168968 _SPEAKER pcm=7 Jack
0:0 0 1.2298e+09 no no 429496729600 8 Jack
0:0 0 0 no no 100 ck
0:0 0 0 no no 0 *
0:0 0 0 yes no 5281953014003793920
Input Devices:
ID Name
7 HDA Intel PCH: ALC283 Analog:1,0
Input Nodes:
ID Prio Gain Plugged L/R swapped Time Type Name
1801675082:0 0 0 no no 0
1667845408:0 0 0 no no 0
Selected Output Node: 0:0
Selected Input Node: 0:0
Attached clients:
ID pid uid
Num active streams: 0
Last audio active time: 0, 0

(precise)michal@localhost:~$ cat /dev/urandom | aplay -Dcras -
Playing raw data 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono
Stream error -22

(precise)michal@localhost:~$ pulseaudio --log-level=debug

I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
I: [pulseaudio] core-util.c: Failed to acquire high-priority scheduling: Permission denied
I: [pulseaudio] main.c: This is PulseAudio 2.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 -Wformat-security -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -W -Wextra -pipe -Wno-long-long -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -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.11 #1 SMP Tue Dec 2 16:48:26 PST 2014
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 4b242973c54d157a0f57cded000003a9.
I: [pulseaudio] main.c: Session ID is 4b242973c54d157a0f57cded000003a9-1418007217.95494-1597219951.
I: [pulseaudio] main.c: Using runtime directory /home/michal/.pulse/4b242973c54d157a0f57cded000003a9-runtime.
I: [pulseaudio] main.c: Using state directory /home/michal/.pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-2.0/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.

Thank you

Michal

@dnschneid
Copy link
Owner

You still seem to be running an old version of the chroot. Try re-downloading the crouton installer and updating again and see if that helps.

@michalzahorik
Copy link
Author

The problem solved. I upgraded to 14.04 and that solved the audio issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants