Bug 12637

Summary: No error but blank screen on a T61p (Quadro FX570M), (Quadro NVS 140M)
Product: xorg Reporter: Francois Fleuret <fleuret>
Component: Driver/nVidia (open)Assignee: Aaron Plattner <aplattner>
Status: CLOSED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: medium CC: elias.naur, hce, jnelson, niklas+freedesktop, se02
Version: 7.3 (2007.09)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
server log with nv driver after a reboot - screen blank and locked
none
server log with nv driver after the nvidia proprietary driver has been used - works OK
none
server log with the nvidia proprietary driver - works OK
none
strace -o X.trace -f startx
none
proposed fix
none
Xorg.log with Aaron's today patch none

Description Francois Fleuret 2007-10-01 01:58:06 UTC
Dear Maintainer,

On my thinkpad T61p, the nv driver starts without error nor warning,
but produces a blank screen. At that point nothing works (can not log
in "blind" nor kill the server with ctrl-alt-backspace) but the PC
still reboots with ctrl-alt-del. The vesa driver works fine.

I submitted the bug report to the debian package xserver-xorg-video-nv maintainer, and Brice Goglin suggested to submit it here. Here is his answer:

> You'll have to attach your xorg.conf and Xorg.0.log there, tell them
> that you're using nv driver 2.1.5 and Xserver version 1.4, and add that
> the above commit in 2.1.4 was supposed to make your board work but it
> does not.

I have no idea how to attach a file here, hence sorry for the cut-paste.

Best,

--
Francois

-- xorg.conf ---------------------------------------------------------
Section "Files"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
EndSection

Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "HorizScrollDelta"      "0"
EndSection

Section "Device"
        Identifier      "InternalCard"
        Driver          "nv"
        BusID           "PCI:1:0:0"
        Screen          0
EndSection

Section "Monitor"
        Identifier      "InternalMonitor"
        Option          "DPMS"
EndSection

Section "Screen"
        Identifier      "InternalScreen"
        Device          "InternalCard"
        Monitor         "InternalMonitor"
        DefaultDepth    24
        SubSection "Display"
                Modes           "1920x1200"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default"
        Screen          "InternalScreen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "Synaptics Touchpad"
EndSection

-- Xorg.0.log --------------------------------------------------------

X.Org X Server 1.4.0
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4-3)
Current Operating System: Linux kitten 2.6.22-2-686 #1 SMP Fri Aug 31 00:24:01 UTC 2007 i686
Build Date: 29 September 2007  04:19:41PM
 
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
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/Xorg.0.log", Time: Sun Sep 30 20:53:41 2007
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default"
(**) |-->Screen "InternalScreen" (0)
(**) |   |-->Monitor "InternalMonitor"
(**) |   |-->Device "InternalCard"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "Synaptics Touchpad"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
	Entry deleted from font path.
(WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
	Entry deleted from font path.
(==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi
(==) RgbPath set to "/etc/X11/rgb"
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x81d7b40
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.3
	X.Org Video Driver: 2.0
	X.Org XInput driver : 2.0
	X.Org Server Extension : 0.3
	X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/xorg/modules//libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
	compiled for 1.4.0, module version = 1.0.0
	ABI class: X.Org Video Driver, version 2.0
(++) using VT number 7

(WW) xf86OpenConsole: setpgid failed: Operation not permitted
(WW) xf86OpenConsole: setsid failed: Operation not permitted
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,2a00 card 17aa,20b1 rev 0c class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,2a01 card 0000,0000 rev 0c class 06,04,00 hdr 01
(II) PCI: 00:19:0: chip 8086,1049 card 17aa,20b9 rev 03 class 02,00,00 hdr 00
(II) PCI: 00:1a:0: chip 8086,2834 card 17aa,20aa rev 03 class 0c,03,00 hdr 80
(II) PCI: 00:1a:1: chip 8086,2835 card 17aa,20aa rev 03 class 0c,03,00 hdr 00
(II) PCI: 00:1a:7: chip 8086,283a card 17aa,20ab rev 03 class 0c,03,20 hdr 00
(II) PCI: 00:1b:0: chip 8086,284b card 17aa,20ac rev 03 class 04,03,00 hdr 00
(II) PCI: 00:1c:0: chip 8086,283f card 0000,0000 rev 03 class 06,04,00 hdr 81
(II) PCI: 00:1c:1: chip 8086,2841 card 0000,0000 rev 03 class 06,04,00 hdr 81
(II) PCI: 00:1c:2: chip 8086,2843 card 0000,0000 rev 03 class 06,04,00 hdr 81
(II) PCI: 00:1c:3: chip 8086,2845 card 0000,0000 rev 03 class 06,04,00 hdr 81
(II) PCI: 00:1c:4: chip 8086,2847 card 0000,0000 rev 03 class 06,04,00 hdr 81
(II) PCI: 00:1d:0: chip 8086,2830 card 17aa,20aa rev 03 class 0c,03,00 hdr 80
(II) PCI: 00:1d:1: chip 8086,2831 card 17aa,20aa rev 03 class 0c,03,00 hdr 00
(II) PCI: 00:1d:2: chip 8086,2832 card 17aa,20aa rev 03 class 0c,03,00 hdr 00
(II) PCI: 00:1d:7: chip 8086,2836 card 17aa,20ab rev 03 class 0c,03,20 hdr 00
(II) PCI: 00:1e:0: chip 8086,2448 card 0000,0000 rev f3 class 06,04,01 hdr 01
(II) PCI: 00:1f:0: chip 8086,2811 card 17aa,20b6 rev 03 class 06,01,00 hdr 80
(II) PCI: 00:1f:1: chip 8086,2850 card 17aa,20a6 rev 03 class 01,01,8a hdr 00
(II) PCI: 00:1f:2: chip 8086,2829 card 17aa,20a7 rev 03 class 01,06,01 hdr 00
(II) PCI: 00:1f:3: chip 8086,283e card 17aa,20a9 rev 03 class 0c,05,00 hdr 00
(II) PCI: 01:00:0: chip 10de,040c card 17aa,20d9 rev a1 class 03,00,00 hdr 00
(II) PCI: 03:00:0: chip 8086,4230 card 8086,1111 rev 61 class 02,80,00 hdr 00
(II) PCI: 15:00:0: chip 1180,0476 card 8000,0000 rev ba class 06,07,00 hdr 82
(II) PCI: 15:00:1: chip 1180,0832 card 17aa,20c7 rev 04 class 0c,00,10 hdr 80
(II) PCI: 15:00:2: chip 1180,0822 card 17aa,20c8 rev 21 class 08,05,00 hdr 80
(II) PCI: 15:00:3: chip 1180,0843 card 17aa,20c9 rev 11 class 08,80,00 hdr 80
(II) PCI: 15:00:4: chip 1180,0592 card 17aa,20ca rev 11 class 08,80,00 hdr 80
(II) PCI: 15:00:5: chip 1180,0852 card 17aa,20cb rev 11 class 08,80,00 hdr 80
(II) PCI: End of PCI scan
(II) Intel Bridge workaround enabled
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,22), BCTRL: 0x0008 (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) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x001a (VGA_EN is set)
(II) Bus 1 I/O range:
	[0] -1	0	0x00002000 - 0x00002fff (0x1000) IX[B]
(II) Bus 1 non-prefetchable memory range:
	[0] -1	0	0xd4000000 - 0xd6ffffff (0x3000000) MX[B]
(II) Bus 1 prefetchable memory range:
	[0] -1	0	0xe0000000 - 0xefffffff (0x10000000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 2: bridge is at (0:28:0), (0,2,2), BCTRL: 0x0004 (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	0xfc000000 - 0xfdffffff (0x2000000) MX[B]
(II) Bus 2 prefetchable memory range:
	[0] -1	0	0xf8000000 - 0xf80fffff (0x100000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 3: bridge is at (0:28:1), (0,3,3), BCTRL: 0x0004 (VGA_EN is cleared)
(II) Bus 3 I/O range:
	[0] -1	0	0x00004000 - 0x000040ff (0x100) IX[B]
	[1] -1	0	0x00004400 - 0x000044ff (0x100) IX[B]
	[2] -1	0	0x00004800 - 0x000048ff (0x100) IX[B]
	[3] -1	0	0x00004c00 - 0x00004cff (0x100) IX[B]
(II) Bus 3 non-prefetchable memory range:
	[0] -1	0	0xdc100000 - 0xdf2fffff (0x3200000) MX[B]
(II) Bus 3 prefetchable memory range:
	[0] -1	0	0xdfd00000 - 0xdfdfffff (0x100000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 4: bridge is at (0:28:2), (0,4,4), BCTRL: 0x0004 (VGA_EN is cleared)
(II) Bus 4 I/O range:
	[0] -1	0	0x00005000 - 0x000050ff (0x100) IX[B]
	[1] -1	0	0x00005400 - 0x000054ff (0x100) IX[B]
	[2] -1	0	0x00005800 - 0x000058ff (0x100) IX[B]
	[3] -1	0	0x00005c00 - 0x00005cff (0x100) IX[B]
(II) Bus 4 non-prefetchable memory range:
	[0] -1	0	0xd8000000 - 0xd9ffffff (0x2000000) MX[B]
(II) Bus 4 prefetchable memory range:
	[0] -1	0	0xdfa00000 - 0xdfafffff (0x100000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 5: bridge is at (0:28:3), (0,5,12), BCTRL: 0x0004 (VGA_EN is cleared)
(II) Bus 5 I/O range:
	[0] -1	0	0x00006000 - 0x000060ff (0x100) IX[B]
	[1] -1	0	0x00006400 - 0x000064ff (0x100) IX[B]
	[2] -1	0	0x00006800 - 0x000068ff (0x100) IX[B]
	[3] -1	0	0x00006c00 - 0x00006cff (0x100) IX[B]
(II) Bus 5 non-prefetchable memory range:
	[0] -1	0	0xd0000000 - 0xd1ffffff (0x2000000) MX[B]
(II) Bus 5 prefetchable memory range:
	[0] -1	0	0xdf700000 - 0xdf7fffff (0x100000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 13: bridge is at (0:28:4), (0,13,20), BCTRL: 0x0004 (VGA_EN is cleared)
(II) Bus 13 I/O range:
	[0] -1	0	0x00007000 - 0x000070ff (0x100) IX[B]
	[1] -1	0	0x00007400 - 0x000074ff (0x100) IX[B]
	[2] -1	0	0x00007800 - 0x000078ff (0x100) IX[B]
	[3] -1	0	0x00007c00 - 0x00007cff (0x100) IX[B]
(II) Bus 13 non-prefetchable memory range:
	[0] -1	0	0xcc000000 - 0xcdffffff (0x2000000) MX[B]
(II) Bus 13 prefetchable memory range:
	[0] -1	0	0xdf400000 - 0xdf4fffff (0x100000) MX[B]
(II) Subtractive PCI-to-PCI bridge:
(II) Bus 21: bridge is at (0:30:0), (0,21,24), BCTRL: 0x0000 (VGA_EN is cleared)
(II) Bus 21 I/O range:
	[0] -1	0	0x00008000 - 0x0000bfff (0x4000) IX[B]
(II) Bus 21 non-prefetchable memory range:
	[0] -1	0	0xf8100000 - 0xfbffffff (0x3f00000) MX[B]
(II) Bus 21 prefetchable memory range:
	[0] -1	0	0xf4000000 - 0xf7ffffff (0x4000000) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:31:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(II) PCI-to-CardBus bridge:
(II) Bus 22: bridge is at (21:0:0), (21,22,23), BCTRL: 0x0580 (VGA_EN is cleared)
(II) Bus 22 I/O range:
	[0] -1	0	0x00008000 - 0x000080ff (0x100) IX[B]
	[1] -1	0	0x00008400 - 0x000084ff (0x100) IX[B]
(II) Bus 22 prefetchable memory range:
	[0] -1	0	0xf4000000 - 0xf7ffffff (0x4000000) MX[B]
(--) PCI:*(1:0:0) nVidia Corporation Quadro FX 570M rev 161, Mem @ 0xd6000000/24, 0xe0000000/28, 0xd4000000/25, I/O @ 0x2000/7
(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	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[5] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
(II) Active PCI resource ranges:
	[0] -1	0	0xf8102400 - 0xf81024ff (0x100) MX[B]
	[1] -1	0	0xf8102000 - 0xf81020ff (0x100) MX[B]
	[2] -1	0	0xf8101c00 - 0xf8101cff (0x100) MX[B]
	[3] -1	0	0xf8101800 - 0xf81018ff (0x100) MX[B]
	[4] -1	0	0xf8101000 - 0xf81017ff (0x800) MX[B]
	[5] -1	0	0xdf2fe000 - 0xdf2fffff (0x2000) MX[B]
	[6] -1	0	0xfe227400 - 0xfe2274ff (0x100) MX[B]
	[7] -1	0	0xfe226000 - 0xfe2267ff (0x800) MX[B]
	[8] -1	0	0xfe227000 - 0xfe2273ff (0x400) MX[B]
	[9] -1	0	0xfe220000 - 0xfe223fff (0x4000) MX[B]
	[10] -1	0	0xfe226c00 - 0xfe226fff (0x400) MX[B]
	[11] -1	0	0xfe225000 - 0xfe225fff (0x1000) MX[B]
	[12] -1	0	0xfe200000 - 0xfe21ffff (0x20000) MX[B]
	[13] -1	0	0xd4000000 - 0xd5ffffff (0x2000000) MX[B](B)
	[14] -1	0	0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
	[15] -1	0	0xd6000000 - 0xd6ffffff (0x1000000) MX[B](B)
	[16] -1	0	0x00001c60 - 0x00001c7f (0x20) IX[B]
	[17] -1	0	0x00001c20 - 0x00001c3f (0x20) IX[B]
	[18] -1	0	0x00001c18 - 0x00001c1b (0x4) IX[B]
	[19] -1	0	0x00001c40 - 0x00001c47 (0x8) IX[B]
	[20] -1	0	0x00001c1c - 0x00001c1f (0x4) IX[B]
	[21] -1	0	0x00001c48 - 0x00001c4f (0x8) IX[B]
	[22] -1	0	0x00001830 - 0x0000183f (0x10) IX[B]
	[23] -1	0	0x000001f0 - 0x000001f0 (0x1) IX[B]
	[24] -1	0	0x000001f0 - 0x000001f7 (0x8) IX[B]
	[25] -1	0	0x000001f0 - 0x000001f0 (0x1) IX[B]
	[26] -1	0	0x000001f0 - 0x000001f7 (0x8) IX[B]
	[27] -1	0	0x000018e0 - 0x000018ff (0x20) IX[B]
	[28] -1	0	0x000018c0 - 0x000018df (0x20) IX[B]
	[29] -1	0	0x000018a0 - 0x000018bf (0x20) IX[B]
	[30] -1	0	0x00001880 - 0x0000189f (0x20) IX[B]
	[31] -1	0	0x00001860 - 0x0000187f (0x20) IX[B]
	[32] -1	0	0x00001840 - 0x0000185f (0x20) IX[B]
	[33] -1	0	0x00002000 - 0x0000207f (0x80) IX[B](B)
(II) Active PCI resource ranges after removing overlaps:
	[0] -1	0	0xf8102400 - 0xf81024ff (0x100) MX[B]
	[1] -1	0	0xf8102000 - 0xf81020ff (0x100) MX[B]
	[2] -1	0	0xf8101c00 - 0xf8101cff (0x100) MX[B]
	[3] -1	0	0xf8101800 - 0xf81018ff (0x100) MX[B]
	[4] -1	0	0xf8101000 - 0xf81017ff (0x800) MX[B]
	[5] -1	0	0xdf2fe000 - 0xdf2fffff (0x2000) MX[B]
	[6] -1	0	0xfe227400 - 0xfe2274ff (0x100) MX[B]
	[7] -1	0	0xfe226000 - 0xfe2267ff (0x800) MX[B]
	[8] -1	0	0xfe227000 - 0xfe2273ff (0x400) MX[B]
	[9] -1	0	0xfe220000 - 0xfe223fff (0x4000) MX[B]
	[10] -1	0	0xfe226c00 - 0xfe226fff (0x400) MX[B]
	[11] -1	0	0xfe225000 - 0xfe225fff (0x1000) MX[B]
	[12] -1	0	0xfe200000 - 0xfe21ffff (0x20000) MX[B]
	[13] -1	0	0xd4000000 - 0xd5ffffff (0x2000000) MX[B](B)
	[14] -1	0	0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
	[15] -1	0	0xd6000000 - 0xd6ffffff (0x1000000) MX[B](B)
	[16] -1	0	0x00001c60 - 0x00001c7f (0x20) IX[B]
	[17] -1	0	0x00001c20 - 0x00001c3f (0x20) IX[B]
	[18] -1	0	0x00001c18 - 0x00001c1b (0x4) IX[B]
	[19] -1	0	0x00001c40 - 0x00001c47 (0x8) IX[B]
	[20] -1	0	0x00001c1c - 0x00001c1f (0x4) IX[B]
	[21] -1	0	0x00001c48 - 0x00001c4f (0x8) IX[B]
	[22] -1	0	0x00001830 - 0x0000183f (0x10) IX[B]
	[23] -1	0	0x000001f0 - 0x000001f0 (0x1) IX[B]
	[24] -1	0	0x000001f0 - 0x000001f7 (0x8) IX[B]
	[25] -1	0	0x000001f0 - 0x000001f0 (0x1) IX[B]
	[26] -1	0	0x000001f0 - 0x000001f7 (0x8) IX[B]
	[27] -1	0	0x000018e0 - 0x000018ff (0x20) IX[B]
	[28] -1	0	0x000018c0 - 0x000018df (0x20) IX[B]
	[29] -1	0	0x000018a0 - 0x000018bf (0x20) IX[B]
	[30] -1	0	0x00001880 - 0x0000189f (0x20) IX[B]
	[31] -1	0	0x00001860 - 0x0000187f (0x20) IX[B]
	[32] -1	0	0x00001840 - 0x0000185f (0x20) IX[B]
	[33] -1	0	0x00002000 - 0x0000207f (0x80) IX[B](B)
(II) OS-reported resource ranges after removing overlaps with PCI:
	[0] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[5] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
	[0] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0xf8102400 - 0xf81024ff (0x100) MX[B]
	[5] -1	0	0xf8102000 - 0xf81020ff (0x100) MX[B]
	[6] -1	0	0xf8101c00 - 0xf8101cff (0x100) MX[B]
	[7] -1	0	0xf8101800 - 0xf81018ff (0x100) MX[B]
	[8] -1	0	0xf8101000 - 0xf81017ff (0x800) MX[B]
	[9] -1	0	0xdf2fe000 - 0xdf2fffff (0x2000) MX[B]
	[10] -1	0	0xfe227400 - 0xfe2274ff (0x100) MX[B]
	[11] -1	0	0xfe226000 - 0xfe2267ff (0x800) MX[B]
	[12] -1	0	0xfe227000 - 0xfe2273ff (0x400) MX[B]
	[13] -1	0	0xfe220000 - 0xfe223fff (0x4000) MX[B]
	[14] -1	0	0xfe226c00 - 0xfe226fff (0x400) MX[B]
	[15] -1	0	0xfe225000 - 0xfe225fff (0x1000) MX[B]
	[16] -1	0	0xfe200000 - 0xfe21ffff (0x20000) MX[B]
	[17] -1	0	0xd4000000 - 0xd5ffffff (0x2000000) MX[B](B)
	[18] -1	0	0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
	[19] -1	0	0xd6000000 - 0xd6ffffff (0x1000000) MX[B](B)
	[20] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[21] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[22] -1	0	0x00001c60 - 0x00001c7f (0x20) IX[B]
	[23] -1	0	0x00001c20 - 0x00001c3f (0x20) IX[B]
	[24] -1	0	0x00001c18 - 0x00001c1b (0x4) IX[B]
	[25] -1	0	0x00001c40 - 0x00001c47 (0x8) IX[B]
	[26] -1	0	0x00001c1c - 0x00001c1f (0x4) IX[B]
	[27] -1	0	0x00001c48 - 0x00001c4f (0x8) IX[B]
	[28] -1	0	0x00001830 - 0x0000183f (0x10) IX[B]
	[29] -1	0	0x000001f0 - 0x000001f0 (0x1) IX[B]
	[30] -1	0	0x000001f0 - 0x000001f7 (0x8) IX[B]
	[31] -1	0	0x000001f0 - 0x000001f0 (0x1) IX[B]
	[32] -1	0	0x000001f0 - 0x000001f7 (0x8) IX[B]
	[33] -1	0	0x000018e0 - 0x000018ff (0x20) IX[B]
	[34] -1	0	0x000018c0 - 0x000018df (0x20) IX[B]
	[35] -1	0	0x000018a0 - 0x000018bf (0x20) IX[B]
	[36] -1	0	0x00001880 - 0x0000189f (0x20) IX[B]
	[37] -1	0	0x00001860 - 0x0000187f (0x20) IX[B]
	[38] -1	0	0x00001840 - 0x0000185f (0x20) IX[B]
	[39] -1	0	0x00002000 - 0x0000207f (0x80) IX[B](B)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.4.0, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 0.3
(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
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.4.0, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 0.3
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
	compiled for 1.4.0, module version = 1.0.0
	ABI class: X.Org Server Extension, version 0.3
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "freetype"
(II) Loading /usr/lib/xorg/modules//fonts/libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
	compiled for 1.4.0, module version = 2.1.0
	Module class: X.Org Font Renderer
	ABI class: X.Org Font Renderer, version 0.5
(II) Loading font FreeType
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
	compiled for 1.4.0, module version = 1.13.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 0.3
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.4.0, module version = 1.0.0
	ABI class: X.Org Server Extension, version 0.3
(II) Loading extension XFree86-DRI
(II) LoadModule: "nv"
(II) Loading /usr/lib/xorg/modules/drivers//nv_drv.so
(II) Module nv: vendor="X.Org Foundation"
	compiled for 1.4.0, module version = 2.1.5
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 2.0
(II) LoadModule: "kbd"
(II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
	compiled for 1.4.0, module version = 1.2.2
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 2.0
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
	compiled for 1.4.0, module version = 1.2.2
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 2.0
(II) LoadModule: "synaptics"
(II) Loading /usr/lib/xorg/modules/input//synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
	compiled for 4.3.99.902, module version = 1.0.0
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 2.0
(II) NV: driver for NVIDIA chipsets: RIVA 128, RIVA TNT, RIVA TNT2,
	Unknown TNT2, Vanta, RIVA TNT2 Ultra, RIVA TNT2 Model 64,
	Aladdin TNT2, GeForce 256, GeForce DDR, Quadro, GeForce2 MX/MX 400,
	GeForce2 MX 100/200, GeForce2 Go, Quadro2 MXR/EX/Go,
	GeForce2 Integrated GPU, GeForce2 GTS, GeForce2 Ti, GeForce2 Ultra,
	Quadro2 Pro, GeForce4 MX 460, GeForce4 MX 440, GeForce4 MX 420,
	GeForce4 MX 440-SE, GeForce4 440 Go, GeForce4 420 Go,
	GeForce4 420 Go 32M, GeForce4 460 Go, Quadro4 550 XGL,
	GeForce4 440 Go 64M, Quadro NVS, Quadro4 500 GoGL,
	GeForce4 410 Go 16M, GeForce4 MX 440 with AGP8X,
	GeForce4 MX 440SE with AGP8X, GeForce4 MX 420 with AGP8X,
	GeForce4 MX 4000, GeForce4 448 Go, GeForce4 488 Go, Quadro4 580 XGL,
	Quadro4 NVS 280 SD, Quadro4 380 XGL, Quadro NVS 50 PCI,
	GeForce4 448 Go, GeForce4 MX Integrated GPU, GeForce3,
	GeForce3 Ti 200, GeForce3 Ti 500, Quadro DCC, GeForce4 Ti 4600,
	GeForce4 Ti 4400, GeForce4 Ti 4200, Quadro4 900 XGL, Quadro4 750 XGL,
	Quadro4 700 XGL, GeForce4 Ti 4800, GeForce4 Ti 4200 with AGP8X,
	GeForce4 Ti 4800 SE, GeForce4 4200 Go, Quadro4 700 GoGL,
	Quadro4 980 XGL, Quadro4 780 XGL, GeForce FX 5800 Ultra,
	GeForce FX 5800, Quadro FX 2000, Quadro FX 1000,
	GeForce FX 5600 Ultra, GeForce FX 5600, GeForce FX 5600XT,
	GeForce FX Go5600, GeForce FX Go5650, Quadro FX Go700,
	GeForce FX 5200, GeForce FX 5200 Ultra, GeForce FX 5200,
	GeForce FX 5200LE, GeForce FX Go5200, GeForce FX Go5250,
	GeForce FX 5500, GeForce FX 5100, GeForce FX Go5200 32M/64M,
	Quadro NVS 55/280 PCI, Quadro FX 500/600 PCI,
	GeForce FX Go53xx Series, GeForce FX Go5100, GeForce FX 5900 Ultra,
	GeForce FX 5900, GeForce FX 5900XT, GeForce FX 5950 Ultra,
	GeForce FX 5900ZT, Quadro FX 3000, Quadro FX 700,
	GeForce FX 5700 Ultra, GeForce FX 5700, GeForce FX 5700LE,
	GeForce FX 5700VE, GeForce FX Go5700, GeForce FX Go5700,
	Quadro FX Go1000, Quadro FX 1100, GeForce 6800 Ultra, GeForce 6800,
	GeForce 6800 LE, GeForce 6800 XE, GeForce 6800 XT, GeForce 6800 GT,
	GeForce 6800 GT, GeForce 6800 GS, GeForce 6800 XT, Quadro FX 4000,
	GeForce 6800 GS, GeForce 6800, GeForce 6800 LE, GeForce 6800 XT,
	GeForce Go 6800, GeForce Go 6800 Ultra, Quadro FX Go1400,
	Quadro FX 3450/4000 SDI, Quadro FX 1400, GeForce 6600 GT,
	GeForce 6600, GeForce 6600 LE, GeForce 6600 VE, GeForce Go 6600,
	GeForce 6610 XL, GeForce Go 6600 TE/6200 TE, GeForce 6700 XL,
	GeForce Go 6600, GeForce Go 6600 GT, Quadro FX 550, Quadro FX 550,
	Quadro FX 540, GeForce 6200, GeForce 6500,
	GeForce 6200 TurboCache(TM), GeForce 6200SE TurboCache(TM),
	GeForce 6200 LE, GeForce Go 6200, Quadro NVS 285, GeForce Go 6400,
	GeForce Go 6200, GeForce Go 6400, GeForce 6250, GeForce 6800,
	GeForce 6800 LE, GeForce 6800 GT, GeForce 6800 XT, GeForce 6200,
	GeForce 6200 A-LE, GeForce 7800 GTX, GeForce 7800 GTX,
	GeForce 7800 GT, GeForce 7800 GS, GeForce 7800 SLI, GeForce Go 7800,
	GeForce Go 7800 GTX, Quadro FX 4500, GeForce 7300 LE,
	GeForce 7300 SE, GeForce Go 7200, GeForce Go 7300, GeForce Go 7400,
	GeForce Go 7400 GS, Quadro NVS 110M, Quadro NVS 120M, Quadro FX 350M,
	GeForce 7500 LE, Quadro FX 350, GeForce 7300 GS, GeForce 7600 GT,
	GeForce 7600 GS, GeForce 7300 GT, GeForce 7600 LE, GeForce 7300 GT,
	GeForce Go 7700, GeForce Go 7600, GeForce Go 7600 GT,
	Quadro NVS 300M, GeForce Go 7900 SE, Quadro FX 550M, Quadro FX 560,
	GeForce 7900 GTX, GeForce 7900 GT, GeForce 7900 GS,
	GeForce Go 7900 GS, GeForce Go 7900 GTX, Quadro FX 2500M,
	Quadro FX 1500M, Quadro FX 5500, Quadro FX 3500, Quadro FX 1500,
	Quadro FX 4500 X2, GeForce 6150, GeForce 6150 LE, GeForce 6100,
	GeForce Go 6150, GeForce Go 6100, GeForce 8800 GTX, GeForce 8800 GTS,
	GeForce 8800 Ultra, Quadro FX 5600, Quadro FX 4600, GeForce 8600 GTS,
	GeForce 8600 GT, GeForce 8400 GS, GeForce 8600M GT, GeForce 8700M GT,
	Quadro FX 370, Quadro NVS 320M, Quadro FX 570M, Quadro FX 1600M,
	Quadro FX 570, Quadro FX 1700, GeForce 8500 GT, GeForce 8400 GS,
	GeForce 8300 GS, GeForce 8600M GS, GeForce 8400M GT,
	GeForce 8400M GS, GeForce 8400M G, Quadro NVS 140M, Quadro NVS 130M,
	Quadro NVS 135M, Quadro FX 360M, Quadro NVS 290
(II) Primary Device is: PCI 01:00:0
(--) Chipset Quadro FX 570M found
(II) resource ranges after xf86ClaimFixedResources() call:
	[0] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0xf8102400 - 0xf81024ff (0x100) MX[B]
	[5] -1	0	0xf8102000 - 0xf81020ff (0x100) MX[B]
	[6] -1	0	0xf8101c00 - 0xf8101cff (0x100) MX[B]
	[7] -1	0	0xf8101800 - 0xf81018ff (0x100) MX[B]
	[8] -1	0	0xf8101000 - 0xf81017ff (0x800) MX[B]
	[9] -1	0	0xdf2fe000 - 0xdf2fffff (0x2000) MX[B]
	[10] -1	0	0xfe227400 - 0xfe2274ff (0x100) MX[B]
	[11] -1	0	0xfe226000 - 0xfe2267ff (0x800) MX[B]
	[12] -1	0	0xfe227000 - 0xfe2273ff (0x400) MX[B]
	[13] -1	0	0xfe220000 - 0xfe223fff (0x4000) MX[B]
	[14] -1	0	0xfe226c00 - 0xfe226fff (0x400) MX[B]
	[15] -1	0	0xfe225000 - 0xfe225fff (0x1000) MX[B]
	[16] -1	0	0xfe200000 - 0xfe21ffff (0x20000) MX[B]
	[17] -1	0	0xd4000000 - 0xd5ffffff (0x2000000) MX[B](B)
	[18] -1	0	0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
	[19] -1	0	0xd6000000 - 0xd6ffffff (0x1000000) MX[B](B)
	[20] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[21] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[22] -1	0	0x00001c60 - 0x00001c7f (0x20) IX[B]
	[23] -1	0	0x00001c20 - 0x00001c3f (0x20) IX[B]
	[24] -1	0	0x00001c18 - 0x00001c1b (0x4) IX[B]
	[25] -1	0	0x00001c40 - 0x00001c47 (0x8) IX[B]
	[26] -1	0	0x00001c1c - 0x00001c1f (0x4) IX[B]
	[27] -1	0	0x00001c48 - 0x00001c4f (0x8) IX[B]
	[28] -1	0	0x00001830 - 0x0000183f (0x10) IX[B]
	[29] -1	0	0x000001f0 - 0x000001f0 (0x1) IX[B]
	[30] -1	0	0x000001f0 - 0x000001f7 (0x8) IX[B]
	[31] -1	0	0x000001f0 - 0x000001f0 (0x1) IX[B]
	[32] -1	0	0x000001f0 - 0x000001f7 (0x8) IX[B]
	[33] -1	0	0x000018e0 - 0x000018ff (0x20) IX[B]
	[34] -1	0	0x000018c0 - 0x000018df (0x20) IX[B]
	[35] -1	0	0x000018a0 - 0x000018bf (0x20) IX[B]
	[36] -1	0	0x00001880 - 0x0000189f (0x20) IX[B]
	[37] -1	0	0x00001860 - 0x0000187f (0x20) IX[B]
	[38] -1	0	0x00001840 - 0x0000185f (0x20) IX[B]
	[39] -1	0	0x00002000 - 0x0000207f (0x80) IX[B](B)
(II) resource ranges after probing:
	[0] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0xf8102400 - 0xf81024ff (0x100) MX[B]
	[5] -1	0	0xf8102000 - 0xf81020ff (0x100) MX[B]
	[6] -1	0	0xf8101c00 - 0xf8101cff (0x100) MX[B]
	[7] -1	0	0xf8101800 - 0xf81018ff (0x100) MX[B]
	[8] -1	0	0xf8101000 - 0xf81017ff (0x800) MX[B]
	[9] -1	0	0xdf2fe000 - 0xdf2fffff (0x2000) MX[B]
	[10] -1	0	0xfe227400 - 0xfe2274ff (0x100) MX[B]
	[11] -1	0	0xfe226000 - 0xfe2267ff (0x800) MX[B]
	[12] -1	0	0xfe227000 - 0xfe2273ff (0x400) MX[B]
	[13] -1	0	0xfe220000 - 0xfe223fff (0x4000) MX[B]
	[14] -1	0	0xfe226c00 - 0xfe226fff (0x400) MX[B]
	[15] -1	0	0xfe225000 - 0xfe225fff (0x1000) MX[B]
	[16] -1	0	0xfe200000 - 0xfe21ffff (0x20000) MX[B]
	[17] -1	0	0xd4000000 - 0xd5ffffff (0x2000000) MX[B](B)
	[18] -1	0	0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
	[19] -1	0	0xd6000000 - 0xd6ffffff (0x1000000) MX[B](B)
	[20] 0	0	0x000a0000 - 0x000affff (0x10000) MS[B]
	[21] 0	0	0x000b0000 - 0x000b7fff (0x8000) MS[B]
	[22] 0	0	0x000b8000 - 0x000bffff (0x8000) MS[B]
	[23] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[24] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[25] -1	0	0x00001c60 - 0x00001c7f (0x20) IX[B]
	[26] -1	0	0x00001c20 - 0x00001c3f (0x20) IX[B]
	[27] -1	0	0x00001c18 - 0x00001c1b (0x4) IX[B]
	[28] -1	0	0x00001c40 - 0x00001c47 (0x8) IX[B]
	[29] -1	0	0x00001c1c - 0x00001c1f (0x4) IX[B]
	[30] -1	0	0x00001c48 - 0x00001c4f (0x8) IX[B]
	[31] -1	0	0x00001830 - 0x0000183f (0x10) IX[B]
	[32] -1	0	0x000001f0 - 0x000001f0 (0x1) IX[B]
	[33] -1	0	0x000001f0 - 0x000001f7 (0x8) IX[B]
	[34] -1	0	0x000001f0 - 0x000001f0 (0x1) IX[B]
	[35] -1	0	0x000001f0 - 0x000001f7 (0x8) IX[B]
	[36] -1	0	0x000018e0 - 0x000018ff (0x20) IX[B]
	[37] -1	0	0x000018c0 - 0x000018df (0x20) IX[B]
	[38] -1	0	0x000018a0 - 0x000018bf (0x20) IX[B]
	[39] -1	0	0x00001880 - 0x0000189f (0x20) IX[B]
	[40] -1	0	0x00001860 - 0x0000187f (0x20) IX[B]
	[41] -1	0	0x00001840 - 0x0000185f (0x20) IX[B]
	[42] -1	0	0x00002000 - 0x0000207f (0x80) IX[B](B)
	[43] 0	0	0x000003b0 - 0x000003bb (0xc) IS[B]
	[44] 0	0	0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/lib/xorg/modules//libint10.so
(II) Module int10: vendor="X.Org Foundation"
	compiled for 1.4.0, module version = 1.0.0
	ABI class: X.Org Video Driver, version 2.0
(II) NV(0): Initializing int10
(II) NV(0): Primary V_BIOS segment is: 0xc000
(--) NV(0): Console is VGA mode 0x3
(**) NV(0): Depth 24, (--) framebuffer bpp 32
(==) NV(0): RGB weight 888
(==) NV(0): Default visual is TrueColor
(==) NV(0): Using hardware cursor
(==) NV(0): Using gamma correction (1.0, 1.0, 1.0)
(II) NV(0): MMIO registers mapped at 0xb69e7000
(--) NV(0): Total video RAM: 256.0 MB
(--) NV(0):       BAR1 size: 256.0 MB
(--) NV(0):   Mapped memory: 255.0 MB
(II) NV(0): Linear framebuffer mapped at 0xa6ae7000
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"(II) Module "i2c" already built-in
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"(II) Module "ddc" already built-in
(--) NV(0): Connector map:
(--) NV(0):   [N/A] -> SOR0 (LVDS)
(--) NV(0):   Bus 0 -> DAC1
(--) NV(0):   Bus 1 -> SOR1
(II) NV(0): I2C bus "I2C0" initialized.
(II) NV(0): Output VGA1 using monitor section InternalMonitor
(II) NV(0): I2C bus "I2C1" initialized.
(II) NV(0): Output DVI1 has no monitor section
(II) NV(0): Output LVDS has no monitor section
(II) NV(0): LVDS native size 1920x1200
(II) NV(0): Probing for EDID on I2C bus 0...
(II) NV(0): I2C device "I2C0:ddc2" registered at address 0xA0.
(II) NV(0): I2C device "I2C0:ddc2" removed.
(II) NV(0):   ... none found
(--) NV(0): Trying load detection on VGA1 ... nothing.
(II) NV(0): Probing for EDID on I2C bus 1...
(II) NV(0): I2C device "I2C1:ddc2" registered at address 0xA0.
(II) NV(0): I2C device "I2C1:ddc2" removed.
(II) NV(0):   ... none found
(II) NV(0): Output VGA1 disconnected
(II) NV(0): Output DVI1 disconnected
(II) NV(0): Output LVDS connected
(II) NV(0): Output LVDS using initial mode 1920x1200
(--) NV(0): Virtual size is 1920x1920 (pitch 2048)
(**) NV(0):  Driver mode "1920x1200"
(**) NV(0):  Default mode "1280x800": 83.5 MHz (scaled from 0.0 MHz), 49.7 kHz, 60.0 Hz
(II) NV(0): Modeline "1280x800"x60.0   83.46  1280 1344 1480 1680  800 801 804 828 (49.7 kHz)
(**) NV(0):  Default mode "1280x768": 80.1 MHz (scaled from 0.0 MHz), 47.7 kHz, 60.0 Hz
(II) NV(0): Modeline "1280x768"x60.0   80.14  1280 1344 1480 1680  768 769 772 795 (47.7 kHz)
(**) NV(0):  Default mode "1024x768": 65.0 MHz (scaled from 0.0 MHz), 48.4 kHz, 60.0 Hz
(II) NV(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
(**) NV(0):  Default mode "800x600": 40.0 MHz (scaled from 0.0 MHz), 37.9 kHz, 60.3 Hz
(II) NV(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
(**) NV(0):  Default mode "640x480": 25.2 MHz (scaled from 0.0 MHz), 31.5 kHz, 59.9 Hz
(II) NV(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
(**) NV(0):  Default mode "640x400": 41.7 MHz (scaled from 0.0 MHz), 49.7 kHz, 60.0 Hz (D)
(II) NV(0): Modeline "640x400"x60.0   41.73  640 672 740 840  400 400 402 414 doublescan (49.7 kHz)
(**) NV(0):  Default mode "640x384": 40.1 MHz (scaled from 0.0 MHz), 47.7 kHz, 60.1 Hz (D)
(II) NV(0): Modeline "640x384"x60.1   40.07  640 672 740 840  384 384 386 397 doublescan (47.7 kHz)
(**) NV(0):  Default mode "512x384": 32.5 MHz (scaled from 0.0 MHz), 48.4 kHz, 60.0 Hz (D)
(II) NV(0): Modeline "512x384"x60.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz)
(++) NV(0): DPI set to (100, 100)
(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.4.0, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.3
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/lib/xorg/modules//libxaa.so
(II) Module xaa: vendor="X.Org Foundation"
	compiled for 1.4.0, module version = 1.2.0
	ABI class: X.Org Video Driver, version 2.0
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"(II) Module "ramdac" already built-in
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
	[0] 0	0	0xd4000000 - 0xd5ffffff (0x2000000) MX[B]
	[1] 0	0	0xe0000000 - 0xefffffff (0x10000000) MX[B]
	[2] 0	0	0xd6000000 - 0xd6ffffff (0x1000000) MX[B]
	[3] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[4] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[5] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[6] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[7] -1	0	0xf8102400 - 0xf81024ff (0x100) MX[B]
	[8] -1	0	0xf8102000 - 0xf81020ff (0x100) MX[B]
	[9] -1	0	0xf8101c00 - 0xf8101cff (0x100) MX[B]
	[10] -1	0	0xf8101800 - 0xf81018ff (0x100) MX[B]
	[11] -1	0	0xf8101000 - 0xf81017ff (0x800) MX[B]
	[12] -1	0	0xdf2fe000 - 0xdf2fffff (0x2000) MX[B]
	[13] -1	0	0xfe227400 - 0xfe2274ff (0x100) MX[B]
	[14] -1	0	0xfe226000 - 0xfe2267ff (0x800) MX[B]
	[15] -1	0	0xfe227000 - 0xfe2273ff (0x400) MX[B]
	[16] -1	0	0xfe220000 - 0xfe223fff (0x4000) MX[B]
	[17] -1	0	0xfe226c00 - 0xfe226fff (0x400) MX[B]
	[18] -1	0	0xfe225000 - 0xfe225fff (0x1000) MX[B]
	[19] -1	0	0xfe200000 - 0xfe21ffff (0x20000) MX[B]
	[20] -1	0	0xd4000000 - 0xd5ffffff (0x2000000) MX[B](B)
	[21] -1	0	0xe0000000 - 0xefffffff (0x10000000) MX[B](B)
	[22] -1	0	0xd6000000 - 0xd6ffffff (0x1000000) MX[B](B)
	[23] 0	0	0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
	[24] 0	0	0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
	[25] 0	0	0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
	[26] 0	0	0x00002000 - 0x0000207f (0x80) IX[B]
	[27] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[28] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[29] -1	0	0x00001c60 - 0x00001c7f (0x20) IX[B]
	[30] -1	0	0x00001c20 - 0x00001c3f (0x20) IX[B]
	[31] -1	0	0x00001c18 - 0x00001c1b (0x4) IX[B]
	[32] -1	0	0x00001c40 - 0x00001c47 (0x8) IX[B]
	[33] -1	0	0x00001c1c - 0x00001c1f (0x4) IX[B]
	[34] -1	0	0x00001c48 - 0x00001c4f (0x8) IX[B]
	[35] -1	0	0x00001830 - 0x0000183f (0x10) IX[B]
	[36] -1	0	0x000001f0 - 0x000001f0 (0x1) IX[B]
	[37] -1	0	0x000001f0 - 0x000001f7 (0x8) IX[B]
	[38] -1	0	0x000001f0 - 0x000001f0 (0x1) IX[B]
	[39] -1	0	0x000001f0 - 0x000001f7 (0x8) IX[B]
	[40] -1	0	0x000018e0 - 0x000018ff (0x20) IX[B]
	[41] -1	0	0x000018c0 - 0x000018df (0x20) IX[B]
	[42] -1	0	0x000018a0 - 0x000018bf (0x20) IX[B]
	[43] -1	0	0x00001880 - 0x0000189f (0x20) IX[B]
	[44] -1	0	0x00001860 - 0x0000187f (0x20) IX[B]
	[45] -1	0	0x00001840 - 0x0000185f (0x20) IX[B]
	[46] -1	0	0x00002000 - 0x0000207f (0x80) IX[B](B)
	[47] 0	0	0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
	[48] 0	0	0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(--) NV(0): 239.95 MB available for offscreen pixmaps
(II) NV(0): Using XFree86 Acceleration Architecture (XAA)
	Screen to screen bit blits
	Solid filled rectangles
	8x8 mono pattern filled rectangles
	Indirect CPU to Screen color expansion
	Solid Lines
	Scanline Image Writes
	Offscreen Pixmaps
	Setting up tile and stipple cache:
		32 128x128 slots
		32 256x256 slots
		16 512x512 slots
(==) NV(0): Backing store disabled
(==) NV(0): Silken mouse enabled
(**) Option "dpms"
(**) NV(0): DPMS enabled
Comment 1 MAtteo HCE Valsasna 2007-10-12 00:56:34 UTC
very similar behaviour with a lenovo R61, using Quadro NVS 140M (rev a1) 

now using the proprietary nvidia-glx-new driver (ubuntu 7.10 rc), which seems ok

strangely enough, after starting and killing X with nvidia-glx-new (Driver = nvidia), the nv driver worked correctly. 
but after a reboot the same configuration locked the screen again.

then, I may suppose the nvidia driver does some initialization on the hardware that enables the nv driver to work, but if the nv driver is run after a reboot it isn't able to properly initialize the card.
Comment 2 MAtteo HCE Valsasna 2007-10-12 00:59:51 UTC
Created attachment 12003 [details]
server log with nv driver after a reboot - screen blank and locked
Comment 3 MAtteo HCE Valsasna 2007-10-12 01:01:46 UTC
Created attachment 12004 [details]
server log with nv driver after the nvidia proprietary driver has been used - works OK
Comment 4 MAtteo HCE Valsasna 2007-10-12 01:02:41 UTC
Created attachment 12005 [details]
server log with the nvidia proprietary driver - works OK
Comment 5 Aaron Plattner 2007-10-12 09:27:53 UTC
Does the server come up after a reboot if you set Option "NoAccel"?  How about Option "AccelMethod" "EXA"?
Comment 6 MAtteo HCE Valsasna 2007-10-12 11:01:24 UTC
(In reply to comment #5)
> Does the server come up after a reboot if you set Option "NoAccel"?  

with the open source nv driver and Option "NoAccel", same behaviour (blank screen, no switching to text consoles)

> How about Option "AccelMethod" "EXA"?

with the open source nv driver and Option "AccelMethod" "EXA", same behaviour (blank screen, no switching to text consoles)

would you like the log files?

I must correct on one aspect: when the screen is blank, ctrl+alt+canc works (but with no feedback on the local console, I noticed it while being connected via ssh)

the two laptops (IBM T61p and lenovo R61) seems somewhat related, maybe some issue related to chipset/bios?
Comment 7 Francois Fleuret 2007-10-12 11:26:12 UTC
> I must correct on one aspect: when the screen is blank, ctrl+alt+canc works
> (but with no feedback on the local console, I noticed it while being connected
> via ssh)

If I connect by ssh to my T61p in that "blank screen" state, everything is fine there, with Xorg taking 100% CPU. I can kill it, but I don't get the console back. 

Starting the vesa server in that state does not restore the display.
Comment 8 MAtteo HCE Valsasna 2007-10-12 12:27:26 UTC
Created attachment 12017 [details]
strace -o X.trace -f startx

I didn't notice the 100% CPU. It happens on my system too.
X wants to be killed with -9
attached is a strace of the server with nv driver. it is rather inconclusive (last syscalls are used to write log messages, then nothing more). 

some more hints from gdb (attached to a running X process):

the process seems to be looping at 0xb717b1aa in G80DispInit ()

root@aubergine:~# gdb -p 6483
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
Attaching to process 6483
Reading symbols from /usr/bin/Xorg...(no debugging symbols found)...done.
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /usr/lib/libXfont.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXfont.so.1
Reading symbols from /usr/lib/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libfontenc.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfontenc.so.1
Reading symbols from /usr/lib/libXdmcp.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /lib/tls/i686/cmov/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/i686/cmov/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libfreetype.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/xorg/modules/libpcidata.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules//libpcidata.so
Reading symbols from /usr/lib/xorg/modules/libglx.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules//libglx.so
Reading symbols from /usr/lib/libGLcore.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libGLcore.so.1
Reading symbols from /usr/lib/tls/libnvidia-tls.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/tls/libnvidia-tls.so.1
Reading symbols from /usr/lib/xorg/modules/extensions/libextmod.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions//libextmod.so
Reading symbols from /usr/lib/xorg/modules/extensions/libdbe.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions//libdbe.so
Reading symbols from /usr/lib/xorg/modules/fonts/libfreetype.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/fonts//libfreetype.so
Reading symbols from /usr/lib/xorg/modules/extensions/librecord.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions//librecord.so
Reading symbols from /usr/lib/xorg/modules/extensions/libdri.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions//libdri.so
Reading symbols from /usr/lib/libdrm.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdrm.so.2
Reading symbols from /usr/lib/xorg/modules/drivers/nv_drv.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/drivers//nv_drv.so
Reading symbols from /usr/lib/xorg/modules/input/kbd_drv.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/input//kbd_drv.so
Reading symbols from /usr/lib/xorg/modules/input/mouse_drv.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/input//mouse_drv.so
Reading symbols from /usr/lib/xorg/modules/libint10.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules//libint10.so
Reading symbols from /usr/lib/xorg/modules/libfb.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules//libfb.so
Reading symbols from /usr/lib/xorg/modules/libxaa.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules//libxaa.so
(no debugging symbols found)
0xb717b1aa in G80DispInit () from /usr/lib/xorg/modules/drivers//nv_drv.so
(gdb) bt
#0  0xb717b1aa in G80DispInit () from /usr/lib/xorg/modules/drivers//nv_drv.so
#1  0xb717c451 in ?? () from /usr/lib/xorg/modules/drivers//nv_drv.so
#2  0x08216eb8 in ?? ()
#3  0x00000003 in ?? ()
#4  0xffffffff in ?? ()
#5  0xb718461c in ?? () from /usr/lib/xorg/modules/drivers//nv_drv.so
#6  0xb718461c in ?? () from /usr/lib/xorg/modules/drivers//nv_drv.so
#7  0x08216eb8 in ?? ()
#8  0xbfa3d378 in ?? ()
#9  0xb717c8bf in ?? () from /usr/lib/xorg/modules/drivers//nv_drv.so
#10 0x08217bc0 in ?? ()
#11 0x00000000 in ?? ()
Comment 9 Niklas Hallqvist 2007-10-12 12:52:04 UTC
I'd like to add that I have the same problem on my Lenovo R61, running current OpenBSD as of 2007-10-12, using nv 2.1.5 as well.  On OpenBSD, there's not an option of using the proprietary driver for proper initialization of the chipset,
so I'd judge the bug as critical.  It's not a blocker, since the vesa driver works but with 1280x1025 it gets pretty ugly on a 1680x1050 LCD screen.
Comment 10 Aaron Plattner 2007-10-12 13:47:56 UTC
Thanks, the backtrace is helpful.  Could you please build the driver with debugging and figure out exactly which line it's stuck on?
Comment 11 MAtteo HCE Valsasna 2007-10-12 16:16:58 UTC
(In reply to comment #10)
> Thanks, the backtrace is helpful.  Could you please build the driver with
> debugging and figure out exactly which line it's stuck on?
> 

hi

I used http://xorg.freedesktop.org/archive/individual/driver/xf86-video-nv-2.1.5.tar.bz2

the blank unusable screen, and 100% CPU is reproducted with this code

X server is from ubuntu 7.10 RC
ii  xorg                                       1:7.2-5ubuntu13              X.Org X Window System
ii  xserver-xorg                               1:7.2-5ubuntu13              the X.Org X server
ii  xserver-xorg-core                          2:1.3.0.0.dfsg-12ubuntu8     X.Org X server -- core server
ii  xserver-xorg-video-nv                      1:2.1.5-1ubuntu1             X.Org X server -- NV display driver

the driver appears to be stuck in: 
0xb71831aa in G80DispInit (pScrn=0x8216d50) at g80_display.c:261
261         while((pNv->reg[0x00610200/4] & 0x1e0000) != 0);

and it looks like gdb is unable to access pNv->reg[0x00610200/4], but maybe there's something I don't get (see below)

If you need more info, please ask

bye

MAtteo



root@aubergine:~# gdb -p 5493
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
Attaching to process 5493
Reading symbols from /usr/bin/Xorg...(no debugging symbols found)...done.
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /usr/lib/libXfont.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXfont.so.1
Reading symbols from /usr/lib/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libfontenc.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfontenc.so.1
Reading symbols from /usr/lib/libXdmcp.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /lib/tls/i686/cmov/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/i686/cmov/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libfreetype.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/xorg/modules/libpcidata.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules//libpcidata.so
Reading symbols from /usr/lib/xorg/modules/libglx.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules//libglx.so
Reading symbols from /usr/lib/libGLcore.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libGLcore.so.1
Reading symbols from /usr/lib/tls/libnvidia-tls.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/tls/libnvidia-tls.so.1
Reading symbols from /usr/lib/xorg/modules/extensions/libextmod.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions//libextmod.so
Reading symbols from /usr/lib/xorg/modules/extensions/libdbe.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions//libdbe.so
Reading symbols from /usr/lib/xorg/modules/fonts/libfreetype.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules//fonts/libfreetype.so
Reading symbols from /usr/lib/xorg/modules/extensions/librecord.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions//librecord.so
Reading symbols from /usr/lib/xorg/modules/extensions/libdri.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions//libdri.so
Reading symbols from /usr/lib/libdrm.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdrm.so.2
Reading symbols from /usr/local/lib/xorg/modules/drivers/nv_drv.so...done.
Loaded symbols for /usr/local/lib/xorg/modules/drivers//nv_drv.so
Reading symbols from /usr/lib/xorg/modules/input/kbd_drv.so...done.
Loaded symbols for /usr/lib/xorg/modules/input//kbd_drv.so
Reading symbols from /usr/lib/xorg/modules/input/mouse_drv.so...done.
Loaded symbols for /usr/lib/xorg/modules/input//mouse_drv.so
Reading symbols from /usr/lib/xorg/modules/libint10.so...done.
Loaded symbols for /usr/lib/xorg/modules//libint10.so
Reading symbols from /usr/lib/xorg/modules/libfb.so...done.
Loaded symbols for /usr/lib/xorg/modules//libfb.so
Reading symbols from /usr/lib/xorg/modules/libxaa.so...done.
Loaded symbols for /usr/lib/xorg/modules//libxaa.so
0xb71831aa in G80DispInit (pScrn=0x8216d50) at g80_display.c:261
261         while((pNv->reg[0x00610200/4] & 0x1e0000) != 0);
(gdb) bt
#0  0xb71831aa in G80DispInit (pScrn=0x8216d50) at g80_display.c:261
#1  0xb7184451 in AcquireDisplay (pScrn=0x48022b08) at g80_driver.c:508
#2  0xb71848bf in G80ScreenInit (scrnIndex=0, pScreen=0x821c430, argc=10, argv=0xbfe46384) at g80_driver.c:946
#3  0x0807653e in AddScreen ()
#4  0x080a86ce in InitOutput ()
#5  0x08076ceb in main ()
(gdb) print pNv->reg[0x00610200/4] & 0x1e0000
Cannot access memory at address 0xb65fa200
(gdb) print pNv->reg
$7 = (volatile CARD32 *) 0xb5fea000
(gdb) print * 0xb65fa200
Cannot access memory at address 0xb65fa200
Comment 12 Aaron Plattner 2007-10-12 16:52:42 UTC
Okay, thank you very much.  I suspect I know what's going on, but please try this to confirm:

Apply this patch:
diff --git a/src/g80_display.c b/src/g80_display.c
index 6c95773..20861ad 100644
--- a/src/g80_display.c
+++ b/src/g80_display.c
@@ -258,10 +258,14 @@ G80DispInit(ScrnInfoPtr pScrn)
     }
 
     pNv->reg[0x00610200/4] = 0x2b00;
-    while((pNv->reg[0x00610200/4] & 0x1e0000) != 0);
+    ErrorF("Waiting for hardware to settle ... ");
+    sleep(1);
+    ErrorF("reg is 0x%x\n", pNv->reg[0x00610200/4]);
     pNv->reg[0x00610300/4] = 1;
     pNv->reg[0x00610200/4] = 0x1000b03;
-    while(!(pNv->reg[0x00610200/4] & 0x40000000));
+    ErrorF("Waiting for hardware to settle ... ");
+    sleep(1);
+    ErrorF("reg is 0x%x\n", pNv->reg[0x00610200/4]);
 
     C(0x00000084, 0);
     C(0x00000088, 0);

and then tell me what it prints for the register values.
Comment 13 MAtteo HCE Valsasna 2007-10-13 00:44:35 UTC
(In reply to comment #12)
> Okay, thank you very much.  I suspect I know what's going on, but please try
> this to confirm:
> 
> Apply this patch:

...

===starting the server after the nvidia driver has run - the server still works==

(==) NV(0): Backing store disabled
(==) NV(0): Silken mouse enabled
(**) Option "dpms"
(**) NV(0): DPMS enabled
Waiting for hardware to settle ... reg is 0x48012b08
Waiting for hardware to settle ... reg is 0x490a0b0b
(II) NV(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(--) RandR disabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension

==after a reboot - still blank screen==

(==) NV(0): Backing store disabled
(==) NV(0): Silken mouse enabled
(**) Option "dpms"
(**) NV(0): DPMS enabled
Waiting for hardware to settle ... reg is 0x48022b08
Waiting for hardware to settle ... reg is 0x49020b0b

(EOF)

Xorg still running at 100% CPU

now looping in:
root@aubergine:~# gdb -p 5517
GNU gdb 6.6-debian
...
0xb726a20d in G80DispCommand (pScrn=0x8216d50, addr=132, data=0) at g80_display.c:188
188         while(pNv->reg[0x00610300/4] & 0x80000000) {
(gdb) bt
#0  0xb726a20d in G80DispCommand (pScrn=0x8216d50, addr=132, data=0) at g80_display.c:188
#1  0xb726b26d in G80DispInit (pScrn=0x8216d50) at g80_display.c:270
#2  0xb726c4e1 in AcquireDisplay (pScrn=0x80010085) at g80_driver.c:508
#3  0xb726c94f in G80ScreenInit (scrnIndex=0, pScreen=0x821c430, argc=10, argv=0xbffc6064) at g80_driver.c:946
#4  0x0807653e in AddScreen ()
#5  0x080a86ce in InitOutput ()
#6  0x08076ceb in main ()
(gdb) p pNv->reg[0x00610300/4]
Cannot access memory at address 0xb66e2300


then I attempted one more step:

root@aubergine:/home/valsasna/src/xf86-video-nv-2.1.5/src# diff -c g80_display.c.p1 g80_display.c
*** g80_display.c.p1    2007-10-13 09:18:33.000000000 +0200
--- g80_display.c       2007-10-13 09:36:16.000000000 +0200
***************
*** 187,194 ****
--- 187,197 ----
  
      while(pNv->reg[0x00610300/4] & 0x80000000) {
          const int super = ffs((pNv->reg[0x00610024/4] >> 4) & 7);
+       ErrorF("G80DispCommand:reg is 0x%x, reg_super is 0x%x\n", pNv->reg[0x00610300/4], pNv->reg[0x00610024/4]);
+       sleep(1);
  
          if(super) {
+           ErrorF("G80DispCommand: super is %i", super);
              if(super == 2) {
                  xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(pScrn);
                  const CARD32 r = pNv->reg[0x00610030/4];


Waiting for hardware to settle ... reg is 0x48022b08
Waiting for hardware to settle ... reg is 0x49020b0b
G80DispCommand:reg is 0x80010085, reg_super is 0x0
G80DispCommand:reg is 0x80010085, reg_super is 0x0
G80DispCommand:reg is 0x80010085, reg_super is 0x0
G80DispCommand:reg is 0x80010085, reg_super is 0x0

(ad libitum until Xorg killed)

it appears the if (super) branch is never entered

Comment 14 Aaron Plattner 2007-10-13 01:02:26 UTC
Thanks, that's exactly what I suspected was happening: your BIOS is leaving the hardware in a weird state.  The fact that it doesn't respond while it's in that state isn't surprising.  I'll try to code up a patch for you to try sometime this weekend.
Comment 15 Aaron Plattner 2007-10-13 14:40:47 UTC
Created attachment 12028 [details] [review]
proposed fix

Okay, please try the attached patch.
Comment 16 Francois Fleuret 2007-10-13 15:02:10 UTC
> Okay, please try the attached patch.

Great! It is not stuck anymore (T61p here)

However:

1/ The console is messed up when switching back to it

2/ the server "feels" far slower than the vesa one.

I'll try to attach my Xorg.log.0 with the patch.
Comment 17 Francois Fleuret 2007-10-13 15:03:22 UTC
Created attachment 12029 [details]
Xorg.log with Aaron's today patch

I patched the nv server from the debian's package.
Comment 18 Aaron Plattner 2007-10-13 15:19:51 UTC
What exactly do you mean by "messed up"?  What are you doing that "feels" slow?  These sound like different problems.  I'm going to mark this fixed with commit 1003bcb.
Comment 19 Aaron Plattner 2007-10-13 21:18:52 UTC
*** Bug 12397 has been marked as a duplicate of this bug. ***
Comment 20 Francois Fleuret 2007-10-14 01:33:27 UTC
> What exactly do you mean by "messed up"? 

The console was filled with the character "&" in blue and reverse video, and nothing happened when typing things in blind. I had to ctrl-alt-del the system to reboot.

> What are you doing that "feels" slow?

Moving the windows around (firefox and xterms) gives the impression that it takes ~4 times more time to reconstruct their content then with the vesa server. What would be the canonical benchmark to measure the performance of the server in 2D ?

Regards,
Comment 21 Francois Fleuret 2007-10-14 02:10:13 UTC
I can be more precise for the messed up console.

If I log in with xdm, everything is fine, then when I quit, I end up with a messed up console in text mode, with weird characters in weird color blinking around, and I can do nothing.

If I ssh on that machine, it shows again a Xorg task taking 100% CPU. Doing kill -9 on it restores the screen with the xdm invite. Doing Alt-Ctrl-f1 in that state gives a working console.

Regards,
Comment 22 Aaron Plattner 2007-10-14 10:15:34 UTC
Sounds to me like the BIOS is buggy.  You should see if an updated BIOS is available.
Comment 23 Francois Fleuret 2007-10-14 10:51:35 UTC
> Sounds to me like the BIOS is buggy.  You should see if an updated BIOS is
> available.

Just updated with the latest BIOS from Lenovo's web site, did not solve the problem.

But the "messed console" is not the same problem as the "stuck on blank screen" you solved ?
Comment 24 Niklas Hallqvist 2007-10-14 11:53:52 UTC
I'd like to state that my R61 has been fixed by the patch, many thanks!
No appearant slowdown for me.  and so far VT-switching has worked OK too.

However, as a long time Open Source contributor and proponent, I am somewhat dismayed about the nv driver's source.  The "open" source may be free, but not really open when it comes to give users freedom, since it's full of magic numbers with no symbolic constants or commentary to document what the magic is about.

I don't think Aaron is doing this out of spite, but rather that nvidia ties his hands.  I think it's sad, but of course I am happy that there's some source around, otherwise my fringe OS wouldn't have worked on the laptop I'm using.  Well, maybe I would've done the right thing then, not bought an nvidia product, but that's purely hypotheticalb.

I just wanted to have this said. To end this comment in a more heartily way:  many thanks!  I am really happy with the fix!!
Comment 25 MAtteo HCE Valsasna 2007-10-14 14:54:54 UTC
(In reply to comment #15)
> Created an attachment (id=12028) [details]
> proposed fix
> 
> Okay, please try the attached patch.
> 

this works for me too (lenovo R61, Quadro NVS 140M)

the driver starts correctly after a reboot, and switching between X an VTs is OK too)

the performance is somewhat worse than the nvidia driver (when I move windows on the screen, they are quite sluggish, and it looks like the operation is performed in software without acceleration, I see the window being redrawn in pieces, and the CPU bumps to 100% while I move the window), still usable for office work.  

thank you for the prompt response.


On a different note, I must also agree with Niklas: the driver in its current format is a disputable form of "open source": a source file full of nameless and undocumented numbers can hardly be considered the "preferred form to modify the code".

Either the proper documentation for on the magic number used is available somewhere else, in which case not using symbolic name (#define) in the source is just a  programming practice which leaves large room for improvement, or numbers are not publicly documented, in which case only those who have access to documentation on these numbers, or possibly only those who coded them in the hardware, can actually modify the code.

BUT the x.org project is released with the very liberal X11 license, which allows obfuscated source code and gives no explicit rights to users, thus, until someone decides to write a new X server under the GPL, we are stuck with this one and its formally open drivers. 


anyway, thanks again Aaron, for fixing it so quickly

bye

MAtteo
Comment 26 MAtteo HCE Valsasna 2007-10-15 04:07:02 UTC
(In reply to comment #17)
> Created an attachment (id=12029) [details]
> Xorg.log with Aaron's today patch
> 
> I patched the nv server from the debian's package.


Hi, I suggest you try to build the server module from the original package (http://xorg.freedesktop.org/archive/individual/driver/xf86-video-nv-2.1.5.tar.bz2) with just Aaron's patch (debian might have added some more patches on top of it).

it will install the patched driver in /usr/local/lib/xorg/modules/drivers

then you can add two "ModulePath" statements to the Files section of your xorg.conf, one with /usr/local/lib/xorg/modules/drivers and one with /usr/lib/xorg/modules/drivers


http://packages.debian.org/source/sid/xserver-xorg-video-nv
http://ftp.de.debian.org/debian/pool/main/x/xserver-xorg-video-nv/xserver-xorg-video-nv_2.1.5-1.diff.gz


and on the "can obfuscated code be considered open source", someone at debian was trying to push this driver to the non-free section along with the proprietary binary driver - see
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=383465

and the nouveau project is working on a true open-source version of the driver, and their effort includes de-obfuscating the code.
http://nouveau.freedesktop.org/wiki/
Comment 27 Francois Fleuret 2007-10-16 13:15:38 UTC
> Hi, I suggest you try to build the server module from the original package

Excellent! There is no bug anymore when "coming back to the console"!

The server is still slower than the VESA one though.

Regards,
Comment 28 Aaron Plattner 2007-11-12 01:23:57 UTC
*** Bug 13184 has been marked as a duplicate of this bug. ***
Comment 29 Jon Nelson 2008-09-19 08:18:31 UTC
I'm not sure if anybody cares but this is still a problem for me using:

openSUSE 11.0
xorg 7.3
I also built the very latest driver with no luck.
I have a Lenovo T61p which has this video:

01:00.0 VGA compatible controller: nVidia Corporation Quadro FX 570M (rev a1)
Comment 30 Aaron Plattner 2008-09-19 09:13:38 UTC
Jon,
This particular bug is definitely fixed.  You must be experiencing a different problem.
Comment 31 Francois Fleuret 2008-09-19 11:38:10 UTC
Jon,

The problem is definitely not solved in the version I am using, which is

 X.Org X Server 1.4.2
 Release Date: 11 June 2008
 Debian package xserver-xorg-video-nv 1:2.1.10-1

The exact same bug remains: The server starts and works fine, but will make a messy console screen and a locked PC if one quits the xsession properly. The same happens when coming back from suspend. Strangely, killing the server with ctrl-alt-del brings back xdm properly.

Also, the server is far slower than the vesa server (!)

All this on a Lenovo T61p. You said it is a BIOS issue, which may be true. Still, being able to come back to xdm with a kill and not with a proper exit is very surprising.

Regards,

--
Francois

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.