No audio devices whatsoever

So I just recently decided to reinstall my previous Arch installation because my audio broke horribly, and I don’t have much time to fix it (I have assignments due). I chose Endeavour OS as a quick and easy way to get an Arch-based system running again. However, these audio glitches still haunt me.

Ceremonious command outputs:

pactl list cards

Card #49
        Name: alsa_card.pci-0000_00_1f.3
        Driver: alsa
        Owner Module: n/a
        Properties:
                api.acp.auto-port = "false"
                api.alsa.card = "0"
                api.alsa.card.longname = "HDA Intel PCH at 0x601f288000 irq 183"
                api.alsa.card.name = "HDA Intel PCH"
                api.alsa.path = "hw:0"
                api.alsa.use-acp = "true"
                api.dbus.ReserveDevice1 = "Audio0"
                api.dbus.ReserveDevice1.Priority = "-20"
                device.api = "alsa"
                device.bus = "pci"
                device.bus_path = "pci-0000:00:1f.3"
                device.description = "Built-in Audio"
                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 = "5262544"
                device.product.id = "0xa0c8"
                device.product.name = "Tiger Lake-LP Smart Sound Technology Audio Controller"
                device.subsystem = "sound"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.vendor.id = "0x8086"
                device.vendor.name = "Intel Corporation"
                media.class = "Audio/Device"
                factory.id = "14"
                client.id = "45"
                object.id = "49"
                object.serial = "49"
                object.path = "alsa:pcm:0"
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0x601f288000 irq 183"
                alsa.driver_name = "snd_hda_intel"
                device.string = "0"
        Profiles:
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)
                output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
                output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5965, available: no)
                output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
                output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
                output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
                output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 865, available: no)
                output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 865, 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-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
                output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
                output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
                output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
                output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
                output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, 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-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-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)
                input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: yes)
                pro-audio: Pro Audio (sinks: 5, sources: 1, priority: 1, available: yes)
        Active Profile: output:hdmi-stereo
        Ports:
                analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability group: Legacy 1, availability unknown)
                        Properties:
                                port.type = "mic"
                                port.availability-group = "Legacy 1"
                                device.icon_name = "audio-input-microphone"
                                card.profile.port = "0"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo, output:hdmi-stereo-extra3+input:analog-stereo, output:hdmi-surround-extra3+input:analog-stereo, output:hdmi-surround71-extra3+input:analog-stereo
                analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, availability group: Legacy 2, availability unknown)
                        Properties:
                                port.type = "speaker"
                                port.availability-group = "Legacy 2"
                                device.icon_name = "audio-speakers"
                                card.profile.port = "1"
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
                analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 3, not available)
                        Properties:
                                port.type = "headphones"
                                port.availability-group = "Legacy 3"
                                device.icon_name = "audio-headphones"
                                card.profile.port = "2"
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
                hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 4, not available)
                        Properties:
                                port.type = "hdmi"
                                port.availability-group = "Legacy 4"
                                device.icon_name = "video-display"
                                card.profile.port = "3"
                        Part of profile(s): output:hdmi-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71, output:hdmi-surround71+input:analog-stereo
                hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 5, not available)
                        Properties:
                                port.type = "hdmi"
                                port.availability-group = "Legacy 5"
                                device.icon_name = "video-display"
                                card.profile.port = "4"
                        Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1, output:hdmi-surround71-extra1+input:analog-stereo
                hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, availability group: Legacy 6, not available)
                        Properties:
                                port.type = "hdmi"
                                port.availability-group = "Legacy 6"
                                device.icon_name = "video-display"
                                card.profile.port = "5"
                        Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2, output:hdmi-surround71-extra2+input:analog-stereo
                hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, latency offset: 0 usec, availability group: Legacy 7, not available)
                        Properties:
                                port.type = "hdmi"
                                port.availability-group = "Legacy 7"
                                device.icon_name = "video-display"
                                card.profile.port = "6"
                        Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-stereo-extra3+input:analog-stereo, output:hdmi-surround-extra3, output:hdmi-surround-extra3+input:analog-stereo, output:hdmi-surround71-extra3, output:hdmi-surround71-extra3+input:analog-stereo

sudo fuser -v /dev/snd/*
pactl list sinks 
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  sv-cheats-1    794 F.... wireplumber
/dev/snd/seq:        sv-cheats-1    793 F.... pipewire
Sink #55
        State: SUSPENDED
        Name: alsa_output.pci-0000_00_1f.3.hdmi-stereo
        Description: Built-in Audio Digital Stereo (HDMI)
        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.hdmi-stereo.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
        Properties:
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.class = "generic"
                alsa.device = "3"
                alsa.driver_name = "snd_hda_intel"
                alsa.id = "HDMI 0"
                alsa.long_card_name = "HDA Intel PCH at 0x601f288000 irq 183"
                alsa.name = "HDMI 0"
                alsa.resolution_bits = "16"
                alsa.subclass = "generic-mix"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                api.alsa.card.longname = "HDA Intel PCH at 0x601f288000 irq 183"
                api.alsa.card.name = "HDA Intel PCH"
                api.alsa.path = "hdmi:0"
                api.alsa.pcm.card = "0"
                api.alsa.pcm.stream = "playback"
                audio.channels = "2"
                audio.position = "FL,FR"
                card.profile.device = "8"
                device.api = "alsa"
                device.class = "sound"
                device.id = "49"
                device.profile.description = "Digital Stereo (HDMI)"
                device.profile.name = "hdmi-stereo"
                device.routes = "1"
                factory.name = "api.alsa.pcm.sink"
                media.class = "Audio/Sink"
                device.description = "Built-in Audio"
                node.name = "alsa_output.pci-0000_00_1f.3.hdmi-stereo"
                node.nick = "HDMI 0"
                node.pause-on-idle = "false"
                object.path = "alsa:pcm:0:hdmi:0:playback"
                priority.driver = "696"
                priority.session = "696"
                factory.id = "18"
                clock.quantum-limit = "8192"
                client.id = "45"
                node.driver = "true"
                factory.mode = "merge"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                object.id = "54"
                object.serial = "55"
                api.acp.auto-port = "false"
                api.alsa.card = "0"
                api.alsa.use-acp = "true"
                api.dbus.ReserveDevice1 = "Audio0"
                api.dbus.ReserveDevice1.Priority = "-20"
                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 = "5262544"
                device.product.id = "0xa0c8"
                device.product.name = "Tiger Lake-LP Smart Sound Technology Audio Controller"
                device.subsystem = "sound"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.vendor.id = "0x8086"
                device.vendor.name = "Intel Corporation"
                device.string = "0"
        Ports:
                hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, availability group: Legacy 4, not available)
        Active Port: hdmi-output-0
        Formats:
                pcm

systemctl --user status pipewire pipewire-pulse wireplumber

        Ports:
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Mon 2024-04-15 03:43:24 MSK; 13min ago
TriggeredBy: ● pipewire.socket
   Main PID: 793 (pipewire)
      Tasks: 3 (limit: 18791)
     Memory: 8.7M (peak: 9.4M)
        CPU: 122ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─793 /usr/bin/pipewire

апр 15 03:43:24 powerpc systemd[785]: Started PipeWire Multimedia Service.

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: enabled)
     Active: active (running) since Mon 2024-04-15 03:43:24 MSK; 13min ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 797 (pipewire-pulse)
      Tasks: 3 (limit: 18791)
     Memory: 6.9M (peak: 7.3M)
        CPU: 69ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─797 /usr/bin/pipewire-pulse

апр 15 03:43:24 powerpc systemd[785]: Started PipeWire PulseAudio.
апр 15 03:53:53 powerpc pipewire-pulse[797]: mod.protocol-pulse: client 0x641831c11a10 [Firefox]: ERROR command:-1 (invalid) tag:5 error:25 (Input/output error)

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Mon 2024-04-15 03:43:24 MSK; 13min ago
   Main PID: 794 (wireplumber)
      Tasks: 7 (limit: 18791)
     Memory: 34.3M (peak: 35.1M)
        CPU: 408ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─794 /usr/bin/wireplumber

апр 15 03:43:24 powerpc systemd[785]: Started Multimedia Service Session Manager.
апр 15 03:43:24 powerpc wireplumber[794]: 0x5afb6ddae890: no modules loaded from context.modules
апр 15 03:43:24 powerpc wireplumber[794]: [0:00:12.490980581] [794] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
апр 15 03:43:24 powerpc wireplumber[794]: [0:00:12.491008170] [794] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
апр 15 03:43:24 powerpc wireplumber[794]: [0:00:12.491048980] [794]  INFO Camera camera_manager.cpp:284 libcamera v0.2.0
апр 15 03:43:24 powerpc wireplumber[794]: [0:00:12.492924659] [826] ERROR MediaDevice media_device.cpp:483 /dev/media0[]: Failed to open media device at /dev/media0: Permission d>
апр 15 03:43:24 powerpc wireplumber[794]: [0:00:12.492954052] [826]  INFO DeviceEnumerator device_enumerator.cpp:224 Unable to populate media device /dev/media0 (Permission denie>
апр 15 03:43:24 powerpc wireplumber[794]: [0:00:12.492964170] [826]  WARN DeviceEnumerator device_enumerator_udev.cpp:174 Failed to add device for '/sys/devices/pci0000:00/0000:0>

I think I’ve tried everything. The only interesting thing I’ve found here is that the /dev/media0 Permisson denied in the wireplumber logs, and the sink is always SUSPENDED. I have no clue how to fix either. I did play around with permissons on my home folder today, and I did play with tunables from powertop. Coulde these affect my audio? Please help

Did you happen to reuse your old home directory or partition from your previous installation?

Also, have you fully updated and rebooted since installing EndeavourOS?

Did you happen to reuse your old home directory or partition from your previous installation?

No, I completely wiped the drive during installation.

Also, have you fully updated and rebooted since installing EndeavourOS?

Yes, I have updated since installing (yay -Syyu) and have rebooted multiple times.

I have noticed that if I connect my laptop to my monitor via a type-C cable, I can play audio on it. So it seems that only my speakers are not detected for some reason.

What I have done so far:

  • Skipped through all possible logs to find mostly nothing out of ordinary (maybe I didn’t see something)
  • Installed sof-firmware (did not help)
  • Reinstalled pipewire and it its packages
  • Downgraded pipewire
  • Downgraded the kernel

Once I installed Endeavour OS, I had audio. Then, possibly after some updates, the audio disappeared. If I boot off of my USB stick, I do get audio

Have you tried using pusleaudio?

Actually no, I was thinking switching to pulseaudio. I don’t do any professional audio work and do not plan to, so maybe I don’t need pipewire after all. I don’t know for sure, but isn’t pulseaudio kinda outdated? I heard thinks about it, but is it maintained still?

I’ll try to remove pipewire and switch to pulseaudio

I may or may not have fixed the issue. I just installed pulseaudio and pulseaudio-audio, replaced some packages and my speakers are back! If I try to remove pipewire I get tons of dependency breaks, so I guess I should not do that? I kinda have both pipewire and pulseaudio installed.

What are the “minimal required” package list to get pulseaudio working? And how do I replace these audio packages so that I don’t break dependencies?

The issue still persists. What packages from pulseaudio should be installed and what pipewire packages should be uninstalled? I now get issues with bluetooth, since I have both pipewire and pulseaudio packages installed. But without either the audio does not work!

I use Xfce and my sound server is pulseaudio on pipewire :

pactl info      
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 209
Tile Size: 65472
User Name: gege
Host Name: mynux
Server Name: PulseAudio (on PipeWire 1.0.4)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 96000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.usb-Topping_E50-00.HiFi__hw_E50_0__sink
Default Source: alsa_output.usb-Topping_E50-00.HiFi__hw_E50_0__sink.monitor

Check if you have these packages installed
pipewire-pulse pipewire-jack pipewire-audio pipewire-alsa pipewire wireplumber

Check if you have these packages installed
pipewire-pulse pipewire-jack pipewire-audio pipewire-alsa pipewire wireplumber

I have installed the packages you’ve listed, here’s my pactl info

Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 66
Tile Size: 65472
User Name: sv-cheats-1
Host Name: powerpc
Server Name: PulseAudio (on PipeWire 1.0.4)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1f.3.hdmi-stereo
Default Source: alsa_output.pci-0000_00_1f.3.hdmi-stereo.monitor
Cookie: cb4f:f768

Still no audio devices ;(

Seems like the sink for the speakers does not show up at all. This could indicate I’m missing some drivers? Then why do they work in a certain configuration of packages??

I’ve also installed pavucontrol and turns out the speakers were “turned off”, so I enabled them and they now show up along with my bluetooth headphones I’d connected. If this setup survives the next couple of days, I’ll close the thread.

Sink is IDLE: means it’s enabled and ready to be used
Sink is RUNNING: means some audio is being played though that sink
Sink is SUSPENDED: means the sink is disabled and can be enabled via pavucontrol

Hi,

I was just thinking about your lost of audio issue (using Pipewire). So on one of my laptops (Gnome) yesterday I noticed that the OS said it could not detect sound. The problem I identified was the files in the two following directories may no longer be supported because they were too old (maybe syntax in the files changed.

The solution was to rename the two directories so new configurations could be created:

Pre-requisite: You have Wireplumber installed.

  1. Rename these directories:

~/.config/wireplumber
~/.local/state/wireplumber

  1. Reboot the machine (so files can be recreated).

Then check if audio starts working.

Source:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.