LinuxSir.cn,穿越时空的Linuxsir!

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

845G的集成显卡不能上24位色么? (已解决)

[复制链接]
发表于 2006-3-9 18:06:51 | 显示全部楼层 |阅读模式
公司的机器是845G的集成显卡,竟然无法上24位色彩。

我的配置文件如下
Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
        Load  "freetype"
        # Load "xtt"
        Load  "extmod"
        Load  "glx"
        Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "type1"
        #Load  "speedo"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "rotocol" "ImPS/2"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        HorizSync    30.0 - 70.0
        VertRefresh  50.0 - 160.0
        VertRefresh  85.0
       # DisplaySize 330 250
        Option            "DPMS"
       # ModeLine    "1024x768"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "i810"
        ChipSet     "845G"
        Card        "i810 845G"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1024x768"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes    "1024x768"
        EndSubSection
EndSection

此时启动xfce4会报错如下:
(EE):GARTInit: Unable to open /dev/agpgart (No such file or directory)
(EE):I810(0): No Video Bios modes for chosen depth
(EE):Screen(s) found, but none have usable configuration

如果我此时将
        Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     24
中的24修改为16就可以启动,不过画面只有唯一的640x480可以用。
请问这是什么原因。

真是被Xorg折磨死了,家里的Nvidia GForce Ti4200 至今都只能用nv驱动,而不能用nvidia,glx也不正常。郁闷~~~~
发表于 2006-3-9 18:09:37 | 显示全部楼层
Post by aphia
。。。
真是被Xorg折磨死了,家里的Nvidia GForce Ti4200 至今都只能用nv驱动,而不能用nvidia,glx也不正常。郁闷~~~~

用个livecd启动,然后借用里面的xorg.conf,比如可以试试这个:http://www.linuxsir.cn/bbs/showthread.php?t=245789
回复 支持 反对

使用道具 举报

发表于 2006-3-9 18:12:17 | 显示全部楼层
看看你的内核配置有没有选择
CONFIG_AGP

CONFIG_AGP_INTEL
回复 支持 反对

使用道具 举报

发表于 2006-3-9 18:24:36 | 显示全部楼层
(EE):GARTInit: Unable to open /dev/agpgart (No such file or directory)
编译内核的问题吧。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-10 10:03:56 | 显示全部楼层
将 内核中的显卡的framebuffer 由M 修改为 *   然后 在agpgart加载 [M]845G 就OK了
之前显卡的framebuffer是[M]就不行
回复 支持 反对

使用道具 举报

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

本版积分规则

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