Spirit Settings 4.0.2 - not starting under Linux Mint 22.2

In case you do not know something or you are not sure, here is the right place for your question.
Post Reply
Sepp62
Posts: 51
Joined: Sat 07. Feb 2015 22:14:51

I extracted the spirit settings archive and started settings.sh. A unit was connected via USB and powered up. The serial port is generally "visible" for applications which I verified with another program.

Running settings.sh in terminal shows this output:

qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
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::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
Falling back to using screens root_visual.

After that, the application terminates without any further output.

System information:

System:
Kernel: 6.14.0-36-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: tsc
Desktop: Cinnamon v: 6.4.8 tk: GTK v: 3.24.41 wm: Muffin v: 6.4.1 vt: 7 dm: LightDM v: 1.30.0
Distro: Linux Mint 22.2 Zara base: Ubuntu 24.04 noble

CPU:
Info: 8-core model: AMD Ryzen 7 8700G w/ Radeon 780M Graphics bits: 64 type: MT MCP smt: enabled
arch: Zen 4 rev: 2 cache: L1: 512 KiB L2: 8 MiB L3: 16 MiB
Speed (MHz): avg: 2673 high: 3718 min/max: 400/5177 boost: enabled cores: 1: 2403 2: 3000
3: 2740 4: 2403 5: 2403 6: 3718 7: 2998 8: 2998 9: 2697 10: 2997 11: 2403 12: 2403 13: 2403
14: 2403 15: 2403 16: 2403 bogomips: 134395
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm

Graphics:
Device-1: AMD Phoenix1 vendor: Micro-Star MSI driver: amdgpu v: kernel arch: RDNA-3 pcie:
speed: 16 GT/s lanes: 16 ports: active: HDMI-A-1 empty: DP-1, DP-2, DP-3, DP-4, DP-5, DP-6,
DP-7, Writeback-1 bus-ID: 0f:00.0 chip-ID: 1002:15bf class-ID: 0300 temp: 27.0 C
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: amdgpu
unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: Acer S242HL serial: <filter> res: 1920x1080 hz: 60
dpi: 92 size: 531x299mm (20.91x11.77") diag: 609mm (24") modes: max: 1920x1080 min: 720x400
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi device: 1 drv: swrast
gbm: drv: kms_swrast surfaceless: drv: radeonsi x11: drv: radeonsi inactive: wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.0.7-0ubuntu0.24.04.2 glx-v: 1.4
direct-render: yes renderer: AMD Radeon 780M Graphics (radeonsi phoenix LLVM 20.1.2 DRM 3.61
6.14.0-36-generic) device-ID: 1002:15bf
ZeXx86
Site Admin
Posts: 12932
Joined: Mon 29. Apr 2013 16:06:44
Contact:

Hello,

can you please start the app with the following command?
You can do so by opening terminal (F4 command might work) and in the Spirit Settings app launch this:
QT_OPENGL=software ./settings.sh
I hope this will help.
Spirit System developer
Sepp62
Posts: 51
Joined: Sat 07. Feb 2015 22:14:51

The message in the terminal window unfortunately remains the same and the spirit window does not show up.
Sepp62
Posts: 51
Joined: Sat 07. Feb 2015 22:14:51

I finally suceeded inserting this line in my settings.sh:

export QT_XCB_GL_INTEGRATION=none
ZeXx86
Site Admin
Posts: 12932
Joined: Mon 29. Apr 2013 16:06:44
Contact:

Thank you very much for letting us know!
We released new Spirit Settings 4.0.2 r2 that will hopefully fix the issue permanently.
Spirit System developer
buttles
Posts: 157
Joined: Tue 16. Jun 2015 14:37:10

Thanks for raising this. After many months of the same problem I have now fixed the issue, but differently! The new R2 software didn't work for me. I replaced 'wayland' in this command line in Settings.sh with x11. "$XDG_SESSION_TYPE" = "x11" ]

Sorted now. I'm no Linux expert!
Sepp62
Posts: 51
Joined: Sat 07. Feb 2015 22:14:51

This problem still exists in Spirit 4.03.

Under Linux Mint 22.3 $XDG_SESSION_TYPE equals to "x11" and not to "wayland".

So, settings.sh must be adapted, otherwise it is not running under Linux Mint.

if [ "$XDG_SESSION_TYPE" = "x11" ] ; then
export QT_XCB_GL_INTEGRATION=none
fi
ZeXx86
Site Admin
Posts: 12932
Joined: Mon 29. Apr 2013 16:06:44
Contact:

Thank you for your message.

We found the problem was actually not the parameter, but rendering features not available for some systems.
Now it is doing automatic detection of available features. Please redownload the app, then it should work.
Spirit System developer
Sepp62
Posts: 51
Joined: Sat 07. Feb 2015 22:14:51

The new software also fails, the terminal output is "X11", so QT_XCB_GL_INTEGRATION is not set to "none".

Can I provide more information to solve the problem?
Post Reply