-
Notifications
You must be signed in to change notification settings - Fork 462
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
symbol XOpenDisplay lookup error #281
Comments
I'm having the same issue with the precompiled |
Having the same issue as webarchymeta. On ubuntu as well as on debian 8.5 |
I got it working today; It seems both pulse and video render include |
Nice find @manuguerra. I wonder if something like #287 would improve upon this. I wonder if we could also override whatever relies on the internal video renderer. |
Thanks, @markandrus! I'll try your changes to use fake audio device, as I'm having a |
Just an update, I tried #287 and it fixed the issue when [more updates] it seems the fake audio device uses too much CPU. In my tests, each connection is using 3 times as much CPU as when using |
Thanks @manuguerra. Mind opening an issue with the |
Sure thing, @markandrus. I'll build a debug version next week and will try again with and without #287 and will let you know. If I see the |
Sorry for the inconvenient newbie question, but I am unsure as to how I make this work. Now, on my VM this took close to 6 hours(mainly the download), and left me a little clueless. |
Hi @RaggarDK, now that you have |
Hi @manuguerra ! Thank you for sharing your findings. I was also able to obtain the aforementioned
After running the last command, I do not see any new files in the root of my directory. I am trying to get a copy of
This is what my third_party folder looks like: Any chance that you could point me in the right direction? My apologies in advance if I'm asking something that is very obvious, but I have spent quite a few hours trying to fix this issue without success. |
No worries, @jlison! The problem is that you should run So, you must copy the
And then you run your step 3, but from the |
Awesome. |
@manuguerra ! It worked! Thank you so much! I owe you a beer. I will try to find the time to document the building process in the wiki for people that are not as familiar with the module (like myself). By the way, great project. My most sincere token of appreciation to the 'js-platform' team and markandrus for maintaining it. |
I was finally able to dedicate some time to document how to build wrtc.node from source. I expanded a little bit the Building section in the project's Wiki, and I added some screenshots to make the building process easier to follow. Feel free to correct any mistakes that you may see. Thanks again to everyone for your help! |
Great work @jlison 👍 |
Awesome, thanks @jlison! |
Had the very same issue on Details:
Am I doing something fatally wrong or could something be broken currently? Edit: Replacing |
am I correct to state that this bug is still not fixed (and as such node-webrtc on linux is effectively broken), and everything in this thread is just a hack/workaround? |
I don't think that's accurate. The Travis CI tests build and test for
Linux, and I'm able to npm install the project on a separate Linux host and
run the library. You may want to check that your system has X11 installed
(I haven't looked at this particular error in a while, so I'm scratching my
head wondering if that's the problem). If you could provide a minimal
Dockerfile or other repro example I could take a look.
…On Mon, Jun 5, 2017 at 3:42 PM Erik De Rijcke ***@***.***> wrote:
am I correct to state that this bug is still not fixed (and as such
node-webrtc on linux is effectively broken), and everything in this thread
is just a hack/workaround?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#281 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAV68uXr3caucVEwSGGiMKLlywD4Cijaks5sBIQ7gaJpZM4JX7jR>
.
|
I use gentoo with a running X server and alsa and whatnot. So a missing lib on my part doesn't seem to be the problem. I rather suspect that during build time a link error is ignored That's the only thing I can come up with why it works on some distros while it fails for others. Some more general info about the link problem here: http://www.kaizou.org/2015/01/linux-libraries/ |
I would say that is only partially solved and is an issue to be resolved. The out of box package still does not work on some linux systems (i.e ubuntu series). It would be better to include the |
I'm having the same issue on Ubuntu with Node v6.8.0 |
I'm wondering why do I see this issue when I only use data channels? |
@nazar-pc The issue is with the linking options when compiling native code. It includes code that expects the symbol, yet the X11 library is not properly linked. There are basically 2 solutions to this: Fix the code that expect the X11 library so it doesn't depend on libx11 (preferred solution), or fix the build so it properly links. |
Is there anyone planning to work on this in reasonably close future? I'm going to build it myself, but it take a lot of space on disk and quite a lot of time. |
I compiled using include_internal_video_render=0 to avoid the XOpenDisplay problem. |
Is anyone working on this? It is open for quite a long time and I'm unfortunately not capable of solving this myself. |
I don't think so. However there is this good news:
|
For the time being I think it would be nice and quite easy for maintainers to publish DataChannel-only version of this project until this issue is resolved. |
I had to make some changes to support Node 9 (#333). This ended up being a good opportunity to try tackling
Hopefully 0.0.63 fixes these things. I'm planning to publish it in the next couple days if the builds are green. Best, |
There is also memory leak issue (in binary data transfer mode) (see #304) that is pending. It would be nice if it could be resolved ... |
or a segfault if you use just a simple read only property of a closed datachannel see #236 |
v0.0.63 is out, which should hopefully fix this (at least it looked fixed when I checked the Travis-CI logs). Once I updated to using libwebrtc's static libraries, I saw the XOpenDisplay error. Then, when I switched to using FakeAudioDeviceModule it seemed to go away. Thanks @webarchymeta, will look at that next. Thanks, too, @Zubnix. Please re-open this issue if the problem persists. Best, |
Thanks a lot @markandrus for your effort! ❤️ I will test and see if anything pops up. |
machine: ubuntu 14.04
node: v5.12.0
wrtc: v0.0.61
I installed node-webrtc from source. The installation was successful. But when the test or samples were run I got:
What can I do to correct this?
The text was updated successfully, but these errors were encountered: