Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2009 22:00:51 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        Richard Mace <macerl@telkomsa.net>
Cc:        Roger <rnodal@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Help building/running SDL/OpenGL code
Message-ID:  <20091222210051.GA6367@slackbox.xs4all.nl>
In-Reply-To: <200912222157.57126.macerl@telkomsa.net>
References:  <200912221736.20023.macerl@telkomsa.net> <200912221950.19322.macerl@telkomsa.net> <20091222183518.GA2552@slackbox.xs4all.nl> <200912222157.57126.macerl@telkomsa.net>

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

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

On Tue, Dec 22, 2009 at 09:57:57PM +0200, Richard Mace wrote:
> In the end, as a last resort, I de-installed the nvidia driver and starte=
d X=20
> with an empty /etc/X11/xorg.conf (which presumably loads the "nv" driver)=
=2E I=20
> re-built my code and it runs, albeit without the smoothest of graphics.=
=20

On a recent core2 duo or quad, even software rendering isn't that bad.
=20
> I guess that that proves that the problem lies with the NVIDIA driver and=
 its=20
> inter-relationship with the Mesa libraries, which one has to use if one b=
uilds=20
> one's own "OpenGL" programs.

Yes.

> It is a pity that FreeBSD has not sorted that out, but I hasten to add th=
at
> I'm new to FBSD and it could be my error.

It was nvidia's decision to drop support for older cards from their recent
drivers. Nothing that the FreeBSD project can do about that.

> It does beg the question, though, how one would develop OpenGL apps on FB=
SD?=20
> I'll revisit this soon, after some careful googling.

Get a card that is well-supported by the drivers in the FreeBSD kernel and
Xorg/Mesa. Currently that means Intel's on-board graphics or boards with
ATI/AMD radeon chips, except for the latest chips. AMD released docs for th=
ose
chips some months ago, and the drivers for accellerated 3D are still evolvi=
ng.

Accellerated 3D works fine on my Radeon X1650 equipped card with the
xf86-video-ati driver and the drm.ko and radeon.ko kernel modules.

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--ikeVEW9yuYc//A+q
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iEYEARECAAYFAksxM4MACgkQEnfvsMMhpyWsrgCglSAhqXWN06DD1Kr1+1i5UXRc
wr0An3v8nVMDLwaz9L+igAdHUz8Zn7RU
=ENse
-----END PGP SIGNATURE-----

--ikeVEW9yuYc//A+q--



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