Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sound no longer working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
o5gmmob8
Guru
Guru


Joined: 17 Oct 2003
Posts: 505

PostPosted: Sat Jan 18, 2025 6:02 pm    Post subject: sound no longer working Reply with quote

I setup my system to use pipewire: https://wiki.gentoo.org/wiki/PipeWire#USE_flags

I had it working at some point, but only after I installed pavucontrol. I was (and still am) unable to use wpctl to control the volume. I could set the volume via pactl.

Now, I only get sound when I connect my bluetooth earbuds. Without them connected, I only see dummy output. I did rebuild my system after changing use flags, but I don't believe pipewire was rebuilt. If I go to the configuration tab in pavucontrol, I don't see any cards available for configuration.

Any ideas as to what I should check?

emerge --info
https://bpa.st/QHCQ
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3948

PostPosted: Sat Jan 18, 2025 11:45 pm    Post subject: Reply with quote

Plz post
Code:

emerge -pv pipewire libpulse pulseaudio

Did you change recently maybe the kernel config?
_________________
:)
Back to top
View user's profile Send private message
o5gmmob8
Guru
Guru


Joined: 17 Oct 2003
Posts: 505

PostPosted: Sun Jan 19, 2025 12:35 am    Post subject: Reply with quote

emerge -pv pipewire libpulse pulseaudio

Code:

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 2.41 s (backtrack: 0/20).

[ebuild   R    ] media-video/pipewire-1.2.7:0/0.4::gentoo  USE="bluetooth dbus echo-cancel man readline sound-server ssl v4l -X -doc -elogind -extra -ffmpeg -flatpak -gsettings -gstreamer -ieee1394 -jack-client -jack-sdk -liblc3 -lv2 -modemmanager -pipewire-alsa -roc (-selinux) (-system-service) -systemd -test -zeroconf" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] media-libs/libpulse-17.0::gentoo  USE="X asyncns dbus glib gtk -doc (-selinux) -systemd -test -valgrind" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N     ] media-sound/pulseaudio-16.1::gentoo  USE="bluetooth glib jack -daemon -ofono-headset" ABI_X86="(64) -32 (-x32)" 0 KiB

Total: 3 packages (1 new, 2 reinstalls), Size of downloads: 0 KiB

 * IMPORTANT: 26 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


I don't believe I changed the kernel config, no.
Back to top
View user's profile Send private message
o5gmmob8
Guru
Guru


Joined: 17 Oct 2003
Posts: 505

PostPosted: Sun Jan 26, 2025 12:40 am    Post subject: Reply with quote

I rebuilt the kernel with the out of the box configuration and I still have no sound except for when I connect bluetooth. It is strange because I can see it detects an Intel HDA soundcard and loads the appropriate kernel modules.

When I got it working earlier, I had to go into pavucontrol and change the configuration to select a different sink, but the configuration tab itself is showing no cards available for configuration. I went through the pipewire configuration again and noticed that the conf files that were supposed to be copied to cp /usr/share/pipewire/pipewire.conf /etc/pipewire/pipewire.conf did not exist. I know I copied them there earlier, but even after copying them there now, it is still not working.

On a positive note, the system is stable unless I mess it up :).
Back to top
View user's profile Send private message
reith
n00b
n00b


Joined: 13 Nov 2015
Posts: 20

PostPosted: Sun Jan 26, 2025 4:20 am    Post subject: Reply with quote

Maybe it's related to the problem I had earlier today. Check if `pactl list sinks` shows the port as available or unavailable.
Back to top
View user's profile Send private message
o5gmmob8
Guru
Guru


Joined: 17 Oct 2003
Posts: 505

PostPosted: Sun Jan 26, 2025 11:19 am    Post subject: Reply with quote

Thanks, but hmm, pactl shows no cards:

Code:
pactl list cards

<NOTHING>


I see I didn't install sof-firmware, but I didn't have that before and I didn't install it because I believe I have an older CPU. But I will give that a try.

EDIT:
Installing sof-firmware did NOT help. I went through the pipewire guide again: https://wiki.gentoo.org/wiki/PipeWire/en and changed my start-sway script from exec dbus-run-session sway to exec dbus-launch --exit-with-session. That didn't make any difference though.
Back to top
View user's profile Send private message
reith
n00b
n00b


Joined: 13 Nov 2015
Posts: 20

PostPosted: Sun Jan 26, 2025 7:39 pm    Post subject: Reply with quote

what does `aplay -l` say?
Back to top
View user's profile Send private message
o5gmmob8
Guru
Guru


Joined: 17 Oct 2003
Posts: 505

PostPosted: Sun Jan 26, 2025 7:49 pm    Post subject: Reply with quote

It says 'no soundcards found...'
Back to top
View user's profile Send private message
reith
n00b
n00b


Joined: 13 Nov 2015
Posts: 20

PostPosted: Sun Jan 26, 2025 8:01 pm    Post subject: Reply with quote

o5gmmob8 wrote:
It says 'no soundcards found...'

can you confirm `snd_hda_intel` kernel module is loaded and `alsa-lib` is installed?

do you see cards in `ls /dev/snd` run by your regular user? If not, double check you're still a member of group `audio`. I know it was suggested otherwise in pipewire wiki.
Back to top
View user's profile Send private message
o5gmmob8
Guru
Guru


Joined: 17 Oct 2003
Posts: 505

PostPosted: Sun Jan 26, 2025 10:36 pm    Post subject: Reply with quote

Yes, snd_hda_intel is loaded and alsa-lib is installed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum