FC6双屏1280x1024显示XORG配置

来源:互联网 发布:电信挂机短信软件 编辑:程序博客网 时间:2024/04/29 12:11

      找了很多资料,和另一个同事配了2天,用的inlel910芯片组,开始是想使用Xinerama扩展,但是查阅了了一些资料,发现Xinerama扩展必须关闭DRI加速,这个不符合我们的要求,只有走MergedFB这条路了,搞了N久都没搞成功,无意当中发现了网上的一个配置文件,但是网址记不住了,有看了这个帖子知道网址的请留下言我好加上来嘿嘿,然后把那个配置文件改了下,最后成功时的XORG文件如下,

Section "Module"
    Load "i2c"
    Load "bitmap"
    Load "ddc"
    Load "dri"
    Load "extmod"
    Load "freetype"
    Load "glx"
    Load "int10"
    Load "vbe"
    EndSection

    Section "InputDevice"
    Identifier "Generic Keyboard"
    Driver "kbd"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    EndSection

    Section "InputDevice"
    Identifier "Configured Mouse"
    Driver "mouse"
    Option "CorePointer"
    Option "Device" "/dev/input/mice"
    Option "Protocol" "ImPS/2"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "true"
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "stylus"
    Option "Device" "/dev/input/wacom"
    Option "Type" "stylus"
    Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "eraser"
    Option "Device" "/dev/input/wacom"
    Option "Type" "eraser"
    Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "cursor"
    Option "Device" "/dev/input/wacom"
    Option "Type" "cursor"
    Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    EndSection

    Section "Device"
    Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
    Driver "i810"
    BusID "PCI:0:2:0"
    VideoRam 131072
    Screen 0
    Option "No2048Limit" "true"
    Option "DRI" "true"
    Option "MergedFB" "true"
    Option "DDCMode" "true"
    Option "MonitorLayout" "CRT,LFP"
    Option "SecondPosition" "RightOf"
    Option "MetaModes" "1280x1024-1280x1024 1280x1024"
    Option "MergedNonRectangular" "ture"
    Option "XAANoOffscreenPixmaps" "true"
    Option "MergedXinerama" "true"
    Option "crt2hsync" "30-82"
    Option "crt2vrefresh" "50-85"
    EndSection

    Section "Monitor"
    Identifier "Generic Monitor"
    Option "DPMS"
    HorizSync 28-51
    VertRefresh 43-60
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Device "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
    Monitor "Generic Monitor"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    ###Virtual 800 600
    EndSubSection
    SubSection "Display"
    Depth 24
    Modes "800x600" "800x600"
    EndSubSection
    EndSection

    Section "ServerLayout"
    Identifier "MergedFB"
    Screen 0 "Default Screen" 0 0
    InputDevice "Generic Keyboard"
    InputDevice "Configured Mouse"
    InputDevice "stylus" "SendCoreEvents"
    InputDevice "cursor" "SendCoreEvents"
    InputDevice "eraser" "SendCoreEvents"
    EndSection

    Section "DRI"
    Mode 0666
    EndSection

中间有很多东西还没来得及怎么看,也没剩入研究,只是Option "MetaModes" "1280x1024-1280x1024 1280x1024"关系你的分辨率要好好设置,本来用MergedFB模式在965芯片组下才能稳定支持1280双屏的,但是这个也可以试试,我们用的910也行 ,但是852就只能支持1024*768的双屏。

原创粉丝点击