22 Apr 2023 |
CRTified | * For me, I simply moved my services.pipewire.config into the builtins.toJSON as shown above and it was fine (dropping the old supplied default values that I added because of broken merging with the upstream config) | 16:09:13 |
CRTified | But yeah, I also used the release notes for migration | 16:10:22 |
| maya joined the room. | 22:49:57 |
23 Apr 2023 |
| @denna:matrix.org left the room. | 12:44:58 |
| olaf joined the room. | 21:04:50 |
26 Apr 2023 |
| Yuddite G changed their display name from Yuddite Pilot to Yuddite Groyper. | 04:49:27 |
| Yuddite G changed their display name from Yuddite Groyper to Yuddite G. | 21:02:22 |
27 Apr 2023 |
| jopejoe1 joined the room. | 07:44:56 |
29 Apr 2023 |
Industrial | Hi.
This is my PipeWire config:
# Sound (https://nixos.wiki/wiki/PipeWire)
sound.enable = false;
security.rtkit.enable = true;
hardware.pulseaudio.enable = false;
services.pipewire.enable = true;
services.pipewire.alsa.enable = true;
services.pipewire.alsa.support32Bit = true;
services.pipewire.pulse.enable = true;
When I run pulsemixer it says it can't connect. Did I config it wrong?
| 14:25:34 |
Rampoina | sound.enable should be true I think | 14:30:14 |
Industrial | The wiki says "# Remove sound.enable or turn it off if you had it set previously, it seems to cause conflicts with pipewire" but I can try of course :) | 14:34:38 |
Industrial | No, same thing | 14:37:26 |
Industrial | ❯ pulsemixer
Failed to connect to pulseaudio: Connection refused | 14:37:42 |
Industrial | Might it be a rights thing? | 14:37:47 |
Industrial | Tried adding my user to the audio group. Nope :) | 14:39:32 |
Minijackson | did you restart your session after adding yourself to the group ? | 14:47:05 |
Minijackson | is systemctl --user status pipewire.service wireplumber.service ok? | 14:47:47 |
Minijackson | oh, especially systemctl --user status pipewire-pulse.socket | 14:48:16 |
Industrial | I did.
● pipewire.service - PipeWire Multimedia Service
Loaded: loaded (/etc/systemd/user/pipewire.service; linked-runtime; preset: enabled)
Drop-In: /nix/store/brh4wla7faax5qdcb4l49sjjvk59rn86-user-units/pipewire.service.d
└─overrides.conf
Active: active (running) since Sat 2023-04-29 16:16:28 CEST; 32min ago
TriggeredBy: ● pipewire.socket
Main PID: 7883 (pipewire)
Tasks: 5 (limit: 76121)
Memory: 4.6M
CPU: 23ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
└─7883 /nix/store/15hz7mqz7fxgvgyb95csmx228i2vhsai-pipewire-0.3.70/bin/pipewire
apr 29 16:16:28 drakkar pipewire[7883]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
apr 29 16:16:28 drakkar pipewire[7883]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
apr 29 16:16:28 drakkar pipewire[7883]: [1:38:32.459147246] [7883] INFO IPAManager ipa_manager.cpp:143 libcamera is not installed. Adding '/nix/store/src/ipa' to the IPA search path
apr 29 16:16:28 drakkar pipewire[7883]: [1:38:32.459264328] [7883] INFO Camera camera_manager.cpp:299 libcamera v0.0.3
apr 29 16:16:28 drakkar pipewire[7883]: spa.v4l2: error: Permission denied
apr 29 16:20:51 drakkar pipewire[7883]: mod.x11-bell: canberra context open error: Not available
apr 29 16:47:36 drakkar pipewire[7883]: mod.x11-bell: canberra context open error: Not available
apr 29 16:47:37 drakkar pipewire[7883]: mod.x11-bell: X11 I/O error handler called on display :0
apr 29 16:47:37 drakkar pipewire[7883]: mod.x11-bell: X11 display (:0) has encountered a fatal I/O error
apr 29 16:47:40 drakkar pipewire[7883]: spa.v4l2: error: Permission denied
● wireplumber.service - Multimedia Service Session Manager
Loaded: loaded (/etc/systemd/user/wireplumber.service; enabled; preset: enabled)
Drop-In: /nix/store/brh4wla7faax5qdcb4l49sjjvk59rn86-user-units/wireplumber.service.d
└─overrides.conf
Active: active (running) since Sat 2023-04-29 16:16:28 CEST; 32min ago
Main PID: 7890 (wireplumber)
Tasks: 8 (limit: 76121)
Memory: 14.0M
CPU: 125ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
└─7890 /nix/store/wk6mrxzw13sa0x92sk73c238vi0ynh97-wireplumber-0.4.14/bin/wireplumber
apr 29 16:16:28 drakkar wireplumber[7890]: found session bus but no portal
apr 29 16:16:28 drakkar wireplumber[7890]: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
apr 29 16:16:28 drakkar wireplumber[7890]: could not set nice-level to -11: No such file or directory
apr 29 16:16:28 drakkar wireplumber[7890]: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
apr 29 16:16:28 drakkar wireplumber[7890]: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
apr 29 16:16:28 drakkar wireplumber[7890]: [1:38:32.339685326] [7890] INFO IPAManager ipa_manager.cpp:143 libcamera is not installed. Adding '/nix/store/src/ipa' to the IPA search path
apr 29 16:16:28 drakkar wireplumber[7890]: [1:38:32.341867115] [7890] INFO Camera camera_manager.cpp:299 libcamera v0.0.3
apr 29 16:16:28 drakkar wireplumber[7890]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
apr 29 16:16:28 drakkar wireplumber[7890]: <WpPortalPermissionStorePlugin:0xa94060> Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.im>
apr 29 16:47:40 drakkar wireplumber[7890]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
and
○ pipewire-pulse.socket - PipeWire PulseAudio
Loaded: loaded (/etc/systemd/user/pipewire-pulse.socket; enabled; preset: enabled)
Drop-In: /nix/store/brh4wla7faax5qdcb4l49sjjvk59rn86-user-units/pipewire-pulse.socket.d
└─overrides.conf
Active: inactive (dead)
Triggers: ● pipewire-pulse.service
Listen: /run/user/1000/pulse/native (Stream)
| 14:50:16 |
Minijackson | it seems the pulseaudio socket is not started, if you start it manually, does it fix your issues? | 14:51:59 |
Industrial | Minijackson: I'm not sure how to do that, but I did try restarting the system and that didn't work. | 15:19:10 |
Minijackson | with systemctl --user start pipewire-pulse.socket | 15:19:31 |
Industrial | Failed to start pipewire-pulse.socket: Unit pipewire-pulse.socket has a bad unit file setting.
See user logs and 'systemctl --user status pipewire-pulse.socket' for details.
| 15:27:43 |
Minijackson | huh | 15:28:10 |
Industrial | Journalctl says
apr 29 17:27:20 drakkar systemd[2057]: pipewire-pulse.socket: Unit has no Listen setting (ListenStream=, ListenDatagram=, ListenFIFO=, ...). Refusing.
apr 29 17:28:26 drakkar systemd[2057]: pipewire-pulse.socket: Unit has no Listen setting (ListenStream=, ListenDatagram=, ListenFIFO=, ...). Refusing.
| 15:29:58 |
Minijackson | can you run systemctl --user cat pipewire-pulse.socket ? | 15:30:19 |
Industrial | ah, it's empty:
# /etc/systemd/user/pipewire-pulse.socket
[Unit]
[Socket]
| 15:31:37 |
Minijackson | huh | 15:31:57 |
Minijackson | what about realpath /etc/systemd/user/pipewire-pulse.socket ? Does the socket comes from the right pipewire package? | 15:33:00 |
Industrial | yes, /nix/store/06q4vcxcy113zdqh5jp1ayh3dvn8p497-unit-pipewire-pulse.socket/pipewire-pulse.socket . | 15:36:54 |