LinuxSir.cn,穿越时空的Linuxsir!

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

刚安装的gentoo,无法启动X (Solved)

[复制链接]
发表于 2010-5-25 15:38:26 | 显示全部楼层 |阅读模式
4500的显卡,已经安装了 hal,xorg-server,mesa,xf86-video-vesa,xf86-video-intel,xf86-input-evdev
内核是用genkernel配置的,没做修改
xorg.conf如下,在arch中正常使用

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "SynapticsTouchpad" "SendCoreEvents"
EndSection

Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi:unscaled"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
        Load  "dri"
        Load  "record"
        Load  "extmod"
        Load  "glx"
        Load  "dri2"
        Load  "dbe"
        Load  "synaptics"
EndSection

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

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "rotocol" "auto"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
Identifier "SynapticsTouchpad"
Driver "synaptics"
Option "AlwaysCore" "true" # send events to CorePointer
Option "Device" "/dev/psaux"
Option "rotocol" "auto-dev"
Option "SHMConfig" "true" # configurable at runtime? security risk
Option "TouchpadOff" "0"
Option "LeftEdge" "1090" # x coord left
Option "RightEdge" "5400" # x coord right
Option "TopEdge" "1400" # y coord top
Option "BottomEdge" "4500" # y coord bottom
Option "FingerLow" "25" # pressure below this level triggers release
Option "FingerHigh" "30" # pressure above this level triggers touch
Option "MaxTapTime" "180" # max time in ms for detecting tap
Option "VertEdgeScroll" "true" # enable vertical scroll zone
Option "HorizEdgeScroll" "true" # enable horizontal scroll zone
Option "CornerCoasting" "true" # enable continuous scroll with finger in corner
Option "CoastingSpeed" "0.30" # corner coasting speed
Option "VertScrollDelta" "100" # edge-to-edge scroll distance of the vertical scroll
Option "HorizScrollDelta" "100" # edge-to-edge scroll distance of the horizontal scroll
Option "MinSpeed" "0.40" # speed factor for low pointer movement
Option "MaxSpeed" "1.00" # maximum speed factor for fast pointer movement
Option "AccelFactor" "0.0020" # acceleration factor for normal pointer movements
Option "VertTwoFingerScroll" "true" # vertical scroll anywhere with two fingers
Option "HorizTwoFingerScroll" "true" # horizontal scroll anywhere with two fingers
Option "CircularScrolling"          "on"
Option "CircScrollTrigger"          "1"
Option "Emulate3Buttons"   "on"
Option "TapButton1" "1"  
Option "TapButton2" "3"  
Option "TapButton3" "2"  
Option "RTCornerButton"  "3"
Option "RBCornerButton"  "2"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "Mobile 4 Series Chipset Integrated Graphics Controller"
        BusID       "CI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        Option           "AddARGBGLXVisuals" "true"
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes "1280x800" "1024x768"
        EndSubSection
EndSection


make.conf 如下:

CFLAGS="-O2 -pipe"
CXXFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
USE="mmx sse sse2"
GENTOO_MIRRORS="ftp://ftp.sjtu.edu.cn/gentoo"
SYNC="rsync://rsync2.cn.gentoo.org/gentoo-portage"
CCACHE_SIZE="2G"
VIDEO_CARDS="intel"
INPUT_DEVICES="evdev"


startx出现如下错误:

(EE) intel(0): [drm] Failed to open DRM device for : No such file or directory
(EE) intel(0): Failed to become DRM master.
(EE) GARTInit: Unable to open /dev/agpgart (No such file or directory)
(EE) intel(0): /dev/agpgart is either not available, or no memory is available
(EE) intel(0): Failed to initialize kernel memory manager
(EE) intel(0): AGP GART support is either not available or cannot be used.
(EE) intel(0): Couldn't allocate video memory

(chong xin bian yi le yi xia nei he jie jue le ,hai mei an zhuang shu ru fa)
发表于 2010-5-25 15:47:02 | 显示全部楼层
Unable to open /dev/agpgart (No such file or directory)
内核中无agpgart?
回复 支持 反对

使用道具 举报

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

本版积分规则

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