LinuxSir.cn,穿越时空的Linuxsir!

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

Xinerama可以 MergedFB失败???[标题修改]

[复制链接]
发表于 2007-8-12 11:13:42 | 显示全部楼层 |阅读模式
IBM T40
17"LCD
debian + xfce

---------------
我想知道是否能够实现一台主机用两个显示器来显示两个虚拟桌面?

因为T40上有个VGA接口,在windows下如何接上显示器这两个显示器都可以工作,但显示的东西是一样的(对于我没有什么用)现在基本上都在linux下工作,本子上的显示器一个屏幕显示的东西太少了,于是就想加上一个显示器,能否实现屏幕增大,或者是另一个虚拟桌面??

这个是否对我有帮助呢?http://ubuntuforums.org/showthread.php?t=301961&page=5
发表于 2007-8-12 14:45:47 | 显示全部楼层
可以实现,你提供的网址也有帮助啊,我就按照你的网址上的内容,经过修改成功了。

你用是什么驱动?是不是ati的开源驱动?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-12 15:21:06 | 显示全部楼层
Post by chenxingchen
可以实现,你提供的网址也有帮助啊,我就按照你的网址上的内容,经过修改成功了。

你用是什么驱动?是不是ati的开源驱动?


是开源驱动.....

-----------
参考的http://wiki.ubuntu.org.cn/index. ... h&variant=zh-cn
用 Xinerama 就可以实现双头  (但我想用的是 MergedFB )

但是用 MergedFB 却不行!两个屏幕显示一样的东西!

还是吧我的xorg.conf贴出来让大家帮帮忙吧
  1. # /etc/X11/xorg.conf (xorg X Window System server configuration file)
  2. #
  3. # This file was generated by dexconf, the Debian X Configuration tool, using
  4. # values from the debconf database.
  5. #
  6. # Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
  7. # (Type "man /etc/X11/xorg.conf" at the shell prompt.)
  8. #
  9. # This file is automatically updated on xserver-xorg package upgrades *only*
  10. # if it has not been modified since the last upgrade of the xserver-xorg
  11. # package.
  12. #
  13. # If you have edited this file but would like it to be automatically updated
  14. # again, run the following command:
  15. #   sudo dpkg-reconfigure -phigh xserver-xorg
  16. Section "Files"
  17.         FontPath        "/usr/share/fonts/X11/misc"
  18.         FontPath        "/usr/X11R6/lib/X11/fonts/misc"
  19.         FontPath        "/usr/share/fonts/X11/cyrillic"
  20.         FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
  21.         FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
  22.         FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
  23.         FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
  24.         FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  25.         FontPath        "/usr/share/fonts/X11/Type1"
  26.         FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
  27.         FontPath        "/usr/share/fonts/X11/100dpi"
  28.         FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
  29.         FontPath        "/usr/share/fonts/X11/75dpi"
  30.         FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
  31.         # path to defoma fonts
  32.         FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
  33. EndSection
  34. Section "Module"
  35.         Load        "bitmap"
  36.         Load        "ddc"
  37.         Load        "dri"
  38.         Load        "extmod"
  39.         Load        "freetype"
  40.         Load        "glx"
  41.         Load        "int10"
  42.         Load        "vbe"
  43. EndSection
  44. Section "InputDevice"
  45.         Identifier        "Generic Keyboard"
  46.         Driver                "kbd"
  47.         Option                "CoreKeyboard"
  48.         Option                "XkbRules"        "xorg"
  49.         Option                "XkbModel"        "pc104"
  50.         Option                "XkbLayout"        "us"
  51. EndSection
  52. Section "InputDevice"
  53.         Identifier        "Configured Mouse"
  54.         Driver                "mouse"
  55.         Option                "CorePointer"
  56.         Option                "Device"                "/dev/input/mice"
  57.         Option                "Protocol"                "ImPS/2"
  58.         Option                "Emulate3Buttons"        "true"
  59. EndSection
  60. Section "InputDevice"
  61.         Identifier        "Synaptics Touchpad"
  62.         Driver                "synaptics"
  63.         Option                "SendCoreEvents"        "true"
  64.         Option                "Device"                "/dev/psaux"
  65.         Option                "Protocol"                "auto-dev"
  66.         Option                "HorizScrollDelta"        "0"
  67. EndSection
  68. Section "Device"
  69.         Identifier        "Radeon Mobility M7 LW [Radeon Mobility 7500]"
  70.         Driver                "ati"
  71.         BusID                "PCI:1:0:0"
  72.         Option                "MergedFB"                "true"
  73.         Option                "XAANoOffscreenPixmaps"
  74.         Option                "AGPMode"                "4"
  75.         Option                "AGPFastWrite"                "true"
  76.         Option                "MonitorLayout"                "LCD,        CRT"
  77.         Option                "OverlayOnCRT2"                "true"
  78.         Option                "CRT2Position"                "LeftOf"
  79.         Option                "MetaModes"                "1024x768-1024x768"
  80.         Option                "MergedXinerama"        "on"
  81.         Option                "MergedNonRectangular"        "true"
  82.         Option                "MergedXineramaCRT2IsScreen0"                "true"
  83. EndSection
  84. Section "Monitor"
  85.         Identifier        "IBM LCD 14.1"
  86.         Option                "DPMS"
  87.         HorizSync        28-49
  88.         VertRefresh        43-72
  89. EndSection
  90. Section "Screen"
  91.         Identifier        "Default Screen"
  92.         Device                "Radeon Mobility M7 LW [Radeon Mobility 7500]"
  93.         Monitor                "IBM LCD 14.1"
  94.         DefaultDepth        24
  95.         SubSection "Display"
  96.                 Depth                24
  97.                 Modes                "1024x768" "800x600" "640x480"
  98.         EndSubSection
  99. EndSection
  100. Section "ServerLayout"
  101.         Option                "AIGLX"                "true"
  102.         Identifier        "Default Layout"
  103.         Screen                "Default Screen"
  104.         InputDevice        "Generic Keyboard"
  105.         InputDevice        "Configured Mouse"
  106.         InputDevice        "Synaptics Touchpad"
  107. EndSection
  108. Section "DRI"
  109.         Mode        0666
  110. EndSection
  111. Section        "Extensions"
  112.         Option                "Composite"        "Enable"
  113. EndSection
  114. Section        "ServerFlags"
  115.         Option                "AIGLX"                "off"
  116. EndSection
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-13 10:04:11 | 显示全部楼层
Xinerama 和 MergedFB 有什么区别呢?除了DRI之外?
由于我还是不太明白说不清楚我要表达的意思,难道 他们使用的 模块或者是驱动或者是硬件本身的支持(不知道该怎么说)不一样么?为什么Xinerama可以实现双头,而MergedFB却不可以,虽然我基本上用不到3D,但还是想弄清楚为什么MergedFB不可以?
回复 支持 反对

使用道具 举报

发表于 2007-8-15 14:33:20 | 显示全部楼层
我只是问你用的是不是开源驱动嘛。
如果是sid(testing不知道有没有相同的问题),且用的开源驱动,mergedfb是用不了,因为有bug。
在探测第二个显示器的分辨率时,频率报告错误。
下载新的版本,当然不保证它不会带来别的问题:http://packages.debian.org/cgi-b ... =i386&type=main
回复 支持 反对

使用道具 举报

发表于 2007-10-8 09:17:28 | 显示全部楼层
我也遇到了这个问题,真晕。fglrx 倒是没问题,可是还得重编内核。等会编一个好了。
回复 支持 反对

使用道具 举报

发表于 2007-10-8 10:18:27 | 显示全部楼层
Post by ssbeonly
因为T40上有个VGA接口,在windows下如何接上显示器这两个显示器都可以工作,但显示的东西是一样的(对于我没有什么用)现在基本上都在linux下工作,本子上的显示器一个屏幕显示的东西太少了,于是就想加上一个显示器,能否实现屏幕增大,或者是另一个虚拟桌面??


windows 中也可以实现两个屏幕显示不同的东西。在显示属性里勾选一个选项,好像是“扩展当前桌面到另一个显示器”,记不清了。

我的配置和楼主的基本一样,不知道是不是这些细小的差别引起的。楼主是否看过 xorg 的 log?


  1. Section "Device"
  2.         Identifier  "ATI Technologies Inc Radeon Mobility M6"
  3.         Driver      "radeon"
  4.         BusID       "PCI:1:0:0"
  5.         Option      "SubPixelOrder" "RGB"
  6.         Option      "AGPMode"            "4"
  7.         Option      "AGPFastWrite"       "true"
  8.         #Option      "EnablePageFlip" "true"
  9.         Option      "SWcursor" "off"
  10.         Option      "DynamicClocks" "on"
  11.         #Option      "UseFBDev"        "false"
  12.         #Option      "AccelMethod" "EXA" # or XAA, EXA, XAA more stable, XAA is deafult
  13.         Option      "BIOSHotkeys"        "on"
  14.         Option      "backingstore"  "true"
  15.         Option      "AllowGLXWithComposite"  "true"
  16.         Option      "XAANoOffscreenPixmaps" "true"
  17.         Option      "AGPSSize"   "16"
  18.         # dual head switcher
  19.         # auto turn on if a external monitor is detected
  20.         #Option      "MergedFB" "false"
  21.         Option      "MonitorLayout" "LVDS (TMDS), CRT" # LVDS = Laptop Screen,  TMDS = DVI Port, CRT = VGA Port NOT MONITOR TYPE!
  22.         Option "CRT2Hsync" "30-65" #Horizontal Sync of the Monitor (check your  monitor's manual for correct values)

  23.         Option  "MergedXinerama" "on"
  24.         Option "MergedXineramaCRT2IsScreen0" "false"
  25.         Option "CRT2VRefresh" "50-85" #Vertical Refresh rate of the Monitor     (check your monitor's manual for correct values)
  26.         Option "OverlayOnCRTC2" "true"
  27.         Option "OverlayOnCR        Option "CRT2Position" "LeftOf"
  28.         Option "MetaModes" "1024x768-1024x768"
  29.         #VendorName  "All"
  30.         #BoardName   "All"
  31. EndSection
复制代码
回复 支持 反对

使用道具 举报

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

本版积分规则

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