QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 852|回复: 5

双显卡的问题

[复制链接]
发表于 2003-1-17 13:36:47 | 显示全部楼层 |阅读模式
安装的是redhat8
1.显卡均能正常显示,驱动正常。
2.使用startx -- +xinerama启动xwindows
3.怀疑为gnome的问题,安装了xfce后照旧.
4.只能克隆显示,两个显示器显示的一模一样,鼠标只在一个屏幕出现。
想调试为两个显示器,显示的不一样,请高手赐教,我已经折腾了一个礼拜了。实在不行了。这里先谢谢了!!!
附:pci \XFree86config\XFree86.0.log\lspci
##########pci
Bus 1, device 0, function 0:
VGA compatible controller: nVidia Corporation NV11 (GeForce2 MX) (rev 17.
IRQ 11.
Master Capable. Latency=248. Min Gnt=5.Max Lat=1.
Non-prefetchable 32 bit memory at 0xdc000000 [0xdcffffff].
Prefetchable 32 bit memory at 0xd0000000 [0xd7ffffff].
Bus 2, device 0, function 0:
VGA compatible controller: ATI Technologies Inc 3D Rage Pro 215GP (rev 92).
IRQ 5.
Master Capable. Latency=32. Min Gnt=8.
Prefetchable 32 bit memory at 0xe0000000 [0xe0ffffff].
I/O at 0xc000 [0xc0ff].
Non-prefetchable 32 bit memory at 0xdf000000 [0xdf000fff].
###################XFREE86CONFIG
Section "ServerLayout"
Identifier "layout1"
Screen 0 "screen0" 0 0
Screen 1 "screen1" Leftof "screen0"
Option "Xinerama" "on"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/TrueType"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "glx"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "xtt"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "AiGupZhe Monitor Vendor"
ModelName "Monitor Model"
HorizSync 31.5 - 48.5
VertRefresh 50.0 - 70.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Legend Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30 - 54
VertRefresh 50.0 - 120.0
Option "dpms"
EndSection

Section "Device"
Identifier "NVIDIA GeForce 2 MX (generic)"
Driver "nvidia"
VendorName "NVIDIA GeForce 2 MX (generic)"
BoardName "NVIDIA GeForce 2 MX (generic)"
VideoRam 65536
BusID "AGP:1:0:0"
EndSection

Section "Device"
Identifier "ATI 3D Pro Turbo"
Driver "ati"
VendorName "ATI 3D Pro Turbo"
BoardName "ATI 3D Pro Turbo"
VideoRam 8192
BusID "PCI:2:0:0"
EndSection

Section "Screen"
Identifier "Screen1"
Device "ATI 3D Pro Turbo"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen0"
Device "NVIDIA GeForce 2 MX (generic)"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection
######################XFREE86.0.LOG

unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Thu Jan 16 16:43:32 2003
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "layout1"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "Monitor0"
(**) | |-->Device "NVIDIA GeForce 2 MX (generic)"
(**) |-->Screen "Screen1" (1)
(**) | |-->Monitor "Monitor1"
(**) | |-->Device "ATI 3D Pro Turbo"
(EE) Screen screen0 doesn't exist: deleting placement
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc105"
(**) XKB: model: "pc105"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/TrueType,unix/:7100"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(**) Option "Xinerama" "on"
(**) Xinerama: enabled
(--) using VT number 7

(II) Open APM successful
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.1
XFree86 Video Driver: 0.5
XFree86 XInput driver : 0.3
XFree86 Server Extension : 0.1
XFree86 Font Renderer : 0.3
.......................................
(II) Screen 0 shares mem & io resources
(II) Screen 1 shares mem & io resources
(II) Screen 0 shares mem & io resources
(II) Screen 1 shares mem & io resources
#################LSPCI
00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 03)
00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 03)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 12)
00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 12)
00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 12)
00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 12)
00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 12)
00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 12)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX] (rev b2)
02:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro 215GP (rev 5c)
02:02.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0
02:02.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 0
02:03.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30)
发表于 2003-1-17 13:57:14 | 显示全部楼层
有意思!!
回复

使用道具 举报

发表于 2003-1-17 13:57:47 | 显示全部楼层
有意思!!
不知道通过启动两个X,能否达到目的呢?
回复

使用道具 举报

 楼主| 发表于 2003-1-17 15:16:56 | 显示全部楼层

不行啦!!!!

试startx -- :2还是一样,两个屏幕还是CLON!!
回复

使用道具 举报

发表于 2003-1-18 01:46:13 | 显示全部楼层
You are using "nvidia" driver, which is known to have problems supporting xinerama set ups.  Try "nv" driver first.  But then "nv" driver will not have good 3D hardware acceleration support.

Also, you might want to try KDE and see if you have the same problem.

Here's my XF86Config-4 for a dual head and a triple head display for reference.

Dual head:
########################################################
Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "unix/:7100"
EndSection

Section "Module"
        Load  "GLcore"
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "dri"
        Load  "glx"
        Load  "record"
        Load  "type1"
        Load  "xtt"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbRules" "xfree86"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "MouseManPlusPS/2"
        Option      "Device" "/dev/psaux"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
        Identifier   "Display 1"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    30.0 - 95.0
        VertRefresh  50.0 - 150.0
        ModeLine     "1400x1050" 129.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
        ModeLine     "1400x1050" 151.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
        ModeLine     "1400x1050" 162.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
        ModeLine     "1400x1050" 184.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
        Modeline "400x256"     22.00  400 416 480 504  256 259 262 269 doublescan
        Option       "dpms"
EndSection

Section "Monitor"
        Identifier   "Display 2"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    30.0 - 95.0
        VertRefresh  50.0 - 150.0
        ModeLine     "1400x1050" 129.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
        ModeLine     "1400x1050" 151.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
        ModeLine     "1400x1050" 162.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
        ModeLine     "1400x1050" 184.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
        Modeline "400x256"     22.00  400 416 480 504  256 259 262 269 doublescan

        Option       "dpms"
EndSection

Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Device"
        Identifier  "MATROX CARD 1"
        Driver      "mga"
        VendorName  "Matrox Millennium G400"
        BoardName   "Matrox Millennium G400"
        BusID       "PCI:1:5:0"
EndSection

Section "Device"
        Identifier  "nVidia"
        Driver      "nv"
        VendorName  "Nvidia"
        BoardName   "Nvidia"
        BusID       "PCI:2:5:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "MATROX CARD 1"
        Monitor    "Display 1"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes    "1280x1024" "400x256"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "nVidia"
        Monitor    "Display 2"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes    "1280x1024" "400x256"
        EndSubSection
EndSection
Section "DRI"
        Mode         0666
EndSection

###################################################


For triple head:
###################################################
Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "unix/:7100"
EndSection

Section "Module"
        Load  "GLcore"
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "dri"
        Load  "glx"
        Load  "record"
        Load  "type1"
        Load  "xtt"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbRules" "xfree86"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "MouseManPlusPS/2"
        Option      "Device" "/dev/psaux"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "no"
EndSection

Section "Monitor"
        Identifier   "Display 1"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    30.0 - 95.0
        VertRefresh  50.0 - 150.0
        ModeLine     "1400x1050" 129.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
        ModeLine     "1400x1050" 151.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
        ModeLine     "1400x1050" 162.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
        ModeLine     "1400x1050" 184.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
        Modeline "400x256"     22.00  400 416 480 504  256 259 262 269 doublescan
        Option       "dpms"
EndSection

Section "Monitor"
        Identifier   "Display 2"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    30.0 - 95.0
        VertRefresh  50.0 - 150.0
        ModeLine     "1400x1050" 129.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
        ModeLine     "1400x1050" 151.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
        ModeLine     "1400x1050" 162.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
        ModeLine     "1400x1050" 184.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
        Modeline "400x256"     22.00  400 416 480 504  256 259 262 269 doublescan
        Option       "dpms"
EndSection

Section "Monitor"
        Identifier   "Display 3"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    30.0 - 95.0
        VertRefresh  50.0 - 150.0
        ModeLine     "1400x1050" 129.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
        ModeLine     "1400x1050" 151.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
        ModeLine     "1400x1050" 162.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
        ModeLine     "1400x1050" 184.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
        Modeline "400x256"     22.00  400 416 480 504  256 259 262 269 doublescan
        Option       "dpms"
EndSection
Section "ServerLayout"
        Identifier     "triple"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" LeftOf "Screen0"
        Screen      2  "Screen2" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Device"
        Identifier  "MATROX CARD 1"
        Driver      "mga"
        VendorName  "Matrox Millennium G400"
        BoardName   "Matrox Millennium G400"
        BusID       "PCI:1:5:0"
EndSection

Section "Device"
        Identifier  "nVidia1"
        Driver      "nv"
        VendorName  "Nvidia"
        BoardName   "Nvidia"
        BusID       "PCI:2:5:0"
EndSection

Section "Device"
        Identifier  "nVidia2"
        Driver      "nv"
        VendorName  "Nvidia"
        BoardName   "Nvidia"
        BusID       "PCI:2:6:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "MATROX CARD 1"
        Monitor    "Display 1"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes    "1280x1024" "400x256"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "nVidia1"
        Monitor    "Display 2"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes    "1280x1024" "400x256"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen2"
        Device     "nVidia2"
        Monitor    "Display 3"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes    "1280x1024" "400x256"
        EndSubSection
EndSection

Section "DRI"
        Mode         0666
EndSection

###############################################

Have fun!
回复

使用道具 举报

 楼主| 发表于 2003-1-18 13:30:51 | 显示全部楼层

问题解决了!!!!!!!谢谢huangdi

总结一下:
1.不能使用NVIDIA的驱动,使用REDHAT8自带的'nv'
2.不能加载"GLX"模块
3.修改"AGP:1:0:0"为"PCI:1:0:0'
想配置双显卡的朋友可以参考:
http://www.linuxdocs.org/HOWTOs/Xinerama-HOWTO.html#toc7
再次谢谢huangdi
这是修改后的XFree86config:
Section "ServerLayout"
Identifier "layout1"
        Screen 0 "Screen0" 0 0
        Screen 1 "Screen1" RightOf "Screen0"         
        Option "Xinerama" "on"
        Option "XaaNoOffscreenPixmaps" "0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "/usr/X11R6/lib/X11/fonts/TrueType"
        FontPath     "unix/:7100"
EndSection

Section "Module"
        Load "dbe"
        Load "extmod"
        Load "fbdevhw"
        Load "dri"
        #Load "glx"
        Load "record"
        Load "type1"
        Load "xtt"
       
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option            "XkbRules" "xfree86"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "IMPS/2"
        Option            "Device" "/dev/psaux"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "AiGupZhe Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    31.5 - 48.5
        VertRefresh  50.0 - 70.0
        Option            "dpms"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Legend Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    30 - 54
        VertRefresh  50.0 - 120.0
        Option            "dpms"
EndSection

Section "Device"
        Identifier  "NVIDIA GeForce 2 MX (generic)"
        Driver      "nv"
        VendorName  "NVIDIA GeForce 2 MX (generic)"
        BoardName   "NVIDIA GeForce 2 MX (generic)"
        VideoRam   65536
        BusID "PCI:1:0:0"
EndSection

Section "Device"
        Identifier  "ATI 3D Pro Turbo"
        Driver      "ati"
        VendorName  "ATI 3D Pro Turbo"
        BoardName   "ATI 3D Pro Turbo"
        VideoRam    8192
        BusID "PCI:2:0:0"
        #Screen 1
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "ATI 3D Pro Turbo"
        Monitor    "Monitor1"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes    "800x600" "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "NVIDIA GeForce 2 MX (generic)"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes    "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Mode         0666
EndSection
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-29 15:18 , Processed in 0.068109 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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