After some googling, I found this error has to do with the correct file libGL.so not being found.libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Debug: Error creating openGL context
Warning: WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
Aborted
I have both nouveau drivers and nvidia binary drivers installed, and it looks like teh version provided by mesa is being used, even though I am currently running the binary driver. I could prove that by temporarily removing mesa (and the so files in /usr/lib/), after which the error disappeared.
I have in /etc/env.d/000opengl:
Code: Select all
# Configuration file for eselect
# This file has been automatically generated.
LDPATH="/usr/lib/opengl/nvidia/lib:/usr/lib64/opengl/nvidia/lib"
OPENGL_PROFILE="nvidia"I ran env-update && . /etc/profile.env however, echo $LDPATH just gives blanc output
The above actions did not make sigil look in the correct location, and neither did
export LD_LIBRARY_PATH="/usr/lib64/opengl/nvidia/lib/:$LD_LIBRARY_PATH"
So what shoudl I do to get LDPATH visible to a progralm such as sigil
