You are not logged in.

#1 2022-03-20 13:30:55

Tiko
Member
Registered: 2022-03-20
Posts: 8

No sound on fresh installed Arch

As I am a newbie in arch, I installed it by command archinstall
I though everything is working fine, until I noticed that sound is not working. I tried this:

pacman -S alsa-utils

then,

amixer sset Master unmute

and I get:

amixer: Unable to find simple control 'Master',0

I do not know how to fix it further, hope for a help.

Little information for you:

cat /proc/asound/cards

gives:

0 [NVidia         ]: HDA-Intel - HDA NVidia
                     HDA NVidia at 0xb4000000 irq 17
amixer -c1 sset Master unmute

gives:

Invalid card number '1'.
speaker-test -c 2

gives:

speaker-test 1.2.6

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
aplay -l

gives:

**** 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 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Last edited by Tiko (2022-03-20 14:42:40)

Offline

#2 2022-03-20 14:46:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,414

Re: No sound on fresh installed Arch

I assume you aren't looking for just a HDMI card, what system/mainboard is this? Post the outputs of

sudo dmesg | grep -iE 'snd|sof'

Last edited by V1del (2022-03-20 14:46:59)

Online

#3 2022-03-20 14:55:41

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,783
Website

Re: No sound on fresh installed Arch

Please post your /var/log/archinstall/install.log.

Mod note: Moving to archinstall.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#4 2022-03-20 14:58:54

Tiko
Member
Registered: 2022-03-20
Posts: 8

Re: No sound on fresh installed Arch

V1del wrote:

I assume you aren't looking for just a HDMI card, what system/mainboard is this? Post the outputs of

sudo dmesg | grep -iE 'snd|sof'
sudo dmesg | grep -iE 'snd|sof'
[    0.287056] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.395037] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.395037] software IO TLB: mapped [mem 0x000000006dc95000-0x0000000071c95000] (64MB)
[    9.943704] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    9.943729] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    9.944217] snd_hda_intel 0000:01:00.1: Disabling MSI
[    9.944224] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[   10.646495] snd_soc_skl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[   10.646512] snd_soc_skl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[   10.861382] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[   10.861400] sof-audio-pci-intel-cnl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[   10.861555] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
[   10.861618] sof-audio-pci-intel-cnl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   10.868518] sof-audio-pci-intel-cnl 0000:00:1f.3: use msi interrupt mode
[   10.895528] sof-audio-pci-intel-cnl 0000:00:1f.3: hda codecs found, mask 5
[   10.895531] sof-audio-pci-intel-cnl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[   10.895535] sof-audio-pci-intel-cnl 0000:00:1f.3: DMICs detected in NHLT tables: 4
[   10.940719] sof-audio-pci-intel-cnl 0000:00:1f.3: Direct firmware load for intel/sof/sof-cfl.ri failed with error -2
[   10.940733] sof-audio-pci-intel-cnl 0000:00:1f.3: error: sof firmware file is missing, you might need to
[   10.940737] sof-audio-pci-intel-cnl 0000:00:1f.3:        download it from https://github.com/thesofproject/sof-bin/
[   10.940740] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to load DSP firmware -2
[   10.941758] sof-audio-pci-intel-cnl 0000:00:1f.3: error: sof_probe_work failed err: -2

Offline

#5 2022-03-20 15:02:00

Tiko
Member
Registered: 2022-03-20
Posts: 8

Re: No sound on fresh installed Arch

WorMzy wrote:

Please post your /var/log/archinstall/install.log.

Mod note: Moving to archinstall.

It's a little bit long logs...

Hardware model detected: HP HP Pavilion Gaming Laptop 15-cx0xxx; UEFI mode: True
Processor model detected: Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz
Memory statistics: 7521416 available out of 8026704 total installed
Virtualization detected: none; is VM: False
Graphics devices detected: dict_keys(['Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]', 'NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)'])
Disk states before installing: {'blockdevices': [{'name': 'loop0', 'fstype': 'squashfs', 'fsver': '4.0', 'label': None, 'uuid': None, 'fsavail': '0', 'fsuse%': '100%', 'mountpoints': ['/run/archiso/airootfs'], 'type': 'loop', 'size': '653.4M'}, {'name': 'sda', 'fstype': None, 'fsver': None, 'label': None, 'uuid': None, 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '931.5G', 'children': [{'name': 'sda1', 'fstype': 'vfat', 'fsver': 'FAT32', 'label': None, 'uuid': '25A2-9450', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '484M'}, {'name': 'sda2', 'fstype': 'ext4', 'fsver': '1.0', 'label': None, 'uuid': '2460d75b-7b9e-4f51-afe6-cc0832880e95', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '36.8G'}, {'name': 'sda3', 'fstype': 'ext4', 'fsver': '1.0', 'label': None, 'uuid': '74d62232-aa6a-463d-8379-dd35637b113f', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '894.3G'}]}, {'name': 'sdb', 'fstype': None, 'fsver': None, 'label': None, 'uuid': None, 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '28.9G', 'children': [{'name': 'sdb1', 'fstype': 'vfat', 'fsver': 'FAT32', 'label': 'ARCH', 'uuid': '8E80-BAB3', 'fsavail': '28.2G', 'fsuse%': '2%', 'mountpoints': ['/run/archiso/bootmnt'], 'type': 'part', 'size': '28.9G'}]}, {'name': 'nvme0n1', 'fstype': None, 'fsver': None, 'label': None, 'uuid': None, 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'disk', 'size': '119.2G', 'children': [{'name': 'nvme0n1p1', 'fstype': 'vfat', 'fsver': 'FAT32', 'label': None, 'uuid': 'F842-9C58', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '100M'}, {'name': 'nvme0n1p2', 'fstype': None, 'fsver': None, 'label': None, 'uuid': None, 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '16M'}, {'name': 'nvme0n1p3', 'fstype': 'ntfs', 'fsver': None, 'label': None, 'uuid': 'E6CE4457CE442263', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '118.6G'}, {'name': 'nvme0n1p4', 'fstype': 'ntfs', 'fsver': None, 'label': None, 'uuid': 'F6C28FC3C28F8719', 'fsavail': None, 'fsuse%': None, 'mountpoints': [None], 'type': 'part', 'size': '521M'}]}]}
Testing connectivity to the Arch Linux mirrors ...
Verifying that additional packages exist (this might take a few seconds)
Hardware time and other post-configuration steps might be required in order for NTP to work. For more information, please check the Arch wiki.
-- Guided template chosen (with below config) --
{
    "audio": null,
    "bootloader": "grub-install",
    "desktop-environment": "kde",
    "dry-run": false,
    "gfx_driver": "Nvidia (proprietary)",
    "harddrives": [
        "/dev/sda"
    ],
    "hostname": "Tiko",
    "kernels": [
        "linux"
    ],
    "keyboard-layout": "us",
    "mirror-region": {
        "Poland": {
            "http://arch.midov.pl/arch/$repo/os/$arch": true,
            "http://ftp.icm.edu.pl/pub/Linux/dist/archlinux/$repo/os/$arch": true,
            "http://ftp.psnc.pl/linux/archlinux/$repo/os/$arch": true,
            "http://ftp.vectranet.pl/archlinux/$repo/os/$arch": true,
            "http://mirror.juniorjpdj.pl/archlinux/$repo/os/$arch": true,
            "http://mirror.sfinae.tech/pub/mirrors/archlinux/$repo/os/$arch": true,
            "http://repo.skni.umcs.pl/archlinux/$repo/os/$arch": true,
            "https://arch.midov.pl/arch/$repo/os/$arch": true,
            "https://ftp.icm.edu.pl/pub/Linux/dist/archlinux/$repo/os/$arch": true,
            "https://ftp.psnc.pl/linux/archlinux/$repo/os/$arch": true,
            "https://mirror.eloteam.tk/archlinux/$repo/os/$arch": true,
            "https://mirror.juniorjpdj.pl/archlinux/$repo/os/$arch": true,
            "https://mirror.sfinae.tech/pub/mirrors/archlinux/$repo/os/$arch": true,
            "https://repo.skni.umcs.pl/archlinux/$repo/os/$arch": true
        }
    },
    "nic": {
        "NetworkManager": true,
        "nic": "Use NetworkManager (necessary to configure internet graphically in GNOME and KDE)"
    },
    "ntp": true,
    "packages": [
        "firefox",
        "alsa-utils"
    ],
    "profile": {
        "path": "/usr/lib/python3.10/site-packages/archinstall/profiles/desktop.py"
    },
    "script": "guided",
    "swap": false,
    "sys-encoding": "utf-8",
    "sys-language": "en_US",
    "timezone": "Europe/Warsaw",
    "version": "2.3.2"
}
Creating a new partition label on /dev/sda
Adding partition to BlockDevice(/dev/sda, size=931.5GB, free_space=1000GB, bus_type=sata), 5MB->513MB
Adding partition using the following parted command: /dev/sda mkpart primary fat32 5MB 513MB
Getting mount information for device path /dev/sda1
Formatting /dev/sda1 -> vfat
Marking partition Partition(path=/dev/sda1, size=0.5, PARTUUID=6020a79b-a43a-4234-900e-d6132d6a29ef, fs=vfat) as bootable.
Setting 'boot on'' on (parted) partition index 1
Adding partition to BlockDevice(/dev/sda, size=931.5GB, free_space=5225kB+1000GB, bus_type=sata), 518MB->40GB
Adding partition using the following parted command: /dev/sda mkpart primary ext4 518MB 40GB
Getting mount information for device path /dev/sda2
Formatting /dev/sda2 -> ext4
Adding partition to BlockDevice(/dev/sda, size=931.5GB, free_space=5225kB+5243kB+960GB, bus_type=sata), 40GB->100%
Adding partition using the following parted command: /dev/sda mkpart primary ext4 40GB 100%
Getting mount information for device path /dev/sda3
Formatting /dev/sda3 -> ext4
Mounting Partition(path=/dev/sda2, size=36.8, PARTUUID=b7a2bc15-0939-4543-b9ff-c2fe4bedb340, fs=ext4) as / to /mnt/archinstall/ using options None
Attempting to mount Partition(path=/dev/sda2, size=36.8, PARTUUID=b7a2bc15-0939-4543-b9ff-c2fe4bedb340, fs=ext4) to /mnt/archinstall/ using options None
Mount command: /usr/bin/mount -t ext4  /dev/sda2 /mnt/archinstall/
Getting mount information for device path /mnt/archinstall/
Mounting Partition(path=/dev/sda1, size=0.5, PARTUUID=6020a79b-a43a-4234-900e-d6132d6a29ef, fs=vfat) as /boot to /mnt/archinstall/boot using options None
Attempting to mount Partition(path=/dev/sda1, size=0.5, PARTUUID=6020a79b-a43a-4234-900e-d6132d6a29ef, fs=vfat) to /mnt/archinstall/boot using options None
Mount command: /usr/bin/mount -t vfat  /dev/sda1 /mnt/archinstall/boot
Getting mount information for device path /mnt/archinstall/boot
Mounting Partition(path=/dev/sda3, size=894.3, PARTUUID=88985a7e-c6fc-47de-92ee-6335c75520f5, fs=ext4) as /home to /mnt/archinstall/home using options None
Attempting to mount Partition(path=/dev/sda3, size=894.3, PARTUUID=88985a7e-c6fc-47de-92ee-6335c75520f5, fs=ext4) to /mnt/archinstall/home using options None
Mount command: /usr/bin/mount -t ext4  /dev/sda3 /mnt/archinstall/home
Getting mount information for device path /mnt/archinstall/home
Getting mount information for device path /dev/sda2
Getting mount information for device path /dev/sda2
Getting mount information for device path /dev/sda2
Getting mount information for device path /dev/sda1
Getting mount information for device path /dev/sda3
Getting mount information for device path /dev/sda1
Getting mount information for device path /dev/sda2
Getting mount information for device path /dev/sda3
Waiting for automatic mirror selection (reflector) to complete.
A new package mirror-list has been created: /etc/pacman.d/mirrorlist
Getting mount information for device path /dev/sda2
Getting mount information for device path /dev/sda2
Getting mount information for device path /dev/sda2
Getting mount information for device path /dev/sda1
Getting mount information for device path /dev/sda3
Getting mount information for device path /dev/sda
Getting mount information for device path /dev/sda
Getting mount information for device path /dev/sda
Installing packages: ['base', 'base-devel', 'linux-firmware', 'linux', 'intel-ucode']
Installing packages: ('grub',)
Getting mount information for device path /dev/sda2
Getting mount information for device path /dev/sda2
Getting mount information for device path /dev/sda2
Getting mount information for device path /dev/sda1
Getting mount information for device path /dev/sda3
Getting mount information for device path /dev/sda1
Getting mount information for device path /dev/sda2
Getting mount information for device path /dev/sda3
Adding bootloader grub-install to Partition(path=/dev/sda1, size=0.5, PARTUUID=6020a79b-a43a-4234-900e-d6132d6a29ef, fs=vfat, mounted=/mnt/archinstall/boot)
Getting mount information for device path /dev/sda
GRUB uses /dev/sda1 as the boot partition.
Installing packages: ('efibootmgr',)
Installing packages: ('networkmanager',)
Enabling service NetworkManager.service
No audio server will be installed.
Installing packages: ['firefox', 'alsa-utils']
Installing network profile Profile(desktop)
Installing packages: ['nano', 'vim', 'openssh', 'htop', 'wget', 'iwd', 'wireless_tools', 'wpa_supplicant', 'smartmontools', 'xdg-utils']
Installing network profile Profile(kde)
Installing network profile Profile(xorg)
Installing packages: ('xorg-server xorg-xinit nvidia',)
Installing packages: ['plasma-meta', 'konsole', 'kate', 'dolphin', 'ark', 'sddm', 'plasma-wayland-session', 'egl-wayland']
Enabling service sddm
Creating user tiko
Setting password for tiko
Enabling sudo permissions for tiko.
Activating systemd-timesyncd for time synchronization using Arch Linux and ntp.org NTP servers.
Enabling service systemd-timesyncd
Setting password for root
Setting keyboard language to us
Keyboard language for this installation is now set to: us
For post-installation tips, see https://wiki.archlinux.org/index.php/Installation_guide#Post-installation
Updating /mnt/archinstall/etc/fstab
Installation completed without any errors. You may now reboot.

Offline

#6 2022-03-20 15:30:55

robinOP
Member
From: San Francisco, US
Registered: 2022-01-20
Posts: 12
Website

Re: No sound on fresh installed Arch

You are trying to unmute sound without an actual sound system, I guess some of your files are may be missing because when you trying to unmute your Alsa Mixer, I've seen it says

amixer: Unable to find simple control 'Master',0

Offline

#7 2022-03-20 15:31:55

Tiko
Member
Registered: 2022-03-20
Posts: 8

Re: No sound on fresh installed Arch

robinOP wrote:

You are trying to unmute sound without an actual sound system, I guess some of your files are may be missing because when you trying to unmute your Alsa Mixer, I've seen it says

amixer: Unable to find simple control 'Master',0

Any ideas how to fix that?

Offline

#8 2022-03-20 15:41:51

robinOP
Member
From: San Francisco, US
Registered: 2022-01-20
Posts: 12
Website

Re: No sound on fresh installed Arch

Could you check

sudo pacman -S sof-firmware

if these packages are downloaded, then test to see if sound works

speaker-test -c 2

Last edited by robinOP (2022-03-20 15:49:54)

Offline

#9 2022-03-20 15:46:36

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,414

Re: No sound on fresh installed Arch

You need to install sof-firmware for your actual card.

Online

#10 2022-03-20 17:14:22

Tiko
Member
Registered: 2022-03-20
Posts: 8

Re: No sound on fresh installed Arch

V1del wrote:

You need to install sof-firmware for your actual card.

robinOP wrote:

Could you check

sudo pacman -S sof-firmware

if these packages are downloaded, then test to see if sound works

speaker-test -c 2

Yes, I have installed sof-firmware on my  Arch

and as you said the

 speaker-test -c 2 

started working:

speaker-test 1.2.6

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 96 to 1048576
Period size range from 32 to 349526
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 = 12.019210
 0 - Front Left
 1 - Front Right

but, I still cant hear anything. Also, I think ALSA sees my card, but I can not turn it on for some reason:

https://imgur.com/a/ml6BTL9

Offline

#11 2022-03-20 17:51:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,414

Re: No sound on fresh installed Arch

You'll have to reboot for the firmware to be properly loaded. If your previous outputs are any indication, then no ALSA did not yet see your card.

If it isn't fixed on a reboot repost

aplay -lL
amixer -c1 #or 0 you need to use the index of the actual card from aplay -l here
pactl list cards
pactl list sinks

Online

#12 2022-03-20 19:17:13

Tiko
Member
Registered: 2022-03-20
Posts: 8

Re: No sound on fresh installed Arch

Unfortunately, it didn't fixed

V1del wrote:

You'll have to reboot for the firmware to be properly loaded. If your previous outputs are any indication, then no ALSA did not yet see your card.

If it isn't fixed on a reboot repost

aplay -lL
amixer -c1 #or 0 you need to use the index of the actual card from aplay -l here
pactl list cards
pactl list sinks

Here are results:

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 PulseAudio Sound Server)
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output
usbstream:CARD=NVidia
    HDA NVidia
    USB Stream Output
**** 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 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[tiko@Tiko ~]$ amixer -c0 
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
[tiko@Tiko ~]$ pactl list cards
Card #0
        Name: alsa_card.pci-0000_01_00.1
        Driver: module-alsa-card.c
        Owner Module: 6
        Properties:
                alsa.card = "0"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xb4000000 irq 17"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:01:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "0fb9"
                device.product.name = "GP107GL High Definition Audio Controller"
                device.string = "0"
                device.description = "GP107GL High Definition Audio Controller"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Profiles:
                output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
        Active Profile: off
        Ports:
                hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "video-display"
                        Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
                hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "video-display"
                        Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
                hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "video-display"
                        Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2
                hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "video-display"
                        Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-surround-extra3, output:hdmi-surround71-extra3
[tiko@Tiko ~]$ pactl list sinks
Sink #0
        State: SUSPENDED
        Name: auto_null
        Description: Dummy Output
        Driver: module-null-sink.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 12
        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 SET_FORMATS 
        Properties:
                device.description = "Dummy Output"
                device.class = "abstract"
                device.icon_name = "audio-card"
        Formats:
                pcm

Edit: I am little confused, why always the output is HDMI, I just want to watch videos on my laptop, maybe problem caused by this?

Last edited by Tiko (2022-03-20 19:19:31)

Offline

#13 2022-03-20 20:02:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,414

Re: No sound on fresh installed Arch

No, your real soundcard isn't there, can you repost the dmesg command I asked for earlier? If you installed sof-firmware and you still get this output you might be out of luck, if you do not need the microphone one thing you can try here is /etc/modprobe.d/switchDSP.conf

options snd_intel_dspcfg dsp_driver=1

and reboot.

Online

#14 2022-03-20 20:53:53

Tiko
Member
Registered: 2022-03-20
Posts: 8

Re: No sound on fresh installed Arch

I have sent it above, but i will send it again anyway

V1del wrote:

No, your real soundcard isn't there, can you repost the dmesg command I asked for earlier? If you installed sof-firmware and you still get this output you might be out of luck, if you do not need the microphone one thing you can try here is /etc/modprobe.d/switchDSP.conf

options snd_intel_dspcfg dsp_driver=1

and reboot.

[    0.343544] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.458194] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.458195] software IO TLB: mapped [mem 0x000000006dc95000-0x0000000071c95000] (64MB)
[    7.483802] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    7.483822] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    7.484076] snd_hda_intel 0000:01:00.1: Disabling MSI
[    7.484083] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    8.385454] snd_soc_skl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    8.385488] snd_soc_skl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    8.551589] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    8.551621] sof-audio-pci-intel-cnl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    8.551946] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
[    8.552118] sof-audio-pci-intel-cnl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    8.559427] sof-audio-pci-intel-cnl 0000:00:1f.3: use msi interrupt mode
[    8.645876] sof-audio-pci-intel-cnl 0000:00:1f.3: hda codecs found, mask 5
[    8.645879] sof-audio-pci-intel-cnl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    8.645882] sof-audio-pci-intel-cnl 0000:00:1f.3: DMICs detected in NHLT tables: 4
[    8.806925] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware info: version 2:0:0-b678a
[    8.806928] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware: ABI 3:20:0 Kernel ABI 3:18:0
[    8.806930] sof-audio-pci-intel-cnl 0000:00:1f.3: warn: FW ABI is more recent than kernel
[    8.806936] sof-audio-pci-intel-cnl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[   11.907836] sof-audio-pci-intel-cnl 0000:00:1f.3: error: cl_copy_fw: timeout HDA_DSP_SRAM_REG_ROM_STATUS read
[   11.908473] sof-audio-pci-intel-cnl 0000:00:1f.3: ------------[ DSP dump start ]------------
[   11.908475] sof-audio-pci-intel-cnl 0000:00:1f.3: fw_state: SOF_FW_BOOT_IN_PROGRESS (2)
[   11.908512] sof-audio-pci-intel-cnl 0000:00:1f.3: extended rom status:  0x80000012 0x2c 0x0 0x0 0x0 0x0 0x1830118 0x0
[   11.908514] sof-audio-pci-intel-cnl 0000:00:1f.3: ------------[ DSP dump end ]------------
[   11.908514] sof-audio-pci-intel-cnl 0000:00:1f.3: error: load fw failed ret: -110
[   11.908534] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to start DSP
[   11.908535] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to boot DSP firmware -110
[   11.959102] sof-audio-pci-intel-cnl 0000:00:1f.3: error: hda_dsp_core_reset_enter: timeout on HDA_DSP_REG_ADSPCS read
[   11.959110] sof-audio-pci-intel-cnl 0000:00:1f.3: error: dsp core reset failed: core_mask 1
[   11.959451] sof-audio-pci-intel-cnl 0000:00:1f.3: error: sof_probe_work failed err: -110

Offline

#15 2022-03-20 20:57:51

Tiko
Member
Registered: 2022-03-20
Posts: 8

Re: No sound on fresh installed Arch

V1del wrote:

No, your real soundcard isn't there, can you repost the dmesg command I asked for earlier? If you installed sof-firmware and you still get this output you might be out of luck, if you do not need the microphone one thing you can try here is /etc/modprobe.d/switchDSP.conf

options snd_intel_dspcfg dsp_driver=1

and reboot.

it says "No such file or directory"

Well, I guess I will reinstall Arch, if problem stays, I will try using Manjaro

Offline

#16 2022-03-20 20:59:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,414

Re: No sound on fresh installed Arch

You need to create that file with that content.

Manjaro nor a reinstall of Arch will help you, this is either a kernel level or a firmware problem, where Manjaro can give you exactly zero additional features. One thing you can try that might help is install sof-firmware-git and/or linux-mainline for newer kernel/sof firmwares.

Last edited by V1del (2022-03-20 21:06:11)

Online

#17 2022-04-13 15:02:51

geopardo
Member
From: Europe
Registered: 2021-03-23
Posts: 108

Re: No sound on fresh installed Arch

try..

$ sudo pacman -S alsa-utils alsa-firmaware
$ sudo pacman -S pulseaudio pulseaudio-alsa
$ sudo pacman -S pamixer plasma-pa
------------------------------------------------------

# !! /etc/alsa/state-daemon.conf is missed.
# sudo nano /usr/lib/systemd/system/alsa-state.service

# Note that two different ALSA card state management
# schemes exist and they can be switched using a file
# exist check - /etc/alsa/state-daemon.conf

[Unit]
Description=Manage Sound Card State (restore and store)
# ConditionPathExists=/etc/alsa/state-daemon.conf
# ConditionPathExists=!/etc/alsa/state-daemon.conf
ConditionPathExists=@daemonswitch@
After=sysinit.target

[Service]
Type=simple
ExecStart=-/usr/bin/alsactl -s -n 19 -c rdaemon
ExecStop=-/usr/bin/alsactl -s kill save_and_quit

systemctl daemon-reload
systemctl restart alsa-state.service

reboot

workaround functional

Last edited by geopardo (2022-05-12 01:36:37)


Some 'security people are f*cking morons' says Linus Torvalds..

Offline

Board footer

Powered by FluxBB