LinuxSir.cn,穿越时空的Linuxsir!

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

startx后黑屏且无法退出

[复制链接]
发表于 2011-7-27 07:52:36 | 显示全部楼层 |阅读模式
startx后黑屏且无法退出,按Ctrl+Alt+Backspace没有反映,只能强制断电来退出了,
内核用的是genkernel。
下面是Xorg.0.log.old的内容:
  1. [   599.639]
  2. X.Org X Server 1.10.2
  3. Release Date: 2011-05-28
  4. [   599.639] X Protocol Version 11, Revision 0
  5. [   599.640] Build Operating System: Linux 2.6.35-22-generic i686 Gentoo
  6. [   599.640] Current Operating System: Linux localhost 2.6.38-gentoo-r6 #1 SMP Tue Jul 26 08:33:12 CST 2011 i686
  7. [   599.640] Kernel command line: root=/dev/ram0 real_root=/dev/sda8
  8. [   599.640] Build Date: 26 July 2011  11:29:57AM
  9. [   599.640]  
  10. [   599.640] Current version of pixman: 0.22.0
  11. [   599.641]     Before reporting problems, check http://wiki.x.org
  12.     to make sure that you have the latest version.
  13. [   599.641] Markers: (--) probed, (**) from config file, (==) default setting,
  14.     (++) from command line, (!!) notice, (II) informational,
  15.     (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  16. [   599.642] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jul 26 23:20:12 2011
  17. [   599.689] (==) Using config file: "/etc/X11/xorg.conf"
  18. [   599.689] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
  19. [   599.724] (==) ServerLayout "X.org Configured"
  20. [   599.724] (**) |-->Screen "Screen0" (0)
  21. [   599.724] (**) |   |-->Monitor "Monitor0"
  22. [   599.724] (**) |   |-->Device "Card0"
  23. [   599.724] (**) |-->Input Device "Mouse0"
  24. [   599.724] (**) |-->Input Device "Keyboard0"
  25. [   599.724] (==) Automatically adding devices
  26. [   599.724] (==) Automatically enabling devices
  27. [   599.777] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
  28. [   599.777]     Entry deleted from font path.
  29. [   599.777] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
  30. [   599.777]     Entry deleted from font path.
  31. [   599.778] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
  32. [   599.778]     Entry deleted from font path.
  33. [   599.813] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
  34. [   599.813]     Entry deleted from font path.
  35. [   599.813]     (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
  36. [   599.836] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
  37. [   599.836]     Entry deleted from font path.
  38. [   599.836]     (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
  39. [   599.836] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
  40. [   599.836]     Entry deleted from font path.
  41. [   599.836] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
  42. [   599.836]     Entry deleted from font path.
  43. [   599.836] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
  44. [   599.836]     Entry deleted from font path.
  45. [   599.836] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
  46. [   599.836]     Entry deleted from font path.
  47. [   599.836]     (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
  48. [   599.836] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
  49. [   599.836]     Entry deleted from font path.
  50. [   599.836]     (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
  51. [   599.836] (**) FontPath set to:
  52.     /usr/share/fonts/misc/,
  53.     /usr/share/fonts/misc/
  54. [   599.836] (**) ModulePath set to "/usr/lib/xorg/modules"
  55. [   599.836] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
  56. [   599.836] (WW) Disabling Mouse0
  57. [   599.836] (WW) Disabling Keyboard0
  58. [   599.836] (II) Loader magic: 0x81f5d80
  59. [   599.836] (II) Module ABI versions:
  60. [   599.836]     X.Org ANSI C Emulation: 0.4
  61. [   599.836]     X.Org Video Driver: 10.0
  62. [   599.836]     X.Org XInput driver : 12.2
  63. [   599.836]     X.Org Server Extension : 5.0
  64. [   599.838] (--) PCI:*(0:0:2:0) 8086:0046:17aa:396c rev 24, Mem @ 0xf9400000/4194304, 0xd0000000/268435456, I/O @ 0x00001800/8
  65. [   599.838] (--) PCI: (0:1:0:0) 10de:0df0:17aa:396c rev 161, Mem @ 0xf8000000/16777216, 0xc0000000/268435456, 0xbe000000/33554432, I/O @ 0x00002000/128, BIOS @ 0x????????/524288
  66. [   599.838] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
  67. [   599.838] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
  68. [   599.838] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
  69. [   599.838] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
  70. [   599.838] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
  71. [   599.838] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
  72. [   599.838] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
  73. [   599.838] (II) LoadModule: "record"
  74. [   599.854] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
  75. [   599.874] (II) Module record: vendor="X.Org Foundation"
  76. [   599.874]     compiled for 1.10.2, module version = 1.13.0
  77. [   599.874]     Module class: X.Org Server Extension
  78. [   599.874]     ABI class: X.Org Server Extension, version 5.0
  79. [   599.874] (II) Loading extension RECORD
  80. [   599.874] (II) LoadModule: "dbe"
  81. [   599.874] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
  82. [   599.884] (II) Module dbe: vendor="X.Org Foundation"
  83. [   599.884]     compiled for 1.10.2, module version = 1.0.0
  84. [   599.884]     Module class: X.Org Server Extension
  85. [   599.884]     ABI class: X.Org Server Extension, version 5.0
  86. [   599.884] (II) Loading extension DOUBLE-BUFFER
  87. [   599.884] (II) LoadModule: "extmod"
  88. [   599.884] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
  89. [   599.895] (II) Module extmod: vendor="X.Org Foundation"
  90. [   599.895]     compiled for 1.10.2, module version = 1.0.0
  91. [   599.895]     Module class: X.Org Server Extension
  92. [   599.895]     ABI class: X.Org Server Extension, version 5.0
  93. [   599.895] (II) Loading extension MIT-SCREEN-SAVER
  94. [   599.895] (II) Loading extension XFree86-VidModeExtension
  95. [   599.895] (II) Loading extension XFree86-DGA
  96. [   599.895] (II) Loading extension DPMS
  97. [   599.895] (II) Loading extension XVideo
  98. [   599.895] (II) Loading extension XVideo-MotionCompensation
  99. [   599.895] (II) Loading extension X-Resource
  100. [   599.895] (II) LoadModule: "dri"
  101. [   599.933] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
  102. [   599.981] (II) Module dri: vendor="X.Org Foundation"
  103. [   599.981]     compiled for 1.10.2, module version = 1.0.0
  104. [   599.981]     ABI class: X.Org Server Extension, version 5.0
  105. [   599.981] (II) Loading extension XFree86-DRI
  106. [   599.981] (II) LoadModule: "dri2"
  107. [   599.981] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
  108. [   599.993] (II) Module dri2: vendor="X.Org Foundation"
  109. [   599.993]     compiled for 1.10.2, module version = 1.2.0
  110. [   599.993]     ABI class: X.Org Server Extension, version 5.0
  111. [   599.993] (II) Loading extension DRI2
  112. [   599.993] (II) LoadModule: "glx"
  113. [   599.993] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
  114. [   600.009] (II) Module glx: vendor="X.Org Foundation"
  115. [   600.009]     compiled for 1.10.2, module version = 1.0.0
  116. [   600.009]     ABI class: X.Org Server Extension, version 5.0
  117. [   600.010] (==) AIGLX enabled
  118. [   600.010] (II) Loading extension GLX
  119. [   600.010] (II) LoadModule: "nvidia"
  120. [   600.010] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
  121. [   600.092] (II) Module nvidia: vendor="NVIDIA Corporation"
  122. [   600.092]     compiled for 4.0.2, module version = 1.0.0
  123. [   600.092]     Module class: X.Org Video Driver
  124. [   600.118] (II) NVIDIA dlloader X Driver  270.41.06  Mon Apr 18 14:55:51 PDT 2011
  125. [   600.126] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
  126. [   600.126] (--) using VT number 7

  127. [   600.138] (II) Loading sub module "fb"
  128. [   600.138] (II) LoadModule: "fb"
  129. [   600.138] (II) Loading /usr/lib/xorg/modules/libfb.so
  130. [   600.152] (II) Module fb: vendor="X.Org Foundation"
  131. [   600.152]     compiled for 1.10.2, module version = 1.0.0
  132. [   600.152]     ABI class: X.Org ANSI C Emulation, version 0.4
  133. [   600.152] (II) Loading sub module "wfb"
  134. [   600.152] (II) LoadModule: "wfb"
  135. [   600.231] (II) Loading /usr/lib/xorg/modules/libwfb.so
  136. [   600.242] (II) Module wfb: vendor="X.Org Foundation"
  137. [   600.242]     compiled for 1.10.2, module version = 1.0.0
  138. [   600.242]     ABI class: X.Org ANSI C Emulation, version 0.4
  139. [   600.242] (II) Loading sub module "ramdac"
  140. [   600.242] (II) LoadModule: "ramdac"
  141. [   600.242] (II) Module "ramdac" already built-in
  142. [   600.244] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
  143. [   600.244] (II) Loading /usr/lib/xorg/modules/libwfb.so
  144. [   600.244] (II) Loading /usr/lib/xorg/modules/libfb.so
  145. [   600.261] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
  146. [   600.261] (==) NVIDIA(0): RGB weight 888
  147. [   600.261] (==) NVIDIA(0): Default visual is TrueColor
  148. [   600.261] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
  149. [   600.261] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
  150. [   600.261] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
  151. [   600.261] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
  152. [   600.261] (EE) NVIDIA(0):     you continue to encounter problems, Please try
  153. [   600.261] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.
复制代码

lspci如下:
  1. 00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
  2. 00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 18)
  3. 00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
  4. 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
  5. 00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
  6. 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
  7. 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
  8. 00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06)
  9. 00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06)
  10. 00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06)
  11. 00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
  12. 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
  13. 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
  14. 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 06)
  15. 00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
  16. 00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06)
  17. 01:00.0 VGA compatible controller: nVidia Corporation Device 0df0 (rev a1)
  18. 01:00.1 Audio device: nVidia Corporation Device 0bea (rev a1)
  19. 03:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 20)
  20. 03:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 20)
  21. 03:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev 20)
  22. 03:00.4 System peripheral: JMicron Technology Corp. xD Host Controller (rev 20)
  23. 05:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
  24. 09:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)
  25. ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 05)
  26. ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 05)
  27. ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05)
  28. ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 05)
  29. ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
  30. ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
复制代码

/etc/make.conf如下:
  1. # These settings were set by the catalyst build script that automatically
  2. # built this stage.
  3. # Please consult /usr/share/portage/config/make.conf.example for a more
  4. # detailed example.
  5. CFLAGS="-O2 -march=i686 -pipe"
  6. CXXFLAGS="${CFLAGS}"
  7. # WARNING: Changing your CHOST is not something that should be done lightly.
  8. # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
  9. CHOST="i686-pc-linux-gnu"
  10. MAKEOPTS="-j2"

  11. GENTOO_MIRRORS="http://mirrors.163.com/gentoo/"

  12. SYNC="rsync://rsync2.cn.gentoo.org/gentoo-portage"

  13. USE="-gtk -gnome qt3 qt4 kde dvd alsa cdr"

  14. INPUT_DEVICES="keyboard mouse"
  15. VIDEO_CARDS="nvidia"
复制代码
发表于 2011-7-27 09:09:17 | 显示全部楼层
貌似显卡问题把,重装一下驱动
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-7-27 09:26:57 | 显示全部楼层
emerge nvidia-drivers后现象还是一样,
回复 支持 反对

使用道具 举报

发表于 2011-7-27 09:30:14 | 显示全部楼层
坛子里很多同样的贴子,先搜一下吧。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-7-27 09:35:44 | 显示全部楼层
Post by xcdt;2145494
坛子里很多同样的贴子,先搜一下吧。


我昨天搜了一天了,实在迫不的以才发帖求助的,
回复 支持 反对

使用道具 举报

发表于 2011-7-27 09:47:58 | 显示全部楼层
Post by SmallV;2145486
startx后黑屏且无法退出,按Ctrl+Alt+Backspace没有反映,只能强制断电来退出了,
内核用的是genkernel。
下面是Xorg.0.log.old的内容:
  1. [   599.639]
  2. X.Org X Server 1.10.2
  3. Release Date: 2011-05-28
  4. [   599.639] X Protocol Version 11, Revision 0
  5. [   599.640] Build Operating System: Linux 2.6.35-22-generic i686 Gentoo
  6. [   599.640] Current Operating System: Linux localhost 2.6.38-gentoo-r6 #1 SMP Tue Jul 26 08:33:12 CST 2011 i686
  7. [   599.640] Kernel command line: root=/dev/ram0 real_root=/dev/sda8
  8. [   599.640] Build Date: 26 July 2011  11:29:57AM
  9. [   599.640]  
  10. [   599.640] Current version of pixman: 0.22.0
  11. [   599.641]     Before reporting problems, check http://wiki.x.org
  12.     to make sure that you have the latest version.
  13. [   599.641] Markers: (--) probed, (**) from config file, (==) default setting,
  14.     (++) from command line, (!!) notice, (II) informational,
  15.     (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  16. [   599.642] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jul 26 23:20:12 2011
  17. [   599.689] (==) Using config file: "/etc/X11/xorg.conf"
  18. [   599.689] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
  19. [   599.724] (==) ServerLayout "X.org Configured"
  20. [   599.724] (**) |-->Screen "Screen0" (0)
  21. [   599.724] (**) |   |-->Monitor "Monitor0"
  22. [   599.724] (**) |   |-->Device "Card0"
  23. [   599.724] (**) |-->Input Device "Mouse0"
  24. [   599.724] (**) |-->Input Device "Keyboard0"
  25. [   599.724] (==) Automatically adding devices
  26. [   599.724] (==) Automatically enabling devices
  27. [   599.777] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
  28. [   599.777]     Entry deleted from font path.
  29. [   599.777] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
  30. [   599.777]     Entry deleted from font path.
  31. [   599.778] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
  32. [   599.778]     Entry deleted from font path.
  33. [   599.813] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
  34. [   599.813]     Entry deleted from font path.
  35. [   599.813]     (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
  36. [   599.836] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
  37. [   599.836]     Entry deleted from font path.
  38. [   599.836]     (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
  39. [   599.836] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
  40. [   599.836]     Entry deleted from font path.
  41. [   599.836] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
  42. [   599.836]     Entry deleted from font path.
  43. [   599.836] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
  44. [   599.836]     Entry deleted from font path.
  45. [   599.836] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
  46. [   599.836]     Entry deleted from font path.
  47. [   599.836]     (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
  48. [   599.836] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
  49. [   599.836]     Entry deleted from font path.
  50. [   599.836]     (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
  51. [   599.836] (**) FontPath set to:
  52.     /usr/share/fonts/misc/,
  53.     /usr/share/fonts/misc/
  54. [   599.836] (**) ModulePath set to "/usr/lib/xorg/modules"
  55. [   599.836] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
  56. [   599.836] (WW) Disabling Mouse0
  57. [   599.836] (WW) Disabling Keyboard0
  58. [   599.836] (II) Loader magic: 0x81f5d80
  59. [   599.836] (II) Module ABI versions:
  60. [   599.836]     X.Org ANSI C Emulation: 0.4
  61. [   599.836]     X.Org Video Driver: 10.0
  62. [   599.836]     X.Org XInput driver : 12.2
  63. [   599.836]     X.Org Server Extension : 5.0
  64. [   599.838] (--) PCI:*(0:0:2:0) 8086:0046:17aa:396c rev 24, Mem @ 0xf9400000/4194304, 0xd0000000/268435456, I/O @ 0x00001800/8
  65. [   599.838] (--) PCI: (0:1:0:0) 10de:0df0:17aa:396c rev 161, Mem @ 0xf8000000/16777216, 0xc0000000/268435456, 0xbe000000/33554432, I/O @ 0x00002000/128, BIOS @ 0x????????/524288
  66. [   599.838] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
  67. [   599.838] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
  68. [   599.838] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
  69. [   599.838] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
  70. [   599.838] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
  71. [   599.838] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
  72. [   599.838] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
  73. [   599.838] (II) LoadModule: "record"
  74. [   599.854] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
  75. [   599.874] (II) Module record: vendor="X.Org Foundation"
  76. [   599.874]     compiled for 1.10.2, module version = 1.13.0
  77. [   599.874]     Module class: X.Org Server Extension
  78. [   599.874]     ABI class: X.Org Server Extension, version 5.0
  79. [   599.874] (II) Loading extension RECORD
  80. [   599.874] (II) LoadModule: "dbe"
  81. [   599.874] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
  82. [   599.884] (II) Module dbe: vendor="X.Org Foundation"
  83. [   599.884]     compiled for 1.10.2, module version = 1.0.0
  84. [   599.884]     Module class: X.Org Server Extension
  85. [   599.884]     ABI class: X.Org Server Extension, version 5.0
  86. [   599.884] (II) Loading extension DOUBLE-BUFFER
  87. [   599.884] (II) LoadModule: "extmod"
  88. [   599.884] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
  89. [   599.895] (II) Module extmod: vendor="X.Org Foundation"
  90. [   599.895]     compiled for 1.10.2, module version = 1.0.0
  91. [   599.895]     Module class: X.Org Server Extension
  92. [   599.895]     ABI class: X.Org Server Extension, version 5.0
  93. [   599.895] (II) Loading extension MIT-SCREEN-SAVER
  94. [   599.895] (II) Loading extension XFree86-VidModeExtension
  95. [   599.895] (II) Loading extension XFree86-DGA
  96. [   599.895] (II) Loading extension DPMS
  97. [   599.895] (II) Loading extension XVideo
  98. [   599.895] (II) Loading extension XVideo-MotionCompensation
  99. [   599.895] (II) Loading extension X-Resource
  100. [   599.895] (II) LoadModule: "dri"
  101. [   599.933] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
  102. [   599.981] (II) Module dri: vendor="X.Org Foundation"
  103. [   599.981]     compiled for 1.10.2, module version = 1.0.0
  104. [   599.981]     ABI class: X.Org Server Extension, version 5.0
  105. [   599.981] (II) Loading extension XFree86-DRI
  106. [   599.981] (II) LoadModule: "dri2"
  107. [   599.981] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
  108. [   599.993] (II) Module dri2: vendor="X.Org Foundation"
  109. [   599.993]     compiled for 1.10.2, module version = 1.2.0
  110. [   599.993]     ABI class: X.Org Server Extension, version 5.0
  111. [   599.993] (II) Loading extension DRI2
  112. [   599.993] (II) LoadModule: "glx"
  113. [   599.993] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
  114. [   600.009] (II) Module glx: vendor="X.Org Foundation"
  115. [   600.009]     compiled for 1.10.2, module version = 1.0.0
  116. [   600.009]     ABI class: X.Org Server Extension, version 5.0
  117. [   600.010] (==) AIGLX enabled
  118. [   600.010] (II) Loading extension GLX
  119. [   600.010] (II) LoadModule: "nvidia"
  120. [   600.010] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
  121. [   600.092] (II) Module nvidia: vendor="NVIDIA Corporation"
  122. [   600.092]     compiled for 4.0.2, module version = 1.0.0
  123. [   600.092]     Module class: X.Org Video Driver
  124. [   600.118] (II) NVIDIA dlloader X Driver  270.41.06  Mon Apr 18 14:55:51 PDT 2011
  125. [   600.126] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
  126. [   600.126] (--) using VT number 7

  127. [   600.138] (II) Loading sub module "fb"
  128. [   600.138] (II) LoadModule: "fb"
  129. [   600.138] (II) Loading /usr/lib/xorg/modules/libfb.so
  130. [   600.152] (II) Module fb: vendor="X.Org Foundation"
  131. [   600.152]     compiled for 1.10.2, module version = 1.0.0
  132. [   600.152]     ABI class: X.Org ANSI C Emulation, version 0.4
  133. [   600.152] (II) Loading sub module "wfb"
  134. [   600.152] (II) LoadModule: "wfb"
  135. [   600.231] (II) Loading /usr/lib/xorg/modules/libwfb.so
  136. [   600.242] (II) Module wfb: vendor="X.Org Foundation"
  137. [   600.242]     compiled for 1.10.2, module version = 1.0.0
  138. [   600.242]     ABI class: X.Org ANSI C Emulation, version 0.4
  139. [   600.242] (II) Loading sub module "ramdac"
  140. [   600.242] (II) LoadModule: "ramdac"
  141. [   600.242] (II) Module "ramdac" already built-in
  142. [   600.244] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
  143. [   600.244] (II) Loading /usr/lib/xorg/modules/libwfb.so
  144. [   600.244] (II) Loading /usr/lib/xorg/modules/libfb.so
  145. [   600.261] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
  146. [   600.261] (==) NVIDIA(0): RGB weight 888
  147. [   600.261] (==) NVIDIA(0): Default visual is TrueColor
  148. [   600.261] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
  149. [   600.261] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
  150. [   600.261] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
  151. [   600.261] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
  152. [   600.261] (EE) NVIDIA(0):     you continue to encounter problems, Please try
  153. [   600.261] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.
复制代码

lspci如下:
  1. 00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
  2. 00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 18)
  3. 00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
  4. 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
  5. 00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
  6. 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
  7. 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
  8. 00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06)
  9. 00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06)
  10. 00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06)
  11. 00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
  12. 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
  13. 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
  14. 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 06)
  15. 00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
  16. 00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06)
  17. 01:00.0 VGA compatible controller: nVidia Corporation Device 0df0 (rev a1)
  18. 01:00.1 Audio device: nVidia Corporation Device 0bea (rev a1)
  19. 03:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 20)
  20. 03:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 20)
  21. 03:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev 20)
  22. 03:00.4 System peripheral: JMicron Technology Corp. xD Host Controller (rev 20)
  23. 05:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
  24. 09:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)
  25. ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 05)
  26. ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 05)
  27. ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05)
  28. ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 05)
  29. ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
  30. ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
复制代码

/etc/make.conf如下:
  1. # These settings were set by the catalyst build script that automatically
  2. # built this stage.
  3. # Please consult /usr/share/portage/config/make.conf.example for a more
  4. # detailed example.
  5. CFLAGS="-O2 -march=i686 -pipe"
  6. CXXFLAGS="${CFLAGS}"
  7. # WARNING: Changing your CHOST is not something that should be done lightly.
  8. # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
  9. CHOST="i686-pc-linux-gnu"
  10. MAKEOPTS="-j2"

  11. GENTOO_MIRRORS="http://mirrors.163.com/gentoo/"

  12. SYNC="rsync://rsync2.cn.gentoo.org/gentoo-portage"

  13. USE="-gtk -gnome qt3 qt4 kde dvd alsa cdr"

  14. INPUT_DEVICES="keyboard mouse"
  15. VIDEO_CARDS="nvidia"
复制代码


你的VGA怎么会有两个呢?
一个是intel,一个是nvidia,
不懂。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-7-27 09:55:14 | 显示全部楼层
Post by easior lars;2145499
你的VGA怎么会有两个呢?
一个是intel,一个是nvidia,
不懂。

双显卡                        ,
回复 支持 反对

使用道具 举报

发表于 2011-7-29 10:27:45 | 显示全部楼层
可以参考gentoo wiki中关于Vga switcheroo的部分,同样适用于N卡/Intel的hybrid环境。我目前仍用Vga switcheroo+hprofile指定A卡/Intel环境中A卡(Evergreen)进入kde,kernel2.6.39-r3较之前2.6.38更好地支持hybrid videocards。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-7-29 12:50:40 | 显示全部楼层
谢ls解答,

我发现如果我在内核中选上如下部分,就会编译失败
  1. Device Drivers --->
  2.   Graphics Support --->
  3.              ……
  4.       <*> Intel 830M, *45G, 852GM, 855GM, 865G
  5.         <*> i915 driver
复制代码

不知是怎么回事
内核版本2.6.38-r12
回复 支持 反对

使用道具 举报

发表于 2011-7-29 13:30:32 | 显示全部楼层
我遇到过和你一样的情况,所有东西都没反应。
可能你也是测试xorg.conf.new
我一开始也是测试的这个文件,后来实在不行,一气之下直接把测试文件cp成xorg.conf.
startx就神奇地启动了x。一切正常
回复 支持 反对

使用道具 举报

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

本版积分规则

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