Experience level:
So brand new to NixOS. Never dealt with the package manager before and I really dual booted it on my friend’s word. Feel free to ELI5
Context:
I didn’t have too many issues getting set up (some beginner mess ups but we handled those). I got my configuration.nix set up without too much difficulty.
Everything is honestly working pretty damn smoothly now. I quite like it, to be honest. One big issue. I can’t play video with sound. Or do anything with sound. Nor is my mic input detected.
Attempted solutions:
I attempted both PulseAudio and Pipewire in an effort to hear Michael Reeves’ voice, so first I googled then I binged then I yahoo’d and I:
- Checked for Multiple PulseAudio Instances: Attempted to kill any existing PulseAudio processes that might have been running.
There were not multiple instances running
- Verbose Logging: Ran PulseAudio in verbose mode to get more detailed error messages during startup.
It returned nothing.
- Permissions: Checked if running PulseAudio with elevated privileges resolved the issue. (Figured this isn’t it, since sudo is generally discouraged with PulseAudio)
Said it wasn’t for system-wide perms.
- Configuration Files: Reviewed PulseAudio’s configuration files for any errors or misconfigurations.
Weren’t any as far as I could tell. Please do let me know if it’s as simple as that, I’d be so grateful.
- Reinstallation of PulseAudio: Considered reinstalling PulseAudio to ensure a clean state.
It looked like it did something. Didn’t affect anything the situation though.
- Checking System Logs: Inspected system logs for any relevant error messages or warnings.
I didn’t really get anywhere with this, but I can rerun any log based commands if necessary for you guys. I’ve never worked with either PulseAudio or Pipewire before so my troubleshooting skills with those tools are limited.
-
Manual Start of PulseAudio: Tried manually starting PulseAudio with the
-D
flag to force daemonization.
Said the same thing every time. “Daemon startup failed”.
- Checking for Conflicting Services: Ensured there were no conflicting audio services running that could interfere with PulseAudio.
There weren’t really, but I’m willing to run this again for a screenshot if necessary.
I also worked with Pipewire. For Pipewire:
When I run the following:
systemctl status --user pipewire
I get “enabled” as a result. BUT it says “mod.jackdbus-detect: Failed to receive jackdbus reply: org.freedesktop.DBus.Error.ServiceUnknown: The name org.jackaudio.service was not provided by any .service files”
Same for when it’s pipewire.socket
or pipewire-pulse.socket
(? I think that’s what it was).
From what I understood, it seems that it’s an issue with that jack.enable = true;
line, but I faced issues regardless of whether it was enabled or disabled.
I also ran a few scanning commands (pactl list short sinks
) and half of what was found returned “Failure : No such entity” and the other half gave no output.
I found no guidance on the mic/input side of things.
Hardware:
So I’m on an LG Gram with 32 gb RAM, 2tb SSD (each OS has 1tb dedicated to it) with an Intel i7 chip.
I’m just looking for some guidance because I’m really lost. Thank you for your time.