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
Cant add window capture (xcomposite) in obs 26.0.0-rc2-16 build from source with browser-source on ubuntu 20.04.1 LTS #3479
Comments
I confirm that this issue exists in the current version built from git. |
Also I advice to rename the issue for better discoverability. I mean incorporate the word "hang" into the title. |
I have the same issue |
Same here, built on Ubuntu 18.04 from commit 08ebc25 #0 0x00007ffff2f7f9f3 in futex_wait_cancelable (private=, expected=0, futex_word=0x5555563046e8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 Never returns from that futex_wait_cancelable, whatever that means. Befitting Murhpy's Law, it works fine if I run it under Valgrind, aside from being too slow to use... |
For what it is worth, I can't re-produce here on Gentoo Linux, with OBS Studio at 26.1.0-rc1-18-g08ebc25e. The terminal output could be a good start on looking for what's different for you who do see the issue happening. |
If you can reproduce this, try applying this patch and see if anything changes. diff --git a/plugins/linux-capture/xcompcap-main.cpp b/plugins/linux-capture/xcompcap-main.cpp
index 9d3b15333..e82862fb5 100644
--- a/plugins/linux-capture/xcompcap-main.cpp
+++ b/plugins/linux-capture/xcompcap-main.cpp
@@ -24,6 +24,8 @@ bool XCompcapMain::init()
return false;
}
+ XInitThreads();
+
int eventBase, errorBase;
if (!XCompositeQueryExtension(xdisp, &eventBase, &errorBase)) {
blog(LOG_ERROR, "Xcomposite extension not supported"); |
That patch fixes the issue for me, thanks.
…On Fri, Dec 4, 2020 at 12:18 AM Kurt Kartaltepe ***@***.***> wrote:
If you can reproduce this, try applying this patch and see if anything
changes.
diff --git a/plugins/linux-capture/xcompcap-main.cpp b/plugins/linux-capture/xcompcap-main.cpp
index 9d3b15333..e82862fb5 100644--- a/plugins/linux-capture/xcompcap-main.cpp+++ b/plugins/linux-capture/xcompcap-main.cpp@@ -24,6 +24,8 @@ bool XCompcapMain::init()
return false;
}
+ XInitThreads();+
int eventBase, errorBase;
if (!XCompositeQueryExtension(xdisp, &eventBase, &errorBase)) {
blog(LOG_ERROR, "Xcomposite extension not supported");
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3479 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABLQMNVUWWBGXILGY6VPSDSTBWJ5ANCNFSM4RPHDSNA>
.
|
This comment has been minimized.
This comment has been minimized.
In case no-one else initializes X11 locks do this as part of loading the module. Fixes obsproject#3479
I can't manage to build OBS on my distro despite following the guide, getting some errors about some dependencies versions unavailable on Debian Bullseye, is there any way to have a quick amd64 deb build of that fix before it gets pushed? |
In case no-one else initializes X11 locks do this as part of loading the module. Fixes #3479
In case no-one else initializes X11 locks do this as part of loading the module. Fixes obsproject#3479
In case no-one else initializes X11 locks do this as part of loading the module. Fixes obsproject#3479
In case no-one else initializes X11 locks do this as part of loading the module. Fixes obsproject#3479
Platform
Operating system and version: Ubuntu 20.04.1 lts with latest updates
OBS Studio version: 26.0.0-rc2-16
Expected Behavior
add window capture, choose game window, and start streamCurrent Behavior
click to add window capture, set name for window capture, press ok and obs freeze and not respondingSteps to Reproduce
1.build obs from source with browser source
2.add window capture
3.set name for window capture and press ok
4.obs freeze and not responding
Additional information
The text was updated successfully, but these errors were encountered: