Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Feb 2013 13:50:07 -0700
From:      Gary Aitken <freebsd@dreamchaser.org>
To:        Warren Block <wblock@wonkity.com>, mexas@bristol.ac.uk
Cc:        Polytropon <freebsd@edvax.de>, freebsd-questions@freebsd.org
Subject:   Re: which X driver for NVIDIA Quadro FX 570M?
Message-ID:  <510ECD7F.6010709@dreamchaser.org>
In-Reply-To: <alpine.BSF.2.00.1302031334200.6729@wonkity.com>
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> <alpine.BSF.2.00.1302031127390.6092@wonkity.com> <20130203193225.c71f06ae.freebsd@edvax.de> <510EB1F2.7090104@dreamchaser.org> <alpine.BSF.2.00.1302031334200.6729@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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





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