Re: x11/nvidia-driver / Compilation has failed

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Wed, 12 Oct 2011 02:20:07 +0000
On Thu, Oct 06, 2011 at 01:35:14AM +0000, Nali Toja wrote:
> Ali Mashtizadeh <mashtizadeh_at_gmail.com> writes:
> > 2011/8/31 Alexey Dokuchaev <danfe_at_freebsd.org>:
> >> On Mon, Aug 29, 2011 at 02:59:48PM +0200, Olivier Smedts wrote:
> >>> 2011/8/29 ken <ken_at_tydfam.jp>:
> >>> > Could I test your patch for nvidia-driver, too?
> >>> > I cannot find your patch in this mail.
> >>>
> >>> I took the patch in :
> >>> http://lists.freebsd.org/pipermail/freebsd-current/2011-August/026515.html
> >>>
> >>> And it worked for me.
> >>
> >> Should be fixed in the port itself now (also updated to 280.13).
> >
> > Is there any reason I should still be hitting this bug when building
> > on 9-STABLE? With Linux compatibility disabled I can build the driver,
> > but the kernel refuses to load it saying it's incompatible with my
> > kernel version.
> 
> Only if you're using 285.05.09 with the port. And it'd affect both
> /stable/9 and /head users.
> 
>   // from src/nv-freebsd.h:
>   #if __FreeBSD_version >= 900041
>   #include <sys/capability.h>
>   #else
>   #define fget(td, fd, cap, fp) fget(td, fd, fp)
>   #endif
> 
> Can you commit below tiny change? It should make testing the new version a
> bit easier for people who are impatient to wait for the next port update.
> 
> That version also includes tunable support similar to ports/156386.

Port was updated to serve the most recent release from NVidia, 285.05.09.
Please test and report of any issues.

Thanks,

./danfe
Received on Wed Oct 12 2011 - 00:20:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:19 UTC