LinuxSir.cn,穿越时空的Linuxsir!

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

怎样实现一台主机带两台显示器、两个键盘鼠标

[复制链接]
发表于 2007-5-30 15:16:44 | 显示全部楼层 |阅读模式
我的主机已经有两个显示卡,安装了suse10.2。希望一台主机当两台来用。

发表于 2007-5-31 23:19:22 | 显示全部楼层
up up 我也想知道
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-1 08:26:33 | 显示全部楼层
找到这篇文,其实x.org后期的版本已经支持(引入seat节),不需要特别的软件和给内核及X打补丁,简单方便。我还没时间搞,估计对显卡有要求。


Multiseat X Under X11R6.9/7.0
I keep getting inquiries about multiseat X configuration under X11R6.9/7.0 and Linux. It's no longer necessary to patch the kernel or the X server to get this to work - you can set everything up in the xorg.conf file.

Here is a temporary mini-Howto document that I've put together. I'll write a better one when X11R6.9/7.0 is finalized (and time permits  ) ... and there will be a chapter on the topic in one of my upcoming books. In the meantime, have fun! -- please let me know what experiences you have trying this out (positive or negative) -- in particular, it would be great to have reports on which video card combinations work or do not work.

(For those new the term "Multiseat X", it means creating a system with mulitple video monitors, keyboards, and mice for simultaneous use by multiple users -- like my home system).



Quick Guide/Mini-HOWTO on Creating a Multiseat X System using X.Org 6.9
Chris Tyler - December 2005
For updates see http://blog.chris.tylers.info

-----------------------------------------------------
Warning! This isn't a project for the faint-of-heart!
It requires good sysadmin expertise and lots of
patience. If you want a simple[r] solution, please
contact me in the Spring of 2007 to inquire about
configuration scripts to automate some of this setup.
-----------------------------------------------------

------------------------------------------------------
Hardware requirements
- Compatible AGP/PCI/PCIE video cards. The definition
of "Compatible" is very much up in the air at this
time. Chipsets from the same manufacturer often work
well. If you're using nVidia cards, use the non-GPL
"nvidia" driver instead of the GPL "nv" driver.

- Zero or one PS/2 keyboard and mouse sets, and one
or more USB keyboard and mouse sets.

- Zero or more sound cards. Directing the sound output
from each application to the correct speaker set is
left as an exercise for the reader.
------------------------------------------------------

1. Install your favorite Linux distro.

2. Upgrade the X server to X.Org 6.9 or 7.0 if necessary (pre-release versions at
http://x.org) - FC5 test releases include X.org 7.0.

(Note that 6.9 and 7.0 are the same software, but 6.9 is a monolithic build and 7.0 is modular).

3. Configure and test a Xinerama configuration using "X -configure".
(Refer to http://www.tldp.org/HOWTO/Xinerama-HOWTO/ if needed)

4. Plug in your additional USB keyboards and mice.

5. Find all of the keyboards and mice in /proc/bus/input/devices. Note
the Handlers line for each device; find the 'eventX' value for each
keyboard and the 'mouseX' value for each mouse.

6. Construct an InputDevice section for each keyboard, and place it in
the /etc/X11/xorg.conf file:

Section "InputDevice"
    Identifier "keyboardN"
    Driver "evdev"
    Option "Device" "/dev/input/eventX"
EndSection

Replace N with a sequential keyboard number, and X with the event
handler identified in step 5.

7. Construct an InputDevice section for each mouse, and place it in
the /etc/X11/xorg.conf file:

Section "InputDevice"
    Identifier "mouseN"
    Driver "mouse"
    Option "ZAxisMapping" "4 5"
    Option "Device" "/dev/input/mouseX"
EndSection

Replace N with the a sequential mouse number, and X with the mouse
handler identified in step 5.

8. Create a ServerLayout section for each seat, and add it to the
xorg.conf file:

Section "ServerLayout"
    Identifier "seatN"
    Screen 0 "ScreenN" 0 0
    InputDevice "mouseN" "CorePointer"
    InputDevice "keybaordN" "CoreKeyboard"
EndSection

Where screenN matches the Identifier lines in the appropriate Screen sections.

9. Test the displays using the -novtswitch and -sharevts options:

X -novtswitch -sharevts -layout seatN :0

Replace N with each seat number in turn. You probably won't be able to
zap (Ctrl-Alt-Backspace) the server nor switch VTs, so you'll need
another system with ssh access to terminate the X servers (or run
something like 'while sleep 60 ; do killall X ; done' in the
background).

10. Although you can start each X server using the X (or Xorg) binary, it's easier to track and kill individual servers if you link separate names (X0, X1) for each server:

ln -s /usr/X11R6/bin/X /usr/X11R6/bin/X0
ln -s /usr/X11R6/bin/X /usr/X11R6/bin/X1

Note that the X server may be relocated - when I installed 6.9 from the X.org CVS onto FC4, the server went into /usr/X11R6/bin, but in FC5 (7.0) it's in /usr/bin. This command will work in any case:

ln -s $(which X) $(which X)0
ln -s $(which X) $(which X)1

11. Add the new X servers to the display manager configuration. If
you're using Fedora Core 4, for example, modify /etc/X11/gdm/gdm.conf:

- Comment out this line by prepening the #:
#0=Standard

- Add these lines, one for each seat:
0=Standard0
1=Standard1
...

- Add these sections:
[server-Standard0]
name=Standard server
command=/usr/X11R6/bin/X0 -novtswitch -sharevts -layout seat0
flexible=false

[server-Standard1]
name=Standard server
command=/usr/X11R6/bin/X1 -novtswitch -sharevts -layout seat1
flexible=false

12. Restart the display manager and enjoy!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-3 15:55:45 | 显示全部楼层
好象suse与其它版本的设置有点不一样,还是没能搞好。


http://freebsd.weonfu.net/node/381

多重基座 X-Win 系統 (Multi-Seat X-Win System)
由 逸晨 張貼於 四月 13th, 2007

    * Ubuntu

為了讓逸晨家中那群小天使能夠不再爭奪電腦的使用權,也為了讓那塵封已久的螢幕能有再見光明的日子,在歷經多日的文件搜尋,以及一年多的使用測試後,終於肯定了 multi-seat 的實用性 -- 當然,前提是得看該部主機的主要用途了。
名詞淺釋

    * seat -> 基座;席位。
      在這兒指的是︰一隻滑鼠、一式鍵盤、一部螢幕為一個基座。

需求

    * 內附一組以上 PCI 擴充槽的主機板 (視所需的基座而定)
    * 一片以上的 PCI 界面顯示卡 (視所需的基座而定)
    * 一片 AGP 或 PCI-E 界面的顯示卡 (視所使用的主機板而定,如為內建顯示晶片的主機板,可依情況自行決定。)
    * 兩部或以上的螢幕 (傳統式或液晶螢幕皆可,建議全為液晶螢幕較好,數量依所需的基座而定,最少需兩部螢幕)
    * 兩隻或以上的滑鼠及鍵盤 (視所需的基座而定,連接界面建議皆為 USB 較佳)
    * Xorg 6.9 或之後的 X-Win 版本


概要

   1. 建立多重基座的操作系統環境,大至上由底下幾個步驟來完成︰ 安裝硬體
      將顯示卡、滑鼠、鍵盤、螢幕給安裝、連接到電腦主機
   2. 安裝 Linux 作業系統
      若是對 Linux 系統不熟的話,建議採用 Ubuntu 這個發行版本。
   3. 記錄相關的硬體配置
      主要是要記錄顯示卡以及採用 USB 界面的硬體,其在 Linux 中所分配到的控制資訊。
   4. 修改 xorg.conf 設置
      將上個步驟中所記錄下的相關資訊寫入到 xorg.conf 中。
   5. 修改 gdm.conf 設置
      修正 gdm.conf 的設置,以便啟動多重 Xserver。

      在整個過程中,較需注意的便是各硬體的控置資訊正確取得,我們將會利用 lspci 來取得顯示卡的控制資訊,以及讀取 /proc/bus/input/devices 檔案來取得滑鼠和鍵盤的控制資訊,這也是最重要的一部份,因為取得的資訊錯誤了,將會無法啟動 Xserver 或啟動了,但也凍結了系統的運作 (啊~~當機啦!)........

安裝硬體

這一部份相信各位都不會有什麼問題的,主要是在硬體的選購。
返回
安裝 Linux 作業系統
返回
記錄相關的硬體配置

所有的硬體在系統中都會有它自已的一個代號,這樣才能夠辨明 CPU 所下的指令是要給哪個硬體。在此,我們就是要找出所有的顯示卡、滑鼠、鍵盤在系統中所對映的代號,這樣才能於下一個環節中,將正確的硬體代號寫入 xorg.conf 設置檔。
因為顯示卡較簡單,所以先來找出所有顯示卡的對映代號來︰

you@hostname:~$ lspci | grep VGA
00:09.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)

從上列的原始資料中可以看出,逸晨是使用兩片 GeForce FX 5200 來架構雙基座的作業環境,其中︰

    * 00:09.0 -> 這片顯示卡是 PCI 界面
    * 01:00.0 -> 這片顯卡是 AGP 界面

接下來,讓我們先來看看主機中計有哪些輸入裝置的節點︰

you@hostname:~$ ls /dev/input
by-id  by-path  event0  event1  event2  event3  event4  event5  mice  mouse0  mouse1  mouse2  ts0  ts1  ts2
you@hostname:~$ ls -l /dev/input/by-id
總計 0
lrwxrwxrwx 1 root root 9 2007-04-20 10:50 usb-04d9_1400-event-kbd -> ../event2
lrwxrwxrwx 1 root root 9 2007-04-20 10:50 usb-04d9_1400-event-mouse -> ../event3
lrwxrwxrwx 1 root root 9 2007-04-20 10:50 usb-04d9_1400-mouse -> ../mouse0
lrwxrwxrwx 1 root root 9 2007-04-20 10:50 usb-Logitech_Logitech_USB_Optical_Mouse-event-mouse -> ../event4
lrwxrwxrwx 1 root root 9 2007-04-20 10:50 usb-Logitech_Logitech_USB_Optical_Mouse-mouse -> ../mouse1
you@hostname:~$ ls -l /dev/input/by-path
總計 0
lrwxrwxrwx 1 root root 9 2007-04-20 10:50 pci-0000:00:03.0-usb-0:1:1.0-event-kbd -> ../event2
lrwxrwxrwx 1 root root 9 2007-04-20 10:50 pci-0000:00:03.0-usb-0:1:1.1-event-mouse -> ../event3
lrwxrwxrwx 1 root root 9 2007-04-20 10:50 pci-0000:00:03.0-usb-0:1:1.1-mouse -> ../mouse0
lrwxrwxrwx 1 root root 9 2007-04-20 10:50 pci-0000:00:03.1-usb-0:1:1.0-event-mouse -> ../event4
lrwxrwxrwx 1 root root 9 2007-04-20 10:50 pci-0000:00:03.1-usb-0:1:1.0-mouse -> ../mouse1
lrwxrwxrwx 1 root root 9 2007-04-20 10:50 platform-i8042-serio-0- -> ../mouse2
lrwxrwxrwx 1 root root 9 2007-04-20 10:50 platform-i8042-serio-0-event- -> ../event5
lrwxrwxrwx 1 root root 9 2007-04-20 10:50 platform-i8042-serio-1-event- -> ../event0
lrwxrwxrwx 1 root root 9 2007-04-20 10:50 platform-pcspkr-event- -> ../event1

嗯~
大略看出些什麼來了,但似乎有些實際的裝置連線無法很肯定,所以我們接著查看實際運作的資料︰

you@hostname:~$ less /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="C Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input1
H: Handlers=kbd event1
B: EV=40001
B: SND=6

I: Bus=0003 Vendor=04d9 Product=1400 Version=0142
N: Name="HID 04d9:1400"
P: Phys=usb-0000:00:03.0-1/input0
S: Sysfs=/class/input/input2
H: Handlers=kbd event2
B: EV=120003
B: KEY=10000 7 ff87207a c14057ff febeffdf ffefffff ffffffff fffffffe
B: LED=7

I: Bus=0003 Vendor=04d9 Product=1400 Version=0142
N: Name="HID 04d9:1400"
P: Phys=usb-0000:00:03.0-1/input1
S: Sysfs=/class/input/input3
H: Handlers=kbd mouse0 event3 ts0
B: EV=7
B: KEY=1f0000 0 0 39fa d801d101 1e0000 0 0 0
B: REL=103

I: Bus=0003 Vendor=046d Product=c018 Version=4300
N: Name="Logitech Logitech USB Optical Mouse"
P: Phys=usb-0000:00:03.1-1/input0
S: Sysfs=/class/input/input4
H: Handlers=mouse1 event4 ts1
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103

I: Bus=0011 Vendor=0002 Product=0006 Version=0056
N: Name="ImExPS/2 Logitech Wheel Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/class/input/input5
H: Handlers=mouse2 event5 ts2
B: EV=7
B: KEY=1f0000 0 0 0 0 0 0 0 0
B: REL=103

從上述所查詢到的資料,我們可以得到底下的記錄表格︰
Seat NO:         VGA Card BusID         Keyboard Device (/dev/input)         Mouse Device (/dev/input)
0                  00:09:00           event2                            mouse1
1                  01:00:00          event0                            mouse2
返回
修改 xorg.conf 設置

在 xorg.conf 中,是可以利用不同的 layout 來使用不同的裝置,我們就是利用這個特性來達到不同的基座使用不同的硬體配置︰

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "evdev"
    Option           "Name" "HID 04d9:1400"
    Option           "hys" "usb-*/input0"
    Option           "Device" "/dev/input/event2"
EndSection
Section "InputDevice"
    Identifier     "Keyboard1"
    Driver         "evdev"
    Option           "hys" "isa0060/serio0/input0"
    Option           "Device" "/dev/input/event0"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option           "Name" "Logitech Logitech USB Optical Mouse"
    Option           "hys" "usb-*/input0"
    Option           "rotocol" "Auto"
    Option         "Device" "/dev/input/mouse1"
    Option         "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
    Identifier     "Mouse1"
    Driver         "mouse"
    Option           "hys" "isa0060/serio1/input0"
    Option           "rotocol" "Auto"
    Option         "Device" "/dev/input/mouse2"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "CMC 17 AD 0"
    Option         "DPMS"
EndSection
Section "Monitor"
    Identifier     "CMC 17 AD 1"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "CI FX5200"
    Driver         "nvidia"
    Option            "TripleBuffer" "True"
    BusID           "CI:0:9:0"
EndSection
Section "Device"
    Identifier     "AGP FX5200"
    Driver         "nvidia"
    Option            "TripleBuffer" "True"
    BusID           "CI:1:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "PCI FX5200"
    Monitor        "CMC 17 AD 0"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "AGP FX5200"
    Monitor        "CMC 17 AD 1"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier     "VGA0"
    Screen         "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "ServerLayout"
    Identifier     "VGA1"
    Screen         "Screen1" 0 0
    InputDevice    "Keyboard1" "CoreKeyboard"
    InputDevice    "Mouse1" "CorePointer"
EndSection

編修好 xorg.conf 之後,請不要忘了測試看看喲!!

you@hostname~$ startx -- -layout vga0

you@hostname~$ startx -- -layout vga1

返回
修改 gdm.conf 設置

最後,請修改 gdm.conf 的設置 (Ubuntu 請修改 gdm.conf-custom)︰
[servers]0=Standard0
1=Standard1

[server-Standard0]name=Standard server
command=/usr/X11R6/bin/X -nolisten tcp -novtswitch -sharevts -layout VGA0
flexible=true

[server-Standard1]name=Standard server
command=/usr/X11R6/bin/X -nolisten tcp -novtswitch -sharevts -layout VGA1
flexible=true
返回

參考來源︰
http://blog.chris.tylers.info/
http://linuxgazette.net/124/smith.html
http://cambuca.ldhs.cetuc.puc-rio.br/multiuser/
https://help.ubuntu.com/community/MultiseatX
http://www.linux.com/howtos/XFre ... r-HOWTO/index.shtml
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-3 23:23:36 | 显示全部楼层
标题: 基于Xorg6.9的双显卡+双显示器解决方案(原创)

--------------------------------------------------------------------------------
mwmb2

http://www.linuxsir.cn/bbs/showt ... %E5%8D%A1+%E5%8D%A1

(本文在http://weimin.ma.googlepages.com ... D和本帖地址)

双显示器可以大幅度的提高工作效率,例如一个屏幕显示latex文档,另一个屏幕显示编译结果,不必在两个窗口之间切换。用过双显示器的几乎都不在愿意再用单显示器了。

本文介绍介于Xorg6.9的双显卡+双显示器的解决方案。该方案不局限于Mandriva 2006发行版,可用于通用Linux发行版。请注意,本文不涉及双头显卡(即一块显卡有两头输出)的解决方案,但本文的内容可能对双头显卡的配置起借鉴作用。

1、准备工作
请准备两块显卡和两个显示器。有效的双显卡搭配为:AGP+PCI或者PCI+PCI,老式的ISA显卡不能用。显卡的显存最少为4M。我曾经实验过,1M 和2M显存的显卡即便在分辨率为800*600,色深为16色,刷新率85时,都很容易死机。老式的ISA显卡最到512k显存,这也是老式ISA显卡不能用的原因。PCI显卡可能不太好找了,还是去旧货市场上看看吧。北京的可以去中海。找一家比较实在一些卖家,4M的PCI显卡可以砍到15,8M的25 也应该可以。

当其中第一块显卡是AGP或者集成的时,在BIOS中设置它们首先启动。插入第二块显卡后进入harddrake,看看系统是否认出新的显卡。如果认出来了,可以进行下面的步骤。如果没有,还是换块显卡吧。harddrake目前还不能自动配置双显卡支持,这是个有代改进的地方。另外,你如果在harddrake界面下对第二个显卡点“Run Config Tool”,它弹出来的居然是第一个显卡的信息,这应该算是一个Bug了。

2、配置步骤(全部是root帐户)

1) 备份/etc/X11/xorg.conf文件。

2)在图形界面下,运行下面命令,进入到文本模式。
telinit 3

3)运行下面命令,在root根目录下生成新的配置文件xorg.conf.new。

X -configure

4)运行下面命令,测试新的配置文件。如果可以点亮第二个显示器,则基本上大功告成了。

X -config /root/xorg.conf.new

5)相对于旧的etc/X11/xorg.conf,xorg.conf.new里面新增了一个“Device”Setion和一个“Monitor” Section,也就是现在有两个了。每个Device对应一块显卡,每个Monitor对应一个显示器。现在需要对xorg.conf.new文件作必要的修改。可能的修改包括:

如果之前你修改过etc/X11/xorg.conf文件,那么可以将xorg.conf.new中与老显卡有关的设置成同/etc/X11/xorg.conf中的一样。

设置两个显示器的分辨率和刷新率。 请注意,在Xinerama模式下,两个显示器的色深必须一致,要么都是24位,要么都是16位。分辨率可以不同。Xinerama的具体介绍请看第六条。下面是个例子,默认色深为24
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 24
Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection

在Section "ServerLayout"里面,有两条语句
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen"
这两条语句是控制双显示器的位置的,意思是标识为"Screen0"的显示器在左边,"Screen1"在右边。注意实际位置跟它相符。

6)双显示器有两种工作模式:单桌面和双桌面。单桌面就是桌面扩展到两个显示器上,鼠标可以在两个显示器间活动,程序窗口也可以从一个显示器拖到另外一个显示器,但是最大化在之前主要占据的那个显示器上。单桌面模式要求两个显示器的色深必须一致,分辨率和刷新率可以不同。双窗口模式两个桌面,一个显示器一个桌面,鼠标可以在两个显示器间活动,但是程序窗口不能在两个显示器之间拖动。双桌面模式下,两个显示器的色深、分辨率和刷新率都可以不同。一般来说都用前者,即单桌面模式,我也用这个模式。双显示器模式可以跳过该步骤,直接进行第七步。单窗口模式需要启动Xinerama(注:Xinerama是Xorg 的一个插件,不需要额外安装)。很简单,在Section "ServerFlags"增加下面语句将在每次启动X Server时启动Xinerama。

Option "Xinerama" “true"

7)最后,将/root/xor.conf.new复制为/etc/X11/xorg.conf,重启系统。

8)启动时,第二个显示器不亮。一旦X Server开始运行,第二块显示器就点亮了。这样你就可以尽兴的享受双显示器带给你的工作和娱乐乐趣了。

再贴几张图吧(今天太累了,先列个目录,明天在弄图吧)

图1:启动时,第二个显示器不亮

图2:登录界面,一旦X Server运行,第二个显示器被点亮

图3:KDE桌面。

图4:左边是我的Latex文档,右边是它的dvi文件。

图5:左边工作,右边娱乐(全屏)
上传的缩略图
回复 支持 反对

使用道具 举报

发表于 2007-6-4 00:02:48 | 显示全部楼层
up
楼主试验没有?
上文是双显吧,那个双显+双键鼠的能否像那种一拖二的电脑一样用啊?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-6 08:54:14 | 显示全部楼层
我的主板自带了nvidia 6100显示,另插一个matrox G200卡(只有开源的驱动)。

设置好xorg.conf后(nvidia 标记为vga0,matrox标记为vga1)以后,以不带 -sharevts参数启动X,

X -novtswitch  -layout vgaN  

(N为0或1)


用开源和闭源的显卡驱动都可以正常进入和显示X,按ctrl-alt-backspace 可正常退回命令行模式。

但加参数 -sharevts 后开源显卡驱动都不能正常进入和显示X,运行

X -novtswitch -sharevts -layout vgaN 后显示器的指示灯由待机的红色转变为绿色后屏幕不亮,然后键盘锁死。只能关电源起机。

对于nvidia卡,用闭源驱动,加-sharevts参数,运行X -novtswitch -sharevts -layout vga0 能正常进入X,并可正常退出。

matrox只找到很老的闭源驱动,不知如何用到上去。在matrox网站找不到这老卡的kernel 2.6或xorg的驱动了。



-sharevts 参数是multiseat所必须的,否则在一个屏幕上运行X后,在启动另外一个屏幕的X会提示X已经运行并退出来。

现在的问题是matrox卡的驱动问题,如果问题解决应该就成功了。


但matrox g200是很老的我只找到2003年3月发布的FreeX86  4.3 用的mga_drv.o和mga_hal_drv.o驱动,好象不能用于kernel 2.6 ,因为现在的驱动都是.so的。 我以mga_drv.o和mga_hal_drv.o改名替代开源的mga_drv.so和mga_hal_drv.so也没有成功。



问有什么办法使matrox卡用上闭源的驱动。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-6 23:39:25 | 显示全部楼层
双显示器模式倒是成功了,但这种模式不能各套键鼠屏各自独立互不干扰。

很奇怪在multiseat模式下,连接matrox卡的显示屏就是不亮。真的是驱动的问题吗?



在windows下的multiseat模式搞成功了,设置相对linux的来说简单多了。
回复 支持 反对

使用道具 举报

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

本版积分规则

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