You are not logged in.

#1 2021-07-25 19:51:25

anonythl
Member
Registered: 2021-07-25
Posts: 29

[SOLVED] HP Spectre x360 2021: I cannot figure out audio :(

I have been attempting to get audio to work all day (I even went to the second page of Google!) on my new Spectre, but to no avail.

  • "amixer" shows me seven Masters? ('PGA1.0 1 Master',0 , 'PGA2.0 2 Master',0 and so on)

  • "alsamixer" segfaults for some reason.

  • Thanks to the problem above, I manually set all of my mixer controls to 100% (https://pastebin.com/aZDVSQVt), yet audio still doesn't work.

What I have tried
  • I have installed "sof-firmware."

  • "$ pacman -Q | grep alsa" outputs:

    alsa-card-profiles 1:0.3.32-1
    alsa-firmware 1.2.4-2
    alsa-lib 1.2.5.1-3
    alsa-plugins 1:1.2.5-2
    alsa-tools 1.2.5-1
    alsa-topology-conf 1.2.5.1-1
    alsa-ucm-conf 1.2.5.1-1
    alsa-utils 1.2.5.1-1
    zita-alsa-pcmi 0.3.2-3
  • "/etc/modprobe.d/modprobe.conf":

    options snd-hda-intel model=laptop
  • "/etc/modprobe.d/blacklist.conf":

    blacklist snd_hda_intel
    blacklist snd_soc_skl

I need quite a bit of help...

Last edited by anonythl (2021-07-27 11:18:55)

Offline

#2 2021-07-25 20:08:51

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

Re: [SOLVED] HP Spectre x360 2021: I cannot figure out audio :(

Remove both of these modprobe files, reboot and post

sudo dmesg | grep -i 'snd|sof'
aplay -lL
#If pulse/pipewire
pactl list cards
pactl list sinks

Offline

#3 2021-07-25 20:31:24

anonythl
Member
Registered: 2021-07-25
Posts: 29

Re: [SOLVED] HP Spectre x360 2021: I cannot figure out audio :(

Thanks for responding!

"sudo dmesg | grep -i 'snd|sof'" outputs nothing.
"aplay -lL" outputs this: https://pastebin.com/fgtZwm3c
Both "pactl" commands give connection failures

Offline

#4 2021-07-25 21:01:42

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

Re: [SOLVED] HP Spectre x360 2021: I cannot figure out audio :(

Ah fuck, correct would be grep -iE 'snd|sof'

In any case without the random modprobe files you actually have real devices, test whether you can play to them directly

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

in theory one of these two should give you output.

However we should also fix the fact that your pulse seems to be broken/not accessible. Which environment do you start and how do you start it? What's your output for

systemctl --user status pulseaudio
loginctl session-status

Offline

#5 2021-07-25 21:15:46

anonythl
Member
Registered: 2021-07-25
Posts: 29

Re: [SOLVED] HP Spectre x360 2021: I cannot figure out audio :(

"sudo dmesg | grep -iE 'snd|sof'" output: https://pastebin.com/6aHZTHb3 (I know I just titled the pastebin wrong (dmenu instead of dmesg, whoops))
"speaker-test -Dhw:0,2 -c2" works! However, "0,0" doesn't.

I am using i3-gaps.

The systemctl command outputs "Unit pulseaudio.service could not be found."
loginctl session-status: https://pastebin.com/Gnf8XGyC

Offline

#6 2021-07-25 21:18:12

anonythl
Member
Registered: 2021-07-25
Posts: 29

Re: [SOLVED] HP Spectre x360 2021: I cannot figure out audio :(

Also, I use startx for i3

Offline

#7 2021-07-25 21:38:11

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

Re: [SOLVED] HP Spectre x360 2021: I cannot figure out audio :(

Post your .xinitrc. Do you want to use pipewire or pulseaudio? If you don't and you just want to fix ALSA create a /etc/asound.conf with

defaults.pcm.device 2

.

Offline

#8 2021-07-25 21:47:06

anonythl
Member
Registered: 2021-07-25
Posts: 29

Re: [SOLVED] HP Spectre x360 2021: I cannot figure out audio :(

~/.xinitrc: https://pastebin.com/qDjEiBAA

I don't use either pulseaudio or pipewire.

Offline

#9 2021-07-25 21:49:11

anonythl
Member
Registered: 2021-07-25
Posts: 29

Re: [SOLVED] HP Spectre x360 2021: I cannot figure out audio :(

I also added a /etc/asound.conf, but that did not work (even after rebooting).

Offline

#10 2021-07-25 21:52:40

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

Re: [SOLVED] HP Spectre x360 2021: I cannot figure out audio :(

Please define "didn't work", which exact command/program did you try and use for testing?

Offline

#11 2021-07-25 21:59:29

anonythl
Member
Registered: 2021-07-25
Posts: 29

Re: [SOLVED] HP Spectre x360 2021: I cannot figure out audio :(

youtube.com on Firefox smile. (It didn't play audio)

Last edited by anonythl (2021-07-25 22:00:44)

Offline

#12 2021-07-25 22:17:27

anonythl
Member
Registered: 2021-07-25
Posts: 29

Re: [SOLVED] HP Spectre x360 2021: I cannot figure out audio :(

The wiki also says I should use apulse if audio doesn't come out of other programs: https://wiki.archlinux.org/title/Advanc … #No_output
It still doesn't change anything (when I run "apulse firefox").

Last edited by anonythl (2021-07-25 22:30:11)

Offline

#13 2021-07-26 00:44:03

anonythl
Member
Registered: 2021-07-25
Posts: 29

Re: [SOLVED] HP Spectre x360 2021: I cannot figure out audio :(

I realized that I am pretty much an idiot smile. I realized that I was actually supposed to install "pulseaudio," and that it is required by Firefox to play audio.
The thing is, I actually installed and uninstalled "pulseaudio" before, it's just that I had to set the default sink to the last index:

pacmd set-default-sink 4

Offline

#14 2021-07-26 08:11:43

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

Re: [SOLVED] HP Spectre x360 2021: I cannot figure out audio :(

Firefox doesn't inherently require pulseaudio, but it's ALSA implementation is very weird and I'd probably have opted to recommend you try pulse anyway.

If this is [SOLVED] please mark it as such by editing the title in your first post

Offline

Board footer

Powered by FluxBB