You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've also tried a couple different gpu flags. --gpus=0, --gpus all, and --runtime=nvidia. The gpus flags throw the same exception shown below.
Stack Trace for `--gpus`
Error creating GLFW window:
Error: api unavailable EGL: Failed to initialize EGL: EGL is not or could not be initialized
at /opt/rapids/node/modules/glfw/src/window.cpp:62
at createGLFWWindow (/home/node/node_modules/@rapidsai/jsdom/build/js/polyfills/glfw.js:599:39)
at /home/node/node_modules/@rapidsai/jsdom/build/js/polyfills/glfw.js:697:23
at /home/node/node_modules/@rapidsai/jsdom/build/js/index.js:83:42
at Array.reduce (<anonymous>)
at Object.beforeParse (/home/node/node_modules/@rapidsai/jsdom/build/js/index.js:83:19)
at new JSDOM (/home/node/node_modules/jsdom/lib/api.js:40:13)
at new RapidsJSDOM (/home/node/node_modules/@rapidsai/jsdom/build/js/index.js:59:9)
at Function.fromReactComponent (/home/node/node_modules/@rapidsai/jsdom/build/js/index.js:40:23)
at Module.module.exports (/home/node/node_modules/@rapidsai/demo-graph/index.js:39:18)
at Object.<anonymous> (/home/node/node_modules/@rapidsai/demo-graph/index.js:58:10)
Uncaught Exception
Origin: uncaughtException
Exception: Error: api unavailable EGL: Failed to initialize EGL: EGL is not or could not be initialized
at /opt/rapids/node/modules/glfw/src/window.cpp:62
at createGLFWWindow (/home/node/node_modules/@rapidsai/jsdom/build/js/polyfills/glfw.js:599:39)
at /home/node/node_modules/@rapidsai/jsdom/build/js/polyfills/glfw.js:697:23
at /home/node/node_modules/@rapidsai/jsdom/build/js/index.js:83:42
at Array.reduce (<anonymous>)
at Object.beforeParse (/home/node/node_modules/@rapidsai/jsdom/build/js/index.js:83:19)
at new JSDOM (/home/node/node_modules/jsdom/lib/api.js:40:13)
at new RapidsJSDOM (/home/node/node_modules/@rapidsai/jsdom/build/js/index.js:59:9)
at Function.fromReactComponent (/home/node/node_modules/@rapidsai/jsdom/build/js/index.js:40:23)
at Module.module.exports (/home/node/node_modules/@rapidsai/demo-graph/index.js:39:18)
at Object.<anonymous> (/home/node/node_modules/@rapidsai/demo-graph/index.js:58:10)
I've been following the USAGE.md guide to set up node rapids with windows, and run into an issue with the windowed examples.
Windowed examples in docker WLS2, such as below, throw an exception in glfw.
I've also tried variations of this based on this:
I've also tried a couple different gpu flags.
--gpus=0
,--gpus all
, and--runtime=nvidia
. Thegpus
flags throw the same exception shown below.Stack Trace for `--gpus`
This exception points to:
node/modules/glfw/src/window.cpp
Lines 62 to 63 in d28a85e
Is there something I should do differently when invoking docker?
Stack Trace for `--runtime=nvidia`
Do I need to resolve this missing runtime issue?
Non-windowed
node-rapids
examples do work, such as this:The text was updated successfully, but these errors were encountered: