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

Newegg Daily Deals

Reply
 
Thread Tools
Old 07-18-04, 01:41 AM   #1
nullpt
Registered User
 
Join Date: Jul 2004
Posts: 19
Default FreeBSD nvidia driver issue

Hello,

I'm having some issues with the nvidia driver for freebsd. I install the driver trough the ports system .

phobos# cd /usr/ports/x11/nvidia-driver/
phobos# make install

Eveything install fine except the make setup that seems to be broken.

phobos# pkg_info | grep nvidia
nvidia-driver-1.0.4365_2 NVidia graphics card binary drivers for hardware OpenGL ren
phobos# cd work/NVIDIA-FreeBSD-x86-1.0-4365
phobos# make setup
===> module
"Makefile", line 17: Malformed conditional (${OSVERSION} > 500011)
"Makefile", line 17: Need an operator
"Makefile", line 19: if-less endif
"Makefile", line 19: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365.

Bu the make setup is option i think.

phobos# kldload nvidia
Jul 18 07:03:17 phobos kernel: nvidia0: <GeForce2 MX/MX 400> mem 0xd0000000-0xd7ffffff,0xde000000-0xdeffffff irq 4 at device 0.0 on pci1
# kldstat
Id Refs Address Size Name
1 3 0xc0400000 65a558 kernel
2 1 0xc4711000 187000 nvidia.ko
phobos# kldunload nvidia
Jul 18 07:04:09 phobos kernel: nvidia0: detached
phobos# kldstat
Id Refs Address Size Name
1 1 0xc0400000 65a558 kernel
phobos#

All fine till here (except for the make setup).
I setup X and gnome and it works fine with the default nv driver. When I switch to the nvidia driver my XFreeConfig is equal to the default one, I only change the nv driver to nvidia and i take out dri, record and xtrap from the Secton "Module".
Here is the sections:
Section "Module"
Load "dbe"
Load "extmod"
Load "glx"
Load "speedo"
Load "freetype"
Load "type1"
EndSection

Section "Device"
Option "NvAGP" "1"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV11 [GeForce2 MX/MX 400]"
BusID "PCI:1:0:0"
EndSection

The rest of the config is the default.
When I startx I don't see any output it just leads me to a screen full of crazy characters and symbols and I can't get out (Ctrl^c, ctrl+alt+backspace) until it shuts down the machine. It seems like there is some sort of problem somewhere and I can't find it. I had this machine as my freebsd desktop with freebsd 5.2.1-releasep9 for almost a month and it worked just fine with nvidia driver but then i had to reinstall everything coz i only had 6GB space for freebsd and I installed everything in a new disk. I have more than one freebsd desktop and they all run with nvidia driver, never had a problem and now this is bugging me like hell!

If anyone knows anything on this please post.

System info:

phobos# uname -a
FreeBSD phobos 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Sun Jul 18 05:43:12 GMT 2004 alex@phobos:/usr/obj/usr/src/sys/phobos i386
phobos#

nvidia driver:

nvidia-driver-1.0.4365_2 NVidia graphics card binary drivers for hardware OpenGL ren

Kernel Options:

device pcm
options COMPAT_LINUX
device agp

(I tried without this options as well)

BIOS settings:

PnP-OS Aware: NO
Primary Graphic Adapter: PCI
Allocate IRQ to PCI VGA: yes

dmesg errors:

(dont know if this is an error)
pci0: <PCI bus> on pcib0
pci_cfgintr: 0:2 INTD BIOS irq 11
pci_cfgintr: 0:2 INTA BIOS irq 5
pci_cfgintr: 0:2 INTC BIOS irq 11
pci_cfgintr: 0:2 INTC BIOS irq 11
pci_cfgintr: 0:3 INTA BIOS irq 5
pci_cfgintr: 0:9 INTA BIOS irq 5

AND

vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)

Graphic card:

AGP Geforce MX 400 64MB SDRAM
It has an onboard card but it's not being used.

Thanks for your help and thanks for reading my thread!

cheers

PS: For the sake of hard trying I edited the Makefile from the modules area and fixed the condition. But the problem still persists!
nullpt 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 Responds to Reports of Kepler V-Sync Stuttering Issue Rieper NVIDIA GeForce 600 Series 13 03-03-13 10:56 PM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
Current NVIDIA FreeBSD graphics driver releases zander NVIDIA FreeBSD 0 01-27-09 05:22 PM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM
nvidia + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-01-02 11:58 PM

All times are GMT -5. The time now is 08:40 AM.


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