Comments (8)
@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.
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.
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.
@jhodgson91 Are you, by any chance, inadvertently or not, running code with --disable-gpu
flag?
from shader-toy.
@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.
@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.
@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.
@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)
- iMouse.w behavior is different from Shadertoy
- Make available as web extension HOT 2
- Compilation Error with includes HOT 2
- Feature request: setting to start the shader paused HOT 5
- Feature request: leave the preview alone if compilation fails HOT 2
- Feature request: GLSL ES 3.0 Support HOT 1
- bug report on self-input-buffer and solution to it HOT 1
- Feature request: import from shadertoy url and from shadertoy export json HOT 2
- Frametime panel blocks the Controls panel
- Feature request: export as video HOT 7
- Feature request: breakpoint debug shaders HOT 1
- Feature request: reload texture when the image changes
- Recording w/ the framerate graph enabled errantly records the framerate graph and not the shader HOT 1
- Feature request: Export Frames as PNG for High-Resolution Video Creation HOT 1
- Add .reloadOnSave HOT 1
- can't run glslify example HOT 5
- Cant preview any shader HOT 1
- Compilation error when using #define HOT 1
- Weird Artifact on Custom Screenshot Resolutions
- The menu is displayed even for files other than .glsl.
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 shader-toy.