Public bug reported: 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_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. 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/unspecialized shadererror: linking with uncompiled/unspecialized shaderOpenGL error src/mouseselector.cc:66:Vertex Shader: invalid enumerant src/mouseselector.cc: OpenGL fragment shader Error: 0:1(1): error: No precision specified in this scope for type `vec3' src/mouseselector.cc: OpenGL Program Linker Error: error: linking with uncompiled/unspecialized shader src/mouseselector.cc: OpenGL symbol retrieval went wrong, id is -1 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/CGAL/OGL_helper.h Line : 578 Explanation: Refer to the bug-reporting instructions at https://www.cgal.org/bug_report.html 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 ProcVersionSignature: Ubuntu 5.11.0-18.19-generic 5.11.17 Uname: Linux 5.11.0-18-generic x86_64 ApportVersion: 2.20.11-0ubuntu65.1 Architecture: amd64 CasperMD5CheckResult: unknown 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-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: openscad UpgradeStatus: Upgraded to hirsute on 2021-06-14 (4 days ago) ** Affects: openscad (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug hirsute wayland-session -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1932987 Title: OpenSCAD multiple OpenGL errors, crashes on render To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openscad/+bug/1932987/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs