sebanc / brunch

Boot ChromeOS on x86_64 PC - Supports Intel CPU/GPU from 8th gen or AMD Ryzen
GNU General Public License v3.0
3.61k stars 389 forks source link

Acer Chromebase 24 "buddy" - No Sound #1276

Open txyaloo opened 2 years ago

txyaloo commented 2 years ago

Recently switched my Chromebase over to Brunch from official r91 Google build. Audio worked fine on official build, but have no audio on Brunch.

Used rammus r93 base config with r93 Brunch. Running kernel 5.4. There appear to be some kernel issues with the bdw-rt5650 driver on Broadwell that were fixed in Linux kernel 5.6

Is there any chance of getting this card running on brunch?

txyaloo commented 2 years ago

Additional info:

Changing the kernel to 5.10 gets the audio device detected correctly and volume controls appear but there is no sound still. Is this likely an alsamixer issue or a kernel issue?

sebanc commented 2 years ago

Could you post a dmesg ? (run "dmesg > ~/Downloads/dmesg.txt in crosh shell and attach dmesg.txt from your downloads folder)

Could you also post the output of "cras" and "aplay -l" commands in crosh shell ?

sebanc commented 2 years ago

Actually could you first install the below brunch-unstable build: https://github.com/sebanc/brunch-unstable/releases/tag/r94-unstable-20211103

Verify if sound works with kernel-5.10 or kernel-chromebook-5.4 and if not post the informations I listed in the above comment

txyaloo commented 2 years ago

The only kernel that identifies the rt5650 is 5.1. All other kernels only find Intel HDA. New build does detect 5650 on 5.1 but still no sound.

Outputs are below and dmesg is attached.

Thanks for the help!

chronos@localhost / $ cras ALSA lib /build/rammus/tmp/portage/media-libs/alsa-lib-1.2.1.2-r2/work/alsa-lib-1.2.1.2/src/ucm/utils.c:261:(uc_mgr_config_load) could not open configuration file /usr/share/alsa/ucm2/HDA Intel HDMI/HDA Intel HDMI.conf ALSA lib /build/rammus/tmp/portage/media-libs/alsa-lib-1.2.1.2-r2/work/alsa-lib-1.2.1.2/src/ucm/parser.c:1605:(load_master_config) error: could not parse configuration for card HDA Intel HDMI ALSA lib /build/rammus/tmp/portage/media-libs/alsa-lib-1.2.1.2-r2/work/alsa-lib-1.2.1.2/src/ucm/main.c:963:(snd_use_case_mgr_open) error: failed to import HDA Intel HDMI use case configuration -2 ALSA lib /build/rammus/tmp/portage/media-libs/alsa-lib-1.2.1.2-r2/work/alsa-lib-1.2.1.2/src/ucm/parser.c:1405:(parse_master_file) Syntax field not found in bdw-rt5650 ALSA lib /build/rammus/tmp/portage/media-libs/alsa-lib-1.2.1.2-r2/work/alsa-lib-1.2.1.2/src/ucm/main.c:963:(snd_use_case_mgr_open) error: failed to import bdw-rt5650 use case configuration -22 chronos@localhost / $ aplay -l List of PLAYBACK Hardware Devices card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: HDMI [HDA Intel HDMI], device 9: HDMI 3 [HDMI 3] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: HDMI [HDA Intel HDMI], device 10: HDMI 4 [HDMI 4] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: bdwrt5650 [bdw-rt5650], device 0: System Playback (*) [] Subdevices: 0/1 Subdevice #0: subdevice #0

dmesg.txt

sebanc commented 2 years ago

I have updated the archive in the below brunch-unstable release with a new one (I have just updated the archive so you will still see the same publication time), could you try to update to this new build, test sound and post the same logs if it still does not work ?

https://github.com/sebanc/brunch-unstable/releases/tag/r94-unstable-20211103

txyaloo commented 2 years ago

Sound works on this build using the 5.1 kernel. Appreciate the quick fixes!

txyaloo commented 2 years ago

Coming back to this issue - sound is working for several hours after a reboot, but then it stops. I can't correlate this to the system going to sleep or timing out. Are there any logs I can provide to look into this further?