Open andreaconsole opened 10 months ago
since Linux 6.8 is about to release, is there any hope to have this in 6.9?
@codepayne is there any hope to upstream this patch in the 6.9
For me, the pop-os fork of kernel works very well for my model:
System Information
Manufacturer: HUAWEI
Product Name: HVY-WXX9
Version: M1040
Serial Number: 6NXBB21B11800781
UUID: 20211113-70a6-cc0b-df15-70a6cc0bdf19
Wake-up Type: Other
SKU Number: C171
Family: MateBook D
Given that this kernel becomes quite dated I've decided to try the newer one (6.8.1.arch1-1), which did not work. With it, speakers produce very short but loud white noise whenever I try to play a sound. Every now and then I can hear a tiny bit of sound (maybe less than second) after killing pulseaudio multiple times. None of the workarounds alleviate this. For some reason, when I play video on YouTube, the video becomes frozen too.
Gave it a dig into dmesg
and saw this entry:
[ 15.110534] irq 73: nobody cared (try booting with the "irqpoll" option)
[ 15.110534] CPU: 9 PID: 0 Comm: swapper/9 Tainted: G OE 6.8.1-arch1-1 #1 52f97d9bb37be6168651745a1a9f8f7240d21ce5
[ 15.110534] Hardware name: HUAWEI HVY-WXX9/HVY-WXX9-PCB-B1, BIOS 2.12 04/06/2022
[ 15.110534] Call Trace:
[ 15.110534] <IRQ>
[ 15.110534] dump_stack_lvl+0x47/0x60
[ 15.110534] __report_bad_irq+0x2b/0xc0
[ 15.110534] note_interrupt+0x2a6/0x2f0
[ 15.110534] handle_irq_event+0x75/0x80
[ 15.110534] handle_fasteoi_irq+0x8e/0x240
[ 15.110534] __common_interrupt+0x42/0xb0
[ 15.110534] common_interrupt+0x43/0xa0
[ 15.110534] asm_common_interrupt+0x26/0x40
[ 15.110534] RIP: 0010:__do_softirq+0x7a/0x2c8
[ 15.110534] Code: 14 81 67 2c ff f7 ff ff be 00 01 00 00 e8 ee 01 36 ff c7 44 24 10 0a 00 00 00 65 66 c7 05 54 b4 66 51 00 00 fb 0f 1f 44 00 00 <bb> ff ff ff ff 0f bc dd 83 c3 01 74 78 49 c7 c2 c0 60 a0 af 8d 43
[ 15.110534] RSP: 0018:ffffb264c0420f90 EFLAGS: 00000246
[ 15.110534] RAX: 0000000000000000 RBX: ffffb264c01dfdb8 RCX: 0000000000000020
[ 15.110534] RDX: 0000387925691880 RSI: 0000000000000100 RDI: ffff888f00960000
[ 15.110534] RBP: 0000000000000282 R08: ffff88920f064900 R09: 0000000000000000
[ 15.110534] R10: 0000000000000000 R11: ffffb264c0420ff8 R12: 0000000000000000
[ 15.110534] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 15.110534] __irq_exit_rcu+0xa3/0xc0
[ 15.110534] sysvec_apic_timer_interrupt+0x72/0x90
[ 15.110534] </IRQ>
[ 15.110534] <TASK>
[ 15.110534] asm_sysvec_apic_timer_interrupt+0x1a/0x20
[ 15.110534] RIP: 0010:poll_idle+0x26/0xaa
[ 15.110534] Code: 90 90 90 90 f3 0f 1e fa 41 56 41 55 41 89 d5 41 54 49 89 f4 55 53 48 89 fb e8 16 db ff ff 80 23 fb 48 89 c5 fb 0f 1f 44 00 00 <65> 4c 8b 34 25 80 3f 03 00 f0 41 80 4e 02 20 49 8b 06 a8 08 75 32
[ 15.110534] RSP: 0018:ffffb264c01dfe60 EFLAGS: 00000206
[ 15.110534] RAX: 0000000384756fae RBX: ffff888f00b3f000 RCX: 00000000000000ef
[ 15.110534] RDX: 0000000384756fae RSI: 0000000384756fae RDI: 0000000384756fae
[ 15.110534] RBP: 0000000384756fae R08: ffffffffffcd3823 R09: 0000000000000800
[ 15.110534] R10: 0000000000000018 R11: ffff88920f0731a4 R12: ffffffffafb4dca0
[ 15.110534] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 15.110534] cpuidle_enter_state+0x84/0x440
[ 15.110534] cpuidle_enter+0x2d/0x40
[ 15.110534] do_idle+0x1d8/0x230
[ 15.110534] cpu_startup_entry+0x2a/0x30
[ 15.110534] start_secondary+0x11e/0x140
[ 15.110534] secondary_startup_64_no_verify+0x184/0x18b
[ 15.110534] </TASK>
[ 15.110534] handlers:
[ 15.110534] [<000000009f63c4ca>] i2s_irq_handler [snd_acp_pcm]
[ 15.110534] Disabling IRQ #73
That looks bad. I believe that this may have something to do with my problem. Weirdly, booting with irqpoll
makes things worse - the laptop becomes unusable and CPU load skyrockets. Ouch! Know anything about it @codepayne?
Hi, I have no sound as well. Ubuntu, Linux 6.8.0. Is there a fix and we are waiting for it in a kernel? Or there is no fix?
Hi, I have no sound as well. Ubuntu, Linux 6.8.0. Is there a fix and we are waiting for it in a kernel? Or there is no fix?
there's a patch but for some reason it's not getting upstreamed
Any update?
I have HUAWEI BOM-WXX9 M1010.
Can someone help me with sound? Can i patch some kernel to make sound work?
Thanks! My telegram @sellerbto
@codepayne will this patch be upstreamed?
@lorebored Don't know, not that easy to upstream, since in the current form it will not be accepted for sure. have to think of a way to do it that will be acceptable for upstream.
EDIT: I upgraded to 24.04, which solved the issue with the mike. Now, when I choose Audio pro, I get better audio quality, but no mike. When I go back to "Play and record HIFI quality music", the mike is back, but I cannot get above 90% volume (as it was before). Basically, nothing significant to report. I will keep waiting the official kerne to include all the patches I need while I enjoy the one you kindly provided.
Hi @codepayne , I have an update. I'm still using your 6.7.0-rc8-codec-rate-fix kernel, and everything has been working flawlessly until a couple of days ago, when the microphone suddenly stopped working. I am not sure that it is the result of a software update (it could also be physically broken, but I do not see how it could have happened), but I think it is very likely. Any suggestion? Thank you very much! Attached the log of recent updates. history.log
Additionally - do not think it was like this before - now this configuration (pro audio): Gives me better quality and louder output than the one I have used so far
@codepayne any news?
With latest kernel update, the soundworks on Arch out of the box! Did you finally merge your update with kernel? Congrats, if so.
Linux inexorable 6.11.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 22 Oct 2024 18:31:38 +0000 x86_64 GNU/Linux
Wait really? I can't find any commit in the kernel about es83xx
@DioEgizio I certainly didn't do anything to make the sound work, just updated the system and sound is working now. It didn't work before for any of the updates. Was stuck using the 6.0.12 kernel all this time.
What laptop are you using? Because if it's a mate book d14/d16 it should have worked for a very long time already. This issue is about d15
The laptop is indeed MateBook D16, but slightly different from the one mentioned in the subject of this issue. It is based on AMD Renoir. Wasn't this thread a place for all issues at once? Either way, the sound is working now without having to resort to old kernel and I'm really happy. :)
System Information
Manufacturer: HUAWEI
Product Name: HVY-WXX9
Version: M1040
Yeah that one has been working upstream for quite a while now
Hi @codepayne , I've just installed 6.7rc5 on Ubuntu 23.10 (6.7.0-060700rc5-generic (64-bit); HUAWEI BOM-WXX9 M1010). I took a look at the wiki and at this page to configure alsamixer and run the command you suggested as root (echo -1 > /sys/bus/pci/drivers/snd_acp_pci/0000:03:00.5/power/autosuspend_delay_ms), but the pc is still silent. Any hints? Thanks a lot! Free beer for you when you come to Rome!
Attached dmesg.txt http://alsa-project.org/db/?f=bb9c6b623e1b0015506f194ec7f76783cc7120b0