Bug 2254698
| Summary: | HWY-WXX9 sound dead | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Igor Ch <chernokalsky89> | ||||
| Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | ||||
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | acaringi, adscvr, airlied, alciregi, bskeggs, hdegoede, hpa, jarod, josef, kernel-maint, linville, masami256, mchehab, nixuser, ptalbert, redhat, steved | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | --- | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | Type: | Bug | |||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Igor Ch
2023-12-15 09:11:57 UTC
issue persists with kernel 6.7.0-0.rc5.20231215git3f7168591ebf.45.fc40 Apparently the Fedora kernel is missing the proper module that enables the sound driver.
It would be perfect if the CONFIG_SND_SOC_AMD_LEGACY_MACH flag was enabled in the kernel configuration.
Also there is a regression in the PM handling of the AMD ACP sound controller.
Here you will find further information:
> https://github.com/codepayne/linux-sound-huawei/issues/26
I can build kernel with CONFIG_SND_SOC_AMD_LEGACY_MACH flag enabled, to test it further. Though as for regression in the PM handling, best i can do is use the provided workaround and wait for a fix by AMD... apparently the fixes are underway. Here is the list: https://patchwork.kernel.org/project/alsa-devel/patch/20231113123345.2196504-1-Syed.SabaKareem@amd.com/ https://patchwork.kernel.org/project/alsa-devel/patch/20231116053405.2574081-1-Syed.SabaKareem@amd.com/ https://patchwork.kernel.org/project/alsa-devel/patch/20231215130300.1247475-1-Syed.SabaKareem@amd.com/ One had been lost and was re-sent on Friday 15 December but I don't know if it will already be included in the latest release candidate... let's hope. I opened a merge request to enable the necessary flags. This is my first time contributing so let's see how it unwraps https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2842 the driver is finally enabled in today's Fedora Workstation Rawhide. You still need to apply the workaround but try it and let us know. Can confirm that with using the latest (at the moment of writing this) kernel, and applied workaround, the sound works. The only thing left to fix, is the internal mic, i guess the sound is popping after a bit time passes from the last audio played. could be related to the regression sound is sped up after leaving sleep mode, it seems. Looks like i'm replication the known issues from the linux-sound-huawei now. (In reply to Igor Ch from comment #7) > Can confirm that with using the latest (at the moment of writing this) > kernel, and applied workaround, the sound works. The only thing left to fix, > is the internal mic, i guess Both the internal and headset mic are working but the former is not detected by Pipewire (or whatever it is, I don't know how the audio stack works). You can test them by running: > arecord -f S32_LE -c 2 -r 48000 -D hw:1,1 | aplay where hw:1,1 is the internal mic and hw:1,0 is the headset mic. I got the devices by running arecord -l A custom profile is probably needed. We could ask on the pipewire repo. (In reply to Igor Ch from comment #9) > Looks like i'm replication the known issues from the linux-sound-huawei now. yep, I would move the discussion to the respective repos. As for Fedora, I don't think there is anything else to do. The issue of accelerated audio when using pipewire has been fixed https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3744 Also, as of kernel 6.8-rc the workaround is no longer needed. Maybe this ticket can be marked as solved? just booted the latest rawhide live and sound is dead again, lovely uname -a showed 6.9.0-fc41. x86_64 Today, i've installed fedora 41 stable. Linux fedora 6.13.9-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 29 01:29:31 UTC 2025 x86_64 GNU/Linux Audio is still dead, yet again. the config provided with the kernels shows that all the required modules are there. Maybe i need to force load them? Spent some time on a whole nothing: the driver is missing a quirk for the exact variant i've got somehow ... https://gitlab.com/cki-project/kernel-ark/-/blob/os-build/sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c#L333 fastfetch shows i've got a HVY-WXX9 (M1030)... am i cooked? |