You are not logged in.

#1 2023-05-02 03:17:42

AkazanHydro
Member
Registered: 2023-05-01
Posts: 2

No Audio After New Installation?

hello everyone

I switched to Archlinux recently and my audio seems not to work, I have done a few search but none seems to be a valid solution for me
After hours of trying I just recognized I have no idea what I am doing and no idea what correct things should be look like

anything I did wrong or need to check?

I have installed

sudo pacman -Q | grep alsa
alsa-card-profiles 1:0.3.70-1
alsa-firmware 1.2.4-3
alsa-lib 1.2.8-1
alsa-topology-conf 1.2.5.1-3
alsa-ucm-conf 1.2.8-1
alsa-utils 1.2.8-1
pipewire-alsa 1:0.3.70-1

and

sudo pacman -Q | grep pipe
kpipewire 5.27.4-1
libpipeline 1.5.7-1
libpipewire 1:0.3.70-1
pipewire 1:0.3.70-1
pipewire-alsa 1:0.3.70-1
pipewire-audio 1:0.3.70-1
pipewire-jack 1:0.3.70-1
pipewire-pulse 1:0.3.70-1

wireplumber and sof-firmware are also installed and a proper reboot was made after installation
pulse was not installed except that libpulse, idk when did it slip in

sudo pacman -Q | grep pulse
libpulse 16.1-6
pipewire-pulse 1:0.3.70-1

aplay -l  says

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC287 Analog [ALC287 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

according to which I set my default card to 1 and device to 0 in /etc/asound.conf

defaults.pcm.card 1
defaults.ctl.card 1
defaults.pcm.device 0

and fixed that Anallog to index 1 in /etc/modprobe.d/alsa-base.conf

options snd_hda_intel index=1

speaker-test seems work well in console but I cant hear a thing
alsamixer has been checked (default - pipewire / default 1 - HDA Intel PCH), 'Master' is umuted and Auto-Mute is disabled
(I think 'amixer -cXX sset 'Master',0 100%,100%' does exact the same? not working neither)

speaker-test -c2

speaker-test 1.2.8

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 1048576
Period size range from 32 to 524288
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
 0 - Front Left
 1 - Front Right
Time per period = 11.095849

other infos:

lsmod | grep snd
snd_seq_dummy          16384  0
snd_hrtimer            16384  1
snd_seq               110592  7 snd_seq_dummy
snd_seq_device         16384  1 snd_seq
snd_sof_pci_intel_tgl    16384  0
snd_sof_intel_hda_common   229376  1 snd_sof_pci_intel_tgl
soundwire_intel        61440  1 snd_sof_intel_hda_common
snd_sof_intel_hda      24576  1 snd_sof_intel_hda_common
snd_sof_pci            24576  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_sof_xtensa_dsp     20480  1 snd_sof_intel_hda_common
snd_sof               376832  3 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_hda
snd_sof_utils          20480  1 snd_sof
snd_soc_hdac_hda       28672  1 snd_sof_intel_hda_common
snd_hda_ext_core       36864  3 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd_soc_acpi_intel_match    73728  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common
snd_soc_core          434176  4 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda
snd_hda_codec_realtek   196608  1
snd_compress           32768  1 snd_soc_core
snd_hda_codec_generic   110592  1 snd_hda_codec_realtek
ac97_bus               16384  1 snd_soc_core
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_codec_hdmi     94208  2
snd_pcm_dmaengine      20480  1 snd_soc_core
snd_hda_intel          65536  2
snd_intel_dspcfg       36864  3 snd_hda_intel,snd_sof,snd_sof_intel_hda_common
snd_intel_sdw_acpi     20480  2 snd_sof_intel_hda_common,snd_intel_dspcfg
snd_hda_codec         217088  6 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_sof_intel_hda
snd_hda_core          139264  9 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd_hwdep              20480  1 snd_hda_codec
snd_pcm               200704  11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine
snd_timer              53248  3 snd_seq,snd_hrtimer,snd_pcm
snd                   151552  19 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm
soundcore              16384  1 snd
pactl list sinks
Sink #48
        State: SUSPENDED
        Name: alsa_output.pci-0000_00_1f.3.analog-stereo
        Description: Built-in Audio Analog Stereo
        Driver: PipeWire
        Sample Specification: s32le 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: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        Properties:
                alsa.card = "1"
                alsa.card_name = "HDA Intel PCH"
                alsa.class = "generic"
                alsa.device = "0"
                alsa.driver_name = "snd_hda_intel"
                alsa.id = "ALC287 Analog"
                alsa.long_card_name = "HDA Intel PCH at 0x6405130000 irq 203"
                alsa.name = "ALC287 Analog"
                alsa.resolution_bits = "16"
                alsa.subclass = "generic-mix"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                api.alsa.card.longname = "HDA Intel PCH at 0x6405130000 irq 203"
                api.alsa.card.name = "HDA Intel PCH"
                api.alsa.path = "front:1"
                api.alsa.pcm.card = "1"
                api.alsa.pcm.stream = "playback"
                audio.channels = "2"
                audio.position = "FL,FR"
                card.profile.device = "7"
                device.api = "alsa"
                device.class = "sound"
                device.id = "43"
                device.profile.description = "Analog Stereo"
                device.profile.name = "analog-stereo"
                device.routes = "2"
                factory.name = "api.alsa.pcm.sink"
                media.class = "Audio/Sink"
                device.description = "Built-in Audio"
                node.name = "alsa_output.pci-0000_00_1f.3.analog-stereo"
                node.nick = "ALC287 Analog"
                node.pause-on-idle = "false"
                object.path = "alsa:pcm:1:front:1:playback"
                priority.driver = "1009"
                priority.session = "1009"
                factory.id = "18"
                clock.quantum-limit = "8192"
                client.id = "33"
                node.driver = "true"
                factory.mode = "merge"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                object.id = "48"
                object.serial = "48"
                node.max-latency = "16384/48000"
                api.alsa.period-size = "1024"
                api.alsa.period-num = "32"
                api.alsa.headroom = "0"
                api.acp.auto-port = "false"
                api.acp.auto-profile = "false"
                api.alsa.card = "1"
                api.alsa.use-acp = "true"
                api.dbus.ReserveDevice1 = "Audio1"
                device.bus = "pci"
                device.bus_path = "pci-0000:00:1f.3"
                device.enum.api = "udev"
                device.form_factor = "internal"
                device.icon_name = "audio-card-analog-pci"
                device.name = "alsa_card.pci-0000_00_1f.3"
                device.nick = "HDA Intel PCH"
                device.plugged.usec = "4890910"
                device.product.id = "0x7a50"
                device.subsystem = "sound"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card1"
                device.vendor.id = "0x8086"
                device.vendor.name = "Intel Corporation"
                device.string = "1"
        Ports:
                analog-output-speaker: Speakers (type: Speaker, priority: 10000, availability group: Legacy 3, availability unknown)
                analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 4, not available)
        Active Port: analog-output-speaker
        Formats:
                pcm

version 6.2.13-arch1-1
laptop is Lenovo Legion Y9000P 2023

sudo dmidecode -t 2
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.4 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
        Manufacturer: LENOVO
        Product Name: LNVNB161216
        Version: SDK0T76479 WIN
        Serial Number: PF4DC1CR
        Asset Tag: NO Asset Tag
        Features:
                Board is a hosting board
                Board is replaceable
        Location In Chassis: Type2 - Board Chassis Location
        Chassis Handle: 0x0003
        Type: Motherboard
        Contained Object Handles: 0

help please? sad

Offline

#2 2023-05-02 07:19:56

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

Re: No Audio After New Installation?

A modprobe/kernel parameter config setting dmic_detect=0 or snd-intel-dspcfg dsp_driver=1 ? There's a bunch of sof references yet no sof driver actively loaded. But FWIW I wouldn't hold my breath, I found https://forums.lenovo.com/t5/Ubuntu/Ubu … -p/5210709 suggesting ongoing issues in correctly defining the verb table and having to do a bunch of low level UEFI/DSDT flashing to get anything to make any peep.

Offline

#3 2023-05-02 08:26:50

AkazanHydro
Member
Registered: 2023-05-01
Posts: 2

Re: No Audio After New Installation?

V1del wrote:

A modprobe/kernel parameter config setting dmic_detect=0 or snd-intel-dspcfg dsp_driver=1 ? There's a bunch of sof references yet no sof driver actively loaded. But FWIW I wouldn't hold my breath, I found https://forums.lenovo.com/t5/Ubuntu/Ubu … -p/5210709 suggesting ongoing issues in correctly defining the verb table and having to do a bunch of low level UEFI/DSDT flashing to get anything to make any peep.

neither of the two params works sad
well I speculate this problem is associated with specific hardware (as you mentioned), I installed Arch to my one of my old laptop (yoga-710) with exact same process (as I don't have any better debug method) and no trouble encountered at all
well, anyway, I think I will dig deeper in that, and I shall report here if I fixed it, thanks

Offline

#4 2023-05-02 08:58:59

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

Re: No Audio After New Installation?

If you didn't set those already beforehand and have the output as you have them then sof-firmware is not used anyway so they won't help either. I'd say your generally best chance is following that thread, and maybe hoping for kernel improvements in e.g. 6.3/check for UEFI updates from Lenovo

Offline

Board footer

Powered by FluxBB