Desperate about the über-bug in #NLE #Lightworks which apparently nobody suffers from but me on #UbuntuStudio #Linux 24.04 I even posted on #Reddit, after the #LWKS forum not having a clue and the developers all remaining silent…

It's perhaps something with #OpenGL / #MESA. I get this message in Logs when it occurs:

GLXOpenGLContext::makeCurrent() : Current context not NULL

If I set

LIBGL_NO_DRAWARRAYS= true

I have no video display, so all video display areas in #LWKS are using OpenGL.

Nobody knows no nothing about it. It's just me, the double weirdo, because 1) who does professional video editing on Linux anyways and 2) who does not use #DavinciResolve anyways?

So this is one way the bug may look like: https://www.youtube.com/watch?v=0brnx09AP5Y

Independent of the actual footage, and also independent of the GPU (I switched from AMD to Nvidia…)

I need to restart LWKS to make it go away. Sometimes I restart like 40 times an hour.

Any ideas are welcome, #fedihelp.

Lightworks Beta Bug on Linux

YouTube
@nielso Based on the error it's mostly likely a bug in the app. Can also be a Mesa/driver issue, but if other OpenGL/GLX apps work then its probably not that.

@rodlie

Yes, it very likely is a bug in Lightworks.

Unfortunately, Lightworks is my favorite NLE for many reasons. And even more unfortunately, I don't even know if is still alive as a project / product. I have been trying to talk to developers in the LWKS forum for over a year now…

So I need a workaround, since this bug will not be fixed any time soon.

Currently I'm exploring environment variables of Mesa. It's tedious… I need to set a variable, do some editing and see if the bug occurs again, which it does after 1 minute, or after 20 minutes…

… so at the moment I am at:

MESA_GLES_VERSION_OVERRIDE=2.1 LIBGL_ALWAYS_INDIRECT=true LIBGL_ALWAYS_SOFTWARE=true

… but there's plenty more to explore: https://docs.mesa3d.org/envvars.html

Note that LIBGL_ALWAYS_SOFTWARE alone doesn't work around it, and I had used an AMD GPU, now on Nvidia, so it's likely not dependent on the hardware at all.

Environment Variables — The Mesa 3D Graphics Library latest documentation