-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pipewire does not run properly and there is no input source created. #173
Comments
This is not the correct procedure. Refer to the documentation at https://docs.pipewire.org/page_module_filter_chain.html, note that you should not specify the
The correct LADSPA plugin path will vary depending on your distro, by default on linux it will be /usr/local/lib/ladspa or /usr/lib/ladspa or /usr/local/lib64/ladspa or /usr/lib64/ladspa... you can get a strong hint if you have installed any by using your package manager, by running Perhaps if you could include the conf file you have created it would help to find whatever other errors might be preventing it from working. The path you have specified ( ~/.config/pipewire/pipewire.conf.d/99-input-denoising.conf) should be functional, so something in that file is wrong. At the very least, it's that you've added that ".so" to the plugin path and the file is not in the correct location. Also, these errors you're seeing are not normal:
It seems like you've tried to start pipewire while it's already running. It may be a result of your attempts to load the config file manually (with
This just shows that pipewire is running (as before) and also you're presently editing the config file in xed. You can use the command Hope this helps. |
The readme for this project does include the .so, so this got me too. |
I hadn't noticed that - I used the example from the pipewire source as my starting point and it 'just worked' so I never even got so far as reading the readme here, but the readme here is ... well... it's not right. @werman I could go ahead and create a PR with an updated readme for you, if you like, but I reckon it's probably easy fixed for you. Please let me know if you'd like me to take care of it. I appreciate the plugin very much. |
I still had trouble with the default instructions getting the AUR package to work on Manjaro, but the instructions at https://medium.com/@gamunu/linux-noise-cancellation-b9f997f6764d worked 100% for me. It included some additional steps that can maybe be considered for the README. |
There are a lot of unnecessary/just wrong steps in those instructions. You don't need to create a systemd service to execute it, you just use split file configuration and it loads with pipewire - and when you put the conf file where pipewire's example says to do it, instead of where that page says to do it which is wrong, that's exactly what happens, so the whole of section 3 is redundant because of step 1. As for step 2, that config file contains instructions to disable logging (not a great idea) and then load, for this feature to function, modules that are unrelated and unneeded since they are already loaded by the default configuration file which is still in place. And then it says to use the plugin path including the path to the file which is unneeded because the package manager used in step 1 should have installed the plugin to one of the standard plugin locations (and the path they show is one of them) that are searched without specifying a path, and then it says to use the .so extension which is wrong (see the documentation quote/link above for the authoritative source of this) Ironically, if you remove the unnecessary and erroneous parts of the file in step 2, you are left with exactly the file that pipewire provide as an example (the one I linked above). Most of that page is telling you how to do it wrong and definitely shouldn't be going into the readme here. I'm glad you got it working though :) |
@Pragmer probably time to resolve this issue mate. The answers are right there and known to work, and this repo seems abandoned so nobody else is gonna clean up this thing. |
I am using Linux Mint 21.2, Kernel version is 5.19.0-46-generic, Desktop Environment is Cinnamon. I will try to provide more info upon request.
Going to describe what I did to install it in case I was being dumb and misunderstood the instructions, causing the issue.
I downloaded the .zip, extracted the folder to my Home folder, created /home/leaderofthe00fkins/.config/pipewire/pipewire.conf.d/99-input-denoising.conf and pasted the configuration. I altered the path in the config to /home/leaderofthe00fkins/linux-rnnoise/ladspa/librnnoise_ladspa.so and left the VAD settings as default. I continued with "systemctl restart --user pipewire.service" as instructed. From the text in the guide it seems like, essentially, a new audio input device should have been created with the name "Noise Canceling source".
My issue is that no Input device was created after following the instructions. There was no output in the terminal when using the pipewire restart command. I tried looking at certain things I had seen other users check, like using the command "journalctl -b | grep pipewire" and trying to run the config directly with "pipewire -c ~/.config/pipewire/pipewire.conf.d/99-input-denoising.conf". The outputs of these are the following:
Another command I saw, which was to check the running instances of pipewire I think, "ps ax | grep pipewire". This command returned the following before the config execution.
The same command returned this after manually running pipewire with -c and the config path.
As far as I can tell they are at least running, just not doing what is supposed to be done.
Not sure what else to say, I don't really know where to go from here.
The text was updated successfully, but these errors were encountered: