Bug#1029681: nvidia-legacy-340xx-driver: Qt5 apps fail to launch with a segfault

Andreas Beckmann anbe at debian.org
Fri Jun 30 14:39:32 BST 2023


Control: reopen -1

On 29/06/2023 18.16, jim_p wrote:
> So, can a patch like the one for kodi be applied to qt5? I am mentioning again
> that arch does not have a seperate -gles package for qt5, so a single lib that
> works everywhere should be possible.

It's unlikely to convince the Qt5 maintainers to change something just 
to support last century's technology (and therefore probably be unable 
to draw full power out of todays technology).

But if all that kodi did is linking against libGL instead of (the 
subset) libGLX, maybe we can just replace libGLX.so.1 with a link to 
libGL.so.1 s.t. we always end in the same implementation regardless of 
the entry point being used ...

Could you try

   ln -sf libGL.so.1 /usr/lib/x86_64-linux-gnu/libGLX.so.0

(assuming amd64) and see if that fixes Qt5 operation? Or breaks other stuff?

Note: this change is only active until you install/upgrade some package, 
i.e. something runs ldconfig. (You can also run ldconfig manually to 
restore the original link.)


Andreas



More information about the pkg-nvidia-devel mailing list