Gem icon indicating copy to clipboard operation
Gem copied to clipboard

make PIPEWIRE opt-in

Open umlaeute opened this issue 8 months ago • 3 comments

Add a description

as mentioned in https://github.com/umlaeute/Gem/issues/471#issuecomment-2736587428, the videoPIPEWIRE plugin often hangs Pd/Gem.

for the time being, I think it should be opt-in (requiring an explicit --with-pipewire at the configure stage), rather than opt-out.

umlaeute avatar Mar 19 '25 16:03 umlaeute

By "configure stage" do you mean when running ./configure before compiling?

Wouldn't it be better to be able to enable/disable it at runtime somehow? Is that not doable?

php4fan avatar Mar 19 '25 22:03 php4fan

By "configure stage" do you mean when running ./configure before compiling?

yes.

Wouldn't it be better to be able to enable/disable it at runtime somehow? Is that not doable?

sure it is. the easies is to just remove the gem_videoPIPEWIRE.so file, or not install it in the first place (e.g. in Debian there are a number of gem-video-* packages for the various backends.

we could also use Gem's settings system...but the main problem is that this is just too complicated to do from a user POV (and I don't think i would like to write a preferences system that hooks into the Pd prefs just now, to allow people to configure such things in a manner they understand). (Gem settings have been around since 2009; i don't think anybody - including my - is using them)

so in this issue, i'm simply talking about disabling experimental code by default, so it doesn't get in the way when trying to debug other things (like #471)

umlaeute avatar Mar 19 '25 22:03 umlaeute

there's also some other backends that should be opt-in, like gemglutwindow.

umlaeute avatar Mar 31 '25 13:03 umlaeute