nvidia driver on amd64 (for asus nvidia gt 610)

Gary Aitken freebsd at dreamchaser.org
Sat Oct 27 18:04:49 UTC 2012


On 10/27/12 07:50, Gary Aitken wrote:
> running 9.0 release
> 
> Being frustrated with my radeon hd-5550 video card which occasionally
> (once a week or so) goes into some kind of reset loop, filling up
> Xorg.0.log and crashing the system because /var is full...
> 
> I picked up an asus nvidia gt 610.
> Downloaded the nvidia driver and tried to build it.
> 
> make ominously reports:
>    ld: Relocatable linking with relocations from format elf32-i386-freebsd
>        (nv-kernel.o) to format elf64-x86-64-freebsd (nvidia.ko) is not supported.
> 
> Where is the elf32-i386-freebsd stuff coming from?
> I just unpacked the driver in a tmp directory and did a make install there.
> 
> I found the following which implied it is a make problem in 9.0:
> 
> http://lists.freebsd.org/pipermail/freebsd-toolchain/2011-August/000265.html
> 
> I'm guessing it can be made to work but I need to define appropriate make
> architecture variables, and I'm not sure how to do dat.
> Hints?
> 
> BTW, can anyone explain why Xorg.*.log doesn't get closed and a new file
> opened when it gets rather large and then rotate the way syslogs normally do?
> It seems to rotate only when the server is restarted, or at least that's all
> I've observed.

My apologies for the original double posting; 
saw a temporary reject in my maillog and thought it would turn into a real
one due to a past problem.

I found the following patch and applied it, 

  http://www.mail-archive.com/freebsd-toolchain@freebsd.org/msg00256.html

Also discovered I had downloaded the x86 version instead of the 64bit version.
"make CC=clang CXX=clang++ install" seemed to work; now on to testing it.

Sorry for the mixup.

Gary


More information about the freebsd-questions mailing list