FS#50039 - [openscad] OpenGL Error: invalid enumerant

Attached to Project: Community Packages
Opened by Shawn Rutledge (ecloud) - Thursday, 14 July 2016, 09:41 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 13 September 2020, 17:50 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I'm getting this error on the command line, and it won't render the model. The background is yellow at first, then black after a refresh (e.g. when resizing the window). Maybe it needs rebuilding after the Qt 5.7 upgrade, or because of some OpenGL library being updated?

Additional info:
* openscad version 2015.03.03-3
* gcc-libs held back to 5.3.0-5 because gcc 6.1.1-3 causes problems compiling Qt, etc.

Steps to reproduce:
$ openscad anyfile.scad
This task depends upon

Closed by  Jelle van der Waa (jelly)
Sunday, 13 September 2020, 17:50 GMT
Reason for closing:  No response
Comment by Shawn Rutledge (ecloud) - Thursday, 14 July 2016, 09:43 GMT
mesa 11.2.2-1, Intel HD 4000 graphics on a Thinkpad Helix
Comment by Shawn Rutledge (ecloud) - Thursday, 14 July 2016, 09:46 GMT
Oh, it's still a Qt 4 program isn't it... anything holding it back from Qt 5? I guess I will try to build from source and find out.
Comment by Shawn Rutledge (ecloud) - Thursday, 14 July 2016, 11:14 GMT
No, it's no problem to build with Qt 5. The only problem I ran into was https://bugs.archlinux.org/task/49248 but in reverse: since boost (and many other packages) have been rebuilt with gcc 6.1.1, it's now necessary to use gcc 6.1.1 to build OpenSCAD, too. But with all the dependencies in place, it builds and runs great.
Comment by Shawn Rutledge (ecloud) - Thursday, 14 July 2016, 11:21 GMT
But building with Qt 5 didn't fix this error on my Helix (although it runs fine on another machine), so I guess the "invalid enumerant" is coming from somewhere else.

Simple QtQuick 2 programs (which of course use OpenGL) are rendering fine. Some Qt OpenGL examples work and some don't. glxgears doesn't (the window stays black). So maybe it's a driver bug or mesa bug.
Comment by Ivy Foster (escondida) - Thursday, 10 October 2019, 19:21 GMT
ecloud, do you experience this problem with the current version?

Loading...