dimtpap / obs-pipewire-audio-capture

🔊 Audio device and application capture for OBS Studio using PipeWire
https://obsproject.com/forum/resources/pipewire-audio-capture.1458/
GNU General Public License v2.0
346 stars 12 forks source link

No longer working in Debian+OBS Flatpak 30.1 Update #54

Open LiveLaden opened 6 months ago

LiveLaden commented 6 months ago

After the OBS 30.1 update the plugin no longer works, had to downgrade back to V29

Wondering if there may be a fix I'm unaware

dimtpap commented 6 months ago

Open OBS, add a source that doesn't work, go to Help > Log Files > Upload Current Log File > Copy URL and paste it here

LiveLaden commented 6 months ago

https://obsproject.com/logs/NE2uKfYmc3zBdfPs

LiveLaden commented 6 months ago

Also, I decided to update to 30.0.2 to see if would work in that version, and it does, so the problem seems to be with some change in 30.1

yoqto commented 6 months ago

It works fine here with 30.1.0. Gentoo hasn't updated to 30.1.1 yet, so I can't comment on that version in particular. Have you tried the latest build?

LiveLaden commented 6 months ago

Tried the latest build, did not work

LonePandaGirl commented 5 months ago

also not working on 30.1.1 deabian 12 log: https://obsproject.com/logs/E5jlNyJ4cBCkMiwl

dimtpap commented 5 months ago

From the logs it seems that PipeWire is reporting an invalid audio format (sample rate of 0). It's weird that this isn't consistent between OBS versions.

PIPEWIRE_DEBUG=D obs --verbose 1>obslog.txt 2>pwlog.txt

This command will open OBS Studio and produce two log files in the directory it was ran in. obslog.txt and pwlog.txt. Please run it and post the log files here. If you can only have one PipeWire audio source too it would help a bit.

dimtpap commented 5 months ago

From the logs it seems that PipeWire is reporting an invalid audio format (sample rate of 0). It's weird that this isn't consistent between OBS versions.

Also this sounds similar to https://github.com/obsproject/obs-studio/issues/10409
Are you both on Debian using the Flatpak OBS? Is the linked issue a problem for you too?

LiveLaden commented 5 months ago

I'm on Mint, Ubuntu version

But yes, I'm using the flatpak version

LonePandaGirl commented 5 months ago

Debain 12 and flatpack

LonePandaGirl commented 5 months ago

So I am a complete linux novice. I cannot for the life of me cant get the command to work. I keep getting "bash: obs: command not found" in the pwlog and nothing in the obslog

dimtpap commented 5 months ago

Apologies, since you're on Flatpak the command would be

flatpak run --env=PIPEWIRE_DEBUG=D com.obsproject.Studio --verbose 1>obslog.txt 2>pwlog.txt
LonePandaGirl commented 5 months ago

Thank you, and here you go obslog.txt pwlog.txt

tiberium-v commented 4 months ago

Maybe it would be a good idea to edit the title of this issue, so it says more specific: "obs flatpak". Some people see this repo and think they are not allowed to update their obs.

roope242 commented 4 months ago

Confirmed this also happens for me. The latest working version of OBS is 30.0.2. Running Debian 12 stable.\ This is the latest commit which works:

# flatpak update --commit=e641d66f8f509ff18c1e82bfd6e32e0e0021e56cb01d1471b00f56d82ea8bfa1 com.obsproject.Studio
dimtpap commented 3 months ago

Can someone having this issue check if OBS's PipeWire Screen/Window capture sources work properly?

roope242 commented 3 months ago

Can someone having this issue check if OBS's PipeWire Screen/Window capture sources work properly?

With the newest version of OBS it does not, no. Works fine with the same version as your plugin does.

EDIT: Maybe not an issue with your plugin but OBS itself: https://github.com/obsproject/obs-studio/issues/10409

cloudrac3r commented 3 months ago

This audio capture plugin works fine for me on OBS Flatpak 30.1.2. The built-in pipewire screen capture source also works for me. My OS is Fedora 40 KDE (Kinoite 40.20240503.0)

dimtpap commented 3 months ago

Yes it's a Debian+KDE Flatpak Runtime problem

uczpre commented 2 months ago

Confirmed this also happens for me. The latest working version of OBS is 30.0.2. Running Debian 12 stable. This is the latest commit which works:

# flatpak update --commit=e641d66f8f509ff18c1e82bfd6e32e0e0021e56cb01d1471b00f56d82ea8bfa1 com.obsproject.Studio

im running fedora 40 , which uses pipewire by default , by downgrading to 30.0.2 as suggested by roope242 , i got obs to show all the sources added/provided by this plugin when clicking the add button. originaly , only the "screen capture (pipewire) was shown. i am also running obs studio flatpak , i dont think this issue is only isolated to debian 12 stable.....

uczpre commented 2 months ago

Which i find unfortunate since this version of obs doesnt support ffmepg VAAPI AV1 hardware encoding (for my system and hardware at least).

dimtpap commented 2 months ago

im running fedora 40 , which uses pipewire by default , by downgrading to 30.0.2 as suggested by roope242 , i got obs to show all the sources added/provided by this plugin when clicking the add button. originaly , only the "screen capture (pipewire) was shown. i am also running obs studio flatpak , i dont think this issue is only isolated to debian 12 stable.....

@uczpre This is a different issue: https://github.com/obsproject/obs-studio/issues/10981 Latest working Flatpak update is --commit=c5bc6eb99d2d638e0892320dd43d0cd5f948d6d90bf786abe2995087a068d131

dimtpap commented 2 months ago

@uczpre Opened an issue for this: #60