cfdd nvidia-driver failing on FreeBSD 9.0 (amd 64) - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old January 15th, 2012, 21:38
mu mu is offline
Junior Member
 
Join Date: Jan 2012
Posts: 7
Thanks: 3
Thanked 0 Times in 0 Posts
Default nvidia-driver failing on FreeBSD 9.0 (amd 64)

I have installed nvidia-driver, nvidia-xconfig and nvidia-settings following the advice on in this thread:

http://forums.freebsd.org/showthread.php?t=28851

Installation worked:

Code:
$ pkg_info | grep nvidia
nvidia-driver-290.10 NVidia graphics card binary drivers for hardware OpenGL ren
nvidia-settings-290.10 Display Control Panel for X NVidia driver
nvidia-xconfig-290.10 Tool to manipulate X configuration files for the NVidia dri
nvidia-xconfig was able to generate an xorg.conf. I don't know if the small amount of complaining it gave means anything:

Code:
# nvidia-xconfig
WARNING: Unable to locate/open X configuration file.
ps: Process environment requires procfs(5)
New X configuration file written to '/etc/X11/xorg.con
X fails to start giving:

Code:
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 15 14:24:45 2012
(==) Using config file: "/etc/X11/xorg.conf"
NVIDIA: could not open the device file /dev/nvidiactl (No such file or 
directory
).
(EE) Jan 15 14:24:47 NVIDIA(0): Failed to initialize the NVIDIA kernel 
module. P
lease see the
(EE) Jan 15 14:24:47 NVIDIA(0):     system's kernel log for additional 
error mes
sages and
(EE) Jan 15 14:24:47 NVIDIA(0):     consult the NVIDIA README for 
details.
(EE) NVIDIA(0):  *** Aborting ***
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional 
informati
on.

xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
I hope there is a suggestion out there. Thanks.
Reply With Quote
  #2  
Old January 16th, 2012, 08:41
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,844
Thanks: 48
Thanked 2,060 Times in 1,890 Posts
Default

It's complaining the kernel module isn't loaded.

# kldload nvidia

To automatically load it when the system boots, add to /boot/loader.conf:
Code:
nvidia_load="YES"
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
The Following User Says Thank You to SirDice For This Useful Post:
mu (January 16th, 2012)
  #3  
Old January 16th, 2012, 12:59
mu mu is offline
Junior Member
 
Join Date: Jan 2012
Posts: 7
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Perfect. Thank you.
Reply With Quote
  #4  
Old January 16th, 2012, 13:25
xibo xibo is offline
Member
 
Join Date: Dec 2010
Location: Germany
Posts: 301
Thanks: 16
Thanked 61 Times in 50 Posts
Default

loading the nvidia module on boot time has _side_effects_ though... at least over here (9.0-STABLE doesn't boot with it, and 9.0-PRERELEASE wasn't able to unload the module at runtime)
Reply With Quote
  #5  
Old January 16th, 2012, 13:37
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,844
Thanks: 48
Thanked 2,060 Times in 1,890 Posts
Default

Works fine here. Make sure you use a custom kernel without device agp.

Code:
dice@williscorto:~>uname -a
FreeBSD williscorto.dicelan.home 9.0-STABLE FreeBSD 9.0-STABLE #1: Sat Jan 14 00:21:42 CET 2012     root@molly.dicelan.home:/usr/obj/usr/src/sys/CORTO  amd64
dice@williscorto:~>dmesg | grep nvidia
nvidia0: <GeForce 7600 GT> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
dice@williscorto:~>
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
Reply

Thread Tools
Display Modes

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
[Solved] FreeBSD 9-STABLE hangs with nvidia-driver on Nvidia GT 555M mamalos Mobile Computing 18 September 23rd, 2012 13:37
Nvidia 190.53 Driver FreeBSD x86 marthyr System Hardware 4 December 23rd, 2009 00:12
nvidia driver on FreeBSD 8.0 Learning Mobile Computing 12 December 15th, 2009 11:56
[Solved] nVidia driver and FreebSD 8.0RC1 SPlissken X.Org 11 October 12th, 2009 19:03
AMD-64 and Nvidia. tiko FreeBSD Development 11 August 29th, 2009 03:35


All times are GMT +1. The time now is 03:26.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0