LinuxSir.cn,穿越时空的Linuxsir!

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

[请问]扩展显示器的问题

[复制链接]
发表于 2009-10-8 13:35:48 | 显示全部楼层 |阅读模式
我的机器是thinkpad T400,是Ati的显卡(用的是闭源的驱动)。

现在,由于tex和对文稿的问题,一个屏幕显示不开。如何配置2个屏幕呀?

也就是新加一个显示器是现有显示器的扩展。

我加了个显示器,结果另一个显示器只是当前显示器内容的重复。

如果可以的话,能否告诉我如何配置?最好是step by step的。

谢谢!
发表于 2009-10-8 13:55:19 | 显示全部楼层
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-8 14:45:14 | 显示全部楼层
参考:
http://www.thinkwiki.org/wiki/Xorg_RandR_1.2
  1. emerge --search xrandr
复制代码
*  x11-apps/xrandr
      Latest version available: 1.3.2
      Latest version installed: 1.3.2
      Size of files: 126 kB
      Homepage:      http://xorg.freedesktop.org/
      Description:   primitive command line interface to RandR extension
      License:       MIT

接上显示器,打开电源
  1. xrandr -q
复制代码
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 2048 x 2048
LCD connected 1280x800+0+0 (normal left inverted right x axis y axis) 303mm x 190mm
   1280x800       60.0*+   50.0                                                   
   1280x768       59.9 +
   1280x720       60.0 +   50.0
   1024x768       60.0 +
   800x600        60.3 +
   720x480        60.0 +
   640x480        60.0 +
   640x400        59.9 +
   512x384        60.0 +
   400x300        60.7 +
   320x240        60.0 +
   320x200        60.1 +
DFP1 disconnected (normal left inverted right x axis y axis)
CRT1 connected (normal left inverted right x axis y axis)
   1024x768       60.0 +   75.0     70.1
   800x600        85.1     72.2     75.0     70.0     60.3     56.2
   720x480        60.0
   640x480        85.0     75.0     72.8     60.0
   640x400        75.1     59.9
   512x384        60.0     74.9
   400x300        75.0     60.7
   320x240        75.6     60.0
   320x200        75.5     60.1
  1. xrandr --output LCD --mode 1280x800 --pos 0x0 --output CRT1  --mode 1024x768 --pos 1280x0
复制代码
可以了,不过不知道为什么,菜单条跑到右边下面了,郁闷
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-8 15:23:42 | 显示全部楼层
上面的还有个问题,好像一进系统配置的就有问题。
试验一下ati配置
  1. cd /opt/bin
  2. ./aticonfig  --xinerama=on
复制代码

重起一下系统。
好像可以,不过,好像状态条又跑到右边下面了。并且看了一下,需要重启,是因为修改了xorg.conf?我不喜欢这样.

原来的xorg.conf 内容:
Section "ServerLayout"
        Identifier        "X.org Configured"
        Screen        0        "Screen0"        0 0
EndSection

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

Section "Device"
        Identifier        "Card0"
        #Driver "radeon"
        Driver        "fglrx"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device         "Card0"
        Monitor  "Monitor0"
        DefaultDepth 24
      SubSection "Display"

                 #DRI does not work above 2048x2048 for pre-965
                 #intel cards. Size is determined by xorg when
                 #X is launched such that monitor resolutions fit.
               #Virtual 2048 2048
               # to support dual display, the other one si 1024*768
               Viewport 0 0
               Virtual 2304 800
            Depth 24
             EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection

被修改后的是:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "amdcccle-Screen[1]-0" 1280 0
        Screen         "amdcccle-Screen[1]-1" 0 0
EndSection

Section "Files"
        FontPath     "/usr/share/fonts/winxp"
EndSection

Section "Module"
EndSection

Section "ServerFlags"
        Option            "Xinerama" "on"
EndSection

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

Section "Monitor"
        Identifier   "0-LCD"
        Option            "VendorName" "ATI Proprietary Driver"
        Option            "ModelName" "Generic Autodetecting Monitor"
        Option            "DPMS" "true"
        Option            "referredMode" "1280x800"
        Option            "TargetRefresh" "60"
        Option            "osition" "0 0"
        Option            "Rotate" "normal"
        Option            "Disable" "false"
EndSection

Section "Monitor"
        Identifier   "0-CRT1"
        Option            "VendorName" "ATI Proprietary Driver"
        Option            "ModelName" "Generic Autodetecting Monitor"
        Option            "DPMS" "true"
        Option            "referredMode" "1024x768"
        Option            "TargetRefresh" "60"
        Option            "osition" "0 0"
        Option            "Rotate" "normal"
        Option            "Disable" "false"
EndSection

Section "Device"

        #Driver "radeon"
        Identifier  "Card0"
        Driver      "fglrx"
EndSection

Section "Device"
        Identifier  "amdcccle-Device[1]-0"
        Driver      "fglrx"
        Option            "Monitor-CRT1" "0-CRT1"
        BusID       "CI:1:0:0"
EndSection

Section "Device"
        Identifier  "amdcccle-Device[1]-1"
        Driver      "fglrx"
        Option            "Monitor-LCD" "0-LCD"
        BusID       "CI:1:0:0"
        Screen      1
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"

                #DRI does not work above 2048x2048 for pre-965
                #intel cards. Size is determined by xorg when
                #X is launched such that monitor resolutions fit.
                #Virtual 2048 2048
                # to support dual display, the other one si 1024*768
                Viewport   0 0
                Virtual   2304 800
                Depth     24
        EndSubSection
EndSection

Section "Screen"
        Identifier "amdcccle-Screen[1]-0"
        Device     "amdcccle-Device[1]-0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Screen"
        Identifier "amdcccle-Screen[1]-1"
        Device     "amdcccle-Device[1]-1"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "DRI"
        Mode         0666
EndSection
回复 支持 反对

使用道具 举报

发表于 2009-10-8 15:43:19 | 显示全部楼层
闭源驱动很好办,用aaa*把bigdesktop打开就可以设置了。 无需xrandr
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-8 15:46:08 | 显示全部楼层
Post by zhou3345;2034197
闭源驱动很好办,用aaa*把bigdesktop打开就可以设置了。 无需xrandr


能否说详细点?是什么命令?谢谢!我又修改了上面的贴子
回复 支持 反对

使用道具 举报

发表于 2009-10-9 14:06:31 | 显示全部楼层
已经好久没用官方驱动了,记得不是很详细。
1. 连接好多台显示器
2. 开启amdcccle,并设置好bigdesktop中分辨率等
3. 重启X,ok
回复 支持 反对

使用道具 举报

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

本版积分规则

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