glxinfo works, /compat/linux/usr/bin/glxinfo - does not
Tijl Coosemans
tijl at FreeBSD.org
Wed Jun 17 15:58:59 UTC 2020
On Wed, 17 Jun 2020 10:53:18 -0400 "Mikhail T." <mi+t at aldan.algebra.com>
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
>> /compat/linux/usr/lib/libGLX_system.so.0 or making it a symlink to
>> /compat/linux/usr/lib/libGLX_nvidia.so.0 or try deleting linux-c7-dri
>> package.
>
> Ok, that seems like the root of the problem indeed:
>
> /compat/linux/usr/lib/libGLX_system.so.0 -> libGLX_*mesa*.so.0
>
> Unfortunately, deinstalling linux-c7-dri, also deinstalled the
> linux-c7-glx-utils, which had to be reinstalled with NO_DEPENDS=yes to
> avoid dragging in the Mesa stuff again (which must be, what created the
> above link to GLX_mesa in the first place)...
>
> Finally, the symlink-manipulations had to be repeated in
> /compat/linux/usr/lib*64* as well (why do linux-c7-/foo/ ports even
> bother with 32-bit binaries on amd64?) -- but now both native and Linux
> glxinfo binaries work here, and there is much rejoicing. Thank you!
>
> Should I file bug-report(s) for any of this? Yours,
Does "glxinfo | grep glvnd" print anything?
More information about the freebsd-emulation
mailing list