[Server Xorg] multi-affichage

Résolu
Bonsoir à tous,
Je me suis lancé dans le dual-screen , sous debian

Je suis donc passé par la config de xorg.conf , dont voici une copie :

<quote>

# 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 "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/X11R6/lib/X11/fonts/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/X11R6/lib/X11/fonts/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/X11R6/lib/X11/fonts/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"i2c"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"vbe"
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"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "Device"
	Identifier	"nVidia Corporation NV43 [GeForce 6600]"
	Driver		"nv"
	BusID		"PCI:1:0:0"	
	Screen 0
EndSection

Section "Device"
	Identifier	"nVidia Corporation NV43 [GeForce 6600]
	Driver		"nv"
	BusID		"PCI:1:0:0"
	Screen 1
EndSection

Section "Monitor"
	Identifier	"710S"
	Option		"DPMS"
EndSection

Section "Monitor"
	Identifier	"C700"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Screen 0"
	Device		"nVidia Corporation NV43 [GeForce 6600]"
	Monitor		"710S"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"Screen 1"
	Device		"nVidia Corporation NV43 [GeForce 6600]"
	Monitor		"C700"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
EndSection




Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		0"Screen 0"
	Screen 		1"Screen 1"RightOf "Screen 0"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection


</quote>

Je ne comprends pas ce qui ne focntionne pas ; quand je lance startx , l'ecran principal (Screen0) demarre normalment, et sur l'autre j'ai un
out of range.....

Merci de votre aide!!
--
Je ne connais pas la peur, car la peur tue l'esprit.
Configuration: Debian (la derniere)
Firefox 2.0.0.3

8 réponses

  1. Modérateur
    C'est simplement que tu es dans une fréquence supportée par le premier écran mais pas le second. Au besoin tu peux préciser les fréquences supportées par tes écrans. Par contre je ne sais pas si tu peux avoir une résolution différente pour chaque écran...

    Peux tu me donner le résultat de
    dpkg -l | grep xorg

    Bonne chance
    1. Merci beaucoup de tonaide!! Je te redis sa en fin d'apres midi, car la journée je suis en cours, a ce soir!
      1. Modérateur
        A titre indicatif voilà ce que j'utilise :
        Section "Monitor"
                Identifier   "Display 1"
                HorizSync    30-68
                VertRefresh  50-85
                Option       "DPMS"
        EndSection
        
        Section "Monitor"
                Identifier   "Display 2"
                HorizSync    30-68
                VertRefresh  50-85
        EndSection
        
        Section "Device"
                Identifier      "MATROX CARD 1"
                Driver          "mga"
                Screen          0
        EndSection
        
        Section "Device"
                Identifier      "MATROX CARD 2"
                Driver          "mga"
                BusID           "PCI:1:0:0"
                Screen          1
        EndSection
        
        Section "Screen"
                Identifier "Display 1"
                Device     "MATROX CARD 1"
                Monitor    "Display 1"
                DefaultDepth     24
                SubSection "Display"
                        Depth           1
                        Modes           "1152x864" "1024x768" "800x600" "640x480"
                EndSubSection
                SubSection "Display"
                        Depth           4
                        Modes           "1152x864" "1024x768" "800x600" "640x480"
                EndSubSection
                SubSection "Display"
                        Depth           8
                        Modes           "1152x864" "1024x768" "800x600" "640x480"
                EndSubSection
                SubSection "Display"
                        Depth           15
                        Modes           "1152x864" "1024x768" "800x600" "640x480"
                EndSubSection
                SubSection "Display"
                        Depth           16
                        Modes           "1152x864" "1024x768" "800x600" "640x480"
                EndSubSection
                SubSection "Display"
                        Depth           24
                        Modes           "1152x864" "1024x768" "800x600" "640x480"
                EndSubSection
        EndSection
        
        
        Section "Screen"
                Identifier "Display 2"
                Device     "MATROX CARD 2"
                Monitor    "Display 2"
                DefaultDepth     24
                SubSection "Display"
                        Depth           1
                        Modes           "1152x864" "1024x768" "800x600" "640x480"
                EndSubSection
                SubSection "Display"
                        Depth           4
                        Modes           "1152x864" "1024x768" "800x600" "640x480"
                EndSubSection
                SubSection "Display"
                        Depth           8
                        Modes           "1152x864" "1024x768" "800x600" "640x480"
                EndSubSection
                SubSection "Display"
                        Depth           15
                        Modes           "1152x864" "1024x768" "800x600" "640x480"
                EndSubSection
                SubSection "Display"
                        Depth           16
                        Modes           "1152x864" "1024x768" "800x600" "640x480"
                EndSubSection
                SubSection "Display"
                        Depth           24
                        Modes           "1152x864" "1024x768" "800x600" "640x480"
                EndSubSection
        EndSection
        

        Bonne chance
        1. Ok je teste et je te redit tout sa,
          Par contre , je ne comprend pas là :
          <quote>
          Section "Monitor"
                  Identifier   "Display 1"
                  HorizSync    30-68
                  VertRefresh  50-85
                  Option       "DPMS"
          EndSection
          
          Section "Monitor"
                  Identifier   "Display 2"
                  HorizSync    30-68
                  VertRefresh  50-85
          EndSection
          
          Section "Device"
                  Identifier      "MATROX CARD 1"
                  Driver          "mga"
                  Screen          0
          EndSection
          
          Section "Device"
                  Identifier      "MATROX CARD 2"
                  Driver          "mga"
                  BusID           "PCI:1:0:0"
                  Screen          1
          EndSection
          </quote>
          


          1°) HorizSync VertRefresh doivent etres obligatoirement declarées ??

          2°) Tu ne déclare qu'un bus ID ?
          1. Voici le resultat de dpkg -l | grep xorg :

            
            debian:~# dpkg -l | grep xorg
            ii  xorg                              7.1.0-16                        X.Org X Window System
            ii  xserver-xorg                      7.1.0-16                        the X.Org X server
            ii  xserver-xorg-core                 1.1.1-21                        X.Org X server -- core server
            ii  xserver-xorg-input-all            7.1.0-16                        the X.Org X server -- input driver metapacka
            ii  xserver-xorg-input-evdev          1.1.2-6                         X.Org X server -- evdev input driver
            ii  xserver-xorg-input-kbd            1.1.0-4                         X.Org X server -- keyboard input driver
            ii  xserver-xorg-input-mouse          1.1.1-3                         X.Org X server -- mouse input driver
            ii  xserver-xorg-input-synaptics      0.14.6-1                        Synaptics TouchPad driver for X.Org/XFree86
            ii  xserver-xorg-input-wacom          0.7.4.1-5                       X.Org X server -- wacom input driver
            ii  xserver-xorg-video-all            7.1.0-16                        the X.Org X server -- output driver metapack
            ii  xserver-xorg-video-apm            1.1.1-3                         X.Org X server -- APM display driver
            ii  xserver-xorg-video-ark            0.6.0-3                         X.Org X server -- ark display driver
            ii  xserver-xorg-video-ati            6.6.3-2                         X.Org X server -- ATI display driver
            ii  xserver-xorg-video-chips          1.1.1-4                         X.Org X server -- Chips display driver
            ii  xserver-xorg-video-cirrus         1.1.0-3                         X.Org X server -- Cirrus display driver
            ii  xserver-xorg-video-cyrix          1.1.0-4                         X.Org X server -- Cyrix display driver
            ii  xserver-xorg-video-dummy          0.2.0-3                         X.Org X server -- dummy display driver
            ii  xserver-xorg-video-fbdev          0.3.1-1                         X.Org X server -- fbdev display driver
            ii  xserver-xorg-video-glint          1.1.1-3                         X.Org X server -- Glint display driver
            ii  xserver-xorg-video-i128           1.2.0-3                         X.Org X server -- i128 display driver
            ii  xserver-xorg-video-i740           1.1.0-3                         X.Org X server -- i740 display driver
            ii  xserver-xorg-video-i810           1.7.2-4                         X.Org X server -- Intel i8xx, i9xx display d
            ii  xserver-xorg-video-imstt          1.1.0-3                         X.Org X server -- IMSTT display driver
            ii  xserver-xorg-video-mga            1.4.4.dfsg.1-2                  X.Org X server -- MGA display driver
            ii  xserver-xorg-video-neomagic       1.1.1-5                         X.Org X server -- Neomagic display driver
            ii  xserver-xorg-video-newport        0.2.0-3                         X.Org X server -- Newport display driver
            ii  xserver-xorg-video-nsc            2.8.1-3                         X.Org X server -- NSC display driver
            ii  xserver-xorg-video-nv             1.2.0-3                         X.Org X server -- NV display driver
            ii  xserver-xorg-video-rendition      4.1.0.dfsg.1-4                  X.Org X server -- Rendition display driver
            ii  xserver-xorg-video-s3             0.4.1-5                         X.Org X server -- legacy S3 display driver
            ii  xserver-xorg-video-s3virge        1.9.1-3                         X.Org X server -- S3 ViRGE display driver
            ii  xserver-xorg-video-savage         2.1.2-3                         X.Org X server -- Savage display driver
            ii  xserver-xorg-video-siliconmotion  1.4.1-4                         X.Org X server -- SiliconMotion display driv
            ii  xserver-xorg-video-sis            0.9.1-4                         X.Org X server -- SiS display driver
            ii  xserver-xorg-video-sisusb         0.8.1-3                         X.Org X server -- SiS USB display driver
            ii  xserver-xorg-video-tdfx           1.3.0-1                         X.Org X server -- tdfx display driver
            ii  xserver-xorg-video-tga            1.1.0-3                         X.Org X server -- TGA display driver
            ii  xserver-xorg-video-trident        1.2.3-1                         X.Org X server -- Trident display driver
            ii  xserver-xorg-video-tseng          1.1.0-3                         X.Org X server -- Tseng display driver
            ii  xserver-xorg-video-v4l            0.1.1-3                         X.Org X server -- Video 4 Linux display driv
            ii  xserver-xorg-video-vesa           1.3.0-1                         X.Org X server -- VESA display driver
            ii  xserver-xorg-video-vga            4.1.0-3                         X.Org X server -- VGA display driver
            ii  xserver-xorg-video-via            0.2.1-6                         X.Org X server -- VIA display driver
            ii  xserver-xorg-video-vmware         10.13.0-3                       X.Org X server -- VMware display driver
            ii  xserver-xorg-video-voodoo         1.1.0-4                         X.Org X server -- Voodoo display driver
            
            1. Hum au fait , ma carte video à deux sorties, dont l'une en DVI, j'ai branché un adaptateur VGA dessus , sa peut venir de là ?
              1. Modérateur
                1°) HorizSync VertRefresh doivent etres obligatoirement declarées ??

                Non pas pour les versions récentes de xorg. Mais quand tu as des soucis de ce genre ça peut régler des problèmes.

                2°) Tu ne déclare qu'un bus ID ?

                Dans mon cas la carte à deux sortie video VGA

                3°) Hum au fait , ma carte video à deux sorties, dont l'une en DVI, j'ai branché un adaptateur VGA dessus , sa peut venir de là ?

                Aucune idée. Ce que tu peux essayer c'est d'installer le driver nvidia proprio (cf paquet nvidia-glx, a priori la version "pas legacy") et de corriger ton xorg (backupe le xorg actuel) en conséquence par exemple avec un :
                dpkg-reconfigure xserver-xorg

                Le driver proprio (nvidia) devrait apparaître (nv = driver libre). Peut-être que ça résoudra des problèmes. De plus tu pourras bénéficier des outils nvidia qui te permettront a priori de peaufiner les réglages de ton dual screen.

                Bonne chance
                1. Sa y est!! j'ai trouvé
                  Hum en fait je suis passé sousUbuntu, installé les drivers nVidia et modifié mon xorg.conf comme sa :

                  # /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 xorg.conf(5) 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.
                  #
                  # 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 "Files"
                  	Fontpath	"/usr/share/fonts/X11/misc"
                  	Fontpath	"/usr/share/fonts/X11/cyrillic"
                  	Fontpath	"/usr/share/fonts/X11/100dpi/:unscaled"
                  	Fontpath	"/usr/share/fonts/X11/75dpi/:unscaled"
                  	Fontpath	"/usr/share/fonts/X11/Type1"
                  	Fontpath	"/usr/share/fonts/X11/100dpi"
                  	Fontpath	"/usr/share/fonts/X11/75dpi"
                  	# path to defoma fonts
                  	Fontpath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
                  EndSection
                  
                  Section "Module"
                  	Load		"i2c"
                  	Load		"bitmap"
                  	Load		"ddc"
                  	Load		"extmod"
                  	Load		"freetype"
                  	Load		"glx"
                  	Load		"int10"
                  	Load		"vbe"
                  EndSection
                  
                  Section "InputDevice"
                  	Identifier	"Generic Keyboard"
                  	Driver		"kbd"
                  	Option		"CoreKeyboard"
                  	Option		"XkbRules"	"xorg"
                  	Option		"XkbModel"	"pc105"
                  	Option		"XkbLayout"	"fr"
                  	Option		"XkbVariant"	"oss"
                  EndSection
                  
                  Section "InputDevice"
                  	Identifier	"Configured Mouse"
                  	Driver		"mouse"
                  	Option		"CorePointer"
                  	Option		"Device"	"/dev/input/mice"
                  	Option		"Protocol"	"ImPS/2"
                  	Option		"ZAxisMapping"	"4 5"
                  	Option		"Emulate3Buttons"	"true"
                  EndSection
                  
                  Section "InputDevice"
                  	Driver		"wacom"
                  	Identifier	"stylus"
                  	Option		"Device"	"/dev/input/wacom"
                  	Option		"Type"	"stylus"
                  	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
                  EndSection
                  
                  Section "InputDevice"
                  	Driver		"wacom"
                  	Identifier	"eraser"
                  	Option		"Device"	"/dev/input/wacom"
                  	Option		"Type"	"eraser"
                  	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
                  EndSection
                  
                  Section "InputDevice"
                  	Driver		"wacom"
                  	Identifier	"cursor"
                  	Option		"Device"	"/dev/input/wacom"
                  	Option		"Type"	"cursor"
                  	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
                  EndSection
                  
                  Section "Device"
                  	Identifier	"nVidia Corporation NV43 [GeForce 6600]"
                  	Driver		"nvidia"
                  	Busid		"PCI:1:0:0"
                  	Option		"AddARGBVisuals"	"True"
                  	Option		"AddARGBGLXVisuals"	"True"
                  	Option		"NoLogo"	"True"
                  	Screen 0
                  EndSection
                  
                  Section "Device"
                  	Identifier	"nVidia Corporation NV43 [GeForce 6600]1"
                  	Driver		"nvidia"
                  	Busid		"PCI:1:0:0"
                  	Option		"AddARGBVisuals"	"True"
                  	Option		"AddARGBGLXVisuals"	"True"
                  	Option		"NoLogo"	"True"
                  	Screen 1
                  EndSection
                  
                  Section "Monitor"
                  	Identifier	"710S"
                  	Option		"DPMS"
                  EndSection
                  
                  Section "Monitor"
                  	Identifier	"C700"
                  	Option		"DPMS"
                  EndSection
                  
                  Section "Screen"
                  	Identifier	"Screen 0"
                  	Device		"nVidia Corporation NV43 [GeForce 6600]"
                  	Monitor		"710S"
                  	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	"Screen 1"
                  	Device		"nVidia Corporation NV43 [GeForce 6600]1"
                  	Monitor		"C700"
                  	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 "ServerLayout"
                  	Identifier	"Default Layout"
                    	screen "Screen 0"
                  	screen "Screen 1" LeftOf "Screen 0"
                  	Inputdevice	"Generic Keyboard"
                  	Inputdevice	"Configured Mouse"
                  	Inputdevice	"stylus"	"SendCoreEvents"
                  	Inputdevice	"cursor"	"SendCoreEvents"
                  	Inputdevice	"eraser"	"SendCoreEvents"
                  EndSection
                  
                  Section "ServerFlags"
                  Option "xinerama" "true"
                  Option "DefaultServerLayout"
                  EndSection
                  
                  
                  Section "DRI"
                  	Mode	0666
                  EndSection
                  


                  si cela peut aider d'autres personnes....

                  Et merci à toi mamiemando !!!