Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Audio fault on Lenovo 100E Gen 2 Intel Celelron N4020 #305

Closed
BonzoFerret opened this issue Aug 13, 2022 · 7 comments
Closed

Audio fault on Lenovo 100E Gen 2 Intel Celelron N4020 #305

BonzoFerret opened this issue Aug 13, 2022 · 7 comments

Comments

@BonzoFerret
Copy link

BonzoFerret commented Aug 13, 2022

Audio fault

Lenovo 100E Gen 2 Intel Celelron N4020 4GB 32GB eMMC 11.6 Inch Chrome OS Chromebook

Running Ubuntu with the Mate desktop, using the sof-setup-audio and SOUNDCARD=rtk sof-setup-audio scripts. It does give a sound when the login screen asks for a password, but in the desktop there is no sound when playing youtube videos and the sound icon in the panel is permanently muted and can't be changed.

Otherwise this is a fantastic and very useable implementation of Ubuntu. Wel done and many thanks.

@BonzoFerret
Copy link
Author

BonzoFerret commented Aug 14, 2022

alsa-info

speaker-test 1.2.6

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 192 to 2097152
Period size range from 64 to 699051
Using max buffer size 2097152
Periods = 4
ALSA lib pcm_pulse.c:758:(pulse_prepare) PulseAudio: Unable to create stream: No such entity

Unable to set hw params for playback: Input/output error
Setting of hwparams failed: Input/output error

@MilkyDeveloper
Copy link
Collaborator

Run:

systemctl --user mask pipewire.socket
systemctl --user mask pipewire.service

and reboot. Thanks for the praise :D. Feel free to donate to Breath.

@BonzoFerret
Copy link
Author

BonzoFerret commented Aug 14, 2022

Thanks for the quick reply. Unfortunately this doesn't seem to have fixed things, unless I'm doing something wrong.

alsa-info

speaker-test 1.2.6

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 192 to 2097152
Period size range from 64 to 699051
Using max buffer size 2097152
Periods = 4
ALSA lib pcm_pulse.c:758:(pulse_prepare) PulseAudio: Unable to create stream: No such entity

Unable to set hw params for playback: Input/output error
Setting of hwparams failed: Input/output error

@BonzoFerret
Copy link
Author

Aha! Some progress. I have found that, after booting, if I run:

pulseaudio --kill
pulseaudio --start

I now get working sound.

So all I now need to know is how to make it work straight from booting.

@MilkyDeveloper
Copy link
Collaborator

Would you mind joining the Discord? We could debug this issue faster there.

@BonzoFerret
Copy link
Author

I'd love to, but it seems Discord thinks I've breached its terms of service before I even managed to get the account set up.

@BonzoFerret
Copy link
Author

BonzoFerret commented Aug 18, 2022

OK some feedback.
I rebuilt breath from scratch and re-burned my SD card using ubuntu and the mate desktop.
Audio still did not work after running sof-setup-audio but running this extended the boot time considerably
I then realised that I hadn't run

systemctl --user mask pipewire.socket
systemctl --user mask pipewire.service

I did that, and rebooted. Still no audio.
I then ran sof-setup-audio again and rebooted - still the longer reboot time, but this time hurrah! I have audio.
Audio is at maximum volume after reboot. I also note that, even though I turn it down, it's still at maximum volume after a subsequent reboot.

Further update:

I tried again just to check. Again I rewrote the SD card, using Ubuntu and the mate desktop. Again I had no audio after running sof-setup-audio but I decided to investigate further. The sound icon on the panel was showing muted and there was no sound from a youtube video, and when I clicked on the sound icon it wouldn't unmute. However, when I went into sound settings I noticed three things.

  1. There was no device listed in the hardware tab.
  2. There were four options in the input tab which read:

Celeron/Pentium Silver Processor High Definition Audio
Celeron/Pentium Silver Processor High Definition Audio <- this one was selected by default and working
Monitor of Celeron/Pentium Silver Processor High Definition Audio
Monitor of Celeron/Pentium Silver Processor High Definition Audio

  1. There were two options in the output tab which read:

Celeron/Pentium Silver Processor High Definition Audio
Celeron/Pentium Silver Processor High Definition Audio <- this one was selected by default but not working

When I chose the first option in the output tab the audio on the youtube video came on. But the panel icon remained marked as muted.

alsa-info

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants