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 07/03/2006, à 20:10

julienj

[résolu] driver nvidia portable

Bonsoir,

j'ai des problèmes pour installer le driver nvidia. Voila ou j'en suis.

J'ai installer Dapper --> ok
fait un apt-get upgrade --> ok

puis j'ai suivi le wiki pour les drivers :

sudo apt-get install linux-restricted-modules-`uname -r`  --> ok
sudo apt-get install nvidia-glx nvidia-kernel-common     --> ok
sudo nvidia-glx-config enable

voici la réponse :

Error: your X configuration has been altered.
This script cannot proceed automatically. If you believe that this
not correct, you can update the md5sum entry executing the following
command:
md5sum /etc/X11/xorg.conf | sudo tee /var/lib/x11/xorg.conf.md5sum
otherwise edit manually /etc/X11/xorg.conf to change the Driver section
from nv to nvidia.

j'ai donc fait

julien@ubuntu:~$ md5sum /etc/X11/xorg.conf | sudo tee /var/lib/x11/xorg.conf.md5sum

c1ae90fccf4da5f3632b8035b33412e2  /etc/X11/xorg.conf

puis changé mon xorg. Ce xorg marché tres bien avec Breezy

le voici :

#xorg.conf

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	
	#FontPath	"/usr/local/share/fonts/ttffonts"
	#FontPath	"/usr/local/share/fonts/ooffice/truetype"
	FontPath	"/usr/lib/X11/fonts/misc"
	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/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
	#Load	"GLcore"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	#Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load 	"synaptics"
	Load	"type1"
	Load	"vbe"
EndSection

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

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

Section "InputDevice"
	Identifier	"Generic Mouse"
	Driver      "synaptics"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "auto-dev"
	Option	    "Emulate3Buttons" "yes"
	Option	    "LeftEdge" "120"
	Option	    "RightEdge" "830"
	Option	    "TopEdge" "120"
	Option	    "BottomEdge" "650"
	Option	    "FingerLow" "14"
	Option	    "FingerHigh" "15"
	Option	    "MaxTapMove" "110"
	Option	    "VertScrollDelta" "20"
	Option	    "HorizScrollDelta" "20"
	Option	    "MinSpeed" "0.3"
	Option	    "MaxSpeed" "0.75"
EndSection

Section "Device"
	Identifier	"Generic Video Card"
	Driver		"nvidia"
	BusID		"AGP:01:00:0"
	# Override DDC 
	Option		"NoDDC" "1"
	Option		"IgnoreEDID" "1"
	# Important when using TFT  
	Option      	"GenerateRTList"   "0"
	Option      	"OverridePolarity" "1"
	# Switch AGP
	Option		"NvAGP" "3"
	# Some Pointer Eyecandy
	Option		 "CursorShadow" "1"
	Option		 "CursorShadowAlpha" "63"
	Option		 "CursorShadowYOffset" "2"
	Option		 "CursorShadowXOffset" "4"
	# Picture Improvement
	Option		"DigitalVibrance" "0"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	HorizSync	28-60	
	VertRefresh	43-72	
	Option		"DPMS"
	Option		"NoDDC" "1"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Generic Video Card"
	Monitor		"Generic Monitor"
	DefaultDepth	24	
	# Override DDC 
	Option  "NoDDC" "1"
	# Switch AGP
	Option  "NvAgp" "3"
	SubSection "Display"
		Depth		8
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768"
	EndSubSection
EndSection

##	SECTION FOR TV - begin
Section "Screen"
	Identifier	"TV"
	Device		"Nvidia Geforce 4 420"
	Monitor		"Generic Monitor"
	DefaultDepth	 24
	SubSection "Display"
		Depth	 24
	EndSubSection
EndSection

Section "Device"
        Identifier      "Nvidia Geforce 4 420"
	Driver          "nvidia"
	BusID           "AGP:01:00:0"
	# Override DDC
	Option          "NoDDC" "1"
	Option          "IgnoreEDID" "1"
	# Important when using TFT
	Option          "GenerateRTList"   "0"
	Option          "OverridePolarity" "1"
	# Switch AGP
	Option		"NvAGP" "3"
	# Some Pointer Eyecandy
	Option		 "CursorShadow" "1"
	Option		 "CursorShadowAlpha" "63"
	Option		 "CursorShadowYOffset" "2"
	Option		 "CursorShadowXOffset" "4"
	# Picture Improvement
	Option		"DigitalVibrance" "0"
	# TV Twinview
	Option		"TwinView" "1"
	Option		"SecondMonitorHorizSync" "30-50"
	Option		"SecondMonitorVertRefresh" "60"
	Option		"TwinViewOrientation" "Clone"
	Option		"TVOutFormat" "COMPOSITE"
	Option		"ConnectedMonitor" "DFP,TV"
	Option		"TVStandard" "PAL-B"
	Option		 "MetaModes" "1024x768 @1024x768,1024x768 @1024x768; 800x600 @800x600,800x600 @800x600; 640x480 @640x480,640x480 @640x480"
EndSection
##	SECTION FOR TV - end 

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

Section "ServerLayout"
	Identifier	"Twinview"
	Screen		"TV"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Generic Mouse"
EndSection


Section "DRI"
	Mode	0666
EndSection

### END DEBCONF SECTION

Quand je relance X j'ai un écran noir, plus rien ne repond et je suis forcé de redemarer le PC en mode de secours pour changer le xorg (nvidia --> nv)

Merci de l'aide

julien

Dernière modification par julienj (Le 08/03/2006, à 00:57)

Hors ligne

#2 Le 07/03/2006, à 20:18

michel2652

Re : [résolu] driver nvidia portable

Bonjour,

Lorsque tu fais

#$ sudo nvidia-glx-config enable

Ensuite tu vas ouvrir ton xorg.conf et changer nv par nvidia, et tu rebootes.

A+

#3 Le 07/03/2006, à 20:46

julienj

Re : [résolu] driver nvidia portable

merci michel2652

voici la reponse à la commande

julien@ubuntu:~$  sudo nvidia-glx-config enable
Password:

A backup of xorg.conf has been stored as:
/var/backups/xorg.conf.2006-03-07-18:31:43.
If the new configuration will not work you will be able to
revert the changes simply using this command:
cp /var/backups/xorg/xorg.conf.2006-03-07-18:31:43 /etc/X11/xorg.conf


Warning: your X configuration has been succesfully changed.
In order to take full advantage of the changes, X needs to
be restarted.

aprés avoir remplacé nv par nvidia j'ai le même problème au démarage de X

voici peut-être une piste

nvidia               4089040  0
agpgart                34888  2 nvidia,intel_agp

le 0 pour nvidia, c'est normal ?

merci bien

Hors ligne

#4 Le 07/03/2006, à 20:53

michel2652

Re : [résolu] driver nvidia portable

En mode texte ( ctrl+alt+f1), tu peux reconfigurer ton xorg.conf

~$ sudo dpkg-reconfigure xserver-xorg

A+

#5 Le 08/03/2006, à 00:25

julienj

Re : [résolu] driver nvidia portable

j'ai tester les différentes possibilitées avec dpkg-reconfigure xserver-xorg

pas de changements sad

ça vient forcement de xorg.conf pour toi ?

si il y a d'autres idées je suis preneur smile

merci

Dernière modification par julienj (Le 08/03/2006, à 00:26)

Hors ligne

#6 Le 08/03/2006, à 00:57

julienj

Re : [résolu] driver nvidia portable

c'est bon big_smile
il falait ajouter cette ligne dans /etc/modprobe.d/options

options nvidia NVreg_SoftEDIDs=0 NVreg_Mobile=1

merci de l'aide

Hors ligne