Go Back   nV News Forums > Linux Support Forums > NVIDIA FreeBSD

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-30-06, 10:56 AM   #1
ntamp
Registered User
 
Join Date: Jan 2006
Posts: 7
Default Nvidia drivers Problem

Hi,
I use FreeBSD 6.0 Release, with XORG 6.9.0
compat5x package is installed.
I successfully re-builded nvidia settings.
But, when i try to make install 1.0-8178 drivers, i have this error.
Code:
bash-2.05b# pwd
/root/NVIDIA-FreeBSD-x86-1.0-8178
bash-2.05b# make install
===> src (install)
cc -O2 -fno-strict-aliasing -pipe -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8178 -D__KERNEL__ -DNTRM -DNVRM -DDYNAMIC_SLI -UDEBUG -U_DEBUG -DNDEBUG -O -fno-common -fno-unit-at-a-time -minline-all-stringops -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-  -I/src -I. -I@ -I@/contrib/altq -finline-limit=8000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c nvidia_ctl.c
In file included from nvidia_ctl.c:14:
./nv-freebsd.h:25:2: #error This driver does not support FreeBSD 7.x/-CURRENT!
*** Error code 1

Stop in /root/NVIDIA-FreeBSD-x86-1.0-8178/src.
*** Error code 1

Stop in /root/NVIDIA-FreeBSD-x86-1.0-8178.
bash-2.05b#
What is going wrong?
Thank you,
ntamp is offline   Reply With Quote
Old 01-30-06, 05:48 PM   #2
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Nvidia drivers Problem

The error message suggests that the kernel source tree you're building against is for a 7.x-CURRENT kernel, rather than the 6.0-RELEASE kernel; what is the __FreeBSD_version of the source tree you're building against?
zander is offline   Reply With Quote
Old 01-30-06, 07:45 PM   #3
ntamp
Registered User
 
Join Date: Jan 2006
Posts: 7
Default Re: Nvidia drivers Problem

Thank you very much for your fast reply.
Problem solved.
Under /usr/src/sys, i had the 7.x-CURRENT kernel.
Then i installed 6.0 Release kernel source and everything is OK now!
ntamp is offline   Reply With Quote
Old 01-30-06, 08:25 PM   #4
ntamp
Registered User
 
Join Date: Jan 2006
Posts: 7
Default Re: Nvidia drivers Problem

One more question,
After installing nvidia drivers, i see, the fonts used by some programs, changed.
For example with nvidia drivers, the gimp is like that and with the default drivers, like that.
Why is that?
Can i use the fonts settings, i see with default driver, when i use nvidia driver?
Thank` s in advance..
ntamp is offline   Reply With Quote
Old 02-05-06, 05:37 AM   #5
costra
Registered User
 
Join Date: Feb 2006
Posts: 3
Default Re: Nvidia drivers Problem

I got it working with 7.0-CURRENT as well. You have two posibilities. Either to use NVidia AGP (it is really not stable), or you use it with FreeBSD AGP. There is a problem in 7.0-CURRENT, that some structure agp_info has changed, and you get some complains about ai_aperture_va when compiling with FreeBSD's AGP.
Some investigation in 6.0 sources showed, that ai_aperture_va was initialised the same way as ai_aperture_base. I changed in nvidia_subr.c ai_aperture_va to ai_aperture_base, and it got compiled. Until now it looks working with no problems with 3D acceleration etc. Someone who understands FreeBSD's AGP and NVidia driver should verify this.
costra is offline   Reply With Quote
Old 02-05-06, 06:35 AM   #6
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Nvidia drivers Problem

@ntamp: the computed DPI value likely differs, please see http://download.nvidia.com/freebsd/1...ppendix-x.html.

@costra: which chipset are you using? Most users' experience has been the opposite, i.e. that NvAGP is stable, whereas FreeBSD's AGPGART was not. Note that if you use NvAGP, you need to be sure to disable FreeBSD's AGP GART driver. With respect to the struct agp_info change, ai_aperture_va is expected to be the address of a kernel mapping of the AGP aperture, not its physical start address, ai_aperture_base. The 1.0-8178 driver's resource manager does not use this mapping, however, it can be set to 0. For older driver releases, a single-page kernel mapping is sufficient.
zander is offline   Reply With Quote
Old 02-06-06, 10:28 AM   #7
costra
Registered User
 
Join Date: Feb 2006
Posts: 3
Default Re: Nvidia drivers Problem

I'm using NVidia GeForce4 Titanium:

nvidia0: <GeForce4 Ti 4200 with AGP8X> mem 0xe0000000-0xe0ffffff,0xd8000000-0xdf
ffffff irq 16 at device 0.0 on pci1

Really, with NvAGP I got errors like this in system console:
NVRM: Xid: 6, PE0000 0804 0004a800 0000fdb0 000749fc 0004a800
NVRM: Xid: 6, PE0000 0804 001c0c06 00006ea4 00000000 001c0c06
NVRM: Xid: 6, PE0000 11a8 ff75b1a8 00000004 ff76b1a8 ff4d5c61

But with FreeBSD's AGP I don't get them anymore. But some time ago (maybe with 5.3 or 5.4) a got them with FreeBSD's AGP as well. Now while running 7.0-CURRENT without NvAGP it's OK.

I really don't know the right purpose of ai_aperture_va, I just went through the FreeBSD 6.0's AGP sources, and found, that it's initialized with the same value as ai_aperture_base. That's called to verify it. I expect some semantically cleaner solution
costra is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
NVIDIA Drivers Receive Windows 8 Certification News Archived News Items 0 06-01-12 05:30 AM
Radeon 9700 not all that? sancheuz Other Desktop Graphics Cards 200 10-12-02 09:31 PM
Nvidia Stereo Drivers Soudontsay NVIDIA Windows Graphics Drivers 2 08-26-02 10:48 AM
nvidia drivers in a motherboard with AGP 1.0 (motherboard MVP3+) knocker NVIDIA Linux 1 08-19-02 01:57 AM
NVIDIA 2960 Drivers & RH 7.3 W/2.4.18-5 XASCompuGuy NVIDIA Linux 6 08-02-02 11:53 AM

All times are GMT -5. The time now is 09:49 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.