Crash on start with nvidia proprietary drivers v340
Bug #1942184 reported by
Ignacy Gawędzki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Hugin |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hugin version 2020.0.0 crashes when the nvidia proprietary drivers version 340 are installed and divert some libs. There are quite old drivers that are the only ones supporting some old chips, but they do not support GLVND as such.
Since Hugin version 2019.2 doesn't crash with the same drivers, I ran a bisect on the history and pinpointed the culprit to be commit 1bc55d "Fixes warning for newer CMake versions (patch by Kornel Benko)". Curiously enough, reverting it fixes the crash for me.
To post a comment you must log in.
The mentioned changeset fixes a warning for most of the newer versions and is since CMake 3.11 the default. GL_PREFERENCE to LEGACY (maybe by adding -DOpenGL_ GL_PREFERENCE= LEGACY to the CMake command line.)
It selects by default the newer OpenGL libs. To force the usage of the old library set the CMake variable OpenGL_