View Single Post
Old 07-22-10, 08:43 PM   #5
mdriftmeyer
Registered User
 
Join Date: Feb 2009
Posts: 40
Default Re: successfully install driver,but can't start X,help!!

Quote:
Originally Posted by ayaka View Post
I use GNU/Linux Ubuntu x64 10.04 desktop,Quadro FX380.
I'm sure I have remove nvidia-glx package and install build-essential
,pkg-config and xserver-xorg-dev .
I sure sudo sh NV[Tab] -k $(uname -r) to install it.It said completed and successfully.
But when I start gdm ,it said X can't load to load nvidia.ko
((EE) failed to load nvidia.ko)
I try to remove xserver-xorg-video-nouveau and add it into /etc/modprobe/black.list.
But it is useless.
How can I fix it.

P.S I have install DKMS.
My English is not very well,please forgive me any unimplite
Please attach your xorg.conf file.

Secondly, dkms manages the nvidia kernel module for you.

Thirdly, this is your Ubuntu Nvidia Driver that has the proprietary driver:

http://ubuntu.osuosl.org/ubuntu/pool...ntu2_amd64.deb

Here is the control file contents:

Quote:
Package: nvidia-current
Source: nvidia-graphics-drivers
Version: 256.35-0ubuntu2
Architecture: amd64
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Installed-Size: 125124
Depends: x11-common (>= 1:7.0.0), make, sed (>> 3.0), dkms, linux-libc-dev, libc6-dev, linux-headers-generic | linux-headers, patch, acpid, libc6 (>= 2.2.5), libgcc1 (>= 1:4.1.1), libx11-6, libxext6, libxv1, libxvmc1, zlib1g (>= 1:1.1.4)
Recommends: nvidia-settings
Provides: xserver-xorg-video-7
Section: restricted/misc
Priority: optional
Description: NVIDIA binary Xorg driver, kernel module and VDPAU library
The binary driver provide optimized hardware acceleration of OpenGL
applications via a direct-rendering X Server. AGP, PCIe, SLI, TV-out
and flat panel displays are also supported.
.
This package also includes the source for building the kernel module
required by the Xorg driver, and provides NVIDIA's implementation of
the Video Decode and presentation API. The latter enables acceleration
for NVIDIA 8 and later series cards for h264 video.
.
GPUs such as GeForce series 6 or newer are supported.
.
See /usr/share/doc/nvidia-current/README.txt.gz for a complete list
of supported GPUs and PCIIDs
Unlike Debian, Ubuntu is pushing all the OpenCL, CUDA, GLX and VDPAU into one package:

nvidia-current.

Extracting the Tree includes the following:

Quote:
mdriftmeyer@horus:~/Temp/Ubuntu-Nvidia-ModAliases/usr/lib/nvidia-current$ ls -rlt
total 49544
-rw-r--r-- 1 mdriftmeyer mdriftmeyer 27 Jul 9 13:31 XvMCConfig
-rw-r--r-- 1 mdriftmeyer mdriftmeyer 28 Jul 9 13:31 modprobe.conf
-rw-r--r-- 1 mdriftmeyer mdriftmeyer 50 Jul 9 13:31 ld.so.conf
drwxr-xr-x 2 mdriftmeyer mdriftmeyer 4096 Jul 9 13:31 tls
-rw-r--r-- 1 mdriftmeyer mdriftmeyer 150624 Jul 9 13:31 libXvMCNVIDIA.so.256.35
-rw-r--r-- 1 mdriftmeyer mdriftmeyer 20968 Jul 9 13:31 libOpenCL.so.1.0.0
-rw-r--r-- 1 mdriftmeyer mdriftmeyer 295272 Jul 9 13:31 libnvidia-wfb.so.256.35
-rw-r--r-- 1 mdriftmeyer mdriftmeyer 5944 Jul 9 13:31 libnvidia-tls.so.256.35
-rw-r--r-- 1 mdriftmeyer mdriftmeyer 24998672 Jul 9 13:31 libnvidia-glcore.so.256.35
-rw-r--r-- 1 mdriftmeyer mdriftmeyer 15874032 Jul 9 13:31 libnvidia-compiler.so.256.35
-rw-r--r-- 1 mdriftmeyer mdriftmeyer 131576 Jul 9 13:31 libnvidia-cfg.so.256.35
-rw-r--r-- 1 mdriftmeyer mdriftmeyer 992328 Jul 9 13:31 libGL.so.256.35
-rw-r--r-- 1 mdriftmeyer mdriftmeyer 8134456 Jul 9 13:31 libcuda.so.256.35
drwxr-xr-x 2 mdriftmeyer mdriftmeyer 4096 Jul 9 13:31 bin
drwxr-xr-x 2 mdriftmeyer mdriftmeyer 4096 Jul 22 17:29 xorg
drwxr-xr-x 2 mdriftmeyer mdriftmeyer 4096 Jul 22 17:29 vdpau
lrwxrwxrwx 1 mdriftmeyer mdriftmeyer 23 Jul 22 17:29 libXvMCNVIDIA.so.1 -> libXvMCNVIDIA.so.256.35
lrwxrwxrwx 1 mdriftmeyer mdriftmeyer 23 Jul 22 17:29 libXvMCNVIDIA.so -> libXvMCNVIDIA.so.256.35
lrwxrwxrwx 1 mdriftmeyer mdriftmeyer 23 Jul 22 17:29 libXvMCNVIDIA_dynamic.so.1 -> libXvMCNVIDIA.so.256.35
lrwxrwxrwx 1 mdriftmeyer mdriftmeyer 18 Jul 22 17:29 libOpenCL.so.1.0 -> libOpenCL.so.1.0.0
lrwxrwxrwx 1 mdriftmeyer mdriftmeyer 16 Jul 22 17:29 libOpenCL.so.1 -> libOpenCL.so.1.0
lrwxrwxrwx 1 mdriftmeyer mdriftmeyer 14 Jul 22 17:29 libOpenCL.so -> libOpenCL.so.1
lrwxrwxrwx 1 mdriftmeyer mdriftmeyer 28 Jul 22 17:29 libnvidia-compiler.so.1 -> libnvidia-compiler.so.256.35
lrwxrwxrwx 1 mdriftmeyer mdriftmeyer 23 Jul 22 17:29 libnvidia-compiler.so -> libnvidia-compiler.so.1
lrwxrwxrwx 1 mdriftmeyer mdriftmeyer 23 Jul 22 17:29 libnvidia-cfg.so.1 -> libnvidia-cfg.so.256.35
lrwxrwxrwx 1 mdriftmeyer mdriftmeyer 18 Jul 22 17:29 libnvidia-cfg.so -> libnvidia-cfg.so.1
lrwxrwxrwx 1 mdriftmeyer mdriftmeyer 15 Jul 22 17:29 libGL.so.1 -> libGL.so.256.35
lrwxrwxrwx 1 mdriftmeyer mdriftmeyer 10 Jul 22 17:29 libGL.so -> libGL.so.1
lrwxrwxrwx 1 mdriftmeyer mdriftmeyer 17 Jul 22 17:29 libcuda.so.1 -> libcuda.so.256.35
lrwxrwxrwx 1 mdriftmeyer mdriftmeyer 17 Jul 22 17:29 libcuda.so -> libcuda.so.256.35
Here is your /bin and /xorg paths as well:
Quote:
mdriftmeyer@horus:~/Temp/Ubuntu-Nvidia-ModAliases/usr/lib/nvidia-current/bin$ ls
nvidia-bug-report.sh nvidia-smi nvidia-xconfig
mdriftmeyer@horus:~/Temp/Ubuntu-Nvidia-ModAliases/usr/lib/nvidia-current/bin$ cd ../xorg
mdriftmeyer@horus:~/Temp/Ubuntu-Nvidia-ModAliases/usr/lib/nvidia-current/xorg$ ls
libglx.so libglx.so.256.35 nvidia_drv.so
mdriftmeyer@horus:~/Temp/Ubuntu-Nvidia-ModAliases/usr/lib/nvidia-current/xorg$ ls -rhlt
total 9.2M
-rw-r--r-- 1 mdriftmeyer mdriftmeyer 5.2M Jul 9 13:31 nvidia_drv.so
-rw-r--r-- 1 mdriftmeyer mdriftmeyer 4.0M Jul 9 13:31 libglx.so.256.35
lrwxrwxrwx 1 mdriftmeyer mdriftmeyer 16 Jul 22 17:29 libglx.so -> libglx.so.256.35
mdriftmeyer@horus:~/Temp/Ubuntu-Nvidia-ModAliases/usr/lib/nvidia-current/xorg$
This driver depends on DKMS and should load the driver for you:

Here is my Debian Xorg.conf under /etc/X11/xorg.conf

Quote:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
# path to defoma fonts
FontPath "/usr/local/share/fonts"
FontPath "/usr/share/fonts/type1"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/100dpi:unscaled"
FontPath "/usr/share/fonts/X11/75dpi:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "i2c"
# Load "bitmap"
# Load "ddc"
# Load "extmod"
# Load "freetype"
# Load "glx"
# Load "int10"
# Load "dbe"
# Load "dri"
# Load "type1"
EndSection
# Dedicated "Extensions" section (may not be present already)
Section "Extensions"
Option "Composite" "enable"
EndSection

Section "InputDevice"
Identifier "Apple, Inc. Keyboard"
Driver "evdev"
Option "CoreKeyboard"
Option "SendCoreEvents" "true"
Option "Name" "Apple, Inc Apple Keyboard" # (cat /proc/bus/input/devices)
# Option "Device" "/dev/input/by-id/usb-Apple__Inc_Apple_Keyboard-event-kbd" # (cat /proc/bus/input/devices)
# Option "Device" "/dev/input/event2"
Option "Phys" "usb-0000:00:1d.7-3.2/input0"
Option "XkbRules" "xorg"
Option "XkbModel" "macintosh"
Option "XkbGeometry" "applepro"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "evdev"
Option "CorePointer"
Option "SendCoreEvents" "true"
Option "Name" "Logitech USB-PS/2 Optical Mouse" # (cat /proc/bus/input/devices)
# Option "Device" "/dev/input/by-id/usb-Logitech_USB-PS.2_Optical_Mouse-event-mouse"
# Option "Device" "/dev/input/event1"
Option "Phys" "usb-0000:00:1d.7-3.1/input0"
Option "Buttons" "3"
Option "Resolution" "1000"
Option "Emulate3Buttons" "false"
# Option "GrabDevice" "false"
EndSection

Section "Device"
Identifier "Nvidia 8600 GTS"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "gEfORCE 8600 GTS"
#BusID "PCI:0:2:0"
BusID "PCI:4:0:0"
VideoRam 262144
# Option "AperTexSize" "131,072"
# Option "XVideo" "true"
# Option "XAA" "true"
# Option "BackingStore" "true"
Option "AllowSHMPixmaps" "false"
# Option "AddARGBGLXVisuals" "True"
Option "FlatPanelProperties" "Scaling = DFP"
Option "ExactModTimingsDVI"
EndSection

Section "Monitor"
Identifier "LP2475w"
ModelName "Hewlett Packard HP LP2475w"
HorizSync 30.0 - 94.0
VertRefresh 48.0 - 85.0
Gamma 1.00 1.00 1.00 # created by KGamma
Option "DPMS"
Option "UseEdidDpi" "DFP-1"
Option "DPI" "109 x 109"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Nvidia 8600 GTS"
Monitor "LP2475w"
DefaultDepth 24
Option "CustomEDID" "DFP-1:/etc/X11/hp2475w-edid.bin"
Option "UseEDID" "True"
Option "TwinView" "0"
Option "metamodes" "1920x1200 +0+0; 1280x1024 +0+0; 1280x960 +0+0; 1152x864 +0+0; 1024x768 +0+0; 832x624 +0+0; 800x600 +0+0; 720x400 +0+0; 640x480 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Apple, Inc. Keyboard" "CoreKeyboard"
InputDevice "Configured Mouse" "CorePointer"
EndSection

Section "DRI"
Mode 0666
EndSection
mdriftmeyer is offline   Reply With Quote