From owner-freebsd-questions@FreeBSD.ORG Tue Dec 22 21:00:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49E671065695 for ; Tue, 22 Dec 2009 21:00:57 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by mx1.freebsd.org (Postfix) with ESMTP id B84368FC2C for ; Tue, 22 Dec 2009 21:00:56 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id nBML0qK3017933; Tue, 22 Dec 2009 22:00:53 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id DF37BBAAA; Tue, 22 Dec 2009 22:00:51 +0100 (CET) Date: Tue, 22 Dec 2009 22:00:51 +0100 From: Roland Smith To: Richard Mace Message-ID: <20091222210051.GA6367@slackbox.xs4all.nl> References: <200912221736.20023.macerl@telkomsa.net> <200912221950.19322.macerl@telkomsa.net> <20091222183518.GA2552@slackbox.xs4all.nl> <200912222157.57126.macerl@telkomsa.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ikeVEW9yuYc//A+q" Content-Disposition: inline In-Reply-To: <200912222157.57126.macerl@telkomsa.net> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Roger , freebsd-questions@freebsd.org Subject: Re: Help building/running SDL/OpenGL code X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2009 21:00:57 -0000 --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--