You are not logged in.

#1 2023-07-16 11:51:21

hully
Member
Registered: 2022-11-14
Posts: 164

[Solved] Audio card not recognized anymore

After an update my audio card seems not to be recognized anymore.

I have KDE, and the audio applet says "no out or input devices found".

Can you guide me through the debug process?

Last edited by hully (2023-07-19 03:06:05)

Offline

#2 2023-07-16 13:15:07

hully
Member
Registered: 2022-11-14
Posts: 164

Re: [Solved] Audio card not recognized anymore

So here is the output of lspci:

❯  lspci | grep audio
00:1f.3 Multimedia audio controller: Intel Corporation Alder Lake PCH-P High Definition Audio Controller (rev 01)

Offline

#3 2023-07-16 15:57:59

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,648

Re: [Solved] Audio card not recognized anymore

What is the output of aplay -Ll  ?
How do you start Plasma?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2023-07-16 19:10:05

hully
Member
Registered: 2022-11-14
Posts: 164

Re: [Solved] Audio card not recognized anymore

Thanks for the help.

What is the output of aplay -Ll  ?

❯ aplay -Ll
null
    Discard all samples (playback) or generate zero samples (capture)
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pipewire
    PipeWire Sound Server
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PipeWire Media Server)
sysdefault:CARD=sofhdadsp
    sof-hda-dsp, 
    Default Audio Device
usbstream:CARD=sofhdadsp
    sof-hda-dsp
    USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 31: HDA Analog Deep Buffer (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

How do you start Plasma?

I use SDDM

Offline

#5 2023-07-16 19:14:21

hully
Member
Registered: 2022-11-14
Posts: 164

Re: [Solved] Audio card not recognized anymore

Nothing changes if I start Plasma from the TTY, without a Display Manager

Offline

#6 2023-07-17 22:41:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,237

Re: [Solved] Audio card not recognized anymore

Do any of the following work and give you noise?

speaker-test -Dhw:0,31 -c2
speaker-test -Dhw:0,0 -c2

Post

sudo fuser -v /dev/snd/*
pactl list cards
pactl list sinks

Offline

#7 2023-07-18 05:03:44

hully
Member
Registered: 2022-11-14
Posts: 164

Re: [Solved] Audio card not recognized anymore

Do any of the following work and give you noise?

No they don't (I stopped them manually after some time):

❯ speaker-test -Dhw:0,31 -c2

speaker-test 1.2.9

Playback device is hw:0,31
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 16384
Period size range from 48 to 4096
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
 0 - Front Left
 1 - Front Right
Time per period = 5.632953
 0 - Front Left
 1 - Front Right
Time per period = 5.973961
 0 - Front Left
 1 - Front Right
Time per period = 5.972296
 0 - Front Left
 1 - Front Right
Time per period = 5.972957
 0 - Front Left
 1 - Front Right
Time per period = 5.973944
 0 - Front Left
 1 - Front Right
Time per period = 5.972724
 0 - Front Left
^C 1 - Front Right
Time per period = 1.544493
❯ speaker-test -Dhw:0,0 -c2

speaker-test 1.2.9

Playback device is hw:0,0
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 16384
Period size range from 48 to 4096
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
 0 - Front Left
 1 - Front Right
Time per period = 5.633594
 0 - Front Left
 1 - Front Right
Time per period = 5.974001
 0 - Front Left
 1 - Front Right
Time per period = 5.973489
 0 - Front Left
 1 - Front Right
^CTime per period = 3.498990

Post

DELETED

Last edited by hully (2023-07-18 05:43:47)

Offline

#8 2023-07-18 05:42:44

hully
Member
Registered: 2022-11-14
Posts: 164

Re: [Solved] Audio card not recognized anymore

After an update it works again

Offline

#9 2023-07-18 10:32:09

hully
Member
Registered: 2022-11-14
Posts: 164

Re: [Solved] Audio card not recognized anymore

No it stopped working again.

It worked for a short time after the update, then it stopped working again (probably after a reboot)

Offline

#10 2023-07-18 11:48:45

hully
Member
Registered: 2022-11-14
Posts: 164

Re: [Solved] Audio card not recognized anymore

Here the requested info:

> sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  raffaele   3652 F.... wireplumber
/dev/snd/seq:        raffaele   3651 F.... pipewire
> pactl list cards
Card #456
	Name: alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.card.longname = "Micro_StarInternationalCo.Ltd.-KatanaGF6612UC-REV1.0-MS_1584"
		api.alsa.card.name = "sof-hda-dsp"
		api.alsa.path = "hw:0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
		device.description = "Alder Lake PCH-P High Definition Audio Controller"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic"
		device.nick = "sof-hda-dsp"
		device.plugged.usec = "29948018"
		device.product.id = "0x51c8"
		device.product.name = "Alder Lake PCH-P High Definition Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "34"
		object.id = "44"
		object.serial = "456"
		object.path = "alsa:pcm:0"
		alsa.card = "0"
		alsa.card_name = "sof-hda-dsp"
		alsa.long_card_name = "Micro_StarInternationalCo.Ltd.-KatanaGF6612UC-REV1.0-MS_1584"
		alsa.driver_name = "snd_soc_skl_hda_dsp"
		device.string = "0"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		HiFi: Play HiFi quality Music (sinks: 4, sources: 2, priority: 8000, available: yes)
		pro-audio: Pro Audio (sinks: 5, sources: 3, priority: 1, available: yes)
	Active Profile: off
	Ports:
		[Out] HDMI3: HDMI / DisplayPort 3 Output (type: HDMI, priority: 700, latency offset: 0 usec, availability group: HDMI/DP,pcm=5, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "HDMI/DP,pcm=5"
				device.icon_name = "video-display"
				card.profile.port = "0"
			Part of profile(s): HiFi
		[Out] HDMI2: HDMI / DisplayPort 2 Output (type: HDMI, priority: 600, latency offset: 0 usec, availability group: HDMI/DP,pcm=4, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "HDMI/DP,pcm=4"
				device.icon_name = "video-display"
				card.profile.port = "1"
			Part of profile(s): HiFi
		[Out] HDMI1: HDMI / DisplayPort 1 Output (type: HDMI, priority: 500, latency offset: 0 usec, availability group: HDMI/DP,pcm=3, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "HDMI/DP,pcm=3"
				device.icon_name = "video-display"
				card.profile.port = "2"
			Part of profile(s): HiFi
		[Out] Speaker: Speaker (type: Speaker, priority: 100, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "speaker"
				device.icon_name = "audio-speakers"
				card.profile.port = "3"
			Part of profile(s): HiFi
		[Out] Headphones: Headphones (type: Headphones, priority: 200, latency offset: 0 usec, availability group: Headphone, not available)
			Properties:
				port.type = "headphones"
				port.availability-group = "Headphone"
				device.icon_name = "audio-headphones"
				card.profile.port = "4"
			Part of profile(s): HiFi
		[In] Mic2: Headphones Stereo Microphone (type: Mic, priority: 200, latency offset: 0 usec, availability group: Mic, not available)
			Properties:
				port.type = "mic"
				port.availability-group = "Mic"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "5"
			Part of profile(s): HiFi
		[In] Mic1: Digital Microphone (type: Mic, priority: 100, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "mic"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "6"
			Part of profile(s): HiFi
> pactl list sinks
Sink #444
	State: SUSPENDED
	Name: auto_null
	Description: Dummy Output
	Driver: PipeWire
	Sample Specification: float32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: auto_null.monitor
	Latency: 0 usec, configured 0 usec
	Flags: DECIBEL_VOLUME LATENCY 
	Properties:
		node.name = "auto_null"
		device.description = "Dummy Output"
		audio.rate = "48000"
		audio.channels = "2"
		audio.position = "FL,FR"
		media.class = "Audio/Sink"
		factory.name = "support.null-audio-sink"
		node.virtual = "true"
		monitor.channel-volumes = "true"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "31"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "57"
		object.serial = "444"
	Formats:
		pcm

Offline

#11 2023-07-18 22:01:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,237

Re: [Solved] Audio card not recognized anymore

pactl set-card-profile alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic HiFi

Offline

#12 2023-07-19 03:07:29

hully
Member
Registered: 2022-11-14
Posts: 164

Re: [Solved] Audio card not recognized anymore

@V1del: thank you very much, it worked!

Oh I see:

Active Profile: off

Any idea what set it off?
I didn't run `pactl set-card-profile [...] off` for certain.

Offline

Board footer

Powered by FluxBB