免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1892 | 回复: 3

求教linux下的双屏显示(crt+tv)问题,请高人指点。 [复制链接]

论坛徽章:
0
发表于 2006-01-04 11:58 |显示全部楼层
我用的是cent  OS的linux ,主板上的显示芯片是intel的852GM,我在xp下设置双显没有问题,可是在linux下修改完/etc/X11/xorg.conf的内容后tv上没有信号输出,crt可以正常显示。

论坛徽章:
0
发表于 2006-01-06 15:09 |显示全部楼层

经过本人研究终于解决了问题,现在供大家参考

在图形界面下以root身份登陆,修改/etc/X11/xorg.conf文件,下面是修改后的内容。
  

  Section "ServerLayout"
       
    Identifier     "Multihead layout"
       
    Screen      0  "Screen0" LeftOf "Screen1"
       
    Screen      1  "Screen1" 0 0
       
    InputDevice    "Mouse0" "CorePointer"
       
    InputDevice    "Keyboard0" "CoreKeyboard"
       
    Option           "Xinerama" "on"
        
    Option         "MonitorLayout"  "anystr"
       
    Option               "Clone" "off"

  EndSection


   

  Section "Files"



    RgbPath        "/usr/X11R6/lib/X11/rgb"
       
    FontPath       "unix/:7100"

  EndSection





  Section "Module"
       
    Load  "dbe"
       
    Load  "extmod"
       
    Load  "fbdevhw"
       
    Load  "glx"
       
    Load  "record"
       
    Load  "freetype"
       
    Load  "type1"
       
    Load  "dri"

  EndSection





  Section       "InputDevice"

    Identifier  "Keyboard0"
       
    Driver      "kbd"
       
    Option        "XkbModel" "pc105"
       
    Option        "XkbLayout" "us"

  EndSection





  Section           "InputDevice"
       
    Identifier      "Mouse0"
       
    Driver          "mouse"
       
    Option            "Protocol" "IMPS/2"

    Option            "Device" "/dev/input/mice"
       
    Option            "ZAxisMapping" "4 5"
       
    Option            "Emulate3Buttons" "yes"

  EndSection





  Section           "Monitor"
       
    Identifier      "Monitor0"
       
    VendorName      "Monitor Vendor"
       
    ModelName       "SyncMaster"
       
    DisplaySize      320        240
       
    HorizSync        30.0 - 71.0
       
    VertRefresh      50.0 - 160.0
       
    Option            "dpms"
        
    Option          "MonitorLayout" "CRT,TV"

  EndSection




  Section        "Monitor"
       
    Identifier   "Monitor1"
       
    VendorName   "Monitor Vendor"
       
    ModelName    "LCD Panel 800x600"
       
    HorizSync    31.5 - 37.9
       
    VertRefresh  40.0 - 70.0
      
    Option      "MetaModes" "800x600"
        
    Option      "TVOutFormat" "COMPOSITE"
        
    OPtion      "TVStandard" "NTSC-M"
        
    Option      "ConnectedMonitor" "TV"
       
    Option      "dpms"
        
    Option      "MonitorLayout" "CRT,TV"

  EndSection





  Section       "Device"
       
    Identifier  "Videocard0"
       
    Driver      "i810"
       
    VendorName  "Videocard vendor"
       
    BoardName   "Intel 852"

  EndSection





  Section       "Device"
       
    Identifier  "Videocard1"
       
    Driver      "i810"
       
    VendorName  "Videocard Vendor"
       
    BoardName   "Intel 852"
       
    BusID       "PCI:0:2:0"
       
    Screen      1

  EndSection





  Section "Screen"
       
    Identifier "Screen0"
       
    Device     "Videocard0"

    Monitor    "Monitor0"
       
    DefaultDepth     24
       

    SubSection "Display"
               
      Viewport   0 0
               
      Depth     16
               
      Modes    "800x600" "640x480"
       
    EndSubSection

       
    SubSection "Display"
               
      Viewport   0 0
               
      Depth     24
               
      Modes    "800x600" "640x480"
       
    EndSubSection

  EndSection




  Section "Screen"
       
    Identifier "Screen1"
       
    Device     "Videocard1"
       
    Monitor    "Monitor1"
       
    DefaultDepth     24
       

    SubSection "Display"
               
      Viewport   0 0
               
      Depth     24
               
      Modes    "800x600"
       
    EndSubSection

  EndSection





  Section "DRI"
       
    Group        0
       
    Mode         0666

  EndSection

论坛徽章:
0
发表于 2006-01-19 09:53 |显示全部楼层

求助楼上的大哥

楼上的大哥,麻烦问问你,你的cent OS是从那里下载的啊,我想试试你的方法,另外想问问你用的是什么主板?那个品牌?你的TV输出效果如何啊?
有点烦噢,呵呵,不要介意啊!

渴望楼上的支持

论坛徽章:
0
发表于 2006-01-19 11:02 |显示全部楼层

楼上的大哥帮帮我啊

看到你在线噢,不要不理我啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP