Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 18/04/2005, à 00:43

chatainsim

Probléme de gestion de deux écran

Bonjour comme le titre l'indique, j'ai un probléme avec la gestion de deux ecrans.
Un 17" et un 15" (LCD tous les deux). Ils sont branchés tout deux sur une seule carte graphique (une Radeon 9700 Pro) Un en VGA l'autre en DVI.
Je me suis servis de ce post :
http://forum.ubuntu-fr.org/viewtopic.php?id=2487 pour installer les drivers de la carte.


Et je me suis servis de ce post :
http://forum.ubuntu-fr.org/viewtopic.php?id=737 pour editer  /etc/X11/xorg.conf
J'obtient donc ceci :

# /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
#   sudo dpkg-reconfigure xserver-xorg

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
        # paths to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
#    Load    "extmod"
    SubSection "extmod"
        Option    "omit xfree86-dga"
    EndSubSection
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"fr-latin9"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"ATI Technologies, Inc. Radeon 9700 Pro (R300 ND)"
	Driver		"fglrx"
	BusID		"PCI:1:0:0"
EndSection

Section "Device"
	Identifier	"ATI Technologies, Inc. Radeon 9700 Pro (R300 ND)2"
	Driver		"fglrx"
	BusID		"PCI:0:0:0"
EndSection

Section "Monitor"
	Identifier	"L70S+"
	Option		"DPMS"
	HorizSync	30-65
	VertRefresh	50-75
EndSection

Section "Monitor"
	Identifier	"L50S"
	Option		"DPMS"
	HorizSync	30-65
	VertRefresh	50-75
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies, Inc. Radeon 9700 Pro (R300 ND)"
	Monitor		"L70S+"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"Second Screen"
	Device		"ATI Technologies, Inc. Radeon 9700 Pro (R300 ND)2"
	Monitor		"L50S"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Option          "Xinerama" "on"
        Screen          "Default Screen"
        Screen          "Second Screen" RightOf "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection


Section "DRI"
	Mode	0666
EndSection

Le seul probléme c'est que ça ne marche pas, c'est à dire que le premier écran affiche du 1280*1024 mais le deuxieme aussi apparement (ou plutot un ecran noir avec VIDEO MODE NOT SUPPORTED) Je n'arrive pas à configurer séparement. ou ça d'ailleur ??
Si quelqu'un peut m'aider.
Merci beaucoup !!

Simon


...

Hors ligne

#2 Le 18/04/2005, à 16:26

yedermat

Re : Probléme de gestion de deux écran

salut, moi j'ai eut le meme probleme, j'arrive aujourd'hui a utiliser mes deux ecrans avec deux drivers differents.

ma config radeon 9600se + deux ecrans vga

esaaye peut etre en mettant pci:1:0:0 dans les deux sections devices

Section "Device"
    Identifier    "ATI Technologies, Inc. Radeon 9700 Pro (R300 ND)"
    Driver        "fglrx"
    BusID        "PCI:1:0:0"
EndSection

Section "Device"
    Identifier    "ATI Technologies, Inc. Radeon 9700 Pro (R300 ND)2"
    Driver        "fglrx"
    BusID        "PCI:1:0:0"
EndSection

j'ai un exemple a la fin du forum http://forum.ubuntu-fr.org/viewtopic.php?id=2410 d'un xorg.conf qui marche pour ma config

#3 Le 18/04/2005, à 17:16

ashgan

Re : Probléme de gestion de deux écran

salut

je sors justement d'une config avec 2 cartes vidéo (AGP+PCI).
un petit lien vers un tuto qui m'a BEAUCOUP aidé: http://lea-linux.org/xwindow/multihead.html#introduction

à noter qu'il faut bien sur couper X avant de lancer la commande

sudo X -scanpci -verbose

en console via

sudo /etc/init.d/gdm stop

.

On pourrais fignoler un peu ce .conf, mais voila en gros ce que ca donne pour les parties interessantes:

Section "Device"
	Identifier	"3D Rage Pro"
	Driver		"ati"
	BusID		"PCI:0:13:0"
EndSection

Section	"Device"
	Identifier	"Radeon 9700"
	Driver		"radeon"
	BusID		"PCI:1:0:0"
EndSection

Section "Monitor"
	Identifier	"HM204D DT"
	Option		"DPMS"
EndSection

Section "Monitor"
	Identifier	"MF8617"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Radeon 9700"
	Monitor		"HM204D DT"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
EndSection

Section	"Screen"
	Identifier	"Secondary Screen"
	Device		"3D Rage Pro"
	Monitor		"MF8617"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "640x480"
	EndSubsection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Option		"Xinerama" "on"
	Screen		"Default Screen"
	Screen		"Secondary Screen" RightOf "Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Hors ligne

#4 Le 18/04/2005, à 18:06

chatainsim

Re : Probléme de gestion de deux écran

ashgan :
le probléme est que j'utilise une seule carte graphique.

yedermat :
ça ne change rien en fait j'ai un affichage de type "clone" je n'arrive pas a passé en extend et ecran 1 en 1280*1024 et ecran 2 en 1024*768


...

Hors ligne

#5 Le 18/04/2005, à 18:37

yedermat

Re : Probléme de gestion de deux écran

chatainsim : si tu arrives à passer en mode extend, ça m'interresse car pour l'instant j'utilise mes deux ecrans avec deux drivers differents et tu ne peut pas utiliser la meme application sur les deux ecrans.(en deplaçant des fenetres d'un écran a l'autre)

on m'a dit cependant que les drivers xorg etaient encore en cours de développement, car en executant 'xorgconfig' dans un terminal a aucun moment il ne propose de configuration dual head. (contrairement a fglrxconfig) d'ailleurs je ne crois pas que fglrxconfig ne propose l'option extend.

pour tes problemes de resolutions essayes xorgcfg ...

#6 Le 18/04/2005, à 19:08

ashgan

Re : Probléme de gestion de deux écran

chatainsim a écrit :

ashgan :
le probléme est que j'utilise une seule carte graphique.

je dirais que la demarche est similaire...
seule les lignes BusID devraient changer pour les 2 sorties de ta carte, eventuellement les resolutions, mais c'est a peu pres tout.

en relisant ton .conf, j'ai cru voir une coquille:

Section "Device"
    Identifier    "ATI Technologies, Inc. Radeon 9700 Pro (R300 ND)"
    Driver        "fglrx"
    BusID        "PCI:1:0:0"
EndSection

Section "Device"
    Identifier    "ATI Technologies, Inc. Radeon 9700 Pro (R300 ND)2"
    Driver        "fglrx"
    BusID        "PCI:0:0:0"
EndSection

ca ne devrais pas plutot etre

BusID        "PCI:1:0:1"

pour la 2eme sortie video??? (c'est ce que me donne la commande "sudo X -scanpci -verbose" pour ma 9700 perso)

Dernière modification par ashgan (Le 18/04/2005, à 19:13)

Hors ligne

#7 Le 18/04/2005, à 23:44

chatainsim

Re : Probléme de gestion de deux écran

ashgan a écrit :

en relisant ton .conf, j'ai cru voir une coquille:

Section "Device"
    Identifier    "ATI Technologies, Inc. Radeon 9700 Pro (R300 ND)"
    Driver        "fglrx"
    BusID        "PCI:1:0:0"
EndSection

Section "Device"
    Identifier    "ATI Technologies, Inc. Radeon 9700 Pro (R300 ND)2"
    Driver        "fglrx"
    BusID        "PCI:0:0:0"
EndSection

ca ne devrais pas plutot etre

BusID        "PCI:1:0:1"

pour la 2eme sortie video??? (c'est ce que me donne la commande "sudo X -scanpci -verbose" pour ma 9700 perso)

Le probléme est que la commande "sudo X -scanpci -verbose" me retour ça :

root@ubuntu-simon:/home/simon # sudo X -scanpci -verbose

Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.


Please consult the The X.Org Foundation support
         at http://wiki.X.Org
 for help.

...

Hors ligne

#8 Le 18/04/2005, à 23:49

ashgan

Re : Probléme de gestion de deux écran

hummm...desole, j'ai pas ete assez clair sur mon 1er post hmm

passe sur une console virtuelle (par exemple tty1 avec ctrl+alt+F1) avant de lancer les commandes

sudo /etc/init.d/gdm stop

puis

sudo X -scanpci -verbose

Dernière modification par ashgan (Le 18/04/2005, à 23:51)

Hors ligne

#9 Le 19/04/2005, à 00:09

chatainsim

Re : Probléme de gestion de deux écran

Effectivement, maintenant ça marche mieux !
Le probléme est toujours le meme ! En fait c toujours du clone, et mon deuxieme ecran reste toujours en 1280 je ne sais pas comment le mettre en 1024 !!


...

Hors ligne