Skip to content
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

Error in glxgears #203

Open
arteze opened this issue Oct 25, 2021 · 4 comments
Open

Error in glxgears #203

arteze opened this issue Oct 25, 2021 · 4 comments

Comments

@arteze
Copy link

arteze commented Oct 25, 2021

I obtain this error at execute examples/opengl/glxgears.js.

node
Welcome to Node.js v16.3.0.
Type ".help" for more information.
> x=require("/x11njs/examples/opengl/glxgears.js")
{}
> 887

64
Error: Bad param value
    at ReadFixedRequest.callback (/x11njs/lib/xcore.js:472:29)
    at ReadFixedRequest.execute (/x11njs/lib/unpackstream.js:41:10)
    at UnpackStream.resume (/x11njs/lib/unpackstream.js:165:30)
    at UnpackStream.write (/x11njs/lib/unpackstream.js:102:10)
    at Socket.<anonymous> (/x11njs/lib/xcore.js:88:21)
    at Socket.emit (node:events:394:28)
    at Socket.emit (node:domain:532:15)
    at addChunk (node:internal/streams/readable:312:12)
    at readableAddChunk (node:internal/streams/readable:287:9)
    at Socket.Readable.push (node:internal/streams/readable:226:10) {
  error: 2,
  seq: 7,
  badParam: 0,
  minorOpcode: 3,
  majorOpcode: 150
}
Error: GLX: Bad context
    at ReadFixedRequest.callback (/x11njs/lib/xcore.js:472:29)
    at ReadFixedRequest.execute (/x11njs/lib/unpackstream.js:41:10)
    at UnpackStream.resume (/x11njs/lib/unpackstream.js:165:30)
    at UnpackStream.write (/x11njs/lib/unpackstream.js:102:10)
    at Socket.<anonymous> (/x11njs/lib/xcore.js:88:21)
    at Socket.emit (node:events:394:28)
    at Socket.emit (node:domain:532:15)
    at addChunk (node:internal/streams/readable:312:12)
    at readableAddChunk (node:internal/streams/readable:287:9)
    at Socket.Readable.push (node:internal/streams/readable:226:10) {
  error: 156,
  seq: 8,
  badParam: 0,
  minorOpcode: 5,
  majorOpcode: 150
}
Error: GLX: Bad context tag
    at ReadFixedRequest.callback (/x11njs/lib/xcore.js:472:29)
    at ReadFixedRequest.execute (/x11njs/lib/unpackstream.js:41:10)
    at UnpackStream.resume (/x11njs/lib/unpackstream.js:165:30)
    at UnpackStream.write (/x11njs/lib/unpackstream.js:102:10)
    at Socket.<anonymous> (/x11njs/lib/xcore.js:88:21)
    at Socket.emit (node:events:394:28)
    at Socket.emit (node:domain:532:15)
    at addChunk (node:internal/streams/readable:312:12)
    at readableAddChunk (node:internal/streams/readable:287:9)
    at Socket.Readable.push (node:internal/streams/readable:226:10) {
  error: 160,
  seq: 9,
  badParam: 35651587,
  minorOpcode: 1,
  majorOpcode: 150
}
Error: GLX: Bad context tag
    at ReadFixedRequest.callback (/x11njs/lib/xcore.js:472:29)
    at ReadFixedRequest.execute (/x11njs/lib/unpackstream.js:41:10)
    at UnpackStream.resume (/x11njs/lib/unpackstream.js:165:30)
    at UnpackStream.write (/x11njs/lib/unpackstream.js:102:10)
    at Socket.<anonymous> (/x11njs/lib/xcore.js:88:21)
    at Socket.emit (node:events:394:28)
    at Socket.emit (node:domain:532:15)
    at addChunk (node:internal/streams/readable:312:12)
    at readableAddChunk (node:internal/streams/readable:287:9)
    at Socket.Readable.push (node:internal/streams/readable:226:10) {
  error: 160,
  seq: 10,
  badParam: 35651587,
  minorOpcode: 104,
  majorOpcode: 150
}
Error: GLX: Bad context tag
    at ReadFixedRequest.callback (/x11njs/lib/xcore.js:472:29)
    at ReadFixedRequest.execute (/x11njs/lib/unpackstream.js:41:10)
    at UnpackStream.resume (/x11njs/lib/unpackstream.js:165:30)
    at UnpackStream.write (/x11njs/lib/unpackstream.js:102:10)
    at Socket.<anonymous> (/x11njs/lib/xcore.js:88:21)
    at Socket.emit (node:events:394:28)
    at Socket.emit (node:domain:532:15)
    at addChunk (node:internal/streams/readable:312:12)
    at readableAddChunk (node:internal/streams/readable:287:9)
    at Socket.Readable.push (node:internal/streams/readable:226:10) {
  error: 160,
  seq: 10,
  badParam: 35651587,
  minorOpcode: 104,
  majorOpcode: 150
}
@sidorares
Copy link
Owner

can you start standard glxgears on your computer? What output glxinfo -b gives to you? What is your OS and X11 version?

@arteze
Copy link
Author

arteze commented Oct 26, 2021

Yes... My system is PuppyLinux LxPup64 (Slackware).

> uname -a
Linux puppypc5078 5.7.2-lxpup64 #1 SMP Sat Jun 13 11:12:52 BST 2020 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux

The command glxinfo return 887.

> glxinfo -b
887

Version of X11:

> xdpyinfo
name of display:    :0.0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    12008000
X.Org version: 1.20.8
...

@sidorares
Copy link
Owner

can you also check that indirect GLX is enabled? On most modern systems it's disabled by default

https://askubuntu.com/questions/745135/how-to-enable-indirect-glx-contexts-iglx-in-ubuntu-14-04-lts-with-nvidia-gfx

@arteze
Copy link
Author

arteze commented Oct 26, 2021

There was not that option, but when adding it, it does not work either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants