Skip to content
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

[Bug] Pipewire doesn't work at all (no input devices, no output devices) after adding this filter #138

Open
afland opened this issue Aug 14, 2022 · 14 comments

Comments

@afland
Copy link

afland commented Aug 14, 2022

I'm on Fedora Silverblue and followed the instructions for pipewire. I tried with the stereo and mono filters, but with both pipewire just doesn't work. I had it working before with a systemd service using the filter that was included with the default pipewire install. That stopped working (I assume because of the split conf option), so I tried to switch.
Attached is the output of journalctl -b | grep pipewire
journalctl_pipewire.txt

@werman
Copy link
Owner

werman commented Aug 14, 2022

Your log says:

default: failed to load plugin '/var/home/anton/.local/LADSPA/librnnoise_ladspa.so': No such file or directory

Does the library exist at that path? If yes, what does ldd /var/home/anton/.local/LADSPA/librnnoise_ladspa.so says?

@afland
Copy link
Author

afland commented Aug 14, 2022

	linux-vdso.so.1 (0x00007ffc919ce000)
	libatomic.so.1 => not found
	libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f2b17b3f000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f2b17a61000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f2b17a41000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f2b1783f000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f2b17dac000)

@werman
Copy link
Owner

werman commented Aug 15, 2022

libatomic.so.1 => not found

So you need to install libatomic.

I probably should statically link at least libatomic... Anyway, for Linux it is much more preferable to use package manager to install the libraries.

@afland
Copy link
Author

afland commented Aug 15, 2022

libatomic.so.1 => not found

So you need to install libatomic.

I probably should statically link at least libatomic... Anyway, for Linux it is much more preferable to use package manager to install the libraries.

it's not great to overlay on fedora silverblue, and i don't want to add a copr repo. Also, it's outdated. I'll just install libatomic, thanks

@afland
Copy link
Author

afland commented Aug 15, 2022

Weird, I installed libatomic with rpm-ostree install libatomic, but I still get the same error on ldd. I looked through all the typical lib directories, and couldn't find libatomic there. I don't know whether the conf that was included in the pipewire install.

Like I said in the OP, I used to have it working with a systemd service, by running /usr/bin/pipewire -c /usr/share/pipewire/filter-chain/source-rnnoise.conf. I thought it stopped working because a pipewire update removed that file, but it's still there. Maybe a silverblue update broke it

@werman
Copy link
Owner

werman commented Aug 15, 2022

Weird, I installed libatomic with rpm-ostree install libatomic, but I still get the same error on ldd. I looked through all the typical lib directories, and couldn't find libatomic there. 

could you check which files are installed with libatomic by running rpm -ql libatomic?

Like I said in the OP, I used to have it working with a systemd service, by running /usr/bin/pipewire -c /usr/share/pipewire/filter-chain/source-rnnoise.conf. I thought it stopped working because a pipewire update removed that file, but it's still there. Maybe a silverblue update broke it

Current version of my lib requires libatomic, it cannot be found in your system, that's the cause of the failure, everything else is irrelevant.

@afland
Copy link
Author

afland commented Aug 15, 2022

rpm -ql libatomic

package libatomic is not installed
Yes, but it was working before and I never manually removed libatomic or anything like that. I'll submit an issue on the silverblue github, unless you think it's something else

@werman
Copy link
Owner

werman commented Aug 15, 2022

As far as I understand you updated my lib and it stopped working. It did not previously required libatomic, but for current version libatomic is required, that's it.

@afland
Copy link
Author

afland commented Aug 15, 2022

As far as I understand you updated my lib and it stopped working. It did not previously required libatomic, but for current version libatomic is required, that's it.

It stopped working before I updated it, but I'll try the older one again

@afland
Copy link
Author

afland commented Aug 15, 2022

🤦 sorry about that, I assumed the same issue would be present on the older one because it randomly stopped working at one point. I switched over to the new version with the new split configuration option before trying the old one again. Anyway, is it possible to include libatomic as a dependency instead of the system needing it as a separate package?

@werman
Copy link
Owner

werman commented Aug 15, 2022

Anyway, is it possible to include libatomic as a dependency instead of the system needing it as a separate package?

I think I could statically link it. I'll look into it later.


Anyway, which files do libatomic package provides? I assumed rpm -ql libatomic would show the files from this package, but it doesn't? Even though it is installed?

Sorry, I never used Fedora.

@afland
Copy link
Author

afland commented Aug 15, 2022

Anyway, is it possible to include libatomic as a dependency instead of the system needing it as a separate package?

I think I could statically link it. I'll look into it later.

Anyway, which files do libatomic package provides? I assumed rpm -ql libatomic would show the files from this package, but it doesn't? Even though it is installed?

Sorry, I never used Fedora.

I don't think its installing correctly, which is probably a silverblue specific issue. I tried running the uninstall command, and it says no package found

@wizardlink
Copy link

Anyway, is it possible to include libatomic as a dependency instead of the system needing it as a separate package?

I think I could statically link it. I'll look into it later.
Anyway, which files do libatomic package provides? I assumed rpm -ql libatomic would show the files from this package, but it doesn't? Even though it is installed?
Sorry, I never used Fedora.

I don't think its installing correctly, which is probably a silverblue specific issue. I tried running the uninstall command, and it says no package found

Same over here actually, when installing through rpm-ostree and re-starting the system it actually doesn't installs... So I guess our only hope at this moment is to manually link it. :')

@wizardlink
Copy link

Ok so about my previous comment: I ended up re-installing my system, my ostree was acting extremely weirdly and turns out that it was outdated by a few months and I just never noticed it (or the logs that it was failing).

Fedora 36 (Silverblue) now comes with libatomic shipped by default so the plugin is now working as intended!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants