5 ms·
I got a lot of these errors on the console for Chrome: .WebGLRenderingContext: GL ERROR :GL_INVALID_ENUM : glCompressedTexImage2D: internal_format was GL_COMPRE
by edwintorok 14y ago
I got a lot of these errors on the console for Chrome:
.WebGLRenderingContext: GL ERROR :GL_INVALID_ENUM : glCompressedTexImage2D: internal_format was GL_COMPRESSED_RGBA_S3TC_DXT1_EXT
Turns out it requires S3TC compression which is not supported in Mesa drivers by default (only decompression is).
After installing libtxc_dxtn.so it worked just fine in Chrome.
Also it doesn't work with Firefox 10.0.12, even if I enable WebGL. It does work with latest nightly (Firefox 22.0a1) though.
- mistercow 14y agoAha! Installing the libtxc_dxtn_s2tc0 package fixed it, and it ran smoothly (with a small periodic stutter). That fixed BananaBread too (well, it's still buggy, but sometimes it works correctly). That package seriously needs to be a default for Ubuntu, given how many WebGL pages I've seen it break.
- edwintorok 14y agoAnother solution is to: "export force_s3tc_enable=true" (or equivalent setting in ~/.drirc) since only decompression is needed.