glxinfo works, /compat/linux/usr/bin/glxinfo - does not

2020-06-17 Thread Mikhail T.
Hello! I'm trying to get an OpenGL-using (Qt5-based) Linux application off the ground on FreeBSD-12.1-STABLE/amd64, and it is dying early on because of OpenGL errors. The machine has an NVidia card, driven by the nvidia-driver-390. The port is compiled with the Linux option on. I also inst

Re: linux-c7-libsndfile missing dependency on libgsm

2020-06-17 Thread Tijl Coosemans
On Mon, 15 Jun 2020 22:45:28 -0700 (MST) Elijah Stone wrote: > Just fyi, libsndfile depends on libgsm, but the linux version of the > latter isn't packaged in freebsd, so every program depending on libsndfile > is broken. > > (E.G. check '/compat/linux/bin/bash -c "ldd > /compat/linux/lib/libs

Re: glxinfo works, /compat/linux/usr/bin/glxinfo - does not

2020-06-17 Thread Tijl Coosemans
On Tue, 16 Jun 2020 22:51:00 -0400 "Mikhail T." wrote: > Hello! > > I'm trying to get an OpenGL-using (Qt5-based) Linux application off the > ground on FreeBSD-12.1-STABLE/amd64, and it is dying early on because of > OpenGL errors. > > The machine has an NVidia card, driven by the nvidia-drive

Re: glxinfo works, /compat/linux/usr/bin/glxinfo - does not

2020-06-17 Thread Tijl Coosemans
On Wed, 17 Jun 2020 10:53:18 -0400 "Mikhail T." wrote: > On 17.06.20 08:11, Tijl Coosemans wrote: >> The Linux graphics stack has switched to libglvnd while the FreeBSD >> stack has not so I don't know if Linux libglvnd can figure which >> stack, mesa or nvidia, it has to load. Try deleting >> /

Re: glxinfo works, /compat/linux/usr/bin/glxinfo - does not

2020-06-17 Thread Tijl Coosemans
On Wed, 17 Jun 2020 12:26:25 -0400 "Mikhail T." wrote: > On 17.06.20 11:58, Tijl Coosemans wrote: >> Does "glxinfo | grep glvnd" print anything? > > Yes, both of them print the same thing now: > > root@macropod:/green/home/mi # glxinfo | grep glvnd >     GLX_EXT_framebuffer_sRGB, GLX_E

Re: glxinfo works, /compat/linux/usr/bin/glxinfo - does not

2020-06-17 Thread Mikhail T.
On 17.06.20 08:11, Tijl Coosemans wrote: The Linux graphics stack has switched to libglvnd while the FreeBSD stack has not so I don't know if Linux libglvnd can figure which stack, mesa or nvidia, it has to load. Try deleting /compat/linux/usr/lib/libGLX_system.so.0 or making it a symlink to /c

Re: glxinfo works, /compat/linux/usr/bin/glxinfo - does not

2020-06-17 Thread Mikhail T.
On 17.06.20 11:58, Tijl Coosemans wrote: Does "glxinfo | grep glvnd" print anything? Yes, both of them print the same thing now: root@macropod:/green/home/mi # glxinfo | grep glvnd     GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, GLX_EXT_libglvnd, root@macropod:/green/home/mi