#1 Le 14/09/2006, à 11:34
- lionel-fr
[Info] Driver Matrox pour Matrox Millennium G400 MAX DualHead
Bonjour à tous !
Aujourd'hui, fin d'une galère d'une semaine pour moi, grâce à un collègue plus expérimenté que moi avec linux.
Ma Matrox Millennium G400 MAX DualHead pilote enfin mes deux écrans !
Voici une description du problème et de la solution.
* Ma configuration: Kubuntu 6.06 Dapper Drake, Xorg 7.0.0, la carte graphique propose deux connecteurs VGA.
(1) Le processus de configuration automatique de Xorg se passe bien, sauf qu'elle ne prend pas en charge l'installation de 2 écrans.
-> Je modifie donc /etc/X11/xorg.conf pour ajouter les sections manquantes. Pour info, son contenu est dispo en fin de post sous le titre "Annexe".
(2) Redémarrage du serveur X: Seul l'écran de gauche (qui correspond au screen 0) fonctionne.
-> après consultation de la doc, il faut installer le driver binaire fournit par matrox pour faire fonctionner le dualHead.
(3) Je télécharge le driver en question (http://www.matrox.com/mga/support/drive … lnx_44.cfm) et je procède à l'installation en suivant les instruction du "readme.txt" qui préconise de faire
sudo sh install.sh
(4) Redémarrage du serveur X: Seul l'écran de gauche (qui correspond au screen 0) fonctionne.
->Dans /var/log/Xorg.0.log, on apprend que X à besoin du module HAL fournit par matrox pour gérer le deuxième écran. Or, justement, le module "mga_hal_drv.so" est sensé être installé depuis le point (3) ! Incompréhension totale, et toutes mes tentatives de reparamétrage de /etc/X11/xorg.conf vont être voué à l'échec...
En fait, l'erreur était la suivante:
Avant d'installer les drivers matrox, Il faut commencer par proprement désinstaller le driver mga fournit par Xorg.
Pour cela, il faut passer en mode ligne de commande.
Etape 1): désinstaller les drivers xorg.
- identifier le nom du package:
apt-cache search mga
-> chez moi, et probablement chez vous, ce paquet se nomme xserver-xorg-driver-mga
- desinstaller le package:
sudo apt-get -remove xserver-xorg-driver-mga
Etape 2): installer les drivers matrox
- suivre les instruction du readme.txt fournit avec les drivers par matrox. En gros:
sudo sh install.sh
Etape 3) Vérifier que les fichiers *.so du du drivers ont bien été copié au bon endroit !!!!
Le bon endroit c'est le répertoire /usr/lib/xorg/modules/drivers/
- pour vérifier:
ls /usr/lib/xorg/modules/drivers/mga*
-> le résultat doit afficher 2 fichiers (au moins): /usr/lib/xorg/modules/drivers/mga_drv.so et /usr/lib/xorg/modules/drivers/mga_hal_drv.so
Si ce n'est pas le cas, copier "à la main" dans ce répertoire (pour mémo: /usr/lib/xorg/modules/drivers/) ces deux fichiers. Ils se trouvent dans le sous-répertoire xserver/7.0.0/ de l'archive contenant les drivers matrox.
Etape 4) Relancer le server X. En principe (en tous cas, chez moi) ça marche, les deux écrans fonctionnent.
That's all folks. J'espère que ce modeste How To sera utile à d'autres !
Bonne journée,
Lionel
------------------------------------
Annexe: /etc/X11/xorg.conf
------------------------------------
Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "int10"
Load "type1"
Load "vbe"
load "glx"
load "GLcore"
# load "dri"
load "v4l"
load "mga_hal"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
option "CoreKeyboard"
option "XkbRules" "xorg"
option "XkbModel" "pc105"
option "XkbLayout" "fr"
option "XkbVariant" "latin9"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
option "CorePointer"
option "Device" "/dev/input/mice"
option "Protocol" "ExplorerPS/2"
option "ZAxisMapping" "4 5"
EndSection
Section "Device"
identifier "G400-L"
boardname "Matrox Millennium G400 DualHead"
busid "PCI:1:0:0"
driver "mga"
screen 0
vendorname "Matrox"
EndSection
Section "Device"
identifier "G400-R"
boardname "Matrox Millennium G400 DualHead"
busid "PCI:1:0:0"
driver "mga"
screen 1
vendorname "Matrox"
EndSection
Section "Monitor"
identifier "Philips 170B - Left"
vendorname "Plug 'n' Play"
modelname "Plug 'n' Play"
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
gamma 1.0
EndSection
Section "Monitor"
identifier "Philips 170B - Right"
vendorname "Plug 'n' Play"
modelname "Plug 'n' Play"
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
gamma 1.0
EndSection
Section "Screen"
Identifier "Screen Left"
Device "G400-L"
Monitor "Philips 170B - Left"
DefaultDepth 24
SubSection "Display"
depth 24
modes "1280x1024@60" "1024x768@60" "800x600@60" "640x480@60"
EndSubSection
EndSection
Section "Screen"
identifier "Screen Right"
device "G400-R"
defaultdepth 24
monitor "Philips 170B - Right"
SubSection "Display"
depth 24
modes "1280x1024@60" "1024x768@60" "800x600@60" "640x480@60"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "DualScreen Layout"
Screen "Screen Left" LeftOf "Screen Right"
Screen "Screen Right"
Option "Xinerama" "true"
Option "Clone" "on"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
La liberté, c'est deux pieds attachés. Dré dans l'pentu.
Hors ligne
#2 Le 14/09/2006, à 17:18
- abissiau
Re : [Info] Driver Matrox pour Matrox Millennium G400 MAX DualHead
Bonjour,
comment décomprimes-tu le fichier .chm téléchargé pour avoir le install.sh ?
Merci d'avance
Hors ligne
#3 Le 14/09/2006, à 17:30
- lionel-fr
Re : [Info] Driver Matrox pour Matrox Millennium G400 MAX DualHead
Un fichier .chm ?
En principe, le lien que je donne pointe une page du site de matrox qui permet de télécharger une archive tar.gz (matrox_driver-x86_32-4.4.0.tar.gz) qui contient le drivers et son install.sh.
La liberté, c'est deux pieds attachés. Dré dans l'pentu.
Hors ligne
#4 Le 14/09/2006, à 17:56
- abissiau
Re : [Info] Driver Matrox pour Matrox Millennium G400 MAX DualHead
En fait, j'essaie d'adapter ta manip. pour ma Matrox P650.
Mais quand je veux télécharger le pilote correspondant matroxdriver-x86_32-1.4.4-installer.run
il me l'affiche au lieu de le télécharger. Et si je suis la manip. indiquée : clic droit sur le lien et "save as" j'obtiens ledit fichier download.chm dont je ne sais que faire ...
Une idée ?
Hors ligne
#5 Le 14/09/2006, à 18:27
- lionel-fr
Re : [Info] Driver Matrox pour Matrox Millennium G400 MAX DualHead
Ouai, j'ai une idée.
D'après le site de matrox, le fichier que tu télécharge est directement exécutable.
Donc, à partir de leur lien, tu fais "Enregistrer la cible du lien sous...", et à la place du nom par défaut proposé ("download.cfm") tu met un truc du style "matroxdriver.run".
Ensuite, tu fais diectement un sh matroxdriver.run
Peut-etre même, essaye directement un sh ton-fichier.cfm, si ça se trouve, ça marche direct.
La liberté, c'est deux pieds attachés. Dré dans l'pentu.
Hors ligne
#6 Le 14/09/2006, à 18:56
- abissiau
Re : [Info] Driver Matrox pour Matrox Millennium G400 MAX DualHead
Voila une idée qu'elle est bonne et que j'aurais quand même pu y penser : faire un sh mon-fichier.cfm : ça, ça marche, sauf que maintenant j'ai un pb de version de compilateur C !
Mais je m'accroche ...
Merci d'avoir pris le temps d'examiner mon problème
Hors ligne
#7 Le 12/03/2008, à 20:26
- magik_cypress
Re : [Info] Driver Matrox pour Matrox Millennium G400 MAX DualHead
MatroxDual-Head Ubuntu 7.10
Installer les drivers qui vont bien
http://tuxx-home.at/archives/2007/03/18/T18_31_42/
$ ls /usr/lib/xorg/modules/drivers/mga*
le résultat doit afficher 2 fichiers (au moins): /usr/lib/xorg/modules/drivers/mga_drv.so et /usr/lib/xorg/modules/drivers/mga_hal_drv.so
Si ce n'est pas le cas, copier "à la main" dans ce répertoire (pour mémo: /usr/lib/xorg/modules/drivers/) ces deux fichiers. \\
Ils se trouvent dans le sous-répertoire xserver/7.0.0/ de l'archive contenant les drivers matrox.
Ignore ABI pour GDM
http://gentoo-wiki.com/TIP_XOrg_7.1_With_Older_NVidia_Drivers#Running_X
[servers]
#0=Standard
1=newABI
# Definition of the ABI override X server.
[server-newABI]
name=newABI
command=/usr/bin/X -br -ignoreABI
flexible=true
chooser=false
handled=true
priority=0
Fichier Xorg.conf
Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "int10"
Load "type1"
Load "vbe"
load "glx"
load "GLcore"
# load "dri"
load "v4l"
load "mga_hal"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
option "CoreKeyboard"
option "XkbRules" "xorg"
option "XkbModel" "pc105"
option "XkbLayout" "fr"
option "XkbVariant" "latin9"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
option "CorePointer"
option "Device" "/dev/input/mice"
option "Protocol" "ExplorerPS/2"
option "ZAxisMapping" "4 5"
EndSection
Section "Device"
identifier "G400-L"
boardname "Matrox Millennium G400 DualHead"
busid "PCI:1:0:0"
driver "mga"
screen 0
vendorname "Matrox"
EndSection
Section "Device"
identifier "G400-R"
boardname "Matrox Millennium G400 DualHead"
busid "PCI:1:0:0"
driver "mga"
screen 1
vendorname "Matrox"
EndSection
Section "Monitor"
identifier "Asus - Left"
vendorname "Plug 'n' Play"
modelname "Plug 'n' Play"
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
gamma 1.0
EndSection
Section "Monitor"
identifier "Asus - Right"
vendorname "Plug 'n' Play"
modelname "Plug 'n' Play"
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
gamma 1.0
EndSection
Section "Screen"
Identifier "Screen Left"
Device "G400-L"
Monitor "Asus - Left"
DefaultDepth 24
SubSection "Display"
depth 24
modes "1280x1024@60" "1024x768@60" "800x600@60" "640x480@60"
EndSubSection
EndSection
Section "Screen"
identifier "Screen Right"
device "G400-R"
defaultdepth 24
monitor "Asus - Right"
SubSection "Display"
depth 24
modes "1280x1024@60" "1024x768@60" "800x600@60" "640x480@60"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "DualScreen Layout"
Screen "Screen Left" LeftOf "Screen Right"
Screen "Screen Right"
Option "Xinerama" "true"
Option "Clone" "on"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection