dnschneid / crouton

Chromium OS Universal Chroot Environment
https://goo.gl/fd3zc?si=1
BSD 3-Clause "New" or "Revised" License
8.57k stars 1.24k forks source link

After latest update sound not working in 14.04 #2015

Closed bosiakov closed 8 years ago

bosiakov commented 9 years ago

After latest update on my Acer 720 audio not work. System - 14.04.

If i try run audio mixer:

GStreamer was unable to detect any sound devices. Some sound system specific GStreamer packages may be missing. It may also be a permissions problem.

All video/audio players not start. VLC:

$ vlc
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1~trusty1)
[000000000181a548] pulse audio output error: PulseAudio server connection failure: Connection refuse
ver: 45.0.2454.26 beta (64-bit)
platform: 7262.25.0 (Official Build) beta-channel peppy
Google_Peppy.4389.93.0
$ croutonversion
crouton: version 1-20150716185530~master:aba2c948
release: trusty
architecture: amd64
xmethod: xiwi
targets: xfce,xiwi,xorg,xfce-desktop
host: version 7262.25.0 (Official Build) beta-channel peppy 
kernel: Linux localhost 3.8.11 #1 SMP Mon Aug 3 21:46:45 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
tista500 commented 9 years ago

@bosiakov, I have some questions.

1. Was audio card registered correctly? let us see the output of cat /proc/asound/cards.

2. alsamixer works? alsamixer is simply launched this command, and see top-left of terminal, if Card and Chip were set as "CRAS", it would be normal.

3. pulseaudio was installed properly? if you haven't, please install those packages with sudo apt-get install pulseaudio.

Regards.

bosiakov commented 9 years ago

@tista500 1)

$ cat /proc/asound/cards
 0 [MID            ]: HDA-Intel - HDA Intel MID
                      HDA Intel MID at 0xe0510000 irq 60
 1 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xe0514000 irq 61

2) Alsamixer dont work.

3) Pulseaudio is already the newest version.

tista500 commented 9 years ago

OK, it might need re-compile CRAS module, so how about updating crouton (your crouton version is not the latest one)? In ChromeOS's "crosh" window, give it a try:

sudo sh ~/Downloads/crouton -u

Simple way is something like that. If you had multi chroots, or special install locations, please set them with proper options for crouton.

Regards.

drinkcat commented 9 years ago

@tista500 is probably right, try a chroot update... Looks like we should revive #1049...

dahveed commented 9 years ago

Hi, I have this same issue (as I wrote here: https://github.com/dnschneid/crouton/issues/2174 ), but I can't seem to be able to update my chroot.

krypticwolf3 commented 8 years ago

I actually have the same issue, too. The sound stopped working after I updated my chroot a couple days ago, though admittedly, I do not remember when I last updated. I use Trusty, with a Samsung Chromebook 2.

alsamixer works, shows CRAS as both card and chip, though upping the volume doesn't actually make anything audible. I also tried playing music and videos while the mixer was open to see if it would show any sound registering, but I saw no noticeable differences.

$ croutonversion crouton: version 1-20151104200003~master:2a1fc9da release: trusty architecture: amd64 xmethod: xorg targets: unity host: version 7390.68.0 (Official Build) stable-channel winky kernel: Linux localhost 3.10.18 #1 SMP Thu Nov 5 13:16:55 PST 2015 x86_64 x86_64 x86_64 GNU/Linux freon: yes

$ cat /proc/asound/cards 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xd0914000 irq 107 1 [bytmax98090 ]: byt-max98090 - byt-max98090 byt-max98090

dahveed commented 8 years ago

I "fixed" this by deleting the chroot and creating a new one. Certainly not an ideal solution, but it worked! I still get occasional audio creaks and pops, but those seem tied to high system load or having many audio-using programs open at the same time. Restarting (powerwash, not just logging out of the chroot) fixes that, at least for a day or two.

On Dec 4, 2015, at 9:12, "krypticwolf3" notifications@github.com wrote:

I actually have the same issue. The sound stopped working after I updated my chroot a couple days ago, though admittedly, I do not remember when I last updated.

— Reply to this email directly or view it on GitHub.

drinkcat commented 8 years ago

Duping to #1049.