OpenSCAD multiple OpenGL errors, crashes on render
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openscad (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
After upgrade from 20.10 to 21.04, I am unable to run OpenSCAD successfully.
The program launches ok, but after clicking New or loading a file, the preview/render window is blank with no axes shown. When opening an existing .scad file, the Console window shows that the design was rendered, but nothing appears in the viewer. If I then try to do a full Render, the program crashes.
If I run OpenSCAD from a command line, I see numerous OpenGL errors:
===== START =======
$ openscad
Warning: Ignoring XDG_SESSION_
GLEW Error: Unknown error
OpenGL Error: invalid operation
OpenGL Error: invalid operation
OpenGL Error: invalid operation
OpenGL Error: invalid operation
OpenGL Program Linker Error:
error: linking with uncompiled/
invalid enumerant
src/mouseselect
0:1(1): error: No precision specified in this scope for type `vec3'
src/mouseselect
error: linking with uncompiled/
src/mouseselect
OpenGL error start:
invalid operation
OpenGL error render:
invalid operation
OpenGL error start:
invalid operation
OpenGL error render:
invalid operation
CGAL error: assertion violation!
Expression : object_list_
File : src/ext/
Line : 578
Explanation:
Refer to the bug-reporting instructions at https:/
Aborted (core dumped)
======= END ============
FWIW, noting the warning at the top, I tried using different values of QT_QPA_PLATFORM, but mostly just hung on launch and never displayed anything.
I did not see any similar reports under either Ubuntu's or OpenSCAD's bug trackers.
Thanks!
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: openscad 2021.01-1ubuntu1
ProcVersionSign
Uname: Linux 5.11.0-18-generic x86_64
ApportVersion: 2.20.11-0ubuntu65.1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Fri Jun 18 23:12:31 2021
InstallationDate: Installed on 2021-03-08 (102 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: openscad
UpgradeStatus: Upgraded to hirsute on 2021-06-14 (4 days ago)
More, this is on a Lenovo laptop, LCD only (no external monitors, no USB graphics cards on anything like that). Also:
=================
$ openscad --info :startTimer: Timers can only be used with threads started with QThread cartesian< Gmpq>, Epeck .local/ share .local/ share/OpenSCAD/ libraries .config/ OpenSCAD .local/ share/OpenSCAD/ backups rob/.local/ share/OpenSCAD/ libraries share/openscad/ libraries
QObject:
OpenSCAD Version: 2021.01
System information: Linux 5.11.0-18-generic #19-Ubuntu SMP Fri May 7 14:22:03 UTC 2021 x86_64 Ubuntu 21.04 4 CPUs 7.23 GB RAM
User Agent: OpenSCAD/2021.01 (Linux x86_64; Ubuntu 21.04)
Compiler: GCC "10.2.1 20210306" 64bit
MinGW build: No
Debug build: No
Boost version: 1_74
Eigen version: 3.3.9
CGAL version, kernels: 5.2, Cartesian<Gmpq>, Extended_
OpenCSG version: OpenCSG 1.4.2
Qt version: 5.15.2
QScintilla version: 2.11.6
InputDrivers:
GLib version: 2.67.5
lodepng version: 20180910
libzip version: 1.7.3
fontconfig version: 2.13.1
freetype version: 2.10.4
harfbuzz version: 2.7.4
cairo version: 1.16.0
lib3mf version: 1.8.1
Application Path: /usr/bin
Documents Path: /home/rob/
User Documents Path: /home/rob/Documents
Resource Path: /usr/share/openscad
User Library Path: /home/rob/
User Config Path: /home/rob/
Backup Path: /home/rob/
OPENSCADPATH: <not set>
OpenSCAD library path:
/home/
/usr/
OPENSCAD_FONT_PATH: <not set> local/share/ fonts rob/.local/ share/fonts share/fonts/ X11 share/fonts/ cMap share/fonts/ cmap share/fonts/ opentype share/fonts/ truetype share/fonts/ type1 share/fonts/ X11/Type1 share/fonts/ X11/encodings share/fonts/ X11/misc share/fonts/ X11/util share/fonts/ cmap/adobe- cns1 share/fonts/ cmap/adobe- gb1 share/fonts/ cmap/adobe- japan1 share/fonts/ cmap/adobe- japan2 share/fonts/ cmap/adobe- korea1 share/fonts/ opentype/ font-awesome share/fonts/ opentype/ freefont share/fonts/ opentype/ malayalam share/fonts/ opentype/ noto share/fonts/ opentype/ urw-base35 share/fonts/ truetype/ Gargi share/fonts/ truetype/ Gubbi share/fonts/ truetype/ Nakula share/fonts/ truetype/ Navilu share/fonts/ truetype/ Sahadeva share/fonts/ truetype/ Sarai share/fonts/ truetype/ abyssinica share/fonts/ truetype/ arphic share/fonts/ truetype/ dejavu share/fonts/ truetype/ droid share/fonts/ truetype/ font-awesome share/fonts/ truetype/ fonts-beng- extra share/fonts/ truetype/ fonts-deva- extra share/fonts/ truetype/ fonts-gujr- extra share/fonts/ truetype/ fonts-guru- extra share/fonts/ truetype/ fonts-kalapi share/fonts/ truetype/ fonts-orya- extra share/fonts/ truetype/ fonts-telu- extra share/fonts/ truetype/ fonts-yrsa- rasa share/fonts/ truetype/ freefont share/fonts/ truetype/ kacst share/fonts/ truetype/ kacst-one share/fonts/ truetype/ lao share/fonts/ truetype/ lato share/fonts/ truetype/ liberation share/fonts/ truetype/ liberation2 share/fonts/ truetype/ libreoffice share/fonts/ truetype/ lohit-assa. ..
OpenSCAD font path:
/usr/share/fonts
/usr/
/home/
/home/rob/.fonts
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/
/usr/