Bug 207437 - Clattering sound from speakers
Summary: Clattering sound from speakers
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-25 18:19 UTC by K J Petrie
Modified: 2020-05-07 10:36 UTC (History)
0 users

See Also:
Kernel Version: 5.5.18
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
dmesg (59.22 KB, text/plain)
2020-04-25 18:19 UTC, K J Petrie
Details
audio (70.01 KB, application/octet-stream)
2020-04-25 18:48 UTC, K J Petrie
Details

Description K J Petrie 2020-04-25 18:19:55 UTC
Created attachment 288727 [details]
dmesg

On hard boots a clattering sound can be heard from the speakers as X starts up on my laptop with hybrid Intel/AMD graphics on kernels from 5.5.18 on. An audio
Comment 1 K J Petrie 2020-04-25 18:48:38 UTC
Created attachment 288729 [details]
audio

An audio file of the sound is attached (I hope), as is a dmesg output.

Other PCLinuxOS users have also complained of this problem on these kernels. Some report they can silence the sound by muting the speakers and others say they can't. See https://www.pclinuxos.com/forum/index.php/topic,152310.0.html. I do not know whether the distro is significant. However, I have tested with mainline kernels to eliminate distro-specific kernel patches.

5.5.18 is also the version which fixes bug 205291 so I suspect the two issues are related. A look at the changelog suggests commits d0c160b21c42860833d270ca161d66e5adc1ceab, a4b7ec793b4b83dc76aba41192b1527942ee469d, and 13b267c8d7921b8b6721dd0d928aeccff49136cf as possible suspects, though that's just a guess on my part as they mention sound and mux.

Steps to reproduce using an Acer 5810TG laptop (if you just happen to have one to hand):

Install kernel 5.5.18-5.6.6 and shut down,
boot from cold.
Usually this will produce the effect.

Other hardware produces similar results, but I couldn't determine what the other affected people were using. If I get that info I'll report it here.
Comment 2 K J Petrie 2020-05-03 18:08:11 UTC
The problem is also present in kernel 5.4.34 now, so it's evidently been backported.
Comment 3 K J Petrie 2020-05-03 19:50:19 UTC
All three of those commits were added in 5.4.33!
Comment 4 K J Petrie 2020-05-05 20:11:29 UTC
Other models on which this problem has been reported:
HP Zbook 15, CPU Intel i7-4900MQ, Nvidia Quadro K2100M (2Go), 16 GB Ram

HP ProBook

ThinkPad X230.

Hope that helps.
Comment 5 K J Petrie 2020-05-07 10:36:51 UTC
The bug is only present on my laptop when running on battery and vgaswitcheroo/switch shows DynOff for the radeon GPU.

However it is gone altogether in version 5.6.11, but bug 205291 is back!

Seems it is related to the selection of DynOff. Is something happening repeatedly which should only happen once?

Not convinced this should be closed, but reopening bug 205291 as that problem is back.

Note You need to log in before you can comment on or make changes to this bug.