主题 : 4412  linux下  LCD  HDMI 双显设置 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 91671
精华: 0
发帖: 31
金钱: 155 两
威望: 31 点
综合积分: 62 分
注册时间: 2013-05-14
最后登录: 2015-01-06
楼主  发表于: 2013-10-30 21:27

 4412  linux下  LCD  HDMI 双显设置

双显屏的各自分辨率:
hdmi 作为主屏 分辨率为1920x1080
lcd     作为副屏 分辨率为1024x768
鼠标可以在两屏随意移动
下面是 xorg.conf的设置
Section "ServerFlags"
        Option  "Xinerama"      "true"
        Option  "DontZap"
EndSection

Section "Extensions"
        #Option  "Composite"     "Enable"
        Option  "Composite"     "Disable"
        Option  "RENDER"        "Enable"
EndSection

Section "Monitor"
        Identifier      "Monitor0"
        VendorName      "AOU"
        ModelName       "U133WA"
        HorizSync       31.5 - 64.3
        VertRefresh     50 - 90
        Option          "DPMS"
EndSection

Section "Monitor"
        Identifier      "Monitor1"
        VendorName      "LG"
        ModelName       "TV42"
        HorizSync       21.5 - 63.4
        VertRefresh     50 - 90
        Option          "DPMS"
EndSection

Section "Device"
        identifier      "LCD"
        Driver          "fbdev"
        Option          "fbdev" "/dev/fb0"
EndSection

Section "Device"
        Identifier      "HDMI"
        Driver          "fbdev"
        Option          "fbdev" "/dev/fb6"
EndSection

Section "Screen"
        Identifier      "Screen0"
        Device          "LCD"
        Monitor         "Monitor0"
        DefaultDepth    16
        Subsection      "Display"
                Depth           16
                Modes           "1360x768"
                Virtual         2720 768
                ViewPort        0 0
        EndSubsection
EndSection

Section "Screen"
        Identifier      "Screen1"
        Device          "HDMI"
        Monitor         "Monitor1"
        DefaultDepth    16
EndSection

Section "ServerLayout"
        Identifier      "Dual-Monitor"
        Screen 0        "Screen1" 0 0
        Screen 1        "Screen0" RightOf "Screen1"
EndSection
etc/X11/xorg.conf
遗留问题  HDMI的分辨率不能动态调节
级别: 侠客
UID: 57997
精华: 0
发帖: 107
金钱: 535 两
威望: 108 点
综合积分: 214 分
注册时间: 2011-11-01
最后登录: 2018-02-13
1楼  发表于: 2014-02-28 10:11

 Re:4412 linux下 LCD HDMI 双显设置

mark
级别: 新手上路
UID: 110004
精华: 0
发帖: 4
金钱: 20 两
威望: 4 点
综合积分: 8 分
注册时间: 2014-11-11
最后登录: 2015-01-01
2楼  发表于: 2014-11-12 11:45

 Re:4412 linux下 LCD HDMI 双显设置

不错