Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Audio doesn’t work on Dell XPS 9320
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Ichika-Zou
n00b
n00b


Joined: 03 Jan 2023
Posts: 9
Location: Kyoto, Japan

PostPosted: Tue Jan 03, 2023 9:36 pm    Post subject: Audio doesn’t work on Dell XPS 9320 Reply with quote

Need some help to get audio working on Dell XPS 9320

I have been solving my audio problem for sometime originally is Sof-firmware has some problem with kernel and has been solved by kernel 6.0.13 update but somehow my audio still doesn’t work.

The Sof-firmware developer point out that the problem could related to alsa-ucm-conf but I’m not really familiar with alsa, so I need help.

Issue from GitHub:
https://github.com/thesofproject/sof/issues/6843

Kernel config: (dpaste only allow 250000 characters, so it would expired in 24 hours, I will update again after expired)
https://dpaste.com/GVZSDYKBP

dmesg:
https://dpaste.com/53KBWNJ9N

lspci:
https://dpaste.com/HPTZWPKPN

lshw:
https://dpaste.com/8M4STTAV8

aplay -l:
https://dpaste.com/CSWQFGQSL

aplay -L:
https://dpaste.com/EKT9SMRJK

alsamixer:
https://imgur.com/a/ZnAPcZp
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Wed Jan 04, 2023 12:12 am    Post subject: Reply with quote

Hi Ichika-Zou,

welcome to the Gentoo forums! And thanks for all the data you posted. Your first post is perfect. :)

I see the error message below in your output of 'dmesg':
Code:
sof_sdw sof_sdw: snd_soc_register_card failed -517

I searched for that error and I saw this page: https://bbs.archlinux.org/viewtopic.php?id=278572

Have you tried the solution suggested in the second post?

What happens if you use kernel 6.1?

Mike
Back to top
View user's profile Send private message
Ichika-Zou
n00b
n00b


Joined: 03 Jan 2023
Posts: 9
Location: Kyoto, Japan

PostPosted: Wed Jan 04, 2023 12:38 am    Post subject: Reply with quote

The solution from arch is to address this https://github.com/thesofproject/sof/issues/6111, which is already solved in kernel update 6.0.13

The driver do loaded in the end and ALSA hardware level test work, I ran this command
Code:
speaker-test -Dhw:0,2 -c2 -r48000
and there is white noise output but alsamixer still present like the picture in my post, both YouTube and local sound file don’t work and I can’t adjust any volume.

The thing keeps bugging is that there is no pcm output with
Code:
aplay -L
, maybe it’s relate to my problem?

I can’t use kernel 6.1.* since zfs haven't add support yet.
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Wed Jan 04, 2023 1:05 am    Post subject: Reply with quote

I think I would start changing things until it works. For example, I would compile the whole soundsystem directly into kernel ([*], not [M]). Sometimes that helps. If you do that, it's also necessary to build all sound related firmware directly into the kernel. Otherwise you will get firmware load errors in the output of 'dmesg'.

It's a pity you can't switch to kernel 6.1. Can you at least test whether it works under Linux kernel 6.1? Or is your root filesystem on ZFS?
Back to top
View user's profile Send private message
Ichika-Zou
n00b
n00b


Joined: 03 Jan 2023
Posts: 9
Location: Kyoto, Japan

PostPosted: Wed Jan 04, 2023 1:15 am    Post subject: Reply with quote

[quote="mike155"]I think I would start changing things until it works. For example, I would compile the whole soundsystem directly into kernel ([*], not [M]). Sometimes that helps. If you do that, it's also necessary to build all sound related firmware directly into the kernel. Otherwise you will get firmware load errors in the output of 'dmesg'.

Yeah, this is what I gonna try in later days, I use Gentoo-kernel-bin right now and for some post on forums that related to audio problem usually solved by builtin module.

My rootfs is zfs Indeed but I don’t think zfs 2.18 would be a long wait, since kernel 6.1.* should be the next lts kernel.

Thank god audio is not necessary to me but it’s still annoying to have this problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum