You are not logged in.

#1 2022-08-24 14:35:52

Confusioned
Member
Registered: 2021-08-03
Posts: 8

Pipewire plays sound on laptop speakers only if headphone is jacked in

Sooo, I'm a bit confusioned about this problem on my newly installed arch. Basic problem is: laptop speakers only make sound when I plug in a headset in the headphone jack. Somehow pipewire seems to be confused about what the speakers and what the headphones are, might be related to that it is a shared sink.

Here is the output of `wpctl status`: https://bpa.st/77GQ (sink #56 I'm talking about)

Feel free to request other information if you want to help, I'm a noob to pipewire, unfortunately. Everything worked flawlessly ootb when trying out an ElementaryOS LiveUSB so actually I think there is hope that it might work as well on Arch. It would be really nice to not have to plug in my headphones to use the laptop speakers, so if someone could help I would be thankful til the end of time.

Last edited by Confusioned (2022-08-26 12:38:22)

Offline

#2 2022-08-24 21:55:49

cloverskull
Member
Registered: 2018-09-30
Posts: 172

Re: Pipewire plays sound on laptop speakers only if headphone is jacked in

Interesting - I have an issue where pipewire won't play any sounds until I press the mute/unmute keys on my keyboard.

Seems like pipewire is presenting a number of problems lately.

Offline

#3 2022-08-26 03:31:26

Confusioned
Member
Registered: 2021-08-03
Posts: 8

Re: Pipewire plays sound on laptop speakers only if headphone is jacked in

So you're suggesting it most probably is an upstream bug that I should report to pipewire itself and it is not my fault that I'm too stupid to configure it correctly?

Last edited by Confusioned (2022-08-26 03:32:04)

Offline

#4 2022-08-26 10:41:31

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

Re: Pipewire plays sound on laptop speakers only if headphone is jacked in

In that output your sink is muted, what happens if you explicitly unmute that? Generally wireplumber/pipewire will store and restore volume and mute states by default. If you never explicitly unmute and rely on the logical switching/volume reapplication happening due to inserting a headphone jack then this works as intended.

Offline

#5 2022-08-26 12:39:09

Confusioned
Member
Registered: 2021-08-03
Posts: 8

Re: Pipewire plays sound on laptop speakers only if headphone is jacked in

Thanks for your reply, I did try that out to no avail.

Offline

#6 2022-08-26 23:07:50

glenjo
Member
From: Pacific NW
Registered: 2020-06-09
Posts: 37

Re: Pipewire plays sound on laptop speakers only if headphone is jacked in

I found pipewire does not seem to keep the selected default sink between boots. I added a pactl set-default-sink command to the .profile so that my default sink is always selected. I have found that I can set the sink that I want even if the headset reporting is in error and it is reported as unavailable.

Last edited by glenjo (2022-08-26 23:11:09)

Offline

#7 2022-08-27 06:13:16

Confusioned
Member
Registered: 2021-08-03
Posts: 8

Re: Pipewire plays sound on laptop speakers only if headphone is jacked in

Thanks for your reply!
Unfortunately also didn't change a thing.
Here is the output of `pactl list sinks`: https://bpa.st/UVNA
Here is the output when headphones are plugged in and laptop speakers make sound: https://bpa.st/RYSQ
In case it somehow helps to compare both states.

Last edited by Confusioned (2022-08-27 06:13:32)

Offline

#8 2022-08-30 15:13:14

Confusioned
Member
Registered: 2021-08-03
Posts: 8

Re: Pipewire plays sound on laptop speakers only if headphone is jacked in

In the meantime I found this: https://wiki.archlinux.org/title/Huawei … PulseAudio
The pactl command kind of helps... at least I'm able to listen to system sounds through the speakers but unfortunately any other sound sources are not listed in pavucontrol and are not hearable?

Offline

#9 2022-08-30 15:45:31

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

Re: Pipewire plays sound on laptop speakers only if headphone is jacked in

What are "other sound sources" exactly? Once pulse is fixed everything else should be routed via pulse and use it's config. FWIW for more complete coverage make sure pipewire-alsa is installed as well. For the remaining error cases, stae what you are playing that does currently not work and post

sudo fuser -v /dev/snd/*
pactl list sinks
pactl list sink-inputs

during a not working situation.

Offline

#10 2022-08-30 19:43:17

Confusioned
Member
Registered: 2021-08-03
Posts: 8

Re: Pipewire plays sound on laptop speakers only if headphone is jacked in

Thanks for your help. Any other sound source I tried so far. The only sound I heard was the feedback sound from pavucontrol when changing the volume (system sound).
Here is the requested output when trying to play sound from a firefox youtube video: https://bpa.st/CQTA Other sound sources than system sounds don't even appear anymore in pavucontrol after executing the above linked pactl command. When I execute it sound of any other sound source is hearable for a very brief amount of time though.

Last edited by Confusioned (2022-08-30 19:44:26)

Offline

Board footer

Powered by FluxBB