View previous topic :: View next topic |
Author |
Message |
nulltheliteralnothing n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Feb 2024 Posts: 62
|
Posted: Tue Mar 19, 2024 1:35 pm Post subject: |
|
|
logrusx wrote: | nulltheliteralnothing wrote: | logrusx wrote: | nulltheliteralnothing wrote: |
Quoting the instructions:
Code: |
Root user may replace --user with --global to change system default
configuration for all of the above commands.
|
|
That doesn't mean you should do it. It says system defaults can be changed that way. You don't need to do that. Anyways, I'm trying to figure out why the errors occurred.
So you run the commands with --user as root or you didn't?
Best Regards,
Georgi |
I hear you.
What are the consequences? |
Well it's kind of funny. If you run them as root, the --user commands should have set the defaults for root. That's what --user param to systemctl does - changes for the particular user. However after running the --global, you set the defaults for all users, making the --user command for root redundant.
Anyways, I'm trying to find out if that was the reason they failed. You still haven't answered the question, were you logged in as root when you run those:
nulltheliteralnothing wrote: | Code: | thezengarden /home/shinobi # usermod -aG pipewire shinobi
thezengarden /home/shinobi # usermod -rG audio shinobi
thezengarden /home/shinobi # systemctl --user disable pulseaudio.service pulseaudio.socket
Failed to connect to bus: Operation not permitted
thezengarden /home/shinobi # systemctl --user enable pipewire.socket piepwire-pulse.socket
Failed to connect to bus: Operation not permitted
thezengarden /home/shinobi # systemctl --global enable pipewire.socket piepwire-pulse.socket
Failed to enable unit, unit piepwire-pulse.socket does not exist.
thezengarden /home/shinobi # systemctl --global disable pulseaudio.service pulseaudio.socket
thezengarden /home/shinobi # |
|
Best Regards,
Georgi |
Sorry about that.
It appears that I ran them all as root according to the bash history. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 22 Feb 2018 Posts: 1547
|
Posted: Tue Mar 19, 2024 2:27 pm Post subject: |
|
|
Is there any difference? I think there was some configuration to prevent pulseaudio-daemon from spawning a server, but I'd prefer to ditch it altogether.
You can try to unmerge it manually or wait for the moderators to move your thread to Portage & Programming and see if someone more knowledgeable than me has a better idea. I've already requested it.
If you try to unmerge it and it gets pulled in again, please post the output of the emerge command with additional --tree parameter so that we can see what pulls it in.
Best Regards,
Georgi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nulltheliteralnothing n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Feb 2024 Posts: 62
|
Posted: Tue Mar 19, 2024 3:02 pm Post subject: |
|
|
logrusx wrote: | Is there any difference? I think there was some configuration to prevent pulseaudio-daemon from spawning a server, but I'd prefer to ditch it altogether.
You can try to unmerge it manually or wait for the moderators to move your thread to Portage & Programming and see if someone more knowledgeable than me has a better idea. I've already requested it.
If you try to unmerge it and it gets pulled in again, please post the output of the emerge command with additional --tree parameter so that we can see what pulls it in.
Best Regards,
Georgi |
Hummm!
Code: |
thezengarden /home/shinobi # equery list media-sound/*
* Searching for * in media-sound ...
[IP-] [ ] media-sound/alsa-utils-1.2.10-r1:0.9
[IP-] [ ] media-sound/cdparanoia-3.10.2-r7:0
[IP-] [ ] media-sound/lame-3.100-r3:0
[IP-] [ ] media-sound/mpg123-base-1.32.3:0
[IP-] [ ] media-sound/pulseaudio-16.1:0
[IP-] [ ] media-sound/pulseaudio-daemon-17.0-r1:0
thezengarden /home/shinobi # emerge --deselect media-sound/pulseaudio-daemon
>>> No matching atoms found in "world" favorites file...
|
Also, the enabling of pipewire service and socket, disabling pulseaudio service and socket on the user level executed without error. I am sill not seeing any audio devices in Gnome.
Code: |
shinobi@thezengarden ~ $ systemctl status --user pipewire
● pipewire.service - PipeWire Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: e>
Active: active (running) since Tue 2024-03-19 11:06:00 EDT; 4min 1s ago
TriggeredBy: ● pipewire.socket
Main PID: 1144 (pipewire)
Tasks: 2 (limit: 9341)
Memory: 5.3M (peak: 5.6M)
CPU: 48ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewi>
└─1144 /usr/bin/pipewire
Mar 19 11:06:00 thezengarden systemd[1134]: Started PipeWire Multimedia Service.
[1]+ Stopped systemctl status --user pipewire
shinobi@thezengarden ~ $ systemctl status --user pulseaudio
○ pulseaudio.service - Sound Service
Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; preset>
Active: inactive (dead)
TriggeredBy: ○ pulseaudio.socket
lines 1-4/4 (END)
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 22 Feb 2018 Posts: 1547
|
Posted: Tue Mar 19, 2024 4:34 pm Post subject: |
|
|
Code: | ps aux | grep pulse |
?
Also
Code: | emerge -pv pipewire |
?
Best Regards,
Georgi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nulltheliteralnothing n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Feb 2024 Posts: 62
|
Posted: Tue Mar 19, 2024 5:41 pm Post subject: |
|
|
logrusx wrote: | Code: | ps aux | grep pulse |
?
Also
Code: | emerge -pv pipewire |
?
Best Regards,
Georgi |
I appreciate all your support
Code: |
shinobi@thezengarden ~ $ ps aux | grep pulse
shinobi 1620 0.0 0.1 27176 9216 ? S<sl 11:06 0:00 /usr/bin/pipewire-pulse
shinobi 3071 0.0 0.1 18836 8228 pts/0 T 11:10 0:00 systemctl status --user pulseaudio
shinobi 18064 0.0 0.0 6620 2304 pts/0 S+ 13:39 0:00 grep --colour=auto pulse
|
Code: |
shinobi@thezengarden ~ $ emerge -pv pipewire
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 3.75 s (backtrack: 0/20).
[ebuild R ] media-video/pipewire-1.0.3:0/0.4::gentoo USE="X bluetooth dbus gstreamer readline ssl systemd -doc -echo-cancel -extra -ffmpeg -flatpak -gsettings -ieee1394 -jack-client -jack-sdk -liblc3 -lv2 -man -modemmanager -pipewire-alsa -roc (-selinux) -sound-server (-system-service) -test -v4l -zeroconf" ABI_X86="(64) -32 (-x32)" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
* IMPORTANT: 1 news items need reading for repository 'librewolf'.
* IMPORTANT: 19 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 22 Feb 2018 Posts: 1547
|
Posted: Tue Mar 19, 2024 5:45 pm Post subject: |
|
|
Enable sound-server on pipewire.
Best Regards,
Georgi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nulltheliteralnothing n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Feb 2024 Posts: 62
|
Posted: Tue Mar 19, 2024 7:35 pm Post subject: |
|
|
logrusx wrote: | Enable sound-server on pipewire.
Best Regards,
Georgi |
I have recompiled the media-video/pipewire with the USE flag "sound-server".
Gnome is still reporting 0 available output devices.
It is odd, my understanding is that Gnome brought in Pipewire, and PulseAudio is pretty standardized.
Code: |
shinobi@thezengarden ~ $ ps -aux | grep pipewire
shinobi 1135 0.0 0.0 31008 7684 ? S<sl 15:33 0:00 /usr/bin/pipewire
shinobi 1621 0.0 0.1 27156 9088 ? S<sl 15:33 0:00 /usr/bin/pipewire-pulse
shinobi 2303 0.0 0.0 6620 2048 pts/0 S+ 15:35 0:00 grep --colour=auto pipewire
|
And, both the pulse adapter and the pipewire service are running. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 22 Feb 2018 Posts: 1547
|
Posted: Tue Mar 19, 2024 7:57 pm Post subject: |
|
|
Post the output of aplay -L again please.
Best Regards,
Georgi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nulltheliteralnothing n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Feb 2024 Posts: 62
|
Posted: Tue Mar 19, 2024 8:16 pm Post subject: |
|
|
Code: |
shinobi@thezengarden ~ $ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
upmix
Plugin for channel upmix (4,6,8)
vdownmix
Plugin for channel downmix (stereo) with a simple spacialization
hdmi:CARD=HDMI,DEV=0
HDA Intel HDMI, HDMI 0
HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
HDA Intel HDMI, HDMI 1
HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
HDA Intel HDMI, HDMI 2
HDMI Audio Output
usbstream:CARD=HDMI
HDA Intel HDMI
USB Stream Output
sysdefault:CARD=PCH
HDA Intel PCH, ALC288 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC288 Analog
Front output / input
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC288 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC288 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC288 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC288 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC288 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC288 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
usbstream:CARD=PCH
HDA Intel PCH
USB Stream Output
|
Interesting that Pulse sound server is still an option.
Code: |
shinobi@thezengarden ~ $ ps -aux | grep pulse
shinobi 1621 0.0 0.1 27996 10196 ? S<sl 15:33 0:00 /usr/bin/pipewire-pulse
shinobi 14016 0.0 0.0 6620 2304 pts/0 S+ 16:17 0:00 grep --colour=auto pulse
|
Code: |
shinobi@thezengarden ~ $ systemctl enable --user wireplumber
Created symlink /home/shinobi/.config/systemd/user/pipewire-session-manager.service → /usr/lib/systemd/user/wireplumber.service.
Created symlink /home/shinobi/.config/systemd/user/pipewire.service.wants/wireplumber.service → /usr/lib/systemd/user/wireplumber.service.
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nulltheliteralnothing n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Feb 2024 Posts: 62
|
Posted: Tue Mar 19, 2024 8:26 pm Post subject: |
|
|
It is working now. Wireplumber service wasn't active. Thank you so much. I really appreciated the time you spent to debug all this. You definitely brought me to this point. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 22 Feb 2018 Posts: 1547
|
Posted: Wed Mar 20, 2024 6:02 am Post subject: |
|
|
You're welcome. I think you can unmerge pulseaudio-daemon now if you want. Also check if pulseaudio has daemon USE flag enabled. I think that might be the culprit of all problems. If it does, disable it and run emerge --ask --depclean
p.s. if you think the issue is resolved, you can as well edit the first post and add SOLVED to the title.
Best regards,
Georgi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nulltheliteralnothing n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Feb 2024 Posts: 62
|
Posted: Wed Mar 20, 2024 12:19 pm Post subject: |
|
|
logrusx wrote: | You're welcome. I think you can unmerge pulseaudio-daemon now if you want. Also check if pulseaudio has daemon USE flag enabled. I think that might be the culprit of all problems. If it does, disable it and run emerge --ask --depclean
p.s. if you think the issue is resolved, you can as well edit the first post and add SOLVED to the title.
Best regards,
Georgi |
I definitely learned a lot about the Linux sound system. Oddly, it is not something I have had to put much energy into. I work with Linux but either the sound system worked with the install of a Desktop environment, or the machine never intended to have sound at all. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 22 Feb 2018 Posts: 1547
|
Posted: Wed Mar 20, 2024 1:16 pm Post subject: |
|
|
As a matter of fact I learned a lot too, thanks to Hu's and Neddy's earlier replays :)
Thank you too for giving me the reason to do so!
Best regards,
Georgi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|