Im trying to get Matlab (R13) to work with a dual monitor Xinerama
setup. Matlab starts up but freezes if I run certain graphics related
programs (toolboxes, GUIs etc). Some programs seem to work (eg.
logospin). No errors are displayed.
This problem seems peculiar to Matlab since other applications work
fine. The same thing occurs in R14 as well.
Any ideas?
--Rajiv
Hardware:
==========
AMD Athlon(tm) 64 Processor 3800+
Matrox G450 Dual-head AGP card
Software:
=========
MATLAB Version 6.5.0.180913a (R13)
Operating System: Linux 2.6.10-1.9_FC2 #1 , 32-bit
Java VM Version: Java 1.3.1 with Blackdown Java-Linux Team Java
HotSpot(TM) Server VM
Relevant Xorg.conf sections
============================
Section "ServerLayout"
Identifier "Matrox Xinerama"
Screen 0 "Screen 1" 0 0
Screen 1 "Screen 2" RightOF "Screen 1"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "True"
Option "Clone" "off"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
#disable dri for xinerama
# Load "dri"
EndSection
Section "Monitor"
Identifier "Display 1"
VendorName "Monitor Vendor"
ModelName "SyncMaster"
DisplaySize 380 300
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
Option "dpms"
EndSection
Section "Monitor"
Identifier "Display 2"
VendorName "Monitor Vendor"
ModelName "DELL Ultrascan P991"
HorizSync 30.0 - 107.0
VertRefresh 48.0 - 120.0
Option "dpms"
EndSection
Section "Device"
Identifier "MATROX CARD 1"
Driver "mga"
VendorName "Videocard vendor"
BoardName "Matrox Millennium G450"
Option "hw cursor" "off"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "MATROX CARD 2"
Driver "mga"
VendorName "Videocard vendor"
BoardName "Matrox Millennium G450"
Option "hw cursor" "off"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen 1"
Device "MATROX CARD 1"
Monitor "Display 1"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x1024"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen 2"
Device "MATROX CARD 2"
Monitor "Display 2"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x1024"
EndSubSection
EndSection