brunch icon indicating copy to clipboard operation
brunch copied to clipboard

No internal sound Steam Deck Running Chrome OS

Open MrHomebrew opened this issue 3 years ago • 50 comments

The internal sound seems to be not working on the steam deck running ChromeOS. HDMI/external audio does work fortunately.

Is there any chance there could be a fix for the internal audio on the Steam Deck itself?

MrHomebrew avatar Sep 04 '22 20:09 MrHomebrew

What about stuff like Hardware Acceleration and android support?

RibhuNoodleBoodle avatar Oct 21 '22 07:10 RibhuNoodleBoodle

What kernel and recovery image are you using?

tejasraman avatar Oct 21 '22 23:10 tejasraman

You need a newer kernel than 5.15.

tejasraman avatar Oct 21 '22 23:10 tejasraman

Is there a newer kernel that can be used?

MrHomebrew avatar Dec 24 '22 16:12 MrHomebrew

Not easily....

tejasraman avatar Dec 24 '22 16:12 tejasraman

I would definitely be willing to test, if we could get it done it would really up the compatability for the device. Everything else seems to be working good, just the internal audio issue.

Unless there is another way around to add audio compatability for the steam deck, some kind of hackers maybe.

Seeing as it is a device that has the same hardware for all users the Steam Deck would be the perfect device to support.

MrHomebrew avatar Dec 26 '22 02:12 MrHomebrew

What kernel/boot options and brunch recovery are needed to boot on the steam deck? Wanna install this on my Steam Deck.

guylamar2006 avatar Dec 31 '22 00:12 guylamar2006

Try the zork image….

tejasraman avatar Dec 31 '22 00:12 tejasraman

What's the setup on the brunch setup screen? Boot options/kernel version/kernel options?

guylamar2006 avatar Dec 31 '22 00:12 guylamar2006

Idk but try 5.15 and vanilla to start

tejasraman avatar Dec 31 '22 01:12 tejasraman

I finally got brunch to boot after having bootloops with brunch-unstable. Comfirmed zork, I was pretty sure it was zork since the Steam Deck's cpu is built on AMD's Zen 2 technology. (AMD Van Gogh/Custom APU 0405)

Brunch Setup Options: Recovery: Zork 107 from Here, Search for zork Kernel: 5.15 Brunch 107 Stable Options:enable_updates,pwa,sysfs_tablet_mode,force_tablet_mode Kernel Options:enable_hyperthreading=1

My settings after trial and error:

Settings > Language And Input > Show input options on shelf Accessibility > Keyboard > Show on-screen keyboard

Display > Display Size > 1280x800 for decent appearance. (All the way to the left).

Confirmed that everything else works but sound from the speakers, Bluetooth audio is only workaround for now until native audio support gets into the kernel.

guylamar2006 avatar Dec 31 '22 16:12 guylamar2006

I know, but I am trying to backport kernel 5.19 to brunch in hopes that it will still work properly... There are still a few issues I want to sort out, and 5.19 isn't an LTS so I'm sure Brunch will never officially include it, but I'm hoping that 6.1 (which is an LTS) can vent be ported

The Steam Deck seems to require UCM configs as well as 6.1 to work. These UCMs don't work on anything older than 6.1, so both will need to exist. There is also a set from steamOS that can be used on older kernels. I will test and send you a build later.

tejasraman avatar Dec 31 '22 19:12 tejasraman

whenever you have a chance to send a test build to test be sure to let us know. i will also give it a test run.

I am using kernel 5.15 also, brunch stable 107.

Unstable brunch 108 build leads to a boot loop.

Resolving the internal audio issue be amazing but not easy obviously.

MrHomebrew avatar Jan 10 '23 01:01 MrHomebrew

UPDATE: I'm building a build with the UCMs for ACP5X on my GH Actions page. I will send the test build as soon as it's done.

Keep in mind that this is strictly a test build. Once this is merged (if it works) than I will tell you to not use the test build anymore.

Also please keep in mind that if the sound still doesn't work try running alsaucm -c acp5x set _verb HiFi set _enadev Speakers or alsaucm -c acp5x set _verb HiFi-upstream set _enadev Speakers

tejasraman avatar Jan 11 '23 23:01 tejasraman

Ready to test when you are good to go.

Just wondering are you testing this with brunch stable or brunch unstable?

MrHomebrew avatar Jan 13 '23 16:01 MrHomebrew

Stable, unless the bootloop is fixed with the deck.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: MrHomebrew @.> Sent: Friday, January 13, 2023 10:56:43 AM To: sebanc/brunch @.> Cc: guylamar2006 @.>; Comment @.> Subject: Re: [sebanc/brunch] No internal sound Steam Deck Running Chrome OS (Issue #1642)

Ready to test when you are good to go.

Just wondering are you testing this with brunch stable or brunch unstable?

— Reply to this email directly, view it on GitHubhttps://github.com/sebanc/brunch/issues/1642#issuecomment-1382134075, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABCYCOHZXA6BUB3PZPVWQEDWSGCMXANCNFSM6AAAAAAQEPB6ZI. You are receiving this because you commented.Message ID: @.***>

guylamar2006 avatar Jan 13 '23 17:01 guylamar2006

If the bootloop is fixed I would love to test the unstable branch and report any issues since it gets updated quite a bit.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Guy Chronister @.> Sent: Friday, January 13, 2023 11:05:33 AM To: sebanc/brunch @.>; sebanc/brunch @.> Cc: Comment @.> Subject: Re: [sebanc/brunch] No internal sound Steam Deck Running Chrome OS (Issue #1642)

Stable, unless the bootloop is fixed with the deck.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: MrHomebrew @.> Sent: Friday, January 13, 2023 10:56:43 AM To: sebanc/brunch @.> Cc: guylamar2006 @.>; Comment @.> Subject: Re: [sebanc/brunch] No internal sound Steam Deck Running Chrome OS (Issue #1642)

Ready to test when you are good to go.

Just wondering are you testing this with brunch stable or brunch unstable?

— Reply to this email directly, view it on GitHubhttps://github.com/sebanc/brunch/issues/1642#issuecomment-1382134075, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABCYCOHZXA6BUB3PZPVWQEDWSGCMXANCNFSM6AAAAAAQEPB6ZI. You are receiving this because you commented.Message ID: @.***>

guylamar2006 avatar Jan 13 '23 17:01 guylamar2006

Can't build. Submitting it to the unstable repo instead.....

tejasraman avatar Jan 13 '23 20:01 tejasraman

See the status of the brunch-unstable PR #9 where I submitted the ACP5x UCMs. This is to be used with 5.15

tejasraman avatar Jan 14 '23 23:01 tejasraman

Last time I tried unstable brunch there was still a boot loop on the Steam Deck. Not sure if anything has changed recently, will have to test and see

MrHomebrew avatar Jan 17 '23 16:01 MrHomebrew

@tejasraman I was able to build with the Steam Deck audio changes. No sound yet

I tried

chronos@localhost / $ alsaucm -c acp5x set _verb HiFi set _enadev Speakers ALSA lib /build/zork/tmp/portage/media-libs/alsa-lib-1.2.1.2-r2/work/alsa-lib-1.2.1.2/src/ucm/ucm_cond.c:207:(if_eval_control_exists) cannot determine control device ALSA lib /build/zork/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 acp5x use case configuration -22 alsaucm: error failed to open sound card acp5x: Invalid argument

chronos@localhost / $ alsaucm -c acp5x set _verb HiFi-upstream set _enadev Speakers ALSA lib /build/zork/tmp/portage/media-libs/alsa-lib-1.2.1.2-r2/work/alsa-lib-1.2.1.2/src/ucm/ucm_cond.c:207:(if_eval_control_exists) cannot determine control device ALSA lib /build/zork/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 acp5x use case configuration -22 alsaucm: error failed to open sound card acp5x: Invalid argument

MrHomebrew avatar Jan 22 '23 20:01 MrHomebrew

Are the files inside the directory? Take a screenshot with ls and show me please

tejasraman avatar Jan 22 '23 20:01 tejasraman

Yes they are but let me get a picture

MrHomebrew avatar Jan 22 '23 21:01 MrHomebrew

Here is a picture

20230122_162855

MrHomebrew avatar Jan 22 '23 21:01 MrHomebrew

Did not mean to close this as it is not fully resolved.

MrHomebrew avatar Jan 22 '23 21:01 MrHomebrew

It's ok... We just need a kernel patch to support it as well as those UCMs

tejasraman avatar Jan 22 '23 21:01 tejasraman

I'm able to build it now so if we can get that kernel patch I can proceed to the next step for sure.

Appreciate your time and help, you'll definitely get credit for this in the community.

MrHomebrew avatar Jan 22 '23 22:01 MrHomebrew

How?

I've been trying but GitHub actions building is failing every time and I don't want to leave my PC on all night.

There's a file in the unstable branch (in the kernel patches 5.15 directory) where you can add build parameters.

I'll try to build brunch with only 5.15 to test and report back.

If you can build it that's great. Could you build it with all the kernels?

tejasraman avatar Jan 22 '23 22:01 tejasraman

Yes I built with all the kernels.

Also made sure to built with your changes on the stable branch to prevent bootloop issue with brunch unstable

MrHomebrew avatar Jan 22 '23 22:01 MrHomebrew

@tejasraman if you can make the changes for this kernel patch on your unstable brunch fork, I can put them in my stable fork. Build and see if it works with the kernel patch. Save you some time as my computer can finish compiling in less then 2 hours.

MrHomebrew avatar Jan 22 '23 22:01 MrHomebrew