View Single Post
Old 04-05-2020, 03:56 PM   #9
Banjo
Zealot
Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!Banjo , Klaatu Barada Niktu!
 
Banjo's Avatar
 
Posts: 120
Karma: 5276
Join Date: Feb 2013
Device: Asus Zen Pad
Update on my progress.

I downloaded the source for Sigil-1.2.1 and built it on my system. When I run it, the new version crashes with the same error as the old version.

Code:
$ sigil
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Warning: WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 
Aborted (core dumped)
So it is not a dependency on the Qt version I am running. I built the new Sigil against the version on my system, 5.12.6.

Everywhere I read about this problem the answer is with misconfigured Nvidia drivers.

The odd thing is that I have other Qt apps running on my desktop with no problems. Which means that Qt can find the Nvidia drivers OK in that case.

LD_LIBRARY_PATH is not set to anything. I tried adding the Nvidia drivers to it.

Code:
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib64/nvidia-340"
That didn't help at all.

BTW, building Sigil on the Mageia system is a bit tricky because the development packages have different names than what are in the installation guide. Once I figured out which packages to install to satisfy the dependencies, the build went fine. For future reference, here are the ones I needed for Mageia:

Code:
lib64qt5webengine-devel
lib64qt5svg-devel
lib64qt5xmlpatterns-devel
lib64qt5help-devel to get Qt5LinguistTools
lib64python3-devel
I continue searching for the answer.

Last edited by Banjo; 04-05-2020 at 03:58 PM.
Banjo is offline   Reply With Quote