OK
so I have been messing around with the new Vector 7.0 alpha and wanted to install the nvidia driver and see if it would work.
my video card and cpu are as follows
Code:
root:# lshw
PCI (sysfs)
vector.linux.net
description: Desktop Computer
width: 32 bits
capabilities: smbios-2.2 dmi-2.2 smp
configuration: boot=normal chassis=desktop uuid=00000000-0000-0000-0000-00508D633135
*-core
description: Motherboard
product: NF7-S/NF7,NF7-V (nVidia-nForce2)
vendor: http://www.abit.com.tw/
physical id: 0
version: 2.X,1.0
*-firmware
description: BIOS
vendor: Phoenix Technologies, LTD
physical id: 0
version: 6.00 PG (07/06/2004)
size: 128KiB
capacity: 448KiB
capabilities: isa pci pnp apm upgrade shadowing escd cdboot bootselect socketedrom edd int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb agp ls120boot zipboot
*-cpu
description: CPU
product: AMD Athlon(tm) XP 2400+
vendor: Advanced Micro Devices [AMD]
physical id: 4
bus info: cpu@0
version: 6.8.1
slot: Socket A
size: 1980MHz
capacity: 3GHz
width: 32 bits
clock: 133MHz
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow up cpufreq
*-cache:0
description: L1 cache
physical id: 9
slot: Internal Cache
size: 128KiB
capacity: 128KiB
capabilities: synchronous internal write-back
*-cache:1
description: L2 cache
physical id: a
slot: External Cache
size: 256KiB
capacity: 256KiB
capabilities: synchronous external write-back
*-memory
description: System Memory
physical id: 1b
slot: System board or motherboard
size: 768MiB
capacity: 1536MiB
*-bank:0
description: DIMM [empty]
physical id: 0
slot: A0
*-bank:1
description: DIMM
physical id: 1
slot: A1
size: 512MiB
*-bank:2
description: DIMM
physical id: 2
slot: A2
size: 256MiB
*-pci
description: Host bridge
product: nForce2 AGP (different version?)
vendor: nVidia Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: c1
width: 32 bits
clock: 66MHz
configuration: driver=agpgart-nvidia
resources: irq:0 memory:e8000000-ebffffff(prefetchable)
*-memory:0 UNCLAIMED
description: RAM memory
product: nForce2 Memory Controller 1
vendor: nVidia Corporation
physical id: 0.1
bus info: pci@0000:00:00.1
version: c1
width: 32 bits
clock: 66MHz (15.2ns)
configuration: latency=0
*-memory:1 UNCLAIMED
description: RAM memory
product: nForce2 Memory Controller 4
vendor: nVidia Corporation
physical id: 0.2
bus info: pci@0000:00:00.2
version: c1
width: 32 bits
clock: 66MHz (15.2ns)
configuration: latency=0
*-memory:2 UNCLAIMED
description: RAM memory
product: nForce2 Memory Controller 3
vendor: nVidia Corporation
physical id: 0.3
bus info: pci@0000:00:00.3
version: c1
width: 32 bits
clock: 66MHz (15.2ns)
configuration: latency=0
*-memory:3 UNCLAIMED
description: RAM memory
product: nForce2 Memory Controller 2
vendor: nVidia Corporation
physical id: 0.4
bus info: pci@0000:00:00.4
version: c1
width: 32 bits
clock: 66MHz (15.2ns)
configuration: latency=0
*-memory:4 UNCLAIMED
description: RAM memory
product: nForce2 Memory Controller 5
vendor: nVidia Corporation
physical id: 0.5
bus info: pci@0000:00:00.5
version: c1
width: 32 bits
clock: 66MHz (15.2ns)
configuration: latency=0
*-isa
description: ISA bridge
product: nForce2 ISA Bridge
vendor: nVidia Corporation
physical id: 1
bus info: pci@0000:00:01.0
version: a4
width: 32 bits
clock: 66MHz
capabilities: isa ht bus_master cap_list
configuration: latency=0
*-serial
description: SMBus
product: nForce2 SMBus (MCP)
vendor: nVidia Corporation
physical id: 1.1
bus info: pci@0000:00:01.1
version: a2
width: 32 bits
clock: 66MHz
capabilities: pm cap_list
configuration: driver=nForce2_smbus latency=0 maxlatency=1 mingnt=3
resources: irq:11 ioport:e400(size=32)
*-usb:0
description: USB Controller
product: nForce2 USB Controller
vendor: nVidia Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: a4
width: 32 bits
clock: 66MHz
capabilities: pm ohci bus_master cap_list
configuration: driver=ohci_hcd latency=0 maxlatency=1 mingnt=3
resources: irq:21 memory:ef003000-ef003fff
*-usbhost
product: OHCI Host Controller
vendor: Linux 2.6.33.4-smp ohci_hcd
physical id: 1
bus info: usb@2
logical name: usb2
version: 2.06
capabilities: usb-1.10
configuration: driver=hub slots=3 speed=12.0MB/s
*-usb:1
description: USB Controller
product: nForce2 USB Controller
vendor: nVidia Corporation
physical id: 2.1
bus info: pci@0000:00:02.1
version: a4
width: 32 bits
clock: 66MHz
capabilities: pm ohci bus_master cap_list
configuration: driver=ohci_hcd latency=0 maxlatency=1 mingnt=3
resources: irq:20 memory:ef004000-ef004fff
*-usbhost
product: OHCI Host Controller
vendor: Linux 2.6.33.4-smp ohci_hcd
physical id: 1
bus info: usb@3
logical name: usb3
version: 2.06
capabilities: usb-1.10
configuration: driver=hub slots=3 speed=12.0MB/s
*-usb:2
description: USB Controller
product: nForce2 USB Controller
vendor: nVidia Corporation
physical id: 2.2
bus info: pci@0000:00:02.2
version: a4
width: 32 bits
clock: 66MHz
capabilities: debug pm ehci bus_master cap_list
configuration: driver=ehci_hcd latency=0 maxlatency=1 mingnt=3
resources: irq:22 memory:ef005000-ef0050ff
*-usbhost
product: EHCI Host Controller
vendor: Linux 2.6.33.4-smp ehci_hcd
physical id: 1
bus info: usb@1
logical name: usb1
version: 2.06
capabilities: usb-2.00
configuration: driver=hub slots=6 speed=480.0MB/s
*-network
description: Ethernet interface
product: nForce2 Ethernet Controller
vendor: nVidia Corporation
physical id: 4
bus info: pci@0000:00:04.0
logical name: eth0
version: a1
serial: 00:50:8d:63:31:35
size: 100MB/s
capacity: 100MB/s
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=forcedeth driverversion=0.64 duplex=full ip=192.168.1.100 latency=0 link=yes maxlatency=20 mingnt=1 multicast=yes port=MII speed=100MB/s
resources: irq:22 memory:ef000000-ef000fff ioport:d000(size=8)
*-multimedia
description: Multimedia audio controller
product: nForce2 AC97 Audio Controler (MCP)
vendor: nVidia Corporation
physical id: 6
bus info: pci@0000:00:06.0
version: a1
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: driver=Intel ICH latency=0 maxlatency=5 mingnt=2
resources: irq:21 ioport:d400(size=256) ioport:d800(size=128) memory:ef001000-ef001fff
*-pci:0
description: PCI bridge
product: nForce2 External PCI Bridge
vendor: nVidia Corporation
physical id: 8
bus info: pci@0000:00:08.0
version: a3
width: 32 bits
clock: 66MHz
capabilities: pci normal_decode bus_master
resources: ioport:c000(size=4096) memory:ee000000-eeffffff
*-communication UNCLAIMED
description: Communication controller
product: HCF 56k Data/Fax Modem
vendor: Rockwell International
physical id: 7
bus info: pci@0000:01:07.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: latency=32
resources: memory:ee000000-ee00ffff ioport:c000(size=8)
*-ide
description: IDE interface
product: nForce2 IDE
vendor: nVidia Corporation
physical id: 9
bus info: pci@0000:00:09.0
logical name: scsi2
logical name: scsi3
version: a2
width: 32 bits
clock: 66MHz
capabilities: ide pm bus_master cap_list emulated
configuration: driver=pata_amd latency=0 maxlatency=1 mingnt=3
resources: irq:0 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:f000(size=16)
*-pci:1
description: PCI bridge
product: nForce2 AGP
vendor: nVidia Corporation
physical id: 1e
bus info: pci@0000:00:1e.0
version: c1
width: 32 bits
clock: 66MHz
capabilities: pci normal_decode bus_master
resources: memory:ec000000-edffffff memory:e0000000-e7ffffff(prefetchable)
*-display
description: VGA compatible controller
product: NV18 [GeForce4 MX 4000 AGP 8x]
vendor: nVidia Corporation
physical id: 0
bus info: pci@0000:02:00.0
version: c1
width: 32 bits
clock: 66MHz
capabilities: pm agp agp-3.0 vga bus_master cap_list rom
configuration: driver=nvidia latency=32 maxlatency=1 mingnt=5
resources: irq:19 memory:ec000000-ecffffff memory:e0000000-e7ffffff(prefetchable) memory:ed000000-ed01ffff(prefetchable)
the driver I downloaded is
NVIDIA-Linux-x86-96.43.18-pkg1.run
I used the parameter ./NVIDIA-Linux-x86-96.43.18-pkg1.run --no-cc-version-check
because it said something about gcc 4.3 and 4.4
driver installed correctly, etc and I did nvidia-xconfig
which made this xorg.conf
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Tue Jul 13 13:31:50 PDT 2010
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
after rebooting, etc X would not load, heres xorg.log
Code:
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Slackware 13.1 Slackware Linux Project
Current Operating System: Linux vector.Linux.net 2.6.33.4-smp #2 SMP Tue Jul 20 18:52:39 PDT 2010 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.33.4 root=/dev/sda7 ro vga=791 splash=verbose 3
Build Date: 27 May 2010 11:49:33PM
Current version of pixman: 0.16.6
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Oct 29 13:51:05 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "Monitor0"
(**) | |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/local" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/OTF" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/CID" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/local" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/OTF" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/CID" does not exist.
Entry deleted from font path.
(**) FontPath set to:
/usr/share/fonts/TTF,
/usr/share/fonts/Type1,
/usr/share/fonts/misc,
/usr/share/fonts/75dpi/:unscaled,
/usr/share/fonts/100dpi/:unscaled,
/usr/share/fonts/75dpi,
/usr/share/fonts/100dpi,
/usr/share/fonts/cyrillic,
/usr/share/fonts/TTF,
/usr/share/fonts/Type1,
/usr/share/fonts/misc,
/usr/share/fonts/75dpi/:unscaled,
/usr/share/fonts/100dpi/:unscaled,
/usr/share/fonts/75dpi,
/usr/share/fonts/100dpi,
/usr/share/fonts/cyrillic
(**) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loader magic: 0x823bf20
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(--) using VT number 7
(--) PCI:*(0:2:0:0) 10de:0185:3842:a093 nVidia Corporation NV18 [GeForce4 MX 4000 AGP 8x] rev 193, Mem @ 0xec000000/16777216, 0xe0000000/134217728, BIOS @ 0x????????/131072
(II) Open ACPI successful (/var/run/acpid.socket)
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded by default.
(II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Server Extension
(II) NVIDIA GLX Module 96.43.18 Tue Jul 13 13:31:40 PDT 2010
(II) Loading extension GLX
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver 96.43.18 Tue Jul 13 13:20:14 PDT 2010
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 02@00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Enabling RENDER acceleration
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) NVIDIA(0): enabled.
(II) NVIDIA(0): NVIDIA GPU GeForce4 MX 4000 at PCI:2:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 65536 kBytes
(--) NVIDIA(0): VideoBIOS: 04.18.20.39.02
(II) NVIDIA(0): Detected AGP rate: 8X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce4 MX 4000 at PCI:2:0:0:
(--) NVIDIA(0): DCLCD DCL9C (CRT-0)
(--) NVIDIA(0): DCLCD DCL9C (CRT-0): 350.0 MHz maximum pixel clock
(II) NVIDIA(0): Assigned Display Device: CRT-0
(WW) NVIDIA(0):
(WW) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
(WW) NVIDIA(0): will be used as the requested mode.
(WW) NVIDIA(0):
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0): "nvidia-auto-select"
(II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(--) NVIDIA(0): DPI set to (90, 89); computed from "UseEdidDpi" X config
(--) NVIDIA(0): option
(--) Depth 24 pixmap format is 32 bpp
(II) NVIDIA(0): Initialized GART.
(EE) NVIDIA(0): Failed to allocate/map the primary surface!
Fatal server error:
AddScreen/ScreenInit failed for driver 0
(EE) NVIDIA(0): Failed to allocate/map the primary surface!
thats only error I really see but what does that mean??
heres the xorg.conf generated by "X -configure"
Code:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/cyrillic"
EndSection
Section "Module"
Load "dri"
Load "dbe"
Load "extmod"
Load "glx"
Load "dri2"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
#DisplaySize 360 290 # mm
Identifier "Monitor0"
VendorName "DCL"
ModelName "DCLCD DCL9C"
HorizSync 30.0 - 81.0
VertRefresh 40.0 - 76.0
Option "DPMS"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
#Option "FPScale" # [<bool>]
#Option "FPTweak" # <i>
#Option "DualHead" # [<bool>]
Identifier "Card0"
Driver "nv"
VendorName "nVidia Corporation"
BoardName "NV18 [GeForce4 MX 4000 AGP 8x]"
BusID "PCI:2:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
the only real differences I see in the two xorg.confs is
nvidia-xconfig= Driver "nvidia"
X -configure= Driver "nv"
any help appreciated!!
thanks