Giter Site home page Giter Site logo

Not working here. about veda HOT 5 CLOSED

fand avatar fand commented on August 25, 2024
Not working here.

from veda.

Comments (5)

Mortec avatar Mortec commented on August 25, 2024 2

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.

fand avatar fand commented on August 25, 2024 1

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.

fand avatar fand commented on August 25, 2024 1

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.

fand avatar fand commented on August 25, 2024

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:
graph

thx 🐱 @Mortec

from veda.

Mortec avatar Mortec commented on August 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.