Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jul 2011 09:39:06 -0500
From:      Stephen Montgomery-Smith <stephen@missouri.edu>
To:        "bf1783@gmail.com" <bf1783@gmail.com>
Cc:        "freebsd-x11@FreeBSD.org" <freebsd-x11@FreeBSD.org>, "b. f." <bf1783@googlemail.com>
Subject:   Re: x11/nvidia-driver incompatible with portmaster?
Message-ID:  <4E107F0A.7030405@missouri.edu>
In-Reply-To: <CAGFTUwMYV%2B6YBKjyjEY6_0fY_WX2Q_PQR10HPAGGeMwRFTR9FA@mail.gmail.com>
References:  <CAGFTUwMPV9Tge6%2BGZO879KD7dh6Sr6%2BfPGK97SGvRndBitMTjg@mail.gmail.com>	<4E0FCDD1.7050809@missouri.edu>	<4E0FD8DC.20700@missouri.edu>	<CAGFTUwM-c4WvkX01iuDh4kWcjX8kLKv9Gm1297orPMgNyV_1Cg@mail.gmail.com>	<20110703114104.GK48734@deviant.kiev.zoral.com.ua>	<CAGFTUwM2VMBsWmxQ70PkNcDfPb_JOBUw7N1wZOVsXfPPSQic1g@mail.gmail.com> <CAGFTUwMYV%2B6YBKjyjEY6_0fY_WX2Q_PQR10HPAGGeMwRFTR9FA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 07/03/2011 08:33 AM, b. f. wrote:
> On 7/3/11, b. f.<bf1783@googlemail.com>  wrote:
>> On 7/3/11, Kostik Belousov<kostikbel@gmail.com>  wrote:
>>> On Sun, Jul 03, 2011 at 03:54:15AM +0000, b. f. wrote:
>>>> On 7/3/11, Stephen Montgomery-Smith<stephen@missouri.edu>  wrote:
>>>>> On 07/02/2011 09:02 PM, Stephen Montgomery-Smith wrote:
>>>>>> On 07/02/2011 08:39 PM, b. f. wrote:
>   ...
>>
>> and patch nvidia-driver so that it installs, e.g.,
>> ${PREFIX}/lib/xorg/modules/extensions/libglx-nvidia.so.1 instead of
>> ${PREFIX}/lib/xorg/modules/extensions/libglx.so.1, and
>> ${PREFIX}/lib/libGL-nvidia.so.1 instead of ${PREFIX}/lib/libGL.so.1;
>
> On second thought the renaming of these libraries is not very
> convenient, since they are built by nvidia, and not necessary if their
> mesa/xorg counterparts already have different names.

1.  I think your original renaming scheme is better - it will be more 
apparent to the casual onlooker what is going on.

2.  You need to make sure that if you "pkg_delete -f" and then reinstall 
xorg-server and/or libGL, but all this time nvidia-driver is installed, 
then at the end libglx.so still points to the nvidia drivers.  That is 
why I suggest some script installed by libGL that is responsible for 
properly setting these symlinks, and which is called by libGL, 
xorg-server and the nvidia-drivers.

3.  If we decide it is better to do this using symlinks, then this is 
well within my abilities, and I am prepared to take the lead.

Stephen



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