Hello. I've recently been trying to get the Xinerama extensions with
XFree86 4.1.0 (stock from Redhat 7.2 install, no updates) working. My
computer is a P2 233, with two video cards:
Onboard Matrox 1064SG, on the PCI bus
Matrox 2064W PCI card in PCI slot
If I use just the 1064SG onboard card, it works flawlessly. If I place
the 2064W card in, it works flawlessly as well. So, I tried to setup
the Xinerama extensions. It appears that I have the configuration file
setup properly, but here is a copy of it (The 1064 card is labeled as
Onboard, the 2064 is labeled as PCI)
-----------------
Section "ServerLayout"
Identifier "Xinerama Layout"
# Screen 0 "Screen0" 0 0
Screen "Screen Onboard"
Screen "Screen PCI" RightOf "Screen Onboard"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe" # Double-buffering
Load "GLcore" # OpenGL support
Load "dri" # Direct rendering infrastructure
Load "glx" # OpenGL X protocol interface
Load "extmod" # Misc. required extensions
Load "v4l" # Video4Linux
# Load "pex5" # PHIGS for X 3D environment (obsolete)
# Load "record" # X event recorder
# Load "xie" # X Image Extension (obsolete)
# You only need the following two modules if you do not use xfs.
# Load "freetype" # TrueType font handler
# Load "type1" # Adobe Type 1 font handler
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "off"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "E551 Onboard"
VendorName "Dell"
ModelName "E551"
HorizSync 30 - 54
VertRefresh 50 - 120
Option "dpms"
EndSection
Section "Monitor"
Identifier "E551 PCI"
VendorName "Dell"
ModelName "E551"
HorizSync 30 - 54
VertRefresh 50 - 120
Option "dpms"
EndSection
Section "Device"
Identifier "Matrox PCI"
Driver "mga"
BusID "PCI:0:17:0"
BoardName "Unknown"
#Option "sw_cursor"
EndSection
Section "Device"
Identifier "Matrox Onboard"
Driver "mga"
BusID "PCI:0:9:0"
BoardName "Unknown"
#Option "sw_cursor"
EndSection
Section "Screen"
Identifier "Screen PCI"
Device "Matrox PCI"
Monitor "E551 PCI"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "1024x768"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen Onboard"
Device "Matrox Onboard"
Monitor "E551 Onboard"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "1024x768"
EndSubSection
EndSection
Section "ServerFlags"
Option "Xinerama" "On"
EndSection
Section "DRI"
Mode 0666
EndSection
-----------------
When I try to run this, it just hangs. I have the hanging XFree86 log
file attached to this email. Since both cards use the mga driver, I
tried comparing the working 2064W log with the Xinerama log and saw this
problem:
Working Log File:
-----
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
compiled for 4.1.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.4
(**) MGA(0): Depth 16, (--) framebuffer bpp 16
(==) MGA(0): RGB weight 565
(--) MGA(0): Chipset: "mga2064w"
(==) MGA(0): Using AGP 1x mode
(--) MGA(0): Linear framebuffer at 0xFC800000
(--) MGA(0): MMIO registers at 0xFEDF4000
(==) MGA(0): BIOS at 0xC0000
(--) MGA(0): Video BIOS info block at offset 0x07B13
(II) MGA(0): MGABios.RamdacType = 0x1
(==) MGA(0): Write-combining range (0xfc800000,0x800000)
(--) MGA(0): VideoRAM: 2048 kByte
-----
Broken Logfile:
-----
II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
compiled for 4.1.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.4
(**) MGA(0): Depth 16, (--) framebuffer bpp 16
(==) MGA(0): RGB weight 565
(--) MGA(0): Chipset: "mga1064sg"
(==) MGA(0): Using AGP 1x mode
(--) MGA(0): Linear framebuffer at 0xFD800000
(--) MGA(0): MMIO registers at 0xFEDFC000
(--) MGA(0): Pseudo-DMA transfer window at 0xFE000000
(WW) MGA(0): Video BIOS info block not detected!
(II) MGA(0): MGABios.RamdacType = 0x0
(==) MGA(0): Write-combining range (0xfd800000,0x800000)
(==) MGA(0): Write-combining range (0xfd800000,0x800000)
(--) MGA(0): VideoRAM: 2048 kByte
-----
That is really the only problem that I can tell. I've also tried just
running the onboard video card by itself, and it also refuses to run.
It appears to stop in the same place. I was afraid that the onboard
video card might be broken in some way, but I have both cards working
flawlessly in Windows 98 SE. If anyone can shed any light on this, I
would be very very appreciative :)
Thanks in advance,
Josh Hogan
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert