View Single Post
Old 12-19-06, 10:07 PM   #1
Certified Non-Sciuridae
Join Date: Dec 2006
Location: Generally, not in trees.
Posts: 13
Default Laptop screen unusable, corrupted, but X and VGA port work

Hi, I'm moving my questions about this to a new thread for TS because I'm starting to think it isn't related to the other problems involving EDIDs. (even though the symptoms are similar.)

Symptoms are, when GDM starts up, it rejects all resolutions and ends up showing just corrupted graphics on the laptop screen. The graphics are almost exactly the same every time, like a memory region holding an 800x600 image being displayed raw at 640x480.

Plugging a monitor into the laptop VGA port and restarting GDM results in a perfectly functional desktop being displayed on the external monitor at the correct native resolution, with fast and functional openGL and everything, but the laptop's screen stays blank. The nvidia drivers' gui utility cannot seem to make the laptop screen work when I tweak it from the second monitor. It sees a disabled screen at 640x480 but seems to get hung up whenever it tries to do anything with it. It will spit out a rewritten xorg.conf, but this also does not work.

/var/log/xorg.0.log shows these lines coming from the NVIDIA drivers that seem to be related to the problem. It is rejecting all resolutions. (Maybe they are not defined correctly? But I did not change them...)

Note - this xorg.0.log happened with EDIDs enabled. I turned them back on after disabling them did not help.
(II) Setting vga for screen 0.
(**) 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): NVIDIA GPU GeForce FX Go5700 at PCI:1:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 131072 kBytes
(--) NVIDIA(0): VideoBIOS:
(II) NVIDIA(0): Detected AGP rate: 8X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce FX Go5700 at
(--) NVIDIA(0):     PCI:1:0:0:
(--) NVIDIA(0):     Nvidia Default Flat Panel (DFP-0)
(--) NVIDIA(0): Nvidia Default Flat Panel (DFP-0): 300.0 MHz maximum pixel
(--) NVIDIA(0):     clock
(--) NVIDIA(0): Nvidia Default Flat Panel (DFP-0): Internal Dual Link LVDS
(II) NVIDIA(0): Assigned Display Device: DFP-0
(WW) NVIDIA(0): No valid modes for "1680x1050_75_0"; removing.
(WW) NVIDIA(0): No valid modes for "1280x854"; removing.
(WW) NVIDIA(0): No valid modes for "1024x768"; removing.
(WW) NVIDIA(0): No valid modes for "800x600"; removing.
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):     "640x480"
(II) NVIDIA(0): Virtual screen size determined to be 640 x 480
(--) NVIDIA(0): DPI set to (50, 60); computed from "UseEdidDpi" X config
(--) NVIDIA(0):     option
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
        [0] 0   0       0xc0000000 - 0xcfffffff (0x10000000) MX[b]
        [1] 0   0       0xdc000000 - 0xdcffffff (0x1000000) MX[b]
        [2] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)
        [3] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[b]
        [4] -1  0       0x000c0000 - 0x000effff (0x30000) MX[b]
        [5] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[b]
        [6] -1  0       0xdeff0000 - 0xdeffffff (0x10000) MX[b]
        [7] -1  0       0xdefefc00 - 0xdefefcff (0x100) MX[b]
        [8] -1  0       0xdefee000 - 0xdefeefff (0x1000) MX[b]
        [9] -1  0       0xdefed000 - 0xdefedfff (0x1000) MX[b]
        [10] -1 0       0xdefec000 - 0xdefecfff (0x1000) MX[b]
        [11] -1 0       0xdefeb000 - 0xdefebfff (0x1000) MX[b]
        [12] -1 0       0xdefea000 - 0xdefeafff (0x1000) MX[b]
        [13] -1 0       0xdefe9000 - 0xdefe9fff (0x1000) MX[b]
        [14] -1 0       0xe0000000 - 0xdfffffff (0x0) MX[b]O
        [15] -1 0       0xddee0000 - 0xddefffff (0x20000) MX[b](B)
        [16] -1 0       0xc0000000 - 0xcfffffff (0x10000000) MX[b](B)
        [17] -1 0       0xdc000000 - 0xdcffffff (0x1000000) MX[b](B)
        [18] -1 0       0xdf000000 - 0xdfffffff (0x1000000) MX[b](B)
        [19] 0  0       0x000a0000 - 0x000affff (0x10000) MS[b](OprD)
        [20] 0  0       0x000b0000 - 0x000b7fff (0x8000) MS[b](OprD)
        [21] 0  0       0x000b8000 - 0x000bffff (0x8000) MS[b](OprD)
        [22] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[b]
        [23] -1 0       0x00000000 - 0x000000ff (0x100) IX[b]
        [24] -1 0       0x0000e800 - 0x0000e8ff (0x100) IX[b]
        [25] -1 0       0x0000ec00 - 0x0000ec7f (0x80) IX[b]
        [26] -1 0       0x0000e400 - 0x0000e4ff (0x100) IX[b]
        [27] -1 0       0x0000ee80 - 0x0000eeff (0x80) IX[b]
        [28] -1 0       0x0000e000 - 0x0000e0ff (0x100) IX[b]
        [29] -1 0       0x0000ffa0 - 0x0000ffaf (0x10) IX[b]
        [30] -1 0       0x00000c00 - 0x00000c1f (0x20) IX[b]
        [31] 0  0       0x000003b0 - 0x000003bb (0xc) IS[b](OprU)
        [32] 0  0       0x000003c0 - 0x000003df (0x20) IS[b](OprU)
(II) NVIDIA(0): Built-in logo is bigger than the screen.
(II) NVIDIA(0): Setting mode "640x480"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) Option "dpms"
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(==) RandR enabled
Alienware Area-51m laptop
Ubuntu 6.10 (Edgy Eft)
nvidia Geforce 5700 Go
native laptop screen res. is 1680x1050

Linux Kernel (uname -r):

1:7.1.1ubuntu6.2 (installed version reported by Synaptic)

Xorg -version
X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux i686 
Current Operating System: Linux bkbuntutop 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686
Build Date: 07 July 2006
        Before reporting problems, check
        to make sure that you have the latest version.
Module Loader present

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Wed Nov  1 19:47:17 PST 2006

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

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    InputDevice    "stylus" "SendCoreEvents"
    InputDevice    "cursor" "SendCoreEvents"
    InputDevice    "eraser" "SendCoreEvents"

Section "Files"

        # path to defoma fonts
    FontPath        "/usr/share/X11/fonts/misc"
    FontPath        "/usr/share/X11/fonts/cyrillic"
    FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/X11/fonts/Type1"
    FontPath        "/usr/share/X11/fonts/100dpi"
    FontPath        "/usr/share/X11/fonts/75dpi"
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"

Section "Module"
    Load           "i2c"
    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "type1"
    Load           "vbe"

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
    Option         "XkbOptions" "lv3:ralt_switch"

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ExplorerPS/2"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "false"

    ...   (snipped out the typical three Wacom devices for length)

Section "InputDevice"
  Driver        "synaptics"
  Identifier    "TouchPad"
  Option        "Device"        "/dev/input/mouse0"
  Option        "Protocol"      "audo-dev"
  Option       "LeftEdge"      "1700"
  Option       "RightEdge"     "5400"
  Option       "TopEdge"       "1700"
  Option       "BottomEdge"    "4200"
  Option       "FingerLow"     "25"
  Option       "FingerHigh"    "30"
  Option       "MaxTapTime"    "75"
  Option       "MaxTapMove"    "2"
  Option       "TapButton1"    "0"
  Option       "TapButton2"    "2"
  Option       "TapButton3"    "2"
  Option       "VertScrollDelta" "100"
  Option       "MinSpeed"      "0.09"
  Option       "MaxSpeed"      "0.18"
  Option       "AccelFactor"   "0.0015"
  Option       "SHMConfig"     "on"
  Option       "UpDownScrolling"  "on"
  Option       "UpDownRepeat"  "off"
  Option       "ScrollButtonRepeat"  "300"
  Option       "HorizTwoFingerScroll"  "on"

Section "Monitor"
    Identifier     "Generic Monitor"
    HorizSync       28.0 - 84.0
    VertRefresh     43.0 - 60.0
    Option         "DPMS"

Section "Device"
    Identifier     "NVIDIA Corporation NV36 [GeForce FX Go5700]"
    Driver         "nvidia"

Section "Screen"
    Identifier     "Default Screen"
    Device         "NVIDIA Corporation NV36 [GeForce FX Go5700]"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    SubSection     "Display"
        Depth       1
        Modes      "1680x1050_60_0" "1280x854" "1024x768" "800x600" "640x480"
    SubSection     "Display"
        Depth       4
        Modes      "1680x1050_60_0" "1280x854" "1024x768" "800x600" "640x480"
    SubSection     "Display"
        Depth       8
        Modes      "1680x1050_60_0" "1280x854" "1024x768" "800x600" "640x480"
    SubSection     "Display"
        Depth       15
        Modes      "1680x1050_60_0" "1280x854" "1024x768" "800x600" "640x480"
    SubSection     "Display"
        Depth       16
        Modes      "1680x1050_60_0" "1280x854" "1024x768" "800x600" "640x480"
    SubSection     "Display"
        Depth       24
        Modes      "1680x1050_60_0" "1280x854" "1024x768" "800x600" "640x480"
#    Option         "ModeValidation" "NoEdidModes"
#    Option         "UseEdidFreqs" "FALSE"
#    Option         "UseEDID" "FALSE"
#    Option         "ModeValidation"  "DFP-0: NoDFPNativeResolutionCheck, AllowNon60HzDFPModes, NoMaxPClkCheck, NoEdidMaxPclkCheck, NoHorizSyncCheck, NoVertRefreshCheck, NoWidthAlignmentCheck, NoVirtualSizeCheck, NoEdidModes, NoMaxSizeCheck, NoVesaModes"

Section "Extensions"
    Option         "Composite" "Disable"

Tried (and failed) so far:

The 'nv' module is disabled :
in /etc/default/linux-restricted-modules-common

Neither of the four commented lines at the end of the Screen section (xorg.conf) helped anything.

Disabling EDIDs did not solve the problem. I checked in xorg.0.log to be sure - it did report the EDIDs were disabled and not being used, and the problem did not change.

Tried different mode declarations for 1680x1050, with no change:
Modes "1680x1050"
Modes "1680x1050_60_0"
Modes "1680x1050_75_0"

I will put in a second post with the larger log files in full and the nvidia-bug-report output.

In total I have probably spent about a week and a half searching around and trying things in xorg.conf... Always going back to a clean one when things didn't work of course.

The other threads I've looked at that were similar to my problem (but I'm thinking one might not be related) are:
--> Monitor doesnt like Drivers
--> Can't use nvidia drivers on Ubuntu Edgy 6.10 ?

Last edited by NotASquirrel; 12-19-06 at 10:27 PM.
NotASquirrel is offline   Reply With Quote