PDA

View Full Version : [SOLVED] How to get a Matrox Parhelia Working



TrickerZ
September 1st, 2009, 05:25 PM
I spent some time trying to get this thing to work, so I figured I'd give my experience so other people don't have to troubleshoot it.

lspci

01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA Parhelia AGP (rev 03)

Step 1: Download the driver from Matrox.
Step 2: Install the driver as instructed on the download site
Step 3: Configure your /etc/X11/xorg.conf like so (this is for a triple display setup)


# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "X.org Configured"
Screen "mtxwizard_screen_0"
InputDevice "Generic Keyboard"
InputDevice "Generic Mouse"
EndSection

Section "Files"
EndSection

Section "Module"
Load "GLcore"
Load "dbe"
Load "extmod"
# Load "freetype"
# Load "type1"
Load "glx"
Load "mtxcfg"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbModel" "pc105"
EndSection

Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
EndSection

Section "Modes"
Identifier "MatroxModeLine"
ModeLine "MAS_1280x1024@30" 54.0 1280 1304 1360 1688 1024 1025 1028 1066 +hsync +vsync
EndSection

Section "Monitor"

# generated by mtx wizard
Identifier "mtxwizard_monitor_0"
UseModes "MatroxModeLine"
HorizSync 30.0 - 90.0
VertRefresh 60.0 - 60.0
EndSection

Section "Device"

# generated by mtx wizard
Identifier "mtxwizard_device_0"
Driver "mtx"
Option "TripleHead" "on"
BusID "PCI:1:0:0"
Screen 0
EndSection

Section "Screen"

# generated by mtx wizard
Identifier "mtxwizard_screen_0"
Device "mtxwizard_device_0"
Monitor "mtxwizard_monitor_0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

You should be able to copy this Xorg file and run matroxconfig if you want to change anything.

Step 4: Setup your framebuffer

sudo nano /boot/grub/menu.lst

kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=2cede955-d1fd-4c89-8e69-0b4cfb2511cf ro quiet splash vga=791
(note the vga=791. 791 works fine for me, but if you want to change it, look up the framebuffer table of values)

Step 5: Reboot and be happy

This was done on Ubuntu 9.04, so if you're using a different version, don't be surprised if this doesn't work.

pablogayar
November 2nd, 2009, 06:08 PM
Just one thing: Remember to change:
Section "Device"

# generated by mtx wizard
Identifier "mtxwizard_device_0"
Driver "mtx"
Option "TripleHead" "on"
BusID "PCI:1:0:0"
Screen 0
EndSection

And Write
Section "Device"

# generated by mtx wizard
Identifier "mtxwizard_device_0"
Driver "mtx"
Option "TripleHead" "off"
BusID "PCI:1:0:0"
Screen 0
EndSection

If it doesnt work at firs time. I've an hour with my screen witn 3840 X 1024 because i didnt change.
Sorry for my english.