[ale] X new problem

Bob Toxen transam at verysecurelinux.com
Fri Jan 11 15:29:21 EST 2008


I fixed THAT X problem with a symlink (noted at the end of this
posting).

NOW when I do startx, it complains:

     (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan 11 14:40:31 2008
     (==) Using config file: "/etc/X11/xorg.conf"

     Using vt 7
     (EE) No devices detected.

     Fatal server error:
     no screens found
     XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
           after 0 requests (0 known processed) with 0 events remaining.

I did diffs of my config files and didn't see anything obvious.  I have
no idea what the above complaint is about.  I'd be very grateful for any
ideas.  My /var/log/Xorg.0.log and /etc/X11/xorg.conf follow.

-------------------- /var/log/Xorg.0.log ---------------------------
X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: Linux_2.6.12-12mdksmp Mandriva
Current Operating System: Linux verysecurelinux.com 2.6.22.9-desktop-1mdv #1 SMP Thu Sep 27 04:07:04 CEST 2007 i686
Build Date: 01 October 2007
	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: Fri Jan 11 14:40:31 2008
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "layout1"
(**) |-->Screen "screen1" (0)
(**) |   |-->Monitor "monitor1"
(**) |   |-->Device "device1"
(**) |-->Input Device "Keyboard1"
(**) |-->Input Device "Mouse1"
(**) FontPath set to:
	unix/:-1
(==) RgbPath set to "/usr/share/X11/rgb"
(==) ModulePath set to "/usr/lib/xorg/modules"
(**) Option "AllowMouseOpenFail"
(**) Extension "Composite" is enabled
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x820e520
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.3
	X.Org Video Driver: 1.2
	X.Org XInput driver : 0.7
	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.3.0, module version = 1.0.0
	ABI class: X.Org Video Driver, version 1.2
Using vt 7
(--) using VT number 7

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1106,3099 card 1043,8064 rev 00 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 1106,b099 card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 00:05:0: chip 13f6,0111 card 1043,80e2 rev 10 class 04,01,00 hdr 00
(II) PCI: 00:06:0: chip 105a,0d30 card 105a,4d33 rev 02 class 01,80,00 hdr 00
(II) PCI: 00:0f:0: chip 104b,8130 card 104b,8130 rev 02 class 01,00,00 hdr 00
(II) PCI: 00:10:0: chip 11ad,0002 card 2646,f002 rev 20 class 02,00,00 hdr 00
(II) PCI: 00:11:0: chip 1106,3074 card 1043,8052 rev 00 class 06,01,00 hdr 80
(II) PCI: 00:11:1: chip 1106,0571 card 0000,0000 rev 06 class 01,01,8a hdr 00
(II) PCI: 00:11:2: chip 1106,3038 card 0925,1234 rev 1b class 0c,03,00 hdr 00
(II) PCI: 00:11:3: chip 1106,3038 card 0925,1234 rev 1b class 0c,03,00 hdr 00
(II) PCI: 00:11:4: chip 1106,3038 card 0925,1234 rev 1b class 0c,03,00 hdr 00
(II) PCI: 01:00:0: chip 10de,0110 card 0000,0000 rev b2 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,1), 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: 0x0008 (VGA_EN is set)
(II) Bus 1 non-prefetchable memory range:
	[0] -1	0	0xee000000 - 0xefdfffff (0x1e00000) MX[B]
(II) Bus 1 prefetchable memory range:
	[0] -1	0	0xeff00000 - 0xfbffffff (0xc100000) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:17:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI:*(1:0:0) nVidia Corporation NV11 [GeForce2 MX/MX 400] rev 178, Mem @ 0xee000000/24, 0xf0000000/27, BIOS @ 0xefff0000/16
(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) PCI Memory resource overlap reduced 0xfc000000 from 0xfdffffff to 0xfbffffff
(II) Active PCI resource ranges:
	[0] -1	0	0xec800000 - 0xec8000ff (0x100) MX[B]
	[1] -1	0	0xfe00f000 - 0xfe00ffff (0x1000) MX[B]
	[2] -1	0	0x40040000 - 0x4005ffff (0x20000) MX[B]
	[3] -1	0	0xed800000 - 0xed81ffff (0x20000) MX[B]
	[4] -1	0	0xfc000000 - 0xfbffffff (0x0) MX[B]O
	[5] -1	0	0xefff0000 - 0xefffffff (0x10000) MX[B](B)
	[6] -1	0	0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
	[7] -1	0	0xee000000 - 0xeeffffff (0x1000000) MX[B](B)
	[8] -1	0	0x00009000 - 0x0000901f (0x20) IX[B]
	[9] -1	0	0x00009400 - 0x0000941f (0x20) IX[B]
	[10] -1	0	0x00009800 - 0x0000981f (0x20) IX[B]
	[11] -1	0	0x0000a000 - 0x0000a00f (0x10) IX[B]
	[12] -1	0	0x0000a400 - 0x0000a4ff (0x100) IX[B]
	[13] -1	0	0x0000a800 - 0x0000a8ff (0x100) IX[B]
	[14] -1	0	0x0000b000 - 0x0000b03f (0x40) IX[B]
	[15] -1	0	0x0000b400 - 0x0000b403 (0x4) IX[B]
	[16] -1	0	0x0000b800 - 0x0000b807 (0x8) IX[B]
	[17] -1	0	0x0000d000 - 0x0000d003 (0x4) IX[B]
	[18] -1	0	0x0000d400 - 0x0000d407 (0x8) IX[B]
	[19] -1	0	0x0000d800 - 0x0000d8ff (0x100) IX[B]
(II) Active PCI resource ranges after removing overlaps:
	[0] -1	0	0xec800000 - 0xec8000ff (0x100) MX[B]
	[1] -1	0	0xfe00f000 - 0xfe00ffff (0x1000) MX[B]
	[2] -1	0	0x40040000 - 0x4005ffff (0x20000) MX[B]
	[3] -1	0	0xed800000 - 0xed81ffff (0x20000) MX[B]
	[4] -1	0	0xfc000000 - 0xfbffffff (0x0) MX[B]O
	[5] -1	0	0xefff0000 - 0xefffffff (0x10000) MX[B](B)
	[6] -1	0	0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
	[7] -1	0	0xee000000 - 0xeeffffff (0x1000000) MX[B](B)
	[8] -1	0	0x00009000 - 0x0000901f (0x20) IX[B]
	[9] -1	0	0x00009400 - 0x0000941f (0x20) IX[B]
	[10] -1	0	0x00009800 - 0x0000981f (0x20) IX[B]
	[11] -1	0	0x0000a000 - 0x0000a00f (0x10) IX[B]
	[12] -1	0	0x0000a400 - 0x0000a4ff (0x100) IX[B]
	[13] -1	0	0x0000a800 - 0x0000a8ff (0x100) IX[B]
	[14] -1	0	0x0000b000 - 0x0000b03f (0x40) IX[B]
	[15] -1	0	0x0000b400 - 0x0000b403 (0x4) IX[B]
	[16] -1	0	0x0000b800 - 0x0000b807 (0x8) IX[B]
	[17] -1	0	0x0000d000 - 0x0000d003 (0x4) IX[B]
	[18] -1	0	0x0000d400 - 0x0000d407 (0x8) IX[B]
	[19] -1	0	0x0000d800 - 0x0000d8ff (0x100) IX[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	0xec800000 - 0xec8000ff (0x100) MX[B]
	[5] -1	0	0xfe00f000 - 0xfe00ffff (0x1000) MX[B]
	[6] -1	0	0x40040000 - 0x4005ffff (0x20000) MX[B]
	[7] -1	0	0xed800000 - 0xed81ffff (0x20000) MX[B]
	[8] -1	0	0xfc000000 - 0xfbffffff (0x0) MX[B]O
	[9] -1	0	0xefff0000 - 0xefffffff (0x10000) MX[B](B)
	[10] -1	0	0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
	[11] -1	0	0xee000000 - 0xeeffffff (0x1000000) MX[B](B)
	[12] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[13] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[14] -1	0	0x00009000 - 0x0000901f (0x20) IX[B]
	[15] -1	0	0x00009400 - 0x0000941f (0x20) IX[B]
	[16] -1	0	0x00009800 - 0x0000981f (0x20) IX[B]
	[17] -1	0	0x0000a000 - 0x0000a00f (0x10) IX[B]
	[18] -1	0	0x0000a400 - 0x0000a4ff (0x100) IX[B]
	[19] -1	0	0x0000a800 - 0x0000a8ff (0x100) IX[B]
	[20] -1	0	0x0000b000 - 0x0000b03f (0x40) IX[B]
	[21] -1	0	0x0000b400 - 0x0000b403 (0x4) IX[B]
	[22] -1	0	0x0000b800 - 0x0000b807 (0x8) IX[B]
	[23] -1	0	0x0000d000 - 0x0000d003 (0x4) IX[B]
	[24] -1	0	0x0000d400 - 0x0000d407 (0x8) IX[B]
	[25] -1	0	0x0000d800 - 0x0000d8ff (0x100) IX[B]
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.3.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: "v4l"
(II) Loading /usr/lib/xorg/modules/drivers//v4l_drv.so
(II) Module v4l: vendor="X.Org Foundation"
	compiled for 1.3.0, module version = 0.1.1
	ABI class: X.Org Video Driver, version 1.2
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.3.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 Multi-Buffering
(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: "type1"
(II) Loading /usr/lib/xorg/modules/fonts//libtype1.so
(II) Module type1: vendor="X.Org Foundation"
	compiled for 1.3.0, module version = 1.0.2
	Module class: X.Org Font Renderer
	ABI class: X.Org Font Renderer, version 0.5
(II) Loading font Type1
(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.3.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: "/usr/X11R6/lib/modules/extensions/nvidia/libglx.so" (glx)
(WW) LoadModule: given non-canonical module name "/usr/X11R6/lib/modules/extensions/nvidia/libglx.so"
(II) Loading /usr/X11R6/lib/modules/extensions/nvidia/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 0.1
(II) NVIDIA GLX Module  100.14.19  Wed Sep 12 14:48:02 PDT 2007
(II) Loading extension GLX
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 0.1
(II) NVIDIA GLX Module  100.14.19  Wed Sep 12 14:48:02 PDT 2007
(II) Loading extension GLX
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Video Driver
(II) LoadModule: "kbd"
(II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
	compiled for 7.2.0, module version = 1.1.0
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 0.7
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
	compiled for 1.3.0, module version = 1.2.2
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 0.7
(II) v4l driver for Video4Linux
(II) NVIDIA dlloader X Driver  100.14.19  Wed Sep 12 14:14:20 PDT 2007
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01:00:0
(WW) NVIDIA(0): The NVIDIA GeForce2 MX/MX 400 GPU installed in this system is
(WW) NVIDIA(0):     supported through the NVIDIA 96.43.xx Legacy drivers.
(WW) NVIDIA(0):     Please visit http://www.nvidia.com/object/unix.html for
(WW) NVIDIA(0):     more information.  The 100.14.19 NVIDIA driver will ignore
(WW) NVIDIA(0):     this GPU.  Continuing probe... 
(EE) No devices detected.

Fatal server error:
no screens found






-------------------- /etc/X11/xorg.conf ---------------------------
# File generated by XFdrake (rev 230776)

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Mandrake 6.0 and later now use a font server independent of
    # the X server to render fonts.
    FontPath "unix/:-1"
EndSection

Section "Extensions"
    Option "Composite"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "/usr/X11R6/lib/modules/extensions/nvidia/libglx.so"
    Load "glx" # 3D layer
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "Microsoft"
    Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    ModelName "A90-2"
    HorizSync 30-95
    VertRefresh 50-180
    
    # Monitor preferred modeline (85.0 Hz vsync, 91.1 kHz hsync, ratio 5/4)
    ModeLine "1280x1024" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
    
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
    
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    VendorName "nVidia Corporation"
    BoardName "NVIDIA GeForce 3 - GeForce 4 (96xx)"
    Driver "nvidia"
    Option "DPMS"
    Option "RenderAccel" "false"
    Option "AddARGBGLXVisuals"
    Option "IgnoreEDID" "1"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 8
        Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
EndSection


THAT X problem was due to Mandrake not knowing where it put the
libglx.so file.  I fixed it by doing:

     cd /usr/X11R6/lib/modules/extensions
     ln -s /usr/lib/xorg/modules/extensions/nvidia-current nvidea

> I am no longer to run X after upgrading my Mandriva system to Mandreva 2008.i (i586).

> During the upgrade process, the Installation process noted my Nvidia
> graphics chip and asked me if I wanted Nvidia-specific drivers.  I said
> yes in my innocent belief that the Installation process knew what to do
> with the answer.

> Now, when I invoke startx it complains with:

> 	dlopen: /usr/X11R6/lib/modules/extensions/nvidia/libglx.so:
> 	  cannot open shared object file: No such file or directory
> 	(EE) Failed to load /usr/X11R6/lib/modules/extensions/nvidia/libglx.so
> 	(EE) Failed to load module
> 	  "/usr/X11R6/lib/modules/extensions/nvidia/libglx.so" (loader
> 	  failed, 7)

> The full output from X is at the end of the email.
> I'm a server guy, not a GUI guy.  HELP!

> THANKS Very, VERY much,
> Bob Toxen
> bob at verysecurelinux.com               [Please use for email to me]


> Full X output when invoking startx:

> X Window System Version 1.3.0
> Release Date: 19 April 2007
> X Protocol Version 11, Revision 0, Release 1.3
> Build Operating System: Linux_2.6.12-12mdksmp Mandriva
> Current Operating System: Linux verysecurelinux.com 2.6.22.9-desktop-1mdv
>   #1 SMP Thu Sep 27 04:07:04 CEST 2007 i686
> Build Date: 01 October 2007
> 	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: Thu Jan 10 17:43:00 2008
> (==) Using config file: "/etc/X11/xorg.conf"
> Using vt 7
> dlopen: /usr/X11R6/lib/modules/extensions/nvidia/libglx.so: cannot open
>   shared object file: No such file or directory
> (EE) Failed to load /usr/X11R6/lib/modules/extensions/nvidia/libglx.so
> (EE) Failed to load module
>   "/usr/X11R6/lib/modules/extensions/nvidia/libglx.so" (loader failed, 7)
> (EE) No devices detected.



More information about the Ale mailing list