Problems with setup Nvidia driver

You can't use pkg_add on the Nvidia driver. You'll have to use the port.

The port can't be packaged because of license issues.
 
SirDice said:
You can't use pkg_add on the Nvidia driver. You'll have to use the port.

The port can't be packaged because of license issues.

Im using pkg_add for download binaries not install nvidia driver...

You says me: cant use pkg_add, install for ports, i think, Why exists the nvidia .tar.gz?
 
Crabb said:
Im using pkg_add for download binaries not install nvidia driver...

You says me: cant use pkg_add, install for ports, i think, Why exists the nvidia .tar.gz?

Because that's the "source" the port uses.
 
Hi of new, add news.
I installed the nvidia driver this port x11/nvidia-driver
/boot/loader.conf
Code:
agp_load="YES"
nvidia_load="YES"
/etc/rc.conf
Code:
linux_enable="YES"
hald_enable="YES"
dbus_enable="YES"

/etc/X11/xorg.conf
http://pastebin.com/m1beca846
...

/var/log/
http://pastebin.com/m76f8a67d

Code:
kldload
kldload: cant load nvidia : File exists
kldload: cant load agp: File exists

In xorg, error.
Fatal screen not found
The version of driver installed 195.2x
The version of nvidia-xconfig and nvidia-settings is 195.30
Thanks for help
What I do?
Im compiled the driver with agp freebsd driver.
 
Add

Message error the startx.

Code:
NVIDIA: could not open the device file /dev/nvidiaactl (no such file or directory)
NVIDIA: Failed to inicializate the NVIDIA kernel module.
Please see the system's kernel log for additional error messages and consult the NVIDIA README for details.
Aborting
Screens found but none have a usable configuration
Fatal server error:
no screen found

I dont know, if the compiled is error for no stop?
 
FBSDin20Steps said:
Do you have xorg.conf in /etc/X11? Run # Xorg -configure
To tune your xorg.conf... You can install /usr/ports/x11/nvidia-xconfig.

...
I used #Xorg -configure this begin for use nv...
The nvidia-xconfig used in replace the xorg.conf for the nvidia tool... (Not error)
 
Ok, mmm for all...

No such files
/dev nvidiaX
/dev/atactl this files includes in x11/nvidia-driver
I dont know...
 
Crabb said:
Can you know read?...

nvidia_load="YES" in /boot/loader.conf

nvidia.ko is charged...

ECANTPARSE.

Looks like you need another version of nvidia-driver as 195.22 doesn't attach, check release notes for other versions to see if you card is supported.
 
crsd said:
ECANTPARSE.

Looks like you need another version of nvidia-driver as 195.22 doesn't attach, check release notes for other versions to see if you card is supported.

I try to install nvidia-driver-173, equal.

My card is Nvidia 7300 is supported since very time
 
Hi Crabb

You could try to build the x11/nvidia-driver without
linux compatibility support or if you need it check if
the prerequisites are met.

/usr/local/share/doc/NVIDIA_GLX-1.0/README
Chapter 5. or
http://us.download.nvidia.com/freebsd/190.53/README/chapter-05.html

To rebuild the driver without linux support
make deinstall, make config, make install ...

I had the same problem with a nvidia 7300 GT PCIe.
Building the driver without linux support did the trick.
 
Finish post, ready

I tried the option, compiling not linux binary, failed. I tried reinstall the FreeBSD and use standard-supfile for /src/, now work. Finish post, thansk for help...
Add:

If you deactive agp_load in /boot/loader.conf has it got sense? I compiled driver with freebsd agp gart support.... the nvidia _load only charged the module of nvidia not agp ...
 
Your kernel source tree was probably newer than your running kernel.
I had this problem running stable and current, always make sure to build and install the kernel from your tree.
 
[solved]

Sorry all, the nvidia-drivers is easy install, but, my brain not work fine in this time :stud

Code:
$ cd /usr/ports/x11/nvidia-driver && su
# echo "linux_enable="YES" >> /etc/rc.conf && make install clean
[Select to AGP_* in dmenu], [With STABLE sources kernel not work, downloaded current sources kernel (standard-supfile)]
Code:
# echo "nvidia_load="YES" >> /boot/loader.conf
Actually using FBSD8.0-amd64 the AGP module is activated default, dont need add agp_load="YES" into loader.conf

Add linprocfs to fstab

Code:
linproc  /compat/linux/proc linprocfs rw 0 0

Mount linprocfs and load nvidia.ko
Code:
# mount linproc && kldload nvidia

Generate a xorg.conf file and copy /root/xorg.conf.new into /etc/X11/{xorg.conf}
Code:
# cp /root/xorg.conf.new /etc/X11/xorg.conf

Add these lines in xorg.conf file

Code:
Section "Device"
Option "NvAGP" "2"
Driver "nvidia"
Now, you can use the nvidia-driver :D

Thanks all (This post is a zombie post, i havent got a pc since... 2009-2010 just)
 
If you don't use any linux applications (like linux-flashplayer for instance) you can remove the linux support. It's not necessary for the driver to work.
 
Back
Top