preamble: background/my setup
I recently completed a Debian installation to try it out (30r1 cdroms). X wasn't working and no automatic tools seemed to fix my problem, so I set about installing the correct nvidia drivers.
The driver install needed to compile its own kernel interface but complained that the kernel source header files were not installed. I didn't know what this meant, but it didn't have the same problem with the 2.4.23 kernel source, so I rebuilt the kernel using 2.4.23 (was 2.2.20-idepci). My new kernel seems fine, and was basically the same config as the old one. I have NVIDIA chipset support or something like that built in to kernel, if this is relevant.
the problem:
The driver install went fine. I editted the XF86Config-4 file according to the instructions in the nvidia README. When I start X (4.2.1.1 i think) I see the nvidia logo then my GUI (windowmaker). I see the screen as expected in top left corner. On right hand side screen has a black 2 inch (5cm) strip. There is a grey 1cm thick horizontal stripe about 2/3 of the way down, all the way accross the screen. Beneath this strip, black on right hand side as before and on left, upper third of screen is repeated.
I have experimented with refresh frequencies etc, but no joy.
If anybody can help I'd be very grateful. Many thanks, reetep.
here is xf86config-4 /var/log/xfree86.0.log and kernel config.
# XFree86 4 configuration created by redhat-config-xfree86
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
# Load "dri"
EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
# Option "Device" "/dev/input/mice"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
# Option "Device" "/dev/input/mice"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Unprobed Monitor"
HorizSync 31.5 - 49
VertRefresh 10.0 - 60.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 (generic)"
VideoRam 32768
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
This is a pre-release version of XFree86, and is not supported in any
way. Bugs may be reported to
XFree86@XFree86.Org and patches submitted
to
fixes@XFree86.Org. Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(
http://www.XFree86.Org/cvs)
XFree86 Version 4.2.1.1 (Debian 4.2.1-15 20031230220653
root@cyberhq.internal.cyberhqz.com) / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 October 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See
http://www.XFree86.Org/)
Build Operating System: Linux 2.6.0 i686 [ELF]
Module Loader present
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/XFree86.0.log", Time: Sun Jan 4 21:51:33 2004
(==) Using config file: "/etc/X11/XF86Config-4"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "Monitor0"
(**) | |-->Device "Videocard0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc105"
(**) XKB: model: "pc105"
(**) Option "XkbLayout" "gb"
(**) XKB: layout: "gb"
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to "unix/:7100"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) using VT number 7
(WW) Open APM failed (/dev/apm_bios) (No such device)
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.1
XFree86 Video Driver: 0.5
XFree86 XInput driver : 0.3
XFree86 Server Extension : 0.1
XFree86 Font Renderer : 0.3
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
(II) Module bitmap: vendor="The XFree86 Project"
compiled for 4.2.1.1, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
Not loading .note.GNU-stack
(II) Module pcidata: vendor="The XFree86 Project"
compiled for 4.2.1.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,2560 card ffff,ffff rev 03 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,2561 card 0000,0000 rev 03 class 06,04,00 hdr 01
(II) PCI: 00:1d:0: chip 8086,24c2 card 1179,ff00 rev 02 class 0c,03,00 hdr 80
(II) PCI: 00:1d:1: chip 8086,24c4 card 1179,ff00 rev 02 class 0c,03,00 hdr 00
(II) PCI: 00:1d:2: chip 8086,24c7 card 1179,ff00 rev 02 class 0c,03,00 hdr 00
(II) PCI: 00:1d:7: chip 8086,24cd card 1179,ff00 rev 02 class 0c,03,20 hdr 00
(II) PCI: 00:1e:0: chip 8086,244e card 0000,0000 rev 82 class 06,04,00 hdr 01
(II) PCI: 00:1f:0: chip 8086,24c0 card 0000,0000 rev 02 class 06,01,00 hdr 80
(II) PCI: 00:1f:1: chip 8086,24cb card 1179,ff00 rev 02 class 01,01,8a hdr 00
(II) PCI: 00:1f:3: chip 8086,24c3 card 1179,ff00 rev 02 class 0c,05,00 hdr 00
(II) PCI: 00:1f:5: chip 8086,24c5 card 1179,ff00 rev 02 class 04,01,00 hdr 00
(II) PCI: 00:1f:6: chip 8086,24c6 card 1179,0001 rev 02 class 07,03,00 hdr 00
(II) PCI: 01:00:0: chip 10de,0174 card 1179,ff00 rev a3 class 03,00,00 hdr 00
(II) PCI: 02:00:0: chip 104c,8026 card 1179,ff00 rev 00 class 0c,00,10 hdr 00
(II) PCI: 02:01:0: chip 10ec,8139 card 1179,ff00 rev 10 class 02,00,00 hdr 00
(II) PCI: 02:04:0: chip 1217,6933 card 0001,0000 rev 01 class 06,07,00 hdr 82
(II) PCI: 02:04:1: chip 1217,6933 card 0001,0000 rev 01 class 06,07,00 hdr 82
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
Not loading .note.GNU-stack
(II) Module scanpci: vendor="The XFree86 Project"
compiled for 4.2.1.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) PCI-to-ISA bridge:
(II) PCI-to-PCI bridge:
(II) PCI-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x0c (VGA_EN is set)
(II) Bus 1 I/O range:
(II) Bus 1 non-prefetchable memory range:
[0] -1 0 0xd1000000 - 0xd1ffffff (0x1000000) MX[B]
(II) Bus 1 prefetchable memory range:
[0] -1 0 0xf0000000 - 0xf80fffff (0x8100000) MX[B]
(II) Bus 2: bridge is at (0:30:0), (0,2,2), BCTRL: 0x04 (VGA_EN is cleared)
(II) Bus 2 I/O range:
[0] -1 0 0x00003000 - 0x000030ff (0x100) IX[B]
[1] -1 0 0x00003400 - 0x000034ff (0x100) IX[B]
[2] -1 0 0x00003800 - 0x000038ff (0x100) IX[B]
[3] -1 0 0x00003c00 - 0x00003cff (0x100) IX[B]
(II) Bus 2 non-prefetchable memory range:
[0] -1 0 0xd2000000 - 0xd20fffff (0x100000) MX[B]
(II) Bus 2 prefetchable memory range:
(II) Bus -1: bridge is at (0:31:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus -1 I/O range:
(II) Bus -1 non-prefetchable memory range:
(II) Bus -1 prefetchable memory range:
(--) PCI:*(1:0:0) NVidia GeForce4 440 Go rev 163, Mem @ 0xd1000000/24, 0xf0000000/27, 0xf8000000/19
(II) Addressable bus resource ranges are
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
[1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[6] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) Active PCI resource ranges:
[0] -1 0 0xd2004800 - 0xd20048ff (0x100) MX[B]
[1] -1 0 0xd2000000 - 0xd2003fff (0x4000) MX[B]
[2] -1 0 0xd2004000 - 0xd20047ff (0x800) MX[B]
[3] -1 0 0xd0000800 - 0xd00008ff (0x100) MX[B]
[4] -1 0 0xd0000c00 - 0xd0000dff (0x200) MX[B]
[5] -1 0 0x20000000 - 0x200003ff (0x400) MX[B]
[6] -1 0 0xd0000000 - 0xd00003ff (0x400) MX[B]
[7] -1 0 0xe0000000 - 0xefffffff (0x10000000) MX[B]
[8] -1 0 0xf8000000 - 0xf807ffff (0x80000) MX[B](B)
[9] -1 0 0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
[10] -1 0 0xd1000000 - 0xd1ffffff (0x1000000) MX[B](B)
[11] -1 0 0x00003000 - 0x000030ff (0x100) IX[B]
[12] -1 0 0x00002000 - 0x0000207f (0x80) IX[B]
[13] -1 0 0x00002400 - 0x000024ff (0x100) IX[B]
[14] -1 0 0x000018c0 - 0x000018ff (0x40) IX[B]
[15] -1 0 0x00001c00 - 0x00001cff (0x100) IX[B]
[16] -1 0 0x00001880 - 0x0000189f (0x20) IX[B]
[17] -1 0 0x00001860 - 0x0000186f (0x10) IX[B]
[18] -1 0 0x00001840 - 0x0000185f (0x20) IX[B]
[19] -1 0 0x00001820 - 0x0000183f (0x20) IX[B]
[20] -1 0 0x00001800 - 0x0000181f (0x20) IX[B]
(II) Active PCI resource ranges after removing overlaps:
[0] -1 0 0xd2004800 - 0xd20048ff (0x100) MX[B]
[1] -1 0 0xd2000000 - 0xd2003fff (0x4000) MX[B]
[2] -1 0 0xd2004000 - 0xd20047ff (0x800) MX[B]
[3] -1 0 0xd0000800 - 0xd00008ff (0x100) MX[B]
[4] -1 0 0xd0000c00 - 0xd0000dff (0x200) MX[B]
[5] -1 0 0x20000000 - 0x200003ff (0x400) MX[B]
[6] -1 0 0xd0000000 - 0xd00003ff (0x400) MX[B]
[7] -1 0 0xe0000000 - 0xefffffff (0x10000000) MX[B]
[8] -1 0 0xf8000000 - 0xf807ffff (0x80000) MX[B](B)
[9] -1 0 0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
[10] -1 0 0xd1000000 - 0xd1ffffff (0x1000000) MX[B](B)
[11] -1 0 0x00003000 - 0x000030ff (0x100) IX[B]
[12] -1 0 0x00002000 - 0x0000207f (0x80) IX[B]
[13] -1 0 0x00002400 - 0x000024ff (0x100) IX[B]
[14] -1 0 0x000018c0 - 0x000018ff (0x40) IX[B]
[15] -1 0 0x00001c00 - 0x00001cff (0x100) IX[B]
[16] -1 0 0x00001880 - 0x0000189f (0x20) IX[B]
[17] -1 0 0x00001860 - 0x0000186f (0x10) IX[B]
[18] -1 0 0x00001840 - 0x0000185f (0x20) IX[B]
[19] -1 0 0x00001820 - 0x0000183f (0x20) IX[B]
[20] -1 0 0x00001800 - 0x0000181f (0x20) IX[B]
(II) OS-reported resource ranges after removing overlaps with PCI:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x1fffffff (0x1ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[6] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x1fffffff (0x1ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0xd2004800 - 0xd20048ff (0x100) MX[B]
[6] -1 0 0xd2000000 - 0xd2003fff (0x4000) MX[B]
[7] -1 0 0xd2004000 - 0xd20047ff (0x800) MX[B]
[8] -1 0 0xd0000800 - 0xd00008ff (0x100) MX[B]
[9] -1 0 0xd0000c00 - 0xd0000dff (0x200) MX[B]
[10] -1 0 0x20000000 - 0x200003ff (0x400) MX[B]
[11] -1 0 0xd0000000 - 0xd00003ff (0x400) MX[B]
[12] -1 0 0xe0000000 - 0xefffffff (0x10000000) MX[B]
[13] -1 0 0xf8000000 - 0xf807ffff (0x80000) MX[B](B)
[14] -1 0 0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
[15] -1 0 0xd1000000 - 0xd1ffffff (0x1000000) MX[B](B)
[16] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[17] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[18] -1 0 0x00003000 - 0x000030ff (0x100) IX[B]
[19] -1 0 0x00002000 - 0x0000207f (0x80) IX[B]
[20] -1 0 0x00002400 - 0x000024ff (0x100) IX[B]
[21] -1 0 0x000018c0 - 0x000018ff (0x40) IX[B]
[22] -1 0 0x00001c00 - 0x00001cff (0x100) IX[B]
[23] -1 0 0x00001880 - 0x0000189f (0x20) IX[B]
[24] -1 0 0x00001860 - 0x0000186f (0x10) IX[B]
[25] -1 0 0x00001840 - 0x0000185f (0x20) IX[B]
[26] -1 0 0x00001820 - 0x0000183f (0x20) IX[B]
[27] -1 0 0x00001800 - 0x0000181f (0x20) IX[B]
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
(II) Module dbe: vendor="The XFree86 Project"
compiled for 4.2.1.1, module version = 1.0.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
Not loading .note.GNU-stack
(II) Module extmod: vendor="The XFree86 Project"
compiled for 4.2.1.1, module version = 1.0.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS