The OpenGL text applications like glxgears and glxdemo are working fine at my system but i cant run OpenGL with node-x11.
See this example output:
$ node examples/opengl/test1.js
{ [Error: Bad param value]
error: 2,
seq: 6,
message: 'Bad param value',
badParam: 0,
minorOpcode: 3,
majorOpcode: 154 }
{ [Error: GLX: Bad context]
error: 169,
seq: 7,
message: 'GLX: Bad context',
badParam: 75497474,
minorOpcode: 5,
majorOpcode: 154 }
/home/aurium/Projetos/node-x11/examples/opengl/test1.js:63
gl.render(ctx);
^
TypeError: undefined is not a function
at /home/aurium/Projetos/node-x11/examples/opengl/test1.js:63:16
at ReadFixedRequest.callback (/home/aurium/Projetos/node-x11/lib/xcore.js:458:39)
at ReadFixedRequest.execute (/home/aurium/Projetos/node-x11/lib/unpackstream.js:41:10)
at UnpackStream.resume (/home/aurium/Projetos/node-x11/lib/unpackstream.js:165:30)
at UnpackStream.write (/home/aurium/Projetos/node-x11/lib/unpackstream.js:102:10)
at Socket.<anonymous> (/home/aurium/Projetos/node-x11/lib/xcore.js:63:21)
at Socket.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
at Socket.Readable.push (_stream_readable.js:126:10)
at Pipe.onread (net.js:538:20)
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 OpenGL text applications like
glxgearsandglxdemoare 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? :-)