|
楼主 |
发表于 2002-8-9 12:05:13
|
显示全部楼层
帮帮我,x-windows还是启动不了
昨晚回去照着北南南北老大你的指点,修改了/etc/X11/XF86config-4这个文件,内容如下:
# XFree86 4.0 configuration generated by Xconfigurator
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
# By default, Red Hat Linux 6.0 and later use xfs
Section "Files"
FontPath "unix/:7100"
EndSection
# Module loading section
Section "Module"
Load "dbe" # Double-buffering
Load "GLcore" # OpenGL support
Load "dri" # Direct rendering infrastructure
Load "glx" # OpenGL X protocol interface
Load "extmod" # Misc. required extensions
Load "v4l" # Video4Linux
# Load "pex5" # PHIGS for X 3D environment (obsolete)
# Load "record" # X event recorder
# Load "xie" # X Image Extension (obsolete)
# You only need the following two modules if you do not use xfs.
# Load "freetype" # TrueType font handler
# Load "type1" # Adobe Type 1 font handler
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/mouse"
Option "rotocol" "S/2"
Option "Emulate3Buttons" "off"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "AT 775FT"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30 - 70
VertRefresh 50 - 120
Option "dpms"
EndSection
Section "Device"
Identifier "NVIDIA GeForce 2 MX (generic)"
Driver "nvidia"
VideoRAM 32768
BoardName "Unknow"
EndSection
Section "Device"
Identifier "Linux Frame Buffer"
Driver "fbdev"
BoardName "Unknown"
EndSection
Section "Screen"
Identifier "Screen0"
Device "NVIDIA GeForce 2 MX (generic)"
Monitor "AT 775FT"
DefaultDepth 16
Subsection "Display"
Depth 24
Modes "1024x768" "800x600"
EndSubSection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600"
EndSubSection
Subsection "Display"
Depth 8
Modes "1024x768" "800x600"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
加入了VideoRAM 32768这一行,而且将显卡分别设为sis630和NVIDIA GeForce 2 MX (generic),试验了两次,结果是startx后系统提示有错,查看/var/log/XFree86.0.log文件内容如下:
XFree86 Version 4.1.0 (Red Hat Linux release: 4.1.0-3) / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 2 June 2001
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.4.7-0.13.1smp i686 [ELF]
Build Host: stripples.devel.redhat.com
Module Loader present
(==) Log file: "/var/log/XFree86.0.log", Time: Fri Aug 9 19:30:09 2002
(==) Using config file: "/etc/X11/XF86Config-4"
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) ServerLayout "XFree86 Configured"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "AT 775FT"
(**) | |-->Device "NVIDIA GeForce 2 MX (generic)"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to "unix/:7100"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) using VT number 7
(II) Open APM successful
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.1
XFree86 Video Driver: 0.4
XFree86 XInput driver : 0.2
XFree86 Server Extension : 0.1
XFree86 Font Renderer : 0.2
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
compiled for 4.1.0, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
compiled for 4.1.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.4
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x80000070, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1039,0650 card 1039,0650 rev 01 class 06,00,00 hdr 80
(II) PCI: 00:01:0: chip 1039,0001 card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 00:02:0: chip 1039,0008 card 0000,0000 rev 00 class 06,01,00 hdr 80
(II) PCI: 00:02:2: chip 1039,7001 card 1039,7001 rev 07 class 0c,03,10 hdr 00
(II) PCI: 00:02:3: chip 1039,7001 card 1039,7001 rev 07 class 0c,03,10 hdr 00
(II) PCI: 00:02:5: chip 1039,5513 card 1039,5513 rev d0 class 01,01,80 hdr 80
(II) PCI: 00:02:7: chip 1039,7012 card 1462,5330 rev a0 class 04,01,00 hdr 00
(II) PCI: 00:0f:0: chip 10ec,8139 card 10ec,8139 rev 10 class 02,00,00 hdr 00
(II) PCI: 01:00:0: chip 1039,6325 card 1039,6325 rev 00 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
compiled for 4.1.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.4
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) PCI-to-ISA bridge:
(II) PCI-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1 0x00000000 - 0x0000ffff (0x10000) IX
(II) Bus 0 non-prefetchable memory range:
[0] -1 0x00000000 - 0xffffffff (0x0) MX
(II) Bus 0 prefetchable memory range:
[0] -1 0x00000000 - 0xffffffff (0x0) MX
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x0e (VGA_EN is set)
(II) Bus 1 I/O range:
[0] -1 0x0000d000 - 0x0000d0ff (0x100) IX
[1] -1 0x0000d400 - 0x0000d4ff (0x100) IX
[2] -1 0x0000d800 - 0x0000d8ff (0x100) IX
[3] -1 0x0000dc00 - 0x0000dcff (0x100) IX
(II) Bus 1 non-prefetchable memory range:
[0] -1 0xcd000000 - 0xcd0fffff (0x100000) MX
(II) Bus 1 prefetchable memory range:
[0] -1 0xc0000000 - 0xc7ffffff (0x8000000) MX
(II) Bus -1: bridge is at (0:2:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus -1 I/O range:
(II) Bus -1 non-prefetchable memory range:
(II) Bus -1 prefetchable memory range:
(--) PCI:*(1:0:0) SiS unknown chipset (0x6325) rev 0, Mem @ 0xc0000000/27, 0xcd000000/17, I/O @ 0xd000/7
(II) Addressable bus resource ranges are
[0] -1 0x00000000 - 0xffffffff (0x0) MX
[1] -1 0x00000000 - 0x0000ffff (0x10000) IX
(II) OS-reported resource ranges:
[0] -1 0xffe00000 - 0xffffffff (0x200000) MX(B)
[1] -1 0x00100000 - 0x3fffffff (0x3ff00000) MXE(B)
[2] -1 0x000f0000 - 0x000fffff (0x10000) MX
[3] -1 0x000c0000 - 0x000effff (0x30000) MX
[4] -1 0x00000000 - 0x0009ffff (0xa0000) MX
[5] -1 0x0000ffff - 0x0000ffff (0x1) IX
[6] -1 0x00000000 - 0x000000ff (0x100) IX
(II) Active PCI resource ranges:
[0] -1 0xcd101000 - 0xcd1010ff (0x100) MX
[1] -1 0xcd100000 - 0xcd100fff (0x1000) MX
[2] -1 0xcd102000 - 0xcd102fff (0x1000) MX
[3] -1 0xe0000000 - 0xe3ffffff (0x4000000) MX
[4] -1 0xcd000000 - 0xcd01ffff (0x20000) MX(B)
[5] -1 0xc0000000 - 0xc7ffffff (0x8000000) MX(B)
[6] -1 0x0000e800 - 0x0000e8ff (0x100) IX
[7] -1 0x0000e400 - 0x0000e47f (0x80) IX
[8] -1 0x0000e000 - 0x0000e0ff (0x100) IX
[9] -1 0x00004000 - 0x0000400f (0x10) IX
[10] -1 0x0000d000 - 0x0000d07f (0x80) IX(B)
(II) Active PCI resource ranges after removing overlaps:
[0] -1 0xcd101000 - 0xcd1010ff (0x100) MX
[1] -1 0xcd100000 - 0xcd100fff (0x1000) MX
[2] -1 0xcd102000 - 0xcd102fff (0x1000) MX
[3] -1 0xe0000000 - 0xe3ffffff (0x4000000) MX
[4] -1 0xcd000000 - 0xcd01ffff (0x20000) MX(B)
[5] -1 0xc0000000 - 0xc7ffffff (0x8000000) MX(B)
[6] -1 0x0000e800 - 0x0000e8ff (0x100) IX
[7] -1 0x0000e400 - 0x0000e47f (0x80) IX
[8] -1 0x0000e000 - 0x0000e0ff (0x100) IX
[9] -1 0x00004000 - 0x0000400f (0x10) IX
[10] -1 0x0000d000 - 0x0000d07f (0x80) IX(B)
(II) OS-reported resource ranges after removing overlaps with PCI:
[0] -1 0xffe00000 - 0xffffffff (0x200000) MX(B)
[1] -1 0x00100000 - 0x3fffffff (0x3ff00000) MXE(B)
[2] -1 0x000f0000 - 0x000fffff (0x10000) MX
[3] -1 0x000c0000 - 0x000effff (0x30000) MX
[4] -1 0x00000000 - 0x0009ffff (0xa0000) MX
[5] -1 0x0000ffff - 0x0000ffff (0x1) IX
[6] -1 0x00000000 - 0x000000ff (0x100) IX
(II) All system resource ranges:
[0] -1 0xffe00000 - 0xffffffff (0x200000) MX(B)
[1] -1 0x00100000 - 0x3fffffff (0x3ff00000) MXE(B)
[2] -1 0x000f0000 - 0x000fffff (0x10000) MX
[3] -1 0x000c0000 - 0x000effff (0x30000) MX
[4] -1 0x00000000 - 0x0009ffff (0xa0000) MX
[5] -1 0xcd101000 - 0xcd1010ff (0x100) MX
[6] -1 0xcd100000 - 0xcd100fff (0x1000) MX
[7] -1 0xcd102000 - 0xcd102fff (0x1000) MX
[8] -1 0xe0000000 - 0xe3ffffff (0x4000000) MX
[9] -1 0xcd000000 - 0xcd01ffff (0x20000) MX(B)
[10] -1 0xc0000000 - 0xc7ffffff (0x8000000) MX(B)
[11] -1 0x0000ffff - 0x0000ffff (0x1) IX
[12] -1 0x00000000 - 0x000000ff (0x100) IX
[13] -1 0x0000e800 - 0x0000e8ff (0x100) IX
[14] -1 0x0000e400 - 0x0000e47f (0x80) IX
[15] -1 0x0000e000 - 0x0000e0ff (0x100) IX
[16] -1 0x00004000 - 0x0000400f (0x10) IX
[17] -1 0x0000d000 - 0x0000d07f (0x80) IX(B)
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
compiled for 4.1.0, module version = 1.0.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
compiled for 4.1.0, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.1
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
compiled for 4.1.0, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.1
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
compiled for 4.1.0, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension XFree86-DRI
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
compiled for 4.1.0, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.1
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Reloading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Loading extension GLX
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
compiled for 4.1.0, module version = 1.0.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) LoadModule: "v4l"
(II) Loading /usr/X11R6/lib/modules/drivers/linux/v4l_drv.o
(II) Module v4l: vendor="The XFree86 Project"
compiled for 4.1.0, module version = 0.0.1
ABI class: XFree86 Video Driver, version 0.4
(II) LoadModule: "nvidia"
(WW) Warning, couldn't open module nvidia
(II) UnloadModule: "nvidia"
(EE) Failed to load module "nvidia" (module does not exist, 0)
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
compiled for 4.1.0, module version = 1.0.0
Module class: XFree86 XInput Driver
ABI class: XFree86 XInput driver, version 0.2
(II) v4l driver for Video4Linux
(II) Primary Device is: PCI 01:00:0
(EE) No devices detected.
Fatal server error:
no screens found
When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.
帮帮我,我应该再怎么改才可以呀???red red red red |
|