webGL not working properly in lubuntu


Well it works for regular websites, but not for locally hosted files. Which I don’t understand. I’m trying to program in JS so it kinda sucks to have to switch to windows to be able to test my code. Any ideas how to fix this? BTW I’m using google chrome with webGL activated and I have an nVIDIA graphics card(which I’ve read has problems with linux)

edit: nvm i figured it out


What was the problem and how did you fix it?


Um, it’s been a while since I was on lubuntu, but if I remember correctly then I think that with three.js I had to use a webserver instead of just having it in any random directory. So it wasn’t actually a webGL issue, more so a three.js issue.