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 22/12/2006, à 22:02

bobsinglar

[EDGY][NVIDIA] Echec de configuration d'un second écran

Bonjour,

j'utilise un portable toshiba, GeForce FX5200Go.

Je tente de configurer un deuxième bureau à afficher sur la sortie VGA avec la première méthode décrite dans http://doc.ubuntu-fr.org/materiel/multi-ecran (c'est à dire avec les drivers d'origine NV, pas le dualView).

J'ai écrit le xorg.conf de la façon suivante (Entre les #####, mes ajouts ou mes modifications) :

# /etc/X11/xorg.conf (xorg X Window System server configuration file)

Section "Files"
	FontPath	"/usr/share/X11/fonts/misc"
	FontPath	"/usr/share/X11/fonts/cyrillic"
	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"
	FontPath	"/usr/share/fonts/X11/misc"
	# 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	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"fr"
	Option		"XkbOptions"	"lv3:ralt_switch"
EndSection

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

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"0"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "Device"
	Identifier	"NVIDIA0"
	Driver		"nv"
	Screen 0
	BusID		"PCI:1:0:0"
EndSection

######################################################################
Section "Device"
	Identifier	"NVIDIA1"
	Driver		"nv"
	Screen 1
	BusID		"PCI:1:0:0"
EndSection
######################################################################

Section "Monitor"
	Identifier	"Monitor0" #Intégré
	Option		"DPMS"
	HorizSync	28-64
	VertRefresh	43-60
EndSection

######################################################################
Section "Monitor"
	Identifier	"Monitor1" #Externe
	Option		"DPMS"
	HorizSync	28-64
	VertRefresh	43-60
EndSection
######################################################################

Section "Screen"
	Identifier	"Screen0"
	Device		"NVIDIA0"
	Monitor		"Monitor0"
	DefaultDepth	16
	SubSection "Display"
		Depth		1
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x800"
	EndSubSection
EndSection

#####################################################################
Section "Screen"
	Identifier	"Screen1"
	Device		"NVIDIA1"
	Monitor		"Monitor1"
	DefaultDepth	16
	SubSection "Display"
		Depth		1
		Modes		"1680x1050"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1680x1050"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"11680x1050"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1680x1050"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1680x1050"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1680x1050"
	EndSubSection
EndSection
##########################################################################

Section "ServerLayout"
	Identifier	"Default Layout"
	###################
        #Screen		"Screen0"
        Screen 0	"Screen0"
	Screen 1	"Screen1" RightOf "Screen0"
        ###################
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice     "stylus" "SendCoreEvents"
	InputDevice     "cursor" "SendCoreEvents"
	InputDevice     "eraser" "SendCoreEvents"
	InputDevice	"Synaptics Touchpad"
EndSection

Section "DRI"
	Mode	0666
EndSection

Au rédémarrage le serveur retourne, juste après le parsage du xorg.conf : "Requested ressource already in use" (je suis plus trop sûr du "ressource", mais bon...)

Pour info, j'ai fait la même tentative sur un portable de configuration très similaire mais avec les drivers nVidia étendus installés, et ça plante aussi sad

Comment dirais-je... au secours ?
Par ailleurs, peut-on faire la même chose avec les drivers nVidia étenus installés ?
Le serveur doit-il démarrer même si le second écran est débranché ?

merci bien.

Pascal

#2 Le 23/12/2006, à 11:15

bobsinglar

Re : [EDGY][NVIDIA] Echec de configuration d'un second écran

Bonjour,

J'ai résolu mon problème :

dans la section Layout, pour ma config, le tutoriel d'ubuntu-fr comporte une erreur :

###################
Screen 0    "Screen0"
Screen 1    "Screen1" RightOf "Screen0"
###################

doit en fait être écrit :

###################
Screen    "Screen0"
Screen    "Screen1" RightOf "Screen0"
###################

tout bêtement.
J'ai aussi rajouté les sections BusID "PCI:1:0:0", mais je ne crois pas que ça ait été déterminant.

Apprendre à persévérer...