You are not logged in.

#1 2024-08-14 22:32:43

avgusr
Member
Registered: 2023-04-01
Posts: 7

Audio not working

Audio does not work unless I backspace into an empty console, this plays a beep through the speakers.

The issue is  my sinks are null

 [jake@Elite ~]$ pw-metadata

Found "default" metadata 39

update: id:0 key:'default.configured.audio.sink' value:'{"name":"auto_null"}' type:'Spa:String:JSON'

update: id:0 key:'default.audio.sink' value:'{"name":"auto_null"}' type:'Spa:String:JSON'

update: id:0 key:'default.audio.source' value:'{"name":"auto_null"}' type:'Spa:String:JSON' 

I followed this guide https://wiki.archlinux.org/title/PipeWire and was able to install audio on 2 arch linux systems in the past. On this new laptop, nothing seems to be working.

Packages I've installed that I can think of: alsa-utils, sof-firmware, pipewire-pulse. pipewire, lib32-pipwire, pipewire-audio, gst-plugin-pipewire, lib32-libpipewire,  lib32-pipewire,lib32-pipewire-jack,  libpipeline,  libpipewire, pipewire-alsa, pipewire-audio, pipewire-docs, pipewire-jack, pipewire-session-manager, qemu-audio-pipewire, pavucontrol

In pavucontrol firefox or whatever is detected playing sound but the only output device is "Dummy output". I tried plugging and unplugging my headphones, reboots tons of times, I'm fully rebooted right now.

I followed the guide up until

Normally, no further action is needed as the user service pipewire-pulse.socket should be enabled automatically by the package.

Then I did that, and going forward in the trouble shooting section there was no part saying what to do if it still just doesn't work at that point.

The commands i've written to start the user service are

 systemctl --user enable pipewire-pulse 

and

 systemctl--user enable pipewire-pulse.socket

I deleted pulseaudio, Pulseaudio-alsa, stopped the services.
I am now going to reboot my system yet again to make sure im still updated..

[jake@Elite ~]$ lspci | grep Audio
01:00.1 Audio device: NVIDIA Corporation Device 2291 (rev a1)
06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller
06:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 01)
06:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller

Last edited by avgusr (2024-08-14 22:38:42)

Offline

#2 2024-08-15 18:29:05

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

Re: Audio not working

You'll want wireplumber instead  of pipewire-media-session but lets first establish whether you even have kernel support

sudo fuser -v /dev/snd/*
sudo dmesg | grep -E 'snd|sof'
lspci -k | grep -A3 'Audio' 
aplay -lL
pactl list cards

Offline

#3 2024-08-16 01:16:37

avgusr
Member
Registered: 2023-04-01
Posts: 7

Re: Audio not working

V1del wrote:

You'll want wireplumber instead  of pipewire-media-session but lets first establish whether you even have kernel support

sudo fuser -v /dev/snd/*
sudo dmesg | grep -E 'snd|sof'
lspci -k | grep -A3 'Audio' 
aplay -lL
pactl list cards

Ah yes.. I forgot to mention I do have wireplumber installed. But I did not configure it... I just did pacman -S wireplumber, idk if anything further is required

sudo fuser -v /dev/snd*

no output (as expected?)

sudo dmesg | grep -E 'snd|sof'

https://pastebin.com/tj4jffJH

[jake@Elite ~]$ lspci -k | grep -A3 'Audio'
libkmod: kmod_config_parse: /etc/modprobe.d/audio-fix.conf line 2: ignoring bad line starting with 'options-snd-intel-dspcfg'
01:00.1 Audio device: NVIDIA Corporation Device 2291 (rev a1)
        Subsystem: Hewlett-Packard Company Device 8a3c
        Kernel modules: snd_hda_intel
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 16)
--
06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller
        Subsystem: Hewlett-Packard Company Device 8a3c
        Kernel modules: snd_hda_intel
06:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
--
06:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 01)
        Subsystem: Hewlett-Packard Company Device 8a3c
        Kernel driver in use: snd_rn_pci_acp3x
        Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63
06:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
        Subsystem: Hewlett-Packard Company Device 8a3c
        Kernel modules: snd_hda_intel
$ aplay -lL
    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)
aplay: device_list:279: no soundcards found...
pactl list cards

no output ??? the sound cards not detected

Offline

#4 2024-08-16 10:20:27

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

Re: Audio not working

You have kernel level problems, pipewire or pulseaudio is completely irrelevant. get rid of the dmic_detect=0 experiment (... in fact all of the expermients in /etc/modprobe.d there's a file with wrong syntax there as well) and the module listing in that grep points to kernel issues in general so maybe post the link from a

sudo journalctl -b | curl -F 'file=@-' 0x0.st

so we get a complete overview.

Last edited by V1del (2024-08-16 10:21:36)

Offline

#5 2024-08-16 22:59:37

avgusr
Member
Registered: 2023-04-01
Posts: 7

Re: Audio not working

V1del wrote:

You have kernel level problems, pipewire or pulseaudio is completely irrelevant. get rid of the dmic_detect=0 experiment (... in fact all of the expermients in /etc/modprobe.d there's a file with wrong syntax there as well) and the module listing in that grep points to kernel issues in general so maybe post the link from a

sudo journalctl -b | curl -F 'file=@-' 0x0.st

so we get a complete overview.

Okay, I fixed the bad line and removed dmic_detect=0
http://0x0.st/X4YH.txt

Offline

#6 2024-08-18 11:33:27

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

Re: Audio not working

The log is still full of that. Remove literally everything you did in /etc/modprobe.d or at least post the contents, reboot, repost the output you get from that command, without all of that present.

Offline

#7 2024-08-18 19:00:31

avgusr
Member
Registered: 2023-04-01
Posts: 7

Re: Audio not working

V1del wrote:

The log is still full of that. Remove literally everything you did in /etc/modprobe.d or at least post the contents, reboot, repost the output you get from that command, without all of that present.

http://0x0.st/XJoy.txt
I don't know if it's related but after reboot I don't even hear a beep when backspacing into console anymore.

The file contents were:

File audio-fix.conf:
blacklist snd-sof-pci

( I assumed i made that one. I messed around with this like 2 months ago).

alsa-base.conf:
options snd_hda_intel index=0 model=[YOUR_MODEL_SETTING]

( I deleted that cause I think itwasn't even complete, because of the [YOUR_MODEL_SETTING], I guess i stupidly made that file too )

blacklist.conf:
blacklist snd-intel18x0m

( i deleted that cause I think I remember making it ).

Last edited by avgusr (2024-08-18 19:26:07)

Offline

#8 2024-08-19 07:14:00

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

Re: Audio not working

Yeah absolutely none of that is relevant, remove them all. According to that log you should now at least have a device. Repost all of the outputs I asked you for:

sudo fuser -v /dev/snd/*
sudo dmesg | grep -E 'snd|sof'
lspci -k | grep -A3 'Audio' 
aplay -lL
pactl list cards

Offline

#9 2024-08-20 22:25:20

avgusr
Member
Registered: 2023-04-01
Posts: 7

Re: Audio not working

V1del wrote:

Yeah absolutely none of that is relevant, remove them all. According to that log you should now at least have a device. Repost all of the outputs I asked you for:

sudo fuser -v /dev/snd/*
sudo dmesg | grep -E 'snd|sof'
lspci -k | grep -A3 'Audio' 
aplay -lL
pactl list cards

I had removed them

[jake@Elite ~]$ sudo fuser -v /dev/snd/*
[sudo] password for jake: 
                     USER        PID ACCESS COMMAND
/dev/snd/seq:        jake        623 F.... pipewire

dmesg | grep -E 'snd|sof' > http://0x0.st/XJIR.txt

[jake@Elite ~]$ lspci -k | grep -A3 'Audio' 
01:00.1 Audio device: NVIDIA Corporation Device 2291 (rev a1)
        Subsystem: Hewlett-Packard Company Device 8a3c
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
--
06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller
        Subsystem: Hewlett-Packard Company Device 8a3c
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
--
06:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 01)
        Subsystem: Hewlett-Packard Company Device 8a3c
        Kernel driver in use: snd_rn_pci_acp3x
        Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63
06:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
        Subsystem: Hewlett-Packard Company Device 8a3c
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
[jake@Elite ~]$ 
[jake@Elite ~]$ 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)
aplay: device_list:279: no soundcards found...
[jake@Elite ~]$ 
[jake@Elite ~]$ pactl list cards
[jake@Elite ~]$ 

Offline

#10 2024-08-23 03:35:12

avgusr
Member
Registered: 2023-04-01
Posts: 7

Re: Audio not working

Thinkin Bout switchin to ubuntu over this hmm

Offline

#11 2024-08-23 09:21:49

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

Re: Audio not working

Chances this will just work there are quite low, and if so they should eventually upstream the changes. Try testing the LTS kernel, or potentially linux-mainline or so. FWIW HP is also somewhat known for broken implementations on their firmware level, check for a firmware/UEFI update.

Offline

#12 2024-09-29 20:26:03

avgusr
Member
Registered: 2023-04-01
Posts: 7

Re: Audio not working

I just installed ubuntu and it is working right away on a fresh install without me installing ABSOLUTELY anything special, ABSOLUTELY FRESH install just opened firefox and it's working lol and im on a discord call with my friend

Offline

Board footer

Powered by FluxBB