LinuxSir.cn,穿越时空的Linuxsir!

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

[已解决]gentoo新手。Intel G43的板子,Xorg总是做不成功,黑屏。求助

[复制链接]
发表于 2010-3-10 11:18:19 | 显示全部楼层 |阅读模式
在网上寻找了半天,找到gentoo wiki中的一篇文章。http://en.gentoo-wiki.com/wiki/Intel_GMA

可就是没法搞定,X -config xorg.conf.new之后就黑屏,还好可以切换到其他终端。

各个包的版本是这样的
x11-base/xorg-server-1.6.5-r1
x11-drivers/xf86-video-intel-2.9.1
sys-kernel/gentoo-sources-2.6.31-r10

gentoo启动过程中能自动把终端设置到 1024x768 的分辨率,好似framebuffer支持能工作,但X -config xorg.conf.new之后就黑屏。

核心的编译是这样的:

  1. MTRR部分:
  2. [*] MTRR (Memory Type Range Register) support
  3.       [*]   MTRR cleanup support
  4.            (0)     MTRR cleanup enable value (0-1)
  5.            (1)     MTRR cleanup spare reg num (0-7)
  6.       [ ]   x86 PAT support

  7. agpgart部分:
  8. <*>   Intel 440LX/BX/GX, I8xx and E7x05 chipset support

  9. Direct Render Manager部分:
  10. <*>   Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver)  --->
  11.            i915 driver
  12.       [*]       Enable modesetting on intel by default

  13. Support for framebuffer devices部分:
  14. [*]   Enable Video Mode Handling Helpers
  15. [*]   Enable Tile Blitting Support
  16. 取消了所有framebuffer驱动
复制代码


那个xorg.conf.new是通过 Xorg -configure 直接生成的,除了删去了一些屏幕色彩,只留下24位色

  1. Section "Device"
  2.          Driver      "intel"
  3.         VendorName  "Intel Corporation"
  4.         BoardName   "4 Series Chipset Integrated Graphics Controller"
  5.         BusID       "PCI:0:2:0"
  6. EndSection

  7. Section "Screen"
  8.         Identifier "Screen0"
  9.         Device     "Card0"
  10.         Monitor    "Monitor0"
  11.         SubSection "Display"
  12.                 Modes "1024x768"
  13.                 Viewport   0 0
  14.                 Depth     24
  15.         EndSubSection
  16. EndSection
复制代码


最后,/var/log/Xorg.0.log的内容,里面没有标记为 EE 的,标记为 WW 的都是关于字体目录的。这里是节录,附件是Xorg.0.log的文本


  1. (II) Loading /usr/lib/xorg/modules/drivers//intel_drv.so
  2. (II) Module intel: vendor="X.Org Foundation"
  3.         compiled for 1.6.5, module version = 2.9.1
  4.         Module class: X.Org Video Driver
  5.         ABI class: X.Org Video Driver, version 5.0
  6. (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
  7.         i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
  8.         E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
  9.         965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
  10.         4 Series, G45/G43, Q45/Q43, G41, B43, Clarkdale, Arrandale
  11. (II) Primary Device is: PCI 00@00:02:0

  12. ....................

  13. (II) intel(0): [DRI2] Setup complete
  14. (**) intel(0): Framebuffer compression disabled
  15. (**) intel(0): Tiling enabled
  16. (**) intel(0): SwapBuffers wait enabled
  17. (==) intel(0): VideoRam: 262144 KB
  18. (II) intel(0): Attempting memory allocation with tiled buffers.
  19. (II) intel(0): Tiled allocation successful.
  20. (II) UXA(0): Driver registered support for the following operations:
  21. (II)         solid
  22. (II)         copy
  23. (II)         composite (RENDER acceleration)

  24. ...................................


复制代码



自以为按照wiki中的逐个步骤做了,但是X -config xorg.conf.new总是停在黑屏。求各位老大帮忙看看




=================================================

呵呵,原以为启动X应该是黑白网格图样,却不知道应该就是黑屏  emerge xterm之后,xinit发现其实一切都是正常工作

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2010-3-10 18:23:20 | 显示全部楼层
X -config xorg.conf.new
我也是黑屏啊,但我的X是正常的。
你先emerge xterm, cp xorg.conf.new /etc/X11/xorg.conf
然后运行xinit
看看是不是正常的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-3-10 19:05:08 | 显示全部楼层
Post by GNUisbest;2074477
X -config xorg.conf.new
我也是黑屏啊,但我的X是正常的。
你先emerge xterm, cp xorg.conf.new /etc/X11/xorg.conf
然后运行xinit
看看是不是正常的。


晕死,照做一下发现原来是正常的啊?!万分感谢ing...

一般情况下 X 是应该显示一个黑白网格,和鼠标光标吧? 这种黑屏也不晓得正常不正常。
回复 支持 反对

使用道具 举报

发表于 2010-3-10 21:27:41 | 显示全部楼层
正常。。。。
回复 支持 反对

使用道具 举报

发表于 2010-3-11 12:17:39 | 显示全部楼层
装好xorg可以直接用了 不用配
回复 支持 反对

使用道具 举报

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

本版积分规则

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