Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Crackly audio within Ubuntu crouton #791
Comments
|
Have you tried updating your chroot? https://github.com/dnschneid/crouton#a-new-version-of-crouton-came-out-my-chroot-is-therefore-obsolete-and-sad |
theadamgreen1
commented
Apr 21, 2014
|
Ok. Can you post the output of |
theadamgreen1
commented
Apr 21, 2014
|
Here is the output for: chronos@localhost / $ sudo enter-chroot -n saucy croutonversion Entering /usr/local/chroots/saucy... |
|
Ok. Which audio player are you using? |
theadamgreen1
commented
Apr 21, 2014
|
Hi, I'm not using a player. The audio is distorted system wide across Ubuntu. Sounds from web browsers, media players, games, notifications, logon sounds, everything is crackly. |
|
Ok. What about |
theadamgreen1
commented
Apr 21, 2014
theadamgreen1
commented
Apr 21, 2014
|
@drinkcat What does this output mean? Am I stuck with crackly audio? Because I didn't have this issue before and I don't understand why it has just cropped up for some reason. |
dnschneid
added
audio
labels
Apr 22, 2014
|
@theadamgreen1 : Basically, audio that is routed straight to Chrome Audio Server (CRAS) is working fine, but there is a problem when it is routed through pulseaudio first. I have not been able to reproduce on Acer C720, dev channel (5764.0.0). I'll try beta channel. What you can try (in this order):
|
theadamgreen1
commented
Apr 22, 2014
|
I have rebooted the Chromebook, no change. |
|
Video output? That might be interesting... |
theadamgreen1
commented
Apr 22, 2014
|
On screen as well, but I managed to get round it by disabling developer mode forcing a powerwash (this is on Chrome OS, didn't try Ubuntu at the time). |
|
Not sure if I was clear. HDMI also carries audio, so I'm wondering if having a HDMI cable connected could somehow confuse CRAS/pulseaudio and cause your sound problems... Hence the idea: if you do have an HDMI cable connected: disconnect it, reboot, then try again with Ubuntu. |
theadamgreen1
commented
Apr 22, 2014
|
Oh, sorry. Audio doesn't work at all through HDMI in Ubuntu, but does for Chrome.OS. Tried disconnecting, rebooting and still the same result. |
theadamgreen1
commented
Apr 22, 2014
|
Hi. I have fixed the issue. It was nothing to do with the HDMI thing because that only occured when I was on the dev channel. The problem was the fact that I was on the beta channel. I reverted to the stable channel, powerwashed and reinstalled Ubuntu 14.04 Trusty. Audio is crisp. Thanks for your help and support. A Green |
|
I managed to reproduce on beta channel, thanks (dev channel is not affected, stable is ok according to you). Not related to HDMI, present on both earplugs and speaker as you mention.
Extra notes:
|
theadamgreen1
commented
Apr 23, 2014
|
Good analysis, something I would've failed to fathom up myself :) |
theadamgreen1
closed this
Apr 23, 2014
theadamgreen1
reopened this
Apr 23, 2014
|
Ok. Replacing There is an ABI mismatch between CRAS built from branch Looks like we should get rid of the branch name parsing logic, and always rely on manifests (if that works for stable channel as well). |
theadamgreen1
commented
Apr 25, 2014
|
How could I test this on stable? |
|
Fixed in #1053. |
drinkcat
closed this
Nov 20, 2014
stevenleeg
commented
Apr 17, 2015
|
I'm seeing this same issue with the latest crouton (just updated my chroot now) on debian sid (Dell Chromebook 11) Is there anything I can provide to help fix this? |
Judecca
commented
Apr 27, 2015
|
I have exactly the same issue. Audio crackles on Ubuntu XFCE. Most notably, in VLC or Audacity. I have the most recent version of Crouton and just updated my chroot. Acer Chromebook 11 CB3-111 |
jodamartin
commented
May 3, 2015
|
Same thing for me. Running Trusty (KDE) on a c720. Any headway on this? |
yetzke
commented
May 6, 2015
|
Same thing for me. I'm running Precise KDE on c720. Thanks |
forresthopkinsa
commented
Jun 12, 2015
|
Bump. I'm having the same problem. It's not consistent, though--sometimes it happens, sometimes not. But when it starts happening, it gets progressively worse unless I stop the source of sound for a few minutes. That sometimes fixes it, sometimes not. I just updated, and that didn't fix it. This has been happening for months. It seems to happen a lot more often through an external audio output, like HDMI or earphones. It's more rare through the internal speakers. HP Chromebook 14, 2013 |
ee7klt
commented
Nov 4, 2015
|
can someone please explain how exactly to do this in layman's terms? I've clicked through the link to #1053 by drinkcat and the subsequent links from there. From what I've gleaned, it looks like we need to set the version number in CPPflags or something or other. What exact commands do i need to run? Will I need to re-install ubuntu? if i need to copy libcras.so from chrome os to ubuntu, what is the origin and target of this file? |
forresthopkinsa
commented
Nov 4, 2015
|
Honestly, it eventually went away for me after an update. Then again, I don't use the external HDMI output nearly as often as I used to, so maybe it has only dropped in frequency. |
AdamDanischewski
commented
Oct 3, 2016
|
This problem is still existent, everything was fine until recently (over the last week -- I noticed an audio problem a few days ago yet didn't reboot because of ongoing programs). $> aplay -Dcras /usr/share/sounds/alsa/Front_Center.wav Playing audio through vlc w/Chromium OS Audio Server or Default produces horrible scratchy and screetchy sounds. $> cras_test_client --version crouton: version 1-20160902144033~master:9f8e9a22 VLC media player 2.1.6 Rincewind (revision 2.1.6-0-gea01d28) pulseaudio 4.0 |
forresthopkinsa
commented
Oct 3, 2016
|
you're on the latest commit, so that isn't the issue. weird. |
forresthopkinsa
commented
Oct 3, 2016
|
@dnschneid Do you have to update Crouton to work with Cras with each Chromium update? |




theadamgreen1 commentedApr 21, 2014
Within Chrome OS, sound plays fine without any issues. When it comes to playing sound through Ubuntu (installed via crouton), the sound is crackly at all volume levels. I have tried using earphones, the crackl is played through those as well. I have tried uninstalling, reinstalling, changing distribution and powerwashing my Chromebook, to no avail. I am using the Acer C7, what can I do?I never had this issue before, I uninstalled Ubuntu to try LXDE, didn't like it so reinstalled Ubuntu, to find I have crackling audio, with Unity, LXDE, GNOME and Xfce.