question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to run when using NVIDIA GPU

See original GitHub issue

When I use an nvidia GPU with atom (GTX 1060M on Laptop, 1080 on Desktop) veda fails to initialize the WebGL context. It works when I set atom to use intel integrated graphics on laptop.

image

C:\Users\spaghet\.atom\packages\veda\node_modules\vedajs\node_modules\three\build\three.js:21332 THREE.WebGLRenderer: Error creating WebGL context.
WebGLRenderer @ C:\Users\spaghet\.atom\packages\veda\node_modules\vedajs\node_modules\three\build\three.js:21332
C:\Users\spaghet\.atom\packages\veda\node_modules\vedajs\node_modules\three\build\three.js:14891 Uncaught (in promise) TypeError: Cannot read property 'getExtension' of null
    at Object.get (C:\Users\spaghet\.atom\packages\veda\node_modules\vedajs\node_modules\three\build\three.js:14891:22)
    at initGLContext (C:\Users\spaghet\.atom\packages\veda\node_modules\vedajs\node_modules\three\build\three.js:21348:15)
    at new WebGLRenderer (C:\Users\spaghet\.atom\packages\veda\node_modules\vedajs\node_modules\three\build\three.js:21395:3)
    at new SoundRenderer (C:\Users\spaghet\.atom\packages\veda\node_modules\vedajs\lib\sound-renderer.js:88:25)
    at new Veda (C:\Users\spaghet\.atom\packages\veda\node_modules\vedajs\lib\veda.js:145:30)
    at new Player (C:\Users\spaghet\.atom\packages\veda\lib\player.js:62:21)
    at new App (C:\Users\spaghet\.atom\packages\veda\lib\app.js:73:23)
    at new Wrapper (C:\Users\spaghet\.atom\packages\veda\lib\wrapper.js:22:20)
    at Object._activate (C:\Users\spaghet\.atom\packages\veda\lib\index.js:83:19)
    at require.install.then (C:\Users\spaghet\.atom\packages\veda\lib\index.js:80:30)
    at <anonymous>

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
sp4ghetcommented, Sep 10, 2018

image

🤔

0reactions
sp4ghetcommented, Sep 10, 2018

atom: 1.30.0 veda: 2.10.2 nvidia drivers: 399.24

Read more comments on GitHub >

github_iconTop Results From Across the Web

[SOLVED] Laptop Not Using GPU – 2022 Tips - Driver Easy
Facing the issue of your laptop not using a dedicated GPU? Don't worry. In this post, we will tell you some tricks to...
Read more >
Unable to use NVIDIA GPU on ubuntu 20.04 - Linux
I am unable to use the nvidia gpu and on running nvidia-smi it throws the below error. NVIDIA-SMI has failed because it couldn't...
Read more >
nvidia-settings ERROR: Unable to load info from any available ...
On the Intel GPU: Unable to open nvidia-settings. Unable to run nvidia-smi. With: export LD_LIBRARY_PATH=/usr/lib/nvidia-396/. I can run nvidia ...
Read more >
System not using Nvidia Graphics card despite driver being ...
The problem is in ubuntu where despite the driver installed, the system is not using the graphics card. Running “nvidia-sett…
Read more >
Chapter 8. Common Problems - Nvidia
My X server fails to start, and my X log file contains the error: (EE) NVIDIA(0): The NVIDIA kernel module does not appear...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found