Comments (5)
Hey,
Apparently Atom is based on Chromium whom the staff has decided last year to blacklist some GPUs.
That's why it couldn't create the context. I'm on a Macbook 2011 and I have an integrated Intel HD3000 GPU which is on the black list but this should concern some other GPUs..
To solve the issue one must disable the blacklist in the start.js of Atom located here on my machine :
/Applications/Atom.app/Contents/Resources/app/src/main-process/start.js
Simply add this line just before the line ~32 ("const args = parseCommandLine(process.argv.slice(1))" ) :
app.commandLine.appendSwitch('ignore-gpu-blacklist')
I found the trick thanks to this two threads :
https://discuss.atom.io/t/is-atom-able-to-use-the-gpu/46849/2
https://groups.google.com/a/chromium.org/forum/#!topic/chromium-reviews/I6dL_9IAwiE
You'll see the second discussion on the google group is very funny !
Your glsl-livecoder seems great, can't wait for the OSC communication.
from veda.
I found many people encountered the same problem, but the fix is not found yet
mrdoob/three.js#4927
I'm on macOS 10.12.6 & Atom v1.20.1, and there's no errors.
Upgrading macOS or Atom might fix it...??
Sorry I can't fix it. I'll keep on looking for the solution
from veda.
Thank you for the information!
so I have to buy a new macbook for my father, who loves killing time on Street View...
I'm gonna add the workaround to README.
Currently I'm working on deferred rendering / multipath rendering feature.
After that I'll try OSC, so don't miss it!
from veda.
hmm... maybe you have to run Rebuild packages
.
Please follow this article and try it.
https://medium.com/@amagitakayosi/vj-live-coding-on-atom-glsl-livecoder-329eec5462df#732d
If it doesn't help you, please show me the error messages on DevTools.
DevTools can be opened from here:
thx
from veda.
Yes I had this little "bug" and did the rebuilding, apparently everything is in place but I have this error messages in the console of DevTools :
THREE.WebGLRenderer 86
/Users/mortec/.atom/packages/glsl-livecoder/node_modules/three/build/three.js:20522 THREE.WebGLRenderer: Error creating WebGL context.
WebGLRenderer @ /Users/mortec/.atom/packages/glsl-livecoder/node_modules/three/build/three.js:20522
/Users/mortec/.atom/packages/glsl-livecoder/node_modules/three/build/three.js:20096 Uncaught (in promise) TypeError: Cannot read property 'getExtension' of null
at Object.get (/Users/mortec/.atom/packages/glsl-livecoder/node_modules/three/build/three.js:20096:21)
at new WebGLRenderer (/Users/mortec/.atom/packages/glsl-livecoder/node_modules/three/build/three.js:20528:14)
at ThreeShader.setCanvas (/Users/mortec/.atom/packages/glsl-livecoder/lib/three-shader.js:116:22)
at new GlslLivecoder (/Users/mortec/.atom/packages/glsl-livecoder/lib/glsl-livecoder.js:51:17)
at Object._activate (/Users/mortec/.atom/packages/glsl-livecoder/lib/index.js:82:16)
at /Users/mortec/.atom/packages/glsl-livecoder/lib/index.js:67:24
from veda.
Related Issues (20)
- `time` only passes in VEDA if you have the editor in focus HOT 1
- Server mode not refreshing HOT 1
- Transparency / alpha on font background, and the font itself HOT 2
- Nested Loop make the pixel pass crash => HOT 3
- Not able tu use ocs inputs into Veda HOT 3
- silly fetchPackageMetaData error for https://www.atom.io/api/packages/veda/versions/2.13.1/tarball zlib: unexpected end of file HOT 1
- Texture name is not generated correctly when osc inputs have more than 3 informations HOT 2
- When using multipass in multiple shaders, the buffers will persist between shaders if they share the same name. HOT 2
- Can't declare an array HOT 2
- Black screen when trying video.frag HOT 1
- Error while trying to update or install veda on atom HOT 1
- Does not update to 2.14.2 in Atom HOT 3
- mkdirp invalid options argument when using recorder on Windows HOT 2
- Is there a way to get CubeMaps working? HOT 1
- ctrl+escape hotkey on windows is equivalent to pressing the Win key and doesn't actually toggle fullscreen
- camera audio and video file access not working Mac Catalina 10.15.5 HOT 2
- Audio input doesn't work in server mode HOT 1
- Audio is not working on a macbook with m1 HOT 2
- Error when using webcam: failed to execute 'createObjectURL' on 'URL'
- alternative HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from veda.