brunch icon indicating copy to clipboard operation
brunch copied to clipboard

Audio doesn't work

Open Yunjonue opened this issue 1 year ago • 12 comments

Lenovo IdeaPad 3 Intel Core i5-1135G7 2.4GHz 8GB RAM Booting from USB 3.2 32GB through Type-C port

Kernel 6.1, no Chromebook audio enabled, all drivers enabled in Chrome OS settings menu

Audio in quick settings Audio tab in settings

Yunjonue avatar Sep 17 '23 13:09 Yunjonue

Can you please post the output of cras_test_client?

ZProLegend007 avatar Sep 17 '23 13:09 ZProLegend007

System Volume (0-100): 100 
Capture Muted : Not muted
User muted: Not muted
Output Devices:
	ID	MaxCha	LastOpen	Name
Output Nodes:
	Stable Id	 ID	 Vol  UI       Plugged	L/R swapped	      Time Hotword	Type		MaxCha Name
Input Devices:
	ID	MaxCha	LastOpen	Name
	6	2	UNK		Post DSP Delayed Loopback
	5	2	UNK		Post DSP Loopback
	4	2	UNK		Post Mix Pre DSP Loopback
Input Nodes:
	Stable Id	 ID	Gain  UI       Plugged	L/R swapped	      Time Hotword	Type		MaxCha Name
	(ec289a19)	6:0	    0 1.000000     yes	            no	         0        	POST_DSP_DELAYED_LOOPBACK     X Post DSP Delayed Loopback
	(8c74f766)	5:0	    0 1.000000     yes	            no	         0        	POST_DSP_LOOPBACK     X Post DSP Loopback
	(8a04af91)	4:0	    0 1.000000     yes	            no	         0        	POST_MIX_LOOPBACK     X Post Mix Pre DSP Loopback
Attached clients:
	ID	pid	uid
	36	14295	1000
Num active streams: 0
Last audio active time: 1859, 727553236

log.txt

Yunjonue avatar Sep 17 '23 15:09 Yunjonue

It seems that your output device isn't detected by cras (ChromeOS Audio Server). Did you say that you enabled chromebook audio? What recovery image are you using?

ZProLegend007 avatar Sep 18 '23 03:09 ZProLegend007

I tried with both of enabled and disabled chromebook_audio I use Volteer, Voxel, 115 (which was suggested in the official documentation) Also I use stable Brunch version (r115) and didn't update system in any way

Yunjonue avatar Sep 18 '23 04:09 Yunjonue

Your device (I believe) originally runs Windows. Have you tried running linux on it before? I think there may be issues with drivers and/or soundcard detection. You need to figure out how to get your soundcard detected so that the system can output to it. Try to do some research on similar issues for your device running linux online.

ZProLegend007 avatar Sep 18 '23 04:09 ZProLegend007

Yes, I did. My computer runs Windows, but I installed Linux. Thank you for advice

Yunjonue avatar Sep 18 '23 11:09 Yunjonue

Coolio, does sound work in Linux? As ChromeOS is built on Linux if the sound works on Linux alone then you could try install the same drivers on ChromeOS.

Good luck! Hope you figure things out.

ZProLegend007 avatar Sep 18 '23 15:09 ZProLegend007

Yes, it works on Linux. I'll try, thanks 🙂 Maybe also different recovery images can help? I can't figure out how to find a correct one for me, there's no difference, for example, between "rammus" and "volteer" at first sight, but they are for different CPU generations

Yunjonue avatar Sep 18 '23 15:09 Yunjonue

Try the "voxel" image. That image is said to work best on intel 11th gen devices. https://cros.tech/device/voxel/

Edit: Never mind I misread the above, I see that you are already using it. Try find what config your Linux is using (if it's still installed) and figure out what modules, drivers or firmware may be missing. Let me know what you find 👍

ZProLegend007 avatar Sep 19 '23 06:09 ZProLegend007

My Samsung Galaxy Book2 with 12th Intel Core i5-1235U has no sound. Everything else works normally, including the microphone, only the sound doesn't work. I've already tried several images from Brya, now I'm testing with Primus, but it didn't work either.

image

leonardocustodiosilva avatar Sep 21 '23 22:09 leonardocustodiosilva

After downloading the sof firmware, refer to this method. https://github.com/sebanc/brunch/issues/1859#issuecomment-1689698613

ly9999999 avatar Sep 22 '23 09:09 ly9999999

And it might be worth checking out the additional steps here: https://github.com/sebanc/brunch/issues/1692

@ly9999999, hi again! I found that for my sound card, the sof firmware comes OK with current brunch (118) and kernel 6.1, but I need to run an extra script for ALSA to fit.

agrimpelhuber avatar Dec 01 '23 15:12 agrimpelhuber

with new Brunch version and kernel 6.6 audio appeared and works fine. don't need any additional drivers or parameters

Yunjonue avatar Jul 24 '24 12:07 Yunjonue