-
Notifications
You must be signed in to change notification settings - Fork 72
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
OpenGL Fails #117
Comments
are you able to run https://github.com/sidorares/node-x11/blob/master/examples/opengl/glxgears.js ? |
Nop... No OpenGL example works for me. Also the examples from NTK. :-(
|
Haven't tried them on "real" X server for a long time ( I'm on osx most of the time and XQuartz does support glx with acceleration ). I'll test in virtualbox/ubuntu. What's your distro / x version etc? Could you post result of your |
yes, having the same problems on ubuntu - for some reason does not work with visual reported by |
Just got it working under my ubuntu/virtualbox Starting from ubuntu14 indirect glx is off by default. You can set it like this: http://askubuntu.com/questions/745135/how-to-enable-indirect-glx-contexts-iglx-in-ubuntu-14-04-lts-with-nvidia-gfx
|
Working on arch, I have mesa-libgl installed inside a Virtualbox. Having the same issue, glxgears from mesa-demo is working but all node scripts are not. test1.js gives: Also getting: |
what happens when you do |
Note: I changed for both glxgears and test1: I tried both test1.js and glxgears.js. The original mesa-demo glxgears works perfectly. Also tried it direct after startx (manually via terminal). No joy. Printout:
|
can you post output of |
OK. I don't understand your previous request then... I will do so later this evening. |
glxinfo -i -b returned 33. See below complete glxinfo.
|
Fixed first issue, at the file, test1.js the function call gl.render dose not exist. The function name is wrong its in small caps, its gl.render->gl.Render. Still showing a black window instead of a render. |
saving this for future me as well here: XQuartz on osx does not have indirect GLX by default any more. As per https://www.visitusers.org/index.php?title=Re-enabling_INdirect_glx_on_your_X_server :
|
The OpenGL text applications like
glxgears
andglxdemo
are working fine at my system but i cant run OpenGL withnode-x11
.See this example output:
Any idea?
I'm not an OpenGL expert as other guys may not to be too. So, is it possible to add more tests and explained outputs to save us from ignorance? :-)
The text was updated successfully, but these errors were encountered: