Giter Club home page Giter Club logo

Comments (8)

smoothstacks avatar smoothstacks commented on May 27, 2024 2

@stevensona - no I wasn't, but this did highlight the --verbose option and I spotted the issue.

Turns out it was failing to find libGLESv2.so. For me this was in /opt/google/chrome/swiftshader, but it was looking for it in /usr/share/code/swiftshader which didn't exist. Adding a symlink fixed it. Not sure why my vscode was missing this, but this doesn't seem like an issue with the extension, rather my setup.

Thanks all!

from shader-toy.

Malacath-92 avatar Malacath-92 commented on May 27, 2024

Thanks for reporting that issue @jhodgson91, it'd be amazing to get the extension working on all platforms!

This sounds like a problem with three.js or webgl itself, I'll need to look into that. Gonna have to setup a VM and all that, so I don't think it'll happen before the weekend.

One thing you can check for us is weather your GPU supports WebGL (I'd be surprised if not, but you never know). If it's the same machine that you are running Windows on, then that can be excluded as the cause of course.

from shader-toy.

smoothstacks avatar smoothstacks commented on May 27, 2024

Hey, yeah can confirm its not a graphics card issue. It does work on my windows boot. It does work in Chrome, shadertoy and a quick test I wrote myself both get a webgl context. So beginning to think it's something to do with electron and the webview stuff. My knowledge ends there unfortunately haha.

Let me know if I can help out at all.

from shader-toy.

stevensona avatar stevensona commented on May 27, 2024

@jhodgson91 Are you, by any chance, inadvertently or not, running code with --disable-gpu flag?

from shader-toy.

Malacath-92 avatar Malacath-92 commented on May 27, 2024

@jhodgson91 Well spotted :)
I did just set up a VM earlier, running Deepin 15.7 and had in fact the same issue. I'm not very experienced with Linux, so can you make a guess if this issue is related to VSCode or Electron or Deepin or its package installer? Then maybe we can consider directing the issue to the right channel.

from shader-toy.

smoothstacks avatar smoothstacks commented on May 27, 2024

@Malacath-92 - my first guess would be the package installation. I'd be interested to see if this happens with any other Debian based distros. I'll give it a try with Ubuntu when I get a chance.

from shader-toy.

smoothstacks avatar smoothstacks commented on May 27, 2024

@Malacath-92 - tested it on Ubuntu 18.04 and got the same issue, so yeah looks like installing vscode on any debian distros will have this problem.

from shader-toy.

Malacath92 avatar Malacath92 commented on May 27, 2024

@jhodgson91 That's unfortunate. Thanks for taking the time to investigate it!
I will try to take a closer look at this during the weekend/next week, and see if the guys at vscode/electron know anything about it.

Edit: I'm sorry I sometimes reply with my work account without noticing, but the resemblance is uncanny either way

from shader-toy.

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.