Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jun 2020 17:58:54 +0200
From:      =?UTF-8?B?VMSzbA==?= Coosemans <tijl@FreeBSD.org>
To:        "Mikhail T." <mi+t@aldan.algebra.com>
Cc:        x11@FreeBSD.org, freebsd-emulation@FreeBSD.org, Alexey Dokuchaev <danfe@FreeBSD.org>
Subject:   Re: glxinfo works, /compat/linux/usr/bin/glxinfo - does not
Message-ID:  <20200617175854.21d8a8f2@FreeBSD.org>
In-Reply-To: <fc48e13a-5b9f-de5b-9aa5-f28bb5391cf0@aldan.algebra.com>
References:  <ebcedf8f-8d62-e76d-df7d-c8613e69bc88@aldan.algebra.com> <20200617141108.2a4f23c9@FreeBSD.org> <fc48e13a-5b9f-de5b-9aa5-f28bb5391cf0@aldan.algebra.com>

index | next in thread | previous in thread | raw e-mail

On Wed, 17 Jun 2020 10:53:18 -0400 "Mikhail T." <mi+t@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?


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200617175854.21d8a8f2>