LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1802|回复: 19

xorg的问题(不能进入x)恳请大家帮帮忙!

[复制链接]
发表于 2010-1-10 16:03:22 | 显示全部楼层 |阅读模式
很长时间不用arch了,今天安装后,到xorg出现问题了,还请大家帮忙!
我的显卡时nvidia的GF4mx 440 agp8x的pacman -S nvidia-96xx后,本来是想用xorgconfig或xorgcfg配置的,但我的竟然没有这个命令,用nvidia-xconfig配置的xorg.conf cp成/root/xorg.conf.new后测试X -config /root/xorg.conf.new竟然出错,这是我的xorg启动日志:

  1. This is a pre-release version of the X server from The X.Org Foundation.
  2. It is not supported in any way.
  3. Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
  4. Select the "xorg" product for bugs you find in this release.
  5. Before reporting bugs in pre-release versions please check the
  6. latest version in the X.Org Foundation git repository.
  7. See http://wiki.x.org/wiki/GitPage for git access instructions.

  8. X.Org X Server 1.7.3.902 (1.7.4 RC 2)
  9. Release Date: 2009-12-26
  10. X Protocol Version 11, Revision 0
  11. Build Operating System: Linux 2.6.32-ARCH i686
  12. Current Operating System: Linux zhongyong35 2.6.32-ARCH #1 SMP PREEMPT Sat Dec 26 08:26:17 UTC 2009 i686
  13. Kernel command line: root=/dev/disk/by-uuid/e8a3ee8d-41e5-48b4-9a25-3994acb354f1 ro vga=773
  14. Build Date: 26 December 2009  11:37:45AM

  15. Current version of pixman: 0.16.4
  16.         Before reporting problems, check http://wiki.x.org
  17.         to make sure that you have the latest version.
  18. Markers: (--) probed, (**) from config file, (==) default setting,
  19.         (++) from command line, (!!) notice, (II) informational,
  20.         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  21. (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 10 15:19:32 2010
  22. (++) Using config file: "/root/xorg.conf.new"
  23. (==) ServerLayout "Layout0"
  24. (**) |-->Screen "Screen0" (0)
  25. (**) |   |-->Monitor "Monitor0"
  26. (**) |   |-->Device "Device0"
  27. (**) |-->Input Device "Keyboard0"
  28. (**) |-->Input Device "Mouse0"
  29. (==) Automatically adding devices
  30. (==) Automatically enabling devices
  31. (WW) The directory "/usr/share/fonts/TTF" does not exist.
  32.         Entry deleted from font path.
  33. (WW) The directory "/usr/share/fonts/Type1" does not exist.
  34.         Entry deleted from font path.
  35. (==) FontPath set to:
  36.         /usr/share/fonts/misc,
  37.         /usr/share/fonts/100dpi:unscaled,
  38.         /usr/share/fonts/75dpi:unscaled
  39. (==) ModulePath set to "/usr/lib/xorg/modules"
  40. (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
  41. (WW) Disabling Keyboard0
  42. (WW) Disabling Mouse0
  43. (II) Loader magic: 0x81e4c60
  44. (II) Module ABI versions:
  45.         X.Org ANSI C Emulation: 0.4
  46.         X.Org Video Driver: 6.0
  47.         X.Org XInput driver : 7.0
  48.         X.Org Server Extension : 2.0
  49. (--) using VT number 7

  50. (--) PCI:*(0:1:0:0) 10de:0181:0000:0000 nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] rev 193, Mem @ 0xec000000/16777216, 0xe0000000/134217728, BIOS @ 0x????????/131072
  51. (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
  52. (II) LoadModule: "extmod"
  53. (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
  54. (II) Module extmod: vendor="X.Org Foundation"
  55.         compiled for 1.7.3.902, module version = 1.0.0
  56.         Module class: X.Org Server Extension
  57.         ABI class: X.Org Server Extension, version 2.0
  58. (II) Loading extension MIT-SCREEN-SAVER
  59. (II) Loading extension XFree86-VidModeExtension
  60. (II) Loading extension XFree86-DGA
  61. (II) Loading extension DPMS
  62. (II) Loading extension XVideo
  63. (II) Loading extension XVideo-MotionCompensation
  64. (II) Loading extension X-Resource
  65. (II) LoadModule: "dbe"
  66. (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
  67. (II) Module dbe: vendor="X.Org Foundation"
  68.         compiled for 1.7.3.902, module version = 1.0.0
  69.         Module class: X.Org Server Extension
  70.         ABI class: X.Org Server Extension, version 2.0
  71. (II) Loading extension DOUBLE-BUFFER
  72. (II) LoadModule: "glx"
  73. (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
  74. (II) Module glx: vendor="NVIDIA Corporation"
  75.         compiled for 4.0.2, module version = 1.0.0
  76.         Module class: X.Org Server Extension
  77. (II) NVIDIA GLX Module  96.43.14  Sun Nov  8 18:24:17 PST 2009
  78. (II) Loading extension GLX
  79. (II) LoadModule: "dri"
  80. (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
  81. (II) Module dri: vendor="X.Org Foundation"
  82.         compiled for 1.7.3.902, module version = 1.0.0
  83.         ABI class: X.Org Server Extension, version 2.0
  84. (II) Loading extension XFree86-DRI
  85. (II) LoadModule: "dri2"
  86. (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
  87. (II) Module dri2: vendor="X.Org Foundation"
  88.         compiled for 1.7.3.902, module version = 1.1.0
  89.         ABI class: X.Org Server Extension, version 2.0
  90. (II) Loading extension DRI2
  91. (II) LoadModule: "nvidia"
  92. (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
  93. (II) Module nvidia: vendor="NVIDIA Corporation"
  94.         compiled for 4.0.2, module version = 1.0.0
  95.         Module class: X.Org Video Driver
  96. (II) NVIDIA dlloader X Driver  96.43.14  Sun Nov  8 18:12:51 PST 2009
  97. (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
  98. (II) Primary Device is: PCI 01@00:00:0
  99. (II) Loading sub module "fb"
  100. (II) LoadModule: "fb"
  101. (II) Loading /usr/lib/xorg/modules/libfb.so
  102. (II) Module fb: vendor="X.Org Foundation"
  103.         compiled for 1.7.3.902, module version = 1.0.0
  104.         ABI class: X.Org ANSI C Emulation, version 0.4
  105. (II) Loading sub module "ramdac"
  106. (II) LoadModule: "ramdac"
  107. (II) Module "ramdac" already built-in
  108. (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
  109. (==) NVIDIA(0): RGB weight 888
  110. (==) NVIDIA(0): Default visual is TrueColor
  111. (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
  112. (**) NVIDIA(0): Option "AddARGBGLXVisuals" "True"
  113. (**) NVIDIA(0): Enabling RENDER acceleration
  114. (II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
  115. (II) NVIDIA(0):     enabled.
  116. (II) NVIDIA(0): NVIDIA GPU GeForce4 MX 440 with AGP8X at PCI:1:0:0 (GPU-0)
  117. (--) NVIDIA(0): Memory: 65536 kBytes
  118. (--) NVIDIA(0): VideoBIOS: 04.18.20.42.00
  119. (II) NVIDIA(0): Detected AGP rate: 4X
  120. (--) NVIDIA(0): Interlaced video modes are supported on this GPU
  121. (--) NVIDIA(0): Connected display device(s) on GeForce4 MX 440 with AGP8X at
  122. (--) NVIDIA(0):     PCI:1:0:0:
  123. (--) NVIDIA(0):     LG W1942 (CRT-0)
  124. (--) NVIDIA(0): LG W1942 (CRT-0): 350.0 MHz maximum pixel clock
  125. (II) NVIDIA(0): Assigned Display Device: CRT-0
  126. (II) NVIDIA(0): Validated modes:
  127. (II) NVIDIA(0):     "1440x900"
  128. (II) NVIDIA(0):     "1280x1024"
  129. (II) NVIDIA(0):     "1024x768"
  130. (II) NVIDIA(0):     "800x600"
  131. (II) NVIDIA(0):     "640x480"
  132. (II) NVIDIA(0): Virtual screen size determined to be 1440 x 1024
  133. (--) NVIDIA(0): DPI set to (89, 87); computed from "UseEdidDpi" X config
  134. (--) NVIDIA(0):     option
  135. (--) Depth 24 pixmap format is 32 bpp
  136. (II) NVIDIA(0): Initialized GART.

  137. Backtrace:
  138. 0: X (xorg_backtrace+0x3b) [0x809bd9b]
  139. 1: X (0x8048000+0x520e5) [0x809a0e5]
  140. 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb783040c]
  141. Segmentation fault at address 0xc

  142. Fatal server error:
  143. Caught signal 11 (Segmentation fault). Server aborting


  144. Please consult the The X.Org Foundation support
  145.          at http://wiki.x.org
  146. for help.
  147. Please also check the log file at "/var/log/Xorg.0.log" for additional information.

复制代码

这是我的xorg.conf
  1. # nvidia-xconfig: X configuration file generated by nvidia-xconfig
  2. # nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Sun Nov  8 18:24:28 PST 2009

  3. #section "Extensions"
  4. #    Option         "Composite" "Enable"
  5. #EndSection

  6. Section "ServerLayout"
  7.     Identifier     "Layout0"
  8.     Screen      0  "Screen0" 0 0
  9.     InputDevice    "Keyboard0" "CoreKeyboard"
  10.     InputDevice    "Mouse0" "CorePointer"
  11. EndSection

  12. Section "Files"
  13. EndSection

  14. Section "InputDevice"

  15.     # generated from default
  16.     Identifier     "Mouse0"
  17.     Driver         "mouse"
  18.     Option         "Protocol" "auto"
  19.     Option         "Device" "/dev/psaux"
  20.     Option         "Emulate3Buttons" "no"
  21.     Option         "ZAxisMapping" "4 5"
  22. EndSection

  23. Section "InputDevice"

  24.     # generated from default
  25.     Identifier     "Keyboard0"
  26.     Driver         "kbd"
  27. EndSection

  28. Section "Monitor"
  29.     Identifier     "Monitor0"
  30.     VendorName     "Unknown"
  31.     ModelName      "Unknown"
  32.     HorizSync       30.0 - 110.0
  33.     VertRefresh     50.0 - 150.0
  34.     Option         "DPMS"
  35. EndSection

  36. Section "Device"
  37.     Identifier     "Device0"
  38.     Driver         "nvidia"
  39.     VendorName     "NVIDIA Corporation"
  40. EndSection

  41. Section "Screen"
  42.     Identifier     "Screen0"
  43.     Device         "Device0"
  44.     Monitor        "Monitor0"
  45.     DefaultDepth    24
  46.     Option         "AddARGBGLXVisuals" "True"
  47.     SubSection     "Display"
  48.         Depth       24
  49.         Modes      "1440x900" "1280x1024" "1024x768" "800x600" "640x480"
  50.     EndSubSection
  51. EndSection

复制代码


兄弟们帮忙!
发表于 2010-1-10 16:52:01 | 显示全部楼层
去掉
  1. Option         "AddARGBGLXVisuals" "True"
复制代码

试试
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-1-10 18:30:44 | 显示全部楼层
去掉了还是不行,几乎还是这样的错误:
  1. This is a pre-release version of the X server from The X.Org Foundation.
  2. It is not supported in any way.
  3. Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
  4. Select the "xorg" product for bugs you find in this release.
  5. Before reporting bugs in pre-release versions please check the
  6. latest version in the X.Org Foundation git repository.
  7. See http://wiki.x.org/wiki/GitPage for git access instructions.
  8. X.Org X Server 1.7.3.902 (1.7.4 RC 2)
  9. Release Date: 2009-12-26
  10. X Protocol Version 11, Revision 0
  11. Build Operating System: Linux 2.6.32-ARCH i686
  12. Current Operating System: Linux zhongyong35 2.6.32-ARCH #1 SMP PREEMPT Sat Dec 26 08:26:17 UTC 2009 i686
  13. Kernel command line: root=/dev/disk/by-uuid/e8a3ee8d-41e5-48b4-9a25-3994acb354f1 ro vga=773
  14. Build Date: 26 December 2009  11:37:45AM
  15. Current version of pixman: 0.16.4
  16.         Before reporting problems, check http://wiki.x.org
  17.         to make sure that you have the latest version.
  18. Markers: (--) probed, (**) from config file, (==) default setting,
  19.         (++) from command line, (!!) notice, (II) informational,
  20.         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  21. (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 10 18:18:37 2010
  22. (++) Using config file: "/root/xorg.conf.new"
  23. (==) ServerLayout "Layout0"
  24. (**) |-->Screen "Screen0" (0)
  25. (**) |   |-->Monitor "Monitor0"
  26. (**) |   |-->Device "Device0"
  27. (**) |-->Input Device "Keyboard0"
  28. (**) |-->Input Device "Mouse0"
  29. (==) Automatically adding devices
  30. (==) Automatically enabling devices
  31. (WW) The directory "/usr/share/fonts/TTF" does not exist.
  32.         Entry deleted from font path.
  33. (WW) The directory "/usr/share/fonts/Type1" does not exist.
  34.         Entry deleted from font path.
  35. (==) FontPath set to:
  36.         /usr/share/fonts/misc,
  37.         /usr/share/fonts/100dpi:unscaled,
  38.         /usr/share/fonts/75dpi:unscaled
  39. (==) ModulePath set to "/usr/lib/xorg/modules"
  40. (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
  41. (WW) Disabling Keyboard0
  42. (WW) Disabling Mouse0
  43. (II) Loader magic: 0x81e4c60
  44. (II) Module ABI versions:
  45.         X.Org ANSI C Emulation: 0.4
  46.         X.Org Video Driver: 6.0
  47.         X.Org XInput driver : 7.0
  48.         X.Org Server Extension : 2.0
  49. (--) using VT number 7
  50. (--) PCI:*(0:1:0:0) 10de:0181:0000:0000 nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] rev 193, Mem @ 0xec000000/16777216, 0xe0000000/134217728, BIOS @ 0x????????/131072
  51. (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
  52. (II) LoadModule: "extmod"
  53. (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
  54. (II) Module extmod: vendor="X.Org Foundation"
  55.         compiled for 1.7.3.902, module version = 1.0.0
  56.         Module class: X.Org Server Extension
  57.         ABI class: X.Org Server Extension, version 2.0
  58. (II) Loading extension MIT-SCREEN-SAVER
  59. (II) Loading extension XFree86-VidModeExtension
  60. (II) Loading extension XFree86-DGA
  61. (II) Loading extension DPMS
  62. (II) Loading extension XVideo
  63. (II) Loading extension XVideo-MotionCompensation
  64. (II) Loading extension X-Resource
  65. (II) LoadModule: "dbe"
  66. (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
  67. (II) Module dbe: vendor="X.Org Foundation"
  68.         compiled for 1.7.3.902, module version = 1.0.0
  69.         Module class: X.Org Server Extension
  70.         ABI class: X.Org Server Extension, version 2.0
  71. (II) Loading extension DOUBLE-BUFFER
  72. (II) LoadModule: "glx"
  73. (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
  74. (II) Module glx: vendor="NVIDIA Corporation"
  75.         compiled for 4.0.2, module version = 1.0.0
  76.         Module class: X.Org Server Extension
  77. (II) NVIDIA GLX Module  96.43.14  Sun Nov  8 18:24:17 PST 2009
  78. (II) Loading extension GLX
  79. (II) LoadModule: "dri"
  80. (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
  81. (II) Module dri: vendor="X.Org Foundation"
  82.         compiled for 1.7.3.902, module version = 1.0.0
  83.         ABI class: X.Org Server Extension, version 2.0
  84. (II) Loading extension XFree86-DRI
  85. (II) LoadModule: "dri2"
  86. (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
  87. (II) Module dri2: vendor="X.Org Foundation"
  88.         compiled for 1.7.3.902, module version = 1.1.0
  89.         ABI class: X.Org Server Extension, version 2.0
  90. (II) Loading extension DRI2
  91. (II) LoadModule: "nvidia"
  92. (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
  93. (II) Module nvidia: vendor="NVIDIA Corporation"
  94.         compiled for 4.0.2, module version = 1.0.0
  95.         Module class: X.Org Video Driver
  96. (II) NVIDIA dlloader X Driver  96.43.14  Sun Nov  8 18:12:51 PST 2009
  97. (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
  98. (II) Primary Device is: PCI 01@00:00:0
  99. (II) Loading sub module "fb"
  100. (II) LoadModule: "fb"
  101. (II) Loading /usr/lib/xorg/modules/libfb.so
  102. (II) Module fb: vendor="X.Org Foundation"
  103.         compiled for 1.7.3.902, module version = 1.0.0
  104.         ABI class: X.Org ANSI C Emulation, version 0.4
  105. (II) Loading sub module "ramdac"
  106. (II) LoadModule: "ramdac"
  107. (II) Module "ramdac" already built-in
  108. (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
  109. (==) NVIDIA(0): RGB weight 888
  110. (==) NVIDIA(0): Default visual is TrueColor
  111. (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
  112. (**) NVIDIA(0): Enabling RENDER acceleration
  113. (II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
  114. (II) NVIDIA(0):     enabled.
  115. (II) NVIDIA(0): NVIDIA GPU GeForce4 MX 440 with AGP8X at PCI:1:0:0 (GPU-0)
  116. (--) NVIDIA(0): Memory: 65536 kBytes
  117. (--) NVIDIA(0): VideoBIOS: 04.18.20.42.00
  118. (II) NVIDIA(0): Detected AGP rate: 4X
  119. (--) NVIDIA(0): Interlaced video modes are supported on this GPU
  120. (--) NVIDIA(0): Connected display device(s) on GeForce4 MX 440 with AGP8X at
  121. (--) NVIDIA(0):     PCI:1:0:0:
  122. (--) NVIDIA(0):     LG W1942 (CRT-0)
  123. (--) NVIDIA(0): LG W1942 (CRT-0): 350.0 MHz maximum pixel clock
  124. (II) NVIDIA(0): Assigned Display Device: CRT-0
  125. (II) NVIDIA(0): Validated modes:
  126. (II) NVIDIA(0):     "1440x900"
  127. (II) NVIDIA(0):     "1280x1024"
  128. (II) NVIDIA(0):     "1024x768"
  129. (II) NVIDIA(0):     "800x600"
  130. (II) NVIDIA(0):     "640x480"
  131. (II) NVIDIA(0): Virtual screen size determined to be 1440 x 1024
  132. (--) NVIDIA(0): DPI set to (89, 87); computed from "UseEdidDpi" X config
  133. (--) NVIDIA(0):     option
  134. (--) Depth 24 pixmap format is 32 bpp
  135. (II) NVIDIA(0): Initialized GART.
  136. Backtrace:
  137. 0: X (xorg_backtrace+0x3b) [0x809bd9b]
  138. 1: X (0x8048000+0x520e5) [0x809a0e5]
  139. 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb783740c]
  140. Segmentation fault at address 0xc
  141. Fatal server error:
  142. Caught signal 11 (Segmentation fault). Server aborting
  143. Please consult the The X.Org Foundation support
  144.          at http://wiki.x.org
  145. for help.
  146. Please also check the log file at "/var/log/Xorg.0.log" for additional information.
复制代码
我的时LCD显示器,怎么信息中说的时CRT-0呢??
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-1-14 14:16:16 | 显示全部楼层
是我没有把问题说明白,还是论坛太冷清了??直到现在我的问题还没有解决呢!!!
回复 支持 反对

使用道具 举报

发表于 2010-1-14 15:18:16 | 显示全部楼层
貌似是驱动出错.
回复 支持 反对

使用道具 举报

发表于 2010-1-14 17:57:23 | 显示全部楼层
现在只要驱动没问题的话,xorg是自动配置不需要自己弄的吧
我也是刚装上arch,刚发现只要把字体直接丢到font文件夹下面,什么都不用动,字体就已经安装上了,好神奇 呵呵
回复 支持 反对

使用道具 举报

发表于 2010-1-14 18:16:48 | 显示全部楼层
试试sudo pacman -Syu
回复 支持 反对

使用道具 举报

发表于 2010-1-14 18:18:37 | 显示全部楼层
Xorg不出现EE错误一般都是依赖问题。。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-1-14 21:24:08 | 显示全部楼层
按照大家的方法试了下,还是不行!
对了,我的插槽是4x的,而显卡是8X的,会不会是这里的问题呢?lspci时能认出的,且在xp下能正常应用啊!
另:我换上我的老显卡(tnt2)的,记得以前pacman -S nvidia-legacy就行的,现在怎么也提示没有这个包了??
回复 支持 反对

使用道具 举报

发表于 2010-1-14 21:38:07 | 显示全部楼层
对于第二个问题,现在n卡的驱动貌似换成nouveau了吧,听说是个实验型的驱动。。。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表