You are not logged in.

#1 2021-06-10 08:37:23

uhkkzm
Member
Registered: 2021-06-10
Posts: 2

Bug in Alsa Driver 'snd_soc_sst_bytcr_rt5651'

Speaker makes piiiiiiiiiinnnggggg sound at every 1-2 Min interval for 20-30 secs when playing a video


> journalctl -p3 -xb
-----------------------------------------------------------------------------------------------------------------------------
Jun 10 13:10:01 lap pulseaudio[1646]: ALSA woke us up to write new data to the device, but there was actually nothing to write.
Jun 10 13:10:01 lap pulseaudio[1646]: Most likely this is a bug in the ALSA driver 'snd_soc_sst_bytcr_rt5651'. Please report this issue to the ALSA developers.
Jun 10 13:10:01 lap pulseaudio[1646]: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Jun 10 13:12:53 lap systemd-coredump[2460]: [?] Process 2443 (export) of user 1000 dumped core.
                                           
                                            Stack trace of thread 2443:
                                            #0  0x00005584020c68e2 n/a (tracker3 + 0x2f8e2)
                                            #1  0x00005584020c6d0b n/a (tracker3 + 0x2fd0b)
                                            #2  0x00005584020c6d63 n/a (tracker3 + 0x2fd63)
                                            #3  0x00005584020f52b9 n/a (tracker3 + 0x5e2b9)
                                            #4  0x00005584020aecbf n/a (tracker3 + 0x17cbf)
                                            #5  0x00005584020ab26c n/a (tracker3 + 0x1426c)
                                            #6  0x00007fc1cd49db25 __libc_start_main (libc.so.6 + 0x27b25)
                                            #7  0x00005584020ab2ae n/a (tracker3 + 0x142ae)
                                           
                                            Stack trace of thread 2447:
                                            #0  0x00007fc1cd569b2f __poll (libc.so.6 + 0xf3b2f)
                                            #1  0x00007fc1ce13fae8 n/a (libglib-2.0.so.0 + 0xa7ae8)
                                            #2  0x00007fc1ce0e9781 g_main_context_iteration (libglib-2.0.so.0 + 0x51781)
                                            #3  0x00007fc1ce0e97d2 n/a (libglib-2.0.so.0 + 0x517d2)
                                            #4  0x00007fc1ce11a0c1 n/a (libglib-2.0.so.0 + 0x820c1)
                                            #5  0x00007fc1cd1b3259 start_thread (libpthread.so.0 + 0x9259)
                                            #6  0x00007fc1cd5745e3 __clone (libc.so.6 + 0xfe5e3)
                                           
                                            Stack trace of thread 2448:
                                            #0  0x00007fc1cd56f18d syscall (libc.so.6 + 0xf918d)
                                            #1  0x00007fc1cdfd2669 n/a (libgio-2.0.so.0 + 0xf7669)
                                            #2  0x00007fc1cdfe5d92 n/a (libgio-2.0.so.0 + 0x10ad92)
                                            #3  0x00007fc1cdf7b3d4 n/a (libgio-2.0.so.0 + 0xa03d4)
                                            #4  0x00007fc1cdf7b409 n/a (libgio-2.0.so.0 + 0xa0409)
                                            #5  0x00007fc1ce0ebf30 g_main_context_dispatch (libglib-2.0.so.0 + 0x53f30)
                                            #6  0x00007fc1ce13fb59 n/a (libglib-2.0.so.0 + 0xa7b59)
                                            #7  0x00007fc1ce0eb593 g_main_loop_run (libglib-2.0.so.0 + 0x53593)
                                            #8  0x00007fc1cdfdd5b8 n/a (libgio-2.0.so.0 + 0x1025b8)
                                            #9  0x00007fc1ce11a0c1 n/a (libglib-2.0.so.0 + 0x820c1)
                                            #10 0x00007fc1cd1b3259 start_thread (libpthread.so.0 + 0x9259)
                                            #11 0x00007fc1cd5745e3 __clone (libc.so.6 + 0xfe5e3)
--------------------------------------------------------------------------------------------------------------------------------

can anyone tell me how to fix it or where to report..

Offline

#2 2021-06-10 13:47:10

seth
Member
Registered: 2012-09-03
Posts: 51,046

Re: Bug in Alsa Driver 'snd_soc_sst_bytcr_rt5651'

"piiiiiiiiiinnnggggg" or "beeeeeeep"? (pure sinus)

Do you get that PA message whenever and everytime you hear a "piiiiiiiiiinnnggggg"?

Play video with what?
Does

mpv -ao alsa someporn.mp4

cause the same artifact?

And to be sure: you did try to play someotherporn.mp4 to ensure that the noise isn't actually part of the audio stream?

Offline

#3 2021-06-10 19:25:14

uhkkzm
Member
Registered: 2021-06-10
Posts: 2

Re: Bug in Alsa Driver 'snd_soc_sst_bytcr_rt5651'

seth wrote:

"piiiiiiiiiinnnggggg" or "beeeeeeep"? (pure sinus)

Do you get that PA message whenever and everytime you hear a "piiiiiiiiiinnnggggg"?

Play video with what?
Does

mpv -ao alsa someporn.mp4

cause the same artifact?

And to be sure: you did try to play someotherporn.mp4 to ensure that the noise isn't actually part of the audio stream?

I was playing it with mpv

gnome-session-inhibit mpv --hwdec=vaapi video.mkv

I tried other video as well, but the problem persists.
When the weird sound (piiiinnnggg) comes , video gets paused, and even if i kill video/mpv sound last for 20-30 secs

Now I did

pacman -Syu

ucm files got updated. Though I still get same message when trying "journalctl -p3 -xb" (without core dump this time), I didn't hear that weird sound while playing the same video.

Offline

#4 2021-06-10 20:19:32

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,665

Re: Bug in Alsa Driver 'snd_soc_sst_bytcr_rt5651'

The message can be normal and is generally ignorable and has been downgraded to debug in the next pulseaudio release, this was likely fixed by the new ucm config.

Offline

#5 2021-06-14 20:39:19

simfu
Member
Registered: 2021-06-14
Posts: 1

Re: Bug in Alsa Driver 'snd_soc_sst_bytcr_rt5651'

Hello,

I have a very similar problem. After few tens of seconds of playback, the sound output only emits a long beep.

I reproduced the problem with mpv (video or audio only) and firefox (youtube) and it happens with pulseaudio or pipewire-pulse as well.

All my packages are up to date and latest ucm did not fix it. When using pulseaudio, the "bug in Alsa Driver 'snd_soc_sst_bytcr_rt5651'" is present in the log, but no additional message is printed in the journal when the beep occurs. My laptop is an Asus T101HA

Offline

#6 2022-01-02 19:12:35

dvarkin
Member
Registered: 2022-01-02
Posts: 1

Re: Bug in Alsa Driver 'snd_soc_sst_bytcr_rt5651'

Hello,

I reproduced the problem with my snd_soc_sst_cht_bsw_rt5645 (on Ubuntu 21.10, so it's not only Arch).

Ed.: Launchpad, in my case 5.10.89 kernel not affected.

Last edited by dvarkin (2022-01-03 10:47:14)

Offline

Board footer

Powered by FluxBB