LinuxSir.cn,穿越时空的Linuxsir!

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

请教:X配置的问题!!

[复制链接]
发表于 2005-12-26 02:18:08 | 显示全部楼层 |阅读模式
USE="i8x0" emerge xorg-x11 后 startx 出错 :

Module Loader present                                                     
Markers: (--) probed, (**) from config file, (==) default setting,        
(++) from command line, (!!) notice, (II) informational,                  
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.           
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Dec 25 06:21:07 2005      
(==) Using config file: "/root/xorg.conf"                                

Using vt 7                                                               
FATAL: Module i810 not found.                                             
[drm] failed to load kernel module "i810"                                 
(EE) I810(0): [dri] DRIScreenInit failed.  Disabling DRI.                 
Could not init font path element unix/:-1, removing from list!                                                                                      

Fatal server error:                                                      
could not open default font 'fixed'                                                                                                                 Please consult the The X.Org Foundation support                           
at http://wiki.X.Org                                                   
for help.                                                                 
Please also check the log file at "/var/log/Xorg.0.log" for additional information.                                                                                                                                       
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"   
after 0 requests (0 known processed) with 0 events remaining.            


但是运行xorgcfg可以看到图形界面,鼠标也正常工作!
请问是不是字体的问题,设置语言的时候好像用了en_US。
显卡设置也有问题吗?
 楼主| 发表于 2005-12-27 21:34:08 | 显示全部楼层
这种问题不是这么难吧!都没有人回答!
埃,惨
回复 支持 反对

使用道具 举报

发表于 2005-12-27 21:45:40 | 显示全部楼层
Post by esseco

Using vt 7                                                               
FATAL: Module i810 not found.                                             
[drm] failed to load kernel module "i810"                                 
(EE) I810(0): [dri] DRIScreenInit failed.  Disabling DRI.                 
                                                                           

Fatal server error:                                                      
could not open default font 'fixed'                                                                                                                 Please consult the The X.Org Foundation support                           
at http://wiki.X.Org                                                   
for help.                                                                 
Please also check the log file at "/var/log/Xorg.0.log" for additional information.                                                                                                                                       
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"   
after 0 requests (0 known processed) with 0 events remaining.            


但是运行xorgcfg可以看到图形界面,鼠标也正常工作!
请问是不是字体的问题,设置语言的时候好像用了en_US。
显卡设置也有问题吗?

这是哪个版本的xorg?是不是7的
如果是,还得emerge xf86-drivers-video-i810
回复 支持 反对

使用道具 举报

发表于 2005-12-27 23:45:37 | 显示全部楼层
Section "Module"
#       Load  "glx"
        Load  "extmod"
        Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
EndSection

在这个 Section 中将  “Load glx" 注释掉,
另外鼠标的驱动文件也可能是错的,应该是 /dev/input/misc,

其实你最好将你的 xorg.conf 帖出来。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-30 06:09:23 | 显示全部楼层
我用emerge xorg-x11,装的版本是6.8.2-rc6
用emerge search xf86-drivers-video-i810搜索的结果是没有找到!
(我用的镜象是http://gentoo.139pay.com)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-30 06:34:40 | 显示全部楼层
我建立了一个link,文本模式已经可以使用鼠标了!
Xorg.0.log文件的后段如是说:
Fatal server error:
could not open default font 'fixed'
...
(II) I810(0): xf86UnbindGARTMemory: unbind key 2

我的xorg.conf文件:
---------------------------------------------------------------------
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/lib/X11/rgb"
        ModulePath   "/usr/lib/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/CID/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/100dpi/"
EndSection

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

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection
                                                                        

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "rotocol" "auto"
        Option      "Device" "/dev/mouse"
EndSection

Section "Monitor"

        #DisplaySize      310   230     # mm
        Identifier   "Monitor0"
        VendorName   "HL"
        ModelName    "HILIPS 107S5"
        HorizSync    30.0 - 71.0
        VertRefresh  50.0 - 160.0
        Option      "DPMS"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "CacheLines"                # <i>
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "DRI"                       # [<bool>]
        #Option     "NoDDC"                     # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "XvMCSurfaces"              # <i>
        #Option     "ageFlip"                  # [<bool>]
        Identifier  "Card0"
        Driver      "i810"
        VendorName  "Intel Corp."
        BoardName   "82815 CGC [Chipset Graphics Controller]"
        ChipSet     "i815"
        BusID       "CI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
回复 支持 反对

使用道具 举报

发表于 2005-12-30 10:29:38 | 显示全部楼层
应该是字体的问题,
FontPath "/usr/share/fonts/misc/"
检查一下这个里面有没有fixed字体, fonts.alias
回复 支持 反对

使用道具 举报

发表于 2005-12-30 13:06:28 | 显示全部楼层
是字体问题,Xorg版本是多少?如果是7的话,记得安装
bdftopcf-X11R7.0-1.0.0
mfstobdf-X11R7.0-1.0.1
mkfontdir-X11R7.0-1.0.1
mkfontscale-X11R7.0-1.0.1
这几个包。不然是生成不了正确的字体以及配置的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-30 23:47:54 | 显示全部楼层
Post by Glue
应该是字体的问题,
FontPath "/usr/share/fonts/misc/"
检查一下这个里面有没有fixed字体, fonts.alias


/usr/share/fonts/misc/目录有个文本文件fonts.alias开头几行内容如下:
! $Xorg: fonts.alias,v 1.3 2000/08/21 16:42:31 coskrey Exp $                    
fixed        -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1   
variable     -*-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859-1         

请问我还要装其他什么字体吗?
既然fixed是一种字体,为什么emerge search fixed说没有找到?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-30 23:54:48 | 显示全部楼层
Post by 终极幻想
是字体问题,Xorg版本是多少?如果是7的话,记得安装
bdftopcf-X11R7.0-1.0.0
mfstobdf-X11R7.0-1.0.1
mkfontdir-X11R7.0-1.0.1
mkfontscale-X11R7.0-1.0.1
这几个包。不然是生成不了正确的字体以及配置的。



我的xorg-x11的版本是6.8.2-rc6
需要另外装什么包生成字体和配置吗?我有什么方法知道缺哪些包?

还有一个问题,我怎样安装某一特定版本的软件包,比如我想装xorg version 7的话,我应该用什么命令参数?
回复 支持 反对

使用道具 举报

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

本版积分规则

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