Crash on start with nvidia proprietary drivers v340

Bug #1942184 reported by Ignacy Gawędzki
6
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.

Revision history for this message
tmodes (tmodes) wrote :

The mentioned changeset fixes a warning for most of the newer versions and is since CMake 3.11 the default.
It selects by default the newer OpenGL libs. To force the usage of the old library set the CMake variable OpenGL_GL_PREFERENCE to LEGACY (maybe by adding -DOpenGL_GL_PREFERENCE=LEGACY to the CMake command line.)

Changed in hugin:
status: New → Incomplete
Revision history for this message
Ignacy Gawędzki (iazz) wrote :

Okay, right. I did just that and it works. Thanks and sorry for the fuss.

Changed in hugin:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.