PDA

View Full Version : Can install NVIDIA Driver into PCBSD


gnutux
01-20-2006, 08:26 PM
Hey all,

I just installed PCBSD into my main system but I can compile the driver.

PCBSD# make install
===> src (install)
"/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree"
*** Error code 1

Stop in /home/******/unzipped/NVIDIA-FreeBSD-x86-1.0-8178.
PCBSD# make
===> src (all)
"/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree"
*** Error code 1

gnutux

Solarin
01-20-2006, 08:47 PM
http://www.pbidir.com/packages.php?code=140

This compilation error however seems to indicate that you haven't installed the FreeBSD source tree onto your machine.

To do this easily simply go to the System tool (KMenu -> Computer -> PC-BSD Settings -> System) and select 'Fetch System Source' from the 'Tasks' tab.

gnutux
01-20-2006, 09:14 PM
thanks ;)

Also, I can't get my monitor to 1280x1024, which my monitor supports and recommends that resolution...

gnutux

Solarin
01-20-2006, 10:22 PM
If you edit your /etc/X11/XF86Config file, make your 'Monitor' section look like this:

Section "Monitor"
Identifier "Monitor0"
Option "DPMS"
EndSection

This should work on any modern monitor, however it may not work on some strange configurations. If it works you'll be able to change your resolution and refresh rate from KDE (Right click desktop -> Configure Desktop -> Display). If this fails you'll have to manually add your monitor details to this file.

As a note, the 'DPMS' setting allows power management on your monitor, you don't need it.

TerryP
01-20-2006, 11:56 PM
No idea why - agasnt general opinion. I was able to change my system using xorgcfg -textmode and edited "screen" in the text gui from the command line, and enabled up to 1600x1200 (my sysmax) and rebooted, KDE started in 16k x 12k px with the highest supported refreash rate and also enabled the other modes by just changing them in KDE's control center. In case it might help

gnutux
01-22-2006, 11:08 PM
my monitor still forces me to use 1024x768. I using my SuSE Linux settings


# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder24.nvidia.com) Tue Nov 22 19:14:43 PST 2005

# /.../
# SaX generated X11 config file
# Created on: 2006-01-21T10:17:41-0500.
#
# Version: 7.1
# Contact: Marcus Schaefer <sax@suse.de>, 2002
#
# Automatically generated by [ISaX] (7.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "ServerLayout"
Identifier "Layout[all]"
Screen "Screen[0]" 0 0
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
InputDevice "Keyboard[2]" "ExtraKeyboard"
InputDevice "Mouse[3]" "ExtraPointer"
Option "Clone" "off"
Option "VNC" "3 2"
Option "Xinerama" "off"
EndSection

Section "Files"
InputDevices "/dev/ttyS0"
InputDevices "/dev/ttyS1"
InputDevices "/dev/ttyS2"
InputDevices "/dev/ttyS3"
InputDevices "/dev/ttyS4"
InputDevices "/dev/ttyS5"
InputDevices "/dev/ttyS6"
InputDevices "/dev/ttyS7"
InputDevices "/dev/ttyS8"
InputDevices "/dev/psaux"
InputDevices "/dev/logibm"
InputDevices "/dev/sunmouse"
InputDevices "/dev/atibm"
InputDevices "/dev/amigamouse"
InputDevices "/dev/atarimouse"
InputDevices "/dev/inportbm"
InputDevices "/dev/gpmdata"
InputDevices "/dev/mouse"
InputDevices "/dev/usbmouse"
InputDevices "/dev/adbmouse"
InputDevices "/dev/input/mice"
InputDevices "/dev/input/event0"
InputDevices "/dev/pointer0"
InputDevices "/dev/pointer1"
InputDevices "/dev/pointer2"
InputDevices "/dev/pointer3"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/local"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/URW"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/kwintv"
FontPath "/usr/X11R6/lib/X11/fonts/truetype"
FontPath "/usr/X11R6/lib/X11/fonts/uni:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/xtest"
FontPath "/opt/kde3/share/fonts"
EndSection

Section "Module"
Load "dbe"
Load "type1"
Load "freetype"
Load "extmod"
Load "glx"
Load "v4l"
Load "vnc"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail"
EndSection

Section "InputDevice"
Identifier "Keyboard[0]"
Driver "kbd"
Option "Protocol" "Standard"
Option "XkbLayout" "us"
Option "XkbModel" "pc104"
Option "XkbRules" "xfree86"
EndSection

Section "InputDevice"
Identifier "Mouse[1]"
Driver "mouse"
Option "Buttons" "5"
Option "Device" "/dev/input/mice"
Option "Name" "Logitech Optical Mouse"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Keyboard[2]"
Driver "rfbkeyb"
Option "InputFashion" "VNC"
EndSection

Section "InputDevice"
Identifier "Mouse[3]"
Driver "rfbmouse"
Option "InputFashion" "VNC"
EndSection

Section "Modes"
Identifier "Modes[0]"
ModeLine "1280x1024" 134.7 1280 1368 1504 1728 1024 1025 1028 1068
ModeLine "1280x960" 126.3 1280 1368 1504 1728 960 961 964 1001
ModeLine "1280x960" 107.3 1280 1360 1496 1712 960 961 964 995
ModeLine "1280x800" 104.3 1280 1360 1496 1712 800 801 804 835
ModeLine "1280x800" 88.7 1280 1352 1488 1696 800 801 804 830
ModeLine "1152x864" 102.1 1152 1224 1352 1552 864 865 868 901
ModeLine "1152x864" 86.7 1152 1224 1344 1536 864 865 868 896
ModeLine "1280x768" 99.2 1280 1352 1488 1696 768 769 772 801
ModeLine "1280x768" 84.3 1280 1344 1480 1680 768 769 772 797
ModeLine "1024x768" 79.5 1024 1080 1192 1360 768 769 772 801
ModeLine "1024x768" 67.5 1024 1080 1184 1344 768 769 772 797
ModeLine "800x600" 47.5 800 840 920 1040 600 601 604 626
ModeLine "800x600" 40.2 800 832 912 1024 600 601 604 623
ModeLine "768x576" 43.5 768 800 880 992 576 577 580 601
ModeLine "768x576" 37.4 768 800 880 992 576 577 580 598
ModeLine "640x480" 29.8 640 664 728 816 480 481 484 501
ModeLine "640x480" 25.1 640 656 720 800 480 481 484 498
EndSection

Section "Monitor"
Identifier "Monitor[0]"
VendorName "GSM"
ModelName "LG ELECTRONICS L1715S"
UseModes "Modes[0]"
DisplaySize 340 270
HorizSync 30.0 - 83.0
VertRefresh 43.0 - 75.0
Option "DPMS"
EndSection

Section "Device"

#Option "NvAGP" "2"
#Option "NvAGP" "0"
#Option "NvAGP" "3"
#Option "NvAGP" "1"
Identifier "Device[0]"
Driver "nvidia"
VendorName "NVidia"
BoardName "GeForce 6600 GT (0x00F2)"
EndSection

Section "Screen"
Identifier "Screen[0]"
Device "Device[0]"
Monitor "Monitor[0]"
DefaultDepth 24
Option "usevnc" "yes"
Option "rfbauth" "/root/.vnc/passwd"
SubSection "Display"
Depth 15
Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480"
EndSubSection
EndSection


gnutux