GalliumOS / galliumos-distro

Docs, issues, and artwork sources for GalliumOS
https://galliumos.org/
GNU General Public License v2.0
347 stars 11 forks source link

byt-max98090 duplex mode problems(distorted sound) #387

Open megastallman opened 7 years ago

megastallman commented 7 years ago

Hi, this is another byt-max98090 sound problem in Galliumos.

The problem description: I cannot use Hangouts, Jitsi or any other videochat web-resources or applications, requiring the simultaneous(duplex) speakers/headphones and microphone use.

When I'm trying the duplex sound usage, it sometimes works, but mostly I have garbled, gapped and a pitched down sound(it's impossible to conduct any video-conference that way), very seldom these problems disappear, but more often they exist. This can also happen if I click the volume-control applet in Galliumos.

As a temporary workaround I use a USB-audio dongle with a headset, just headphones or just a microphone. So, byt-max98090's inputs and outputs work, if used separately, in the simplex mode.

My hardware is: Acer Chromebook 11 (CB3-131), GNAWTY 2016 Intel Bay Trail, dualbooting GalliumOS. Installed with chrx scripts on top of Chromebox boot stub. The sound works fine in Chromeos, but in GalliumOS I have that problem either with or without pulseaudio, with any of available kernels(linux-image-4.12.0-galliumos-baytrail, linux-image-4.8.17-galliumos, linux-image-4.4.6-galliumos). My dmesg usually looks like: [ 5.206029] byt-max98090 byt-max98090: ASoC: CPU DAI baytrail-pcm-audio not registered [ 5.206038] byt-max98090 byt-max98090: snd_soc_register_card failed -517 [ 5.208020] intel_soc_dts_thermal: request_threaded_irq ret -22 [ 5.256168] intel_rapl: Found RAPL domain package [ 5.256171] intel_rapl: Found RAPL domain core [ 5.319607] baytrail-pcm-audio baytrail-pcm-audio: FW version: 04.05.13.a0 [ 5.319611] baytrail-pcm-audio baytrail-pcm-audio: Build type: a0 [ 5.319613] baytrail-pcm-audio baytrail-pcm-audio: Build date: Apr 2 2014 14:14:39 [ 5.341957] max98090 i2c-193C9890:00: MAX98090 REVID=0x43 [ 5.342518] max98090 i2c-193C9890:00: use default 2.8v micbias [ 5.343963] byt-max98090 byt-max98090: HiFi <-> baytrail-pcm-audio mapping ok [ 5.344002] byt-max98090 byt-max98090: ASoC: no DMI vendor name!

Thanks for any help!

jmaris commented 7 years ago

Can confirm this issue. Easily reproducible : run any app that requires duplex and the sound is garbled and broken.

Thermiteguy commented 7 years ago

same issue on my CANDY setup, running MrChromeBox's BOOT_STUB. Could this be connected to the RW_LEGACY + baytrail sound issue?

megastallman commented 7 years ago

I think, it's connected to at least all those issues:

Thermiteguy commented 7 years ago

agreed; it seems like there are a multitude of bugs around audio on baytrail models.

ghost commented 6 years ago

When I first call someone on Skype, microphone input and speaker output are completely unusable because of distortion, but it fixes itself after about 10-20 seconds. After that point, the microphone works perfectly fine all the time, but the speaker output is sometimes distorted (I'd say 90% of the time it works without issues though).

It's pretty usable, though a bit annoying.

I'm on Candy, Mr Chromebox Full ROM 07/14/2017

megastallman commented 6 years ago

@iGombar I also have the same, but almost all of the time of duplex usage.

Leuthus commented 3 years ago

I was playing around with the settings in the alsamixer terminal prompt, switched over to the second tab which said Capture and headed of to ADC BOOST and found that by turning this all the way down your audio sounds way way better, no static. Not sure if anyone mentioned this but I figured this out the other day!