|
在网上寻找了半天,找到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之后就黑屏。
核心的编译是这样的:
- MTRR部分:
- [*] MTRR (Memory Type Range Register) support
- [*] MTRR cleanup support
- (0) MTRR cleanup enable value (0-1)
- (1) MTRR cleanup spare reg num (0-7)
- [ ] x86 PAT support
- agpgart部分:
- <*> Intel 440LX/BX/GX, I8xx and E7x05 chipset support
- Direct Render Manager部分:
- <*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->
- i915 driver
- [*] Enable modesetting on intel by default
- Support for framebuffer devices部分:
- [*] Enable Video Mode Handling Helpers
- [*] Enable Tile Blitting Support
- 取消了所有framebuffer驱动
复制代码
那个xorg.conf.new是通过 Xorg -configure 直接生成的,除了删去了一些屏幕色彩,只留下24位色
- Section "Device"
- Driver "intel"
- VendorName "Intel Corporation"
- BoardName "4 Series Chipset Integrated Graphics Controller"
- BusID "PCI:0:2:0"
- EndSection
- Section "Screen"
- Identifier "Screen0"
- Device "Card0"
- Monitor "Monitor0"
- SubSection "Display"
- Modes "1024x768"
- Viewport 0 0
- Depth 24
- EndSubSection
- EndSection
复制代码
最后,/var/log/Xorg.0.log的内容,里面没有标记为 EE 的,标记为 WW 的都是关于字体目录的。这里是节录,附件是Xorg.0.log的文本
- (II) Loading /usr/lib/xorg/modules/drivers//intel_drv.so
- (II) Module intel: vendor="X.Org Foundation"
- compiled for 1.6.5, module version = 2.9.1
- Module class: X.Org Video Driver
- ABI class: X.Org Video Driver, version 5.0
- (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
- i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
- E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
- 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
- 4 Series, G45/G43, Q45/Q43, G41, B43, Clarkdale, Arrandale
- (II) Primary Device is: PCI 00@00:02:0
- ....................
- (II) intel(0): [DRI2] Setup complete
- (**) intel(0): Framebuffer compression disabled
- (**) intel(0): Tiling enabled
- (**) intel(0): SwapBuffers wait enabled
- (==) intel(0): VideoRam: 262144 KB
- (II) intel(0): Attempting memory allocation with tiled buffers.
- (II) intel(0): Tiled allocation successful.
- (II) UXA(0): Driver registered support for the following operations:
- (II) solid
- (II) copy
- (II) composite (RENDER acceleration)
- ...................................
复制代码
自以为按照wiki中的逐个步骤做了,但是X -config xorg.conf.new总是停在黑屏。求各位老大帮忙看看
=================================================
呵呵,原以为启动X应该是黑白网格图样,却不知道应该就是黑屏 emerge xterm之后,xinit发现其实一切都是正常工作 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|