Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2008 14:16:03 +1000
From:      Fraser Tweedale <frase@frase.id.au>
To:        freebsd-questions@freebsd.org
Subject:   Re: Problem updating nvidia driver
Message-ID:  <20080612041602.GB20722@bacardi>
In-Reply-To: <484F960D.90500@eskk.nu>
References:  <484F960D.90500@eskk.nu>

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

--jho1yZJdad60DJr+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jun 11, 2008 at 11:08:29AM +0200, Leslie Jensen wrote:
> The update of nvidia-driver-169.12 fails on my system.
> ( 7.0-RELEASE-p1 FreeBSD)
> ----------------------------------------
> estanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes=20
> -Wmissin
> g-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef=20
> -Wno-pointer-sign -ff
> ormat-extensions -c nvidia_subr.c
> nvidia_subr.c:654: error: conflicting types for 'nv_os_agp_init'
> nv-freebsd.h:406: error: previous declaration of 'nv_os_agp_init' was here
> nvidia_subr.c:739: error: conflicting types for 'nv_os_agp_teardown'
> nv-freebsd.h:407: error: previous declaration of 'nv_os_agp_teardown'=20
> was here
> *** Error code 1
>=20
> Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-173.14.05/sr=
c.
> *** Error code 1
>=20
> Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-173.14.05.
> *** Error code 1
>=20
> Stop in /usr/ports/x11/nvidia-driver.
> *** Error code 1
>=20
> Stop in /usr/ports/x11/nvidia-driver.
>=20
> =3D=3D=3D>>> make failed for x11/nvidia-driver
> =3D=3D=3D>>> Aborting update
>=20
> =3D=3D=3D>>> Update for nvidia-driver-169.12 failed
> =3D=3D=3D>>> Aborting update
> -----------------------------------------------
>=20
> Any ideas?
>=20
> Thanks
>=20
> Leslie

FWIW I had major issues with 173.14.05 (X.org crash to syscons at random
and usually immediately when using GLX stuff) and reverted to 169.12 which
is running once again without issue.

Anyhow, I remember experiencing issues like what you're mentioning though
it's a while ago so my memory is hazy.  IIRC, it comes from conflicts
between the Mesa and Nvidia libraries, and there was some voodoo that
seemed to help (though I'm not sure if it's still used), which was to
set `USE_NVIDIA_GL=3Dyes' in /etc/make.conf.

There may also be some library rebuilding needed once that make variable
has been set (libGL and friends).

Disclaimer: the above advice is based on a hazy memory of dealing with
similar issues and may be totally inaccurate and/or snake oil.

frase

--jho1yZJdad60DJr+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkhQowAACgkQPw/2FZbemTUwOgCdEUi3GyNc7I3tDg7wPXcfHjW1
4xkAoKQtoAqTMdF7/J4h0EWJtih9Z5zf
=/AE0
-----END PGP SIGNATURE-----

--jho1yZJdad60DJr+--



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