Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tinkerboard - hassio_audio stuck at 100% CPU #1747

Closed
oscarcarlsson opened this issue Feb 9, 2022 · 2 comments
Closed

Tinkerboard - hassio_audio stuck at 100% CPU #1747

oscarcarlsson opened this issue Feb 9, 2022 · 2 comments
Labels
board/tinker ASUS' Tinker Boards bug

Comments

@oscarcarlsson
Copy link

Describe the issue you are experiencing

I installed glances on a whim and discovered that the hassio_audio addon is using 100% of one cores, which feels unnecessary on such a small machine.

I took a look at the addon logs and this message is repeated again and again:

I: [pulseaudio] client.c: Created 17 "Native client (UNIX socket client)"
I: [pulseaudio] protocol-native.c: Client authenticated anonymously.
D: [pulseaudio] protocol-native.c: Protocol version: remote 35, local 34
D: [pulseaudio] protocol-native.c: SHM possible: no
D: [pulseaudio] protocol-native.c: Negotiated SHM: no
D: [pulseaudio] protocol-native.c: Disabling srbchannel, reason: No SHM support
I: [pulseaudio] client.c: Freed 17 "pactl"
I: [pulseaudio] protocol-native.c: Connection died.

This is what pactl info gives me, in case it's interesting:

pactl info
Server String: unix://run/audio/pulse.sock
Library Protocol Version: 35
Server Protocol Version: 34
Is Local: yes
Client Index: 19
Tile Size: 65496
User Name: root
Host Name: hassio-audio
Server Name: pulseaudio
Server Version: 14.2
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.platform-sound.stereo-fallback
Default Source: alsa_input.usb-Generic_USB_Audio_201405280001-00.analog-stereo
Cookie: 894b:830f

I'm not using any audio functionality.

What operating system image do you use?

tinker (ASUS Tinker Board/Tinker Board S)

What version of Home Assistant Operating System is installed?

7.3

Did you upgrade the Operating System.

Yes

Steps to reproduce the issue

  1. Start SBC
  2. Monitor with glances

Anything in the Supervisor logs that might be useful for us?

N/A

Anything in the Host logs that might be useful for us?

N/A

System Health information

No response

Additional information

No response

@agners agners added the board/tinker ASUS' Tinker Boards label Feb 21, 2022
@agners
Copy link
Member

agners commented Feb 21, 2022

This is most likely an audio plug-in issue. There have been reports of high CPU load already: home-assistant/plugin-audio#60

@oscarcarlsson
Copy link
Author

OK, closing (or merge) this in that case. My Tinkerboard is still stuck at 100% CPU if it matters.

Also, thanks for your work with this OS!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
board/tinker ASUS' Tinker Boards bug
Projects
None yet
Development

No branches or pull requests

2 participants