From owner-freebsd-questions@FreeBSD.ORG Sun Feb 3 20:50:22 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C597FEE2 for ; Sun, 3 Feb 2013 20:50:22 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (nightmare.dreamchaser.org [12.32.44.142]) by mx1.freebsd.org (Postfix) with ESMTP id 644679DC for ; Sun, 3 Feb 2013 20:50:22 +0000 (UTC) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [12.32.36.73]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id r13Ko79B024278; Sun, 3 Feb 2013 13:50:07 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Message-ID: <510ECD7F.6010709@dreamchaser.org> Date: Sun, 03 Feb 2013 13:50:07 -0700 From: Gary Aitken User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121116 Thunderbird/16.0.2 MIME-Version: 1.0 To: Warren Block , mexas@bristol.ac.uk Subject: Re: which X driver for NVIDIA Quadro FX 570M? References: <201302031033.r13AX0Dx088925@mech-cluster241.men.bris.ac.uk> <510E880D.7090203@dreamchaser.org> <510E926F.7060201@dreamchaser.org> <20130203180215.3aca2c57.freebsd@edvax.de> <510EA486.7000908@dreamchaser.org> <20130203193225.c71f06ae.freebsd@edvax.de> <510EB1F2.7090104@dreamchaser.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [12.32.36.65]); Sun, 03 Feb 2013 13:50:07 -0700 (MST) Cc: Polytropon , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: freebsd@dreamchaser.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Feb 2013 20:50:22 -0000 On 02/03/13 13:34, Warren Block wrote: > On Sun, 3 Feb 2013, Gary Aitken wrote: >> On 02/03/13 11:32, Polytropon wrote: >>> On Sun, 3 Feb 2013 11:29:30 -0700 (MST), Warren Block wrote: >>>> On Sun, 3 Feb 2013, Gary Aitken wrote: >>>> >>>>> I suspect it is from building the nvidia driver, >>>>> as those Makefiles use >>>>> X11BASE= /usr/X11R6 >>>> >>>> Last I heard from the ports guys, that is obsolete. >>> >>> If I remember correctly, X11BASE equals LOCALBASE, which >>> is /usr/local, so any Makefile which uses X11BASE will >>> be directed to /usr/local. It's not clear to me why a >>> Makefile defines a location that has been obsolated... >> >> It's surrounded by >> >> .if !defined(X11BASE) >> X11BASE= /usr/X11R6 >> .endif >> >> Which would protect it if it was defined; >> but I don't see where X11BASE is defined anywhere in >> /usr/ports/Mk >> /usr/share/mk >> >> If it's been obsoleted, that would be the problem. >> >> However, I don't see LOCALBASE defined anywhere except in terms of itself, either. >> Where is it initially set? >> Not being a make dude, I'm out of my element here > > Do you have it defined in /etc/make.conf? No; the only thing defined in /etc/make.conf is PERL_VERSION For the OP, I (just now) got the nvidia driver and x to compile and run under 9.1 as follows: 1. make and install the x11/xorg port 2. create the symlink /usr/X11R6 to point to /usr/local if /usr/X11R6 already exists as a regular directory and has stuff in it, move it aside or delete it. I found mine only had stuff from previous attempts to build the nvidia driver in it (a "bin" plain file(!), and a "lib" containing files from the nvidia driver build), so I deleted it. 3. download and unpack the nvidia driver; I used NVIDIA-FreeBSD-x86_64-304.64.tar.gz but note that that file is specific to my architecture, which is amd64; you'll need the appropriate one for your architecture. 4. make the nvidia driver 5. make sure step #4 added the line nvidia_load="YES" to /boot/loader.conf 6. add the following lines to /etc/rc.conf if not already present # Enable hald and dbus for X to work with kbd and mouse hald_enable="YES" dbus_enable="YES" Gary