FragM crashes on startup with a message in the terminal.
$ ./Fragmentarium-2.5.5
No XVisualInfo for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(SingleBuffer), swapInterval 1, colorSpace QSurfaceFormat::ColorSpace(DefaultColorSpace), profile QSurfaceFormat::OpenGLContextProfile(NoProfile))
Falling back to using screens root_visual.
Aborted
To Reproduce
It crashes on my old laptop: Debian Buster with NVIDIA G 105M hardware and (almost) the latest proprietary drivers for that hardware, just seen there is an update available...:
Desktop (please complete the following information):
OS: Debian Buster
Gfx card: NVIDIA G105 M
Driver version: NVIDIA 340 (legacy)
Additional context
Works fine on my desktop (Debian Bullseye, AMD RX 580).
git bisect on laptop reported:
338455b2c8c0fcad4bd9636adefa22e679b0771e is the first bad commit
commit 338455b2c8c0fcad4bd9636adefa22e679b0771e
Author: 3Dickulus <3Dickulus@users.noreply.github.com>
Date: Sun Mar 21 16:30:23 2021 -0700
fixed FindOpenGL.cmake requires OpenGL_GL_PREFERENCE "LEGACY" or "GLVND"
when both libraries are found on the system, defaults to "GLVND"
Fragmentarium-Source/CMakeLists.txt | 8 ++++++++
1 file changed, 8 insertions(+)
Following that hint I unticked GL_PREFERENCE_GLVND in cmake-gui .. and rebuilt, which seems to have fixed it for me, just reporting in case anyone runs into this...
Describe the bug
FragM crashes on startup with a message in the terminal.
To Reproduce
It crashes on my old laptop: Debian Buster with NVIDIA G 105M hardware and (almost) the latest proprietary drivers for that hardware, just seen there is an update available...:
Expected behavior FragM to start.
Desktop (please complete the following information):
Additional context
Works fine on my desktop (Debian Bullseye, AMD RX 580).
git bisect
on laptop reported:Following that hint I unticked
GL_PREFERENCE_GLVND
incmake-gui ..
and rebuilt, which seems to have fixed it for me, just reporting in case anyone runs into this...