Visualizer problem
Using MX Linux 23.3 on an HP Elitebook 2760p. The Candle2 AppRun opens up the GUI, but I see the desktop in the visualizer window.
Checking OpenGL version with
glxinfo | grep "OpenGL version"
response is:
OpenGL version string: 3.3 (Compatibility Profile) Mesa 22.3.6
Trying the mesa override is closer MESA_GL_VERSION_OVERRIDE=2.0 ./Candle2 Now the visualizer is all white with no UCS icon and nothing appears there if you open a file. Unit I touched the colors in settings, now I'm back to the desktop again. Fustrating.
Can anyone help?
Here's the text in the terminal window: `$ MESA_GL_VERSION_OVERRIDE=2.0 ./Candle2 locale: "en" style "Windows" style "Fusion" QString::arg: Argument missing:
Candle 2
Version: 2.4
License: GNU GENERAL PUBLIC LICENSE
© 2015-2016 Hayrullin Denis Ravilevich
© 2018-2022 Patrick F.
Visit: https://github.com/Schildkroet/Candle2/
, 2.2.0 QMetaObject::connectSlotsByName: No matching signal for on_cmdRefresh_clicked() shader program created preparing vectors GcodeDrawer(0x55c82f98e630) lines count 0 preparing vectors GcodeDrawer(0x55c82f98e8e0) lines count 0`
Solved this with the following prefix to the AppRun: 'LIBGL_ALWAYS_SOFTWARE=1 ./AppRun' The visualizer appears all black, but there is a UCS icon and once you change the colors in settings, everything is fine.
I just compiled Candle2 on a Lenovo ThinkCenter and ran into this same problem. In my case, the visualizer area shows the content of some window behind Candle2.
The suggested setting LIBGL_ALWAYS_SOFTWARE to 1 or true did not make a difference.
I also tried a few of the Intel related ones from here without success. https://docs.mesa3d.org/envvars.html
System Spec CPU: Intel Core i5-7600T Graphics: VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04) RAM: 16G
this is how I ran Candle2:
Candle2/src$ LIBGL_ALWAYS_SOFTWARE=true ./Candle2
Any thoughts or solutions?
I also tried compiling on a Raspberry Pi 4, 4G.
Compiles and runs but visualizer area is black.
A few things. In settings->Colors, all were black by default. I hit "Reset to Defaults". All colors went back to normal but visualizer is still all black.
The following is the output on console:
Candle2/src $ QStandardPaths: wrong permissions on runtime directory /run/user/1000, 0770 instead of 0700
locale: "en"
style "cleanlooks"
style "gtk2"
style "cde"
style "motif"
style "plastique"
style "qt5ct-style"
style "Windows"
style "Fusion"
QString::arg: Argument missing: <html><head><title>About</title></head><body><p>Candle 2<br/>Version: 2.6<br/>License: GNU GENERAL PUBLIC LICENSE<br/>© 2015-2016 Hayrullin Denis Ravilevich<br/>© 2018-2024 Patrick F.</p><p>Visit: <a href="https://github.com/Schildkroet/Candle2/"><span style=" text-decoration: underline; color:#0000ff;">https://github.com/Schildkroet/Candle2/</span></a></p></body></html>, 2.2.0
settings file path: "/home/pi/.config/Candle2/settings.ini"
QMetaObject::connectSlotsByName: No matching signal for on_cmdRefresh_clicked()
shader program created
preparing vectors GcodeDrawer(0x555c72f2f0)
lines count 0
preparing vectors GcodeDrawer(0x55602c8860)
lines count 0
I also have this issue on Manjaro (Wayland) with an AMD iGPU and a 5060 in hybrid mode.