Intel soundcard problems

Hi,

I am having some trouble with my sound driver on XPS-13 (9315) on a fresh install.

dmesg provides the following errors (repeated many times):

[   70.777719] rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUS_CLOCK_BASE write failed:-61
[   70.777721] rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -61
[   70.781933] rt715-sdca sdw:0:3:025d:0714:01: Slave 6 state check1: UNATTACHED, status was 1

This is the inxi output:

Audio:
  Device-1: Intel Alder Lake Imaging Signal Processor driver: N/A
  Device-2: Intel Alder Lake Smart Sound Audio
    driver: sof-audio-pci-intel-tgl
  API: ALSA v: k6.6.70-1-lts status: kernel-api
  Server-1: PipeWire v: 1.2.7 status: active

This error can lock the computer and when shutting down the above error messages keep repeating in the console output, so I have to longpress the power button to get out of the loop.

Any suggestions?

You added intel i915 as early boot?

This is a virgin installation without any modifications.

Maybe read through this and it may help you get it working. :pray:

https://bbs.archlinux.org/viewtopic.php?id=296238

Have you tried new kernel 6.12?
I had sound issues on my laptop with an Intel sound card. It could be sof-software. Which version of sof-software are you using?

I am using the Linux 6.12.10-arch1-1.

sof-firmware 2024.09.2-1

Any help would be appreciated.

When I run dmesg the following lines keep repeating:

[   20.690586] rt715-sdca sdw:0:3:025d:0714:01: SDW_SCP_BUS_CLOCK_BASE write failed:-61
[   20.690591] rt715-sdca sdw:0:3:025d:0714:01: Slave 6 initialization failed: -61
[   20.690889] rt715-sdca sdw:0:3:025d:0714:01: Slave 6 state check1: UNATTACHED, status was 1

It feels like a hardware conflict/irq conflict as the device is not initialized.

Maybe a bios update?
Check in bios that the sound device is enabled (you probably already did that of course)
Try to disable devices you don’t need (like parallel or serial ports etc.) to free up irq’s

As soon as I make any change to sound using the volume control, the computer goes into a panic and systemd-journald uses close to 100% processor.

When I shutdown the warning mentioned in my previous post is repeated ad infinitum and I have to force shut it down.

Interestingly, sound works on the Ubuntu startup ISO, but when I install Ubuntu it does not even recognise the card.

@danderzei
Do you have this one installed? If not try it and reboot.

sof-firmware alsa-ucm-conf

Edit: If this doesn’t work you could try create file.

etc/modprobe.d/oldHDA.conf

add

options snd_intel_dspcfg dsp_driver=1

Edit: To see if it works on legacy intel.

Both are installed. I added the oldHDA file and rebooted.

I can see the volume changing when I play a video, but no sound.

I am staring to think this is a hardware problem - perhaps dropped the laptop too many times.

Have you checked the output to make sure the correct one is selected.