The Smell of Molten Projects in the Morning

Ed Nisley's Blog: Shop notes, electronics, firmware, machinery, 3D printing, laser cuttery, and curiosities. Contents: 100% human thinking, 0% AI slop.

Faking OpenGL 2.0 on Intel i945 Hardware

OpenSCAD grumps about not finding OpenGL 2.0 whenever it starts up on my ancient laptop, which is tedious: that situation just isn’t going to change. Not a fatal error, although I do wonder what the OpenCSG rendering would look like.

Anyhow, a bit of rummaging turns up a hack that’ll cause OpenSCAD to STFU and just start up. That doesn’t make OpenCSG work, which is pretty much not a problem for my simple needs.

On Ubuntu-flavored distros, install driconf, then activate two options (in the Performance and Debugging tabs, respectively):

  • Enable limited ARB_fragment_shader support on 915/945
  • Enable stub ARB_occlusion_query support on 915/945

And then It Just Works…

 

 

Comments

One response to “Faking OpenGL 2.0 on Intel i945 Hardware”

  1. NFS V4 Tweaks « The Smell of Molten Projects in the Morning Avatar

    […] open-source video driver, reports doing only OpenGL 1.4. OpenSCAD, however, requires OpenGL 2.0 and those hacks don’t allow it to run properly, which makes it awkward for demos. The AMD that’s […]