Bug 31701 - No soundcard detected after a fresh install of megeia 9 Beta 1 Dell XPS 13 Plus (9320): intel corporation alder lake pch-p high definition audio controller
Summary: No soundcard detected after a fresh install of megeia 9 Beta 1 Dell XPS 13 Pl...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-19 21:16 CET by Thomas Bigot
Modified: 2024-01-19 11:29 CET (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Thomas Bigot 2023-03-19 21:16:44 CET
Description of problem:
Fresh install of Mageia 9 beta 1 via iso. No soundcard is available.

The hardware is a Dell XPS 13 Plus (model number 9320) with audio Intel Corporation|Alder Lake PCH-P High Definition Audio Controller.
endor: ‎Intel Corporation
Description: ‎Alder Lake PCH-P High Definition Audio Controller
Media class: ‎Multimedia audio controller
Vendor ID: ‎0x8086
Device ID: ‎0x51c8
Sub vendor ID: ‎0x1028
Sub device ID: ‎0x0af3 


DIAGNOSTIC COMMANDS
===================

# aplay --list-devices
aplay: device_list:274: no soundcards found...

# inxi -Aa
Audio:
  Device-1: Intel vendor: Dell driver: N/A bus-ID: 0000:00:05.0
    chip-ID: 8086:465d class-ID: 0480
  Device-2: Intel Alder Lake PCH-P High Definition Audio vendor: Dell
    driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3
    chip-ID: 8086:51c8 class-ID: 0401
  Sound API: ALSA v: k6.2.7-desktop-1.mga9 running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.66 running: no


I’ve run a alsa-info and it’s available here

http://alsa-project.org/db/?f=1398934244e4e7b8993c510e3d23786c004cfecf


# lspcidrake -v |grep -i audio
Unable to read modalias from /sys/bus/pci/devices/0000:e1:00.0/modalias
Unable to read modalias from /sys/bus/pci/devices/0000:e0:06.0/modalias
snd_hda_intel   : Intel Corporation|Alder Lake PCH-P High Definition Audio Controller [MULTIMEDIA_AUDIO] (vendor:8086 device:51c8 subv:1028 subd:0af3) (rev: 01)
Comment 1 Thomas Backlund 2023-03-19 21:52:46 CET
install alsa-sof-firmware and reboot
Comment 2 Thomas Bigot 2023-03-20 08:25:09 CET
It was already installed
Comment 3 Lewis Smith 2023-03-20 22:09:53 CET
Although this really does look like a hardware related failure, when there is no sound on a system it is worth checking in Pulse Audio Volume Control that these two items are correctly selected:
- Output device
- Configuration

As tmb is already looking at this, assigning to kernel/drivers.

Assignee: bugsquad => kernel

Comment 4 Thomas Bigot 2023-03-21 08:33:01 CET
Thanks!

But using PulseAudio (and even giving a try to Pipewire), I have zero output device in “Output devices” and in “Configuration” tabs.

(With bluetooth headset, everithing’s fine)
Comment 5 rexy 2023-04-07 00:03:21 CEST
I have had the same Pb with an HP ProBook and kernel before 6.2.10. The manual fix describe in #26239 (https://bugs.mageia.org/show_bug.cgi?id=26239) works for the sound (not for the mic).

Since the last kernel update (6.2.10), all is ok without the manual fix (sound + mic). Great.

CC: (none) => richard

Comment 6 rexy 2023-04-07 00:10:25 CEST
Info : commit in 6.2.10 kernel : 

commit 255a81a89501df77379b51a81c7a2e8e7c359bc6
Author: Tasos Sahanidis <tasos@tasossah.com>
Date:   Wed Mar 29 06:24:22 2023 +0300

    ALSA: ymfpci: Create card with device-managed snd_devm_card_new()
    
    snd_card_ymfpci_remove() was removed in commit c6e6bb5eab74 ("ALSA:
    ymfpci: Allocate resources with device-managed APIs"), but the call to
    snd_card_new() was not replaced with snd_devm_card_new().
Comment 7 rexy 2023-04-28 15:53:26 CEST
Moreover, the RPM "alsa-sof-firmware" (non-free repos) isn't automatically installed. All sound system with "Inter Tiger Lake-LP" device is ok with kernel > 6.2.10 AND alsa-sof-firmware.
Comment 8 Morgan Leijström 2023-12-31 00:11:39 CET
Any news here?
What is the status?

CC: (none) => fri

Comment 9 rexy 2024-01-01 11:29:34 CET
Hi,
I think that this bug report can be closed
Comment 10 Thomas Bigot 2024-01-01 11:45:51 CET
I still have no sound with this board.
Comment 11 Morgan Leijström 2024-01-01 15:22:23 CET
@rexy, do you mean it now works on your system.
Any tip what made it work?

---

This is not my cup of tea, so i can only suggest:

Where it do not work, have you tried to switch between pulseaudio and pipewire?
https://wiki.mageia.org/en/Pipewire

We are now at kernel 6.5.13. I guess you are using desktop version.
Have you tried our linus version, that is less patched by us?

Soon we will have kernel 6.6.8 or later in testing, please test it then.
Comment 12 rexy 2024-01-03 14:43:16 CET
Hi,
It works with kernel >= 6.2.10 and "alsa-sof-firmware" (non-free repos).
My board : snd_hda_intel : Tiger Lake-LP Smart Sound Technology Audio Controller

As Thomas's board is embedded in an Alder Lake, this requires further investigation with this micro-architecture.
Comment 13 Morgan Leijström 2024-01-03 14:53:46 CET
@Thomas, could you try latest kernel 6.6.9 from backport_testing?
And also latest kernel firmwares currently in updates_testing Bugs 32679, 32680

Then do the diagnostic still give same result as in Comment 0?
Comment 14 Thomas Bigot 2024-01-03 17:19:54 CET
In fact, I use Cauldron, and I wasn't getting the kernel updates because kernel-desktop-latest seemed to have disappeared, and my kernel was stuck at kernel-desktop-6.5.3-1.mga10.

After installing this package, I am now on 6.6.9-desktop-4.mga10, and the internal sound works perfectly now.

Thank you!
Comment 15 Morgan Leijström 2024-01-18 18:19:27 CET
Thank you for the update Thomas : resolved in mga10 by kernel 6.6

So I simply assume kernel 6.6 is needed on mga9 too.

Keeping this issue open for mga9 until we have it.

Giuseppe, what is the plan for kernel 6.6 in mga9 ?
- I see 6.6.11 in backports_testing.

CC: (none) => ghibomgx
Version: Cauldron => 9

Comment 16 Giuseppe Ghibò 2024-01-18 19:11:38 CET
(In reply to Morgan Leijström from comment #15)

> Thank you for the update Thomas : resolved in mga10 by kerne
l 6.6
> 
> So I simply assume kernel 6.6 is needed on mga9 too.
> 
> Keeping this issue open for mga9 until we have it.
> 
> Giuseppe, what is the plan for kernel 6.6 in mga9 ?
> - I see 6.6.11 in backports_testing.

Yes, for mga9 there is 6.6.11 in old naming scheme in backports_testing, which can be already tested on the average. I was waiting the series was stabilizing a bit (and still needed to syncronize kernel-linus). nvidia-current-535.154.05 and virtualbox dkms should work with it. Haven't yet tested 470 series.

Actually 6.6.x it should be pretty close to the stability of 6.5.x series, so in a couple of releases there should be a shot also in updates_testing. Probably around next 6.6.13 or 6.6.14 (and with a newer kernel-firmware), though I think there is no particular important security fixes apart the series refresh.
Comment 17 Morgan Leijström 2024-01-19 11:29:32 CET
OK
I am now running my main system svarten on 6.6.11

Updated to:
- cpupower-6.6.11-1.mga9.x86_64
- kernel-desktop-6.6.11-1.mga9-1-1.mga9.x86_64
- kernel-desktop-devel-6.6.11-1.mga9-1-1.mga9.x86_64
- kernel-desktop-devel-latest-6.6.11-1.mga9.x86_64
- kernel-desktop-latest-6.6.11-1.mga9.x86_64
- kernel-userspace-headers-6.6.11-1.mga9.x86_64
- lib64bpf1-6.6.11-1.mga9.x86_64

$ uname -a
Linux svarten.tribun 6.6.11-desktop-1.mga9 #1 SMP PREEMPT_DYNAMIC Thu Jan 11 11:55:27 UTC 2024 x86_64 GNU/Linux

$ dkms status
nvidia470, 470.223.02-1.mga9.nonfree, 6.5.13-2.mga9, x86_64: installed 
nvidia470, 470.223.02-1.mga9.nonfree, 6.6.11-desktop-1.mga9, x86_64: installed 
nvidia470, 470.223.02-1.mga9.nonfree, 6.5.13-desktop-6.mga9, x86_64: installed 
virtualbox, 7.0.12-2.mga9, 6.5.13-2.mga9, x86_64: installed 
virtualbox, 7.0.12-2.mga9, 6.6.11-desktop-1.mga9, x86_64: installed 
virtualbox, 7.0.12-2.mga9, 6.5.13-desktop-6.mga9, x86_64: installed 
virtualbox, 7.0.12-2.mga9, 6.5.13-desktop-6.mga9, x86_64: installed-binary from 6.5.13-desktop-6.mga9

OK: nvidia 470.223.02 on GTX750 Ti, incl switching between VT. ( Known old problem Bug 32541: I have to power cycle the monitor after resuming from sleep longer than half an hour or so. Valid for desktop kernel but not linus and not in mga8) 

OK: VirtualBox with MSW 7 guest, dynamic window resizing, USB 2 flash disk, host folder sharing write protected and not, bidirectional clipboard, drag file from Dolphin to Explorer, Internet video in Firefox.

OK Various desktop apps
I keep using this.

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