Bonjour
Je viens de réinstaller Lenny. Au logon, un message d’erreur m’indique qu’il faudrait configurer l’affichage en 1440x900 60 Hz (je ne demande que ça) (je ne me rappelle déjà plus celle proposée, mais je sais que les caractères étaient en limite de lecture).
Pour celà, j’installe les drivers Nvidia, en mode console of course, après un /etc/init.d/gdm stop. Une fois tout installé, je relance ma session graphique (/etc/init.d/gdm restart) : plus de message d’erreur (OK !). Je rentre mes coordonnées … et je me retrouve avec un coin d’écran, en définition 320x240 !
Je cherche alors nvidia-settings que je lance en user et je le paramètre “en aveugle” (évidemment, je le connais, je l’utilise aussi sur ubuntu). J’arrive enfin à configurer mon écran comme il faut.
Je relance nvidia-settings mais cette fois en mode root afin de sauver les paramètres adéquats dans mon xorg.conf.
[ul]# nvidia-settings: X configuration file generated by nvidia-settings
nvidia-settings: version 1.0 (buildd@ninsei) Tue Jun 24 18:11:48 UTC 2008
nvidia-xconfig: X configuration file generated by nvidia-xconfig
nvidia-xconfig: version 1.0 (buildd@ninsei) Fri Sep 5 22:23:08 UTC 2008
Section "ServerLayout"
Identifier "Layout0"
Screen 0 “Screen0” 0 0
InputDevice “Keyboard0” "CoreKeyboard"
InputDevice “Mouse0” "CorePointer"
EndSection
Section "Files"
RgbPath "/usr/lib/X11/rgb"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "ServerFlags"
Option “Xinerama” "0"
EndSection
Section “InputDevice”
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section “InputDevice”
# generated from default
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
Option "XkbVariant" "latin9"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section “Monitor”
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
ModeLine "1440x900_60.00" 106.470 1440 1520 1672 1904 900 901 904 932 -hsync +vsync
ModeLine "1440x900_75.00" 136.490 1440 1536 1688 1936 900 901 904 940 -hsync +vsync
Option "PreferredMode" "1440x900_60.00"
Option "DPMS"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7100 / NVIDIA nForce 630i"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option “UseFBDev” "true"
Option “TwinView” "0"
Option “TwinViewXineramaInfoOrder” "CRT-0"
Option “metamodes” "1440x900 +0+0; 1440x900_60.00 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
[/ul]
Je repasse ensuite en mode console (Ctrl-Alt-F1) et c’est parti : /etc/init.d/gdm stop. Je contrôle mon fichier xorg.conf : quelques modifications pour conserver mon clavier français (les options avaient disparu !) et je relance ma session graphique /etc/init.d/gdm restart. Et là, catastrophe : retour à l’écran 320x400. J’ai refait plusieurs fois les manip : écran 320x400 au démarrage !
Et pourtant, sur mon koala karmique, ça marche avec le xorg.conf suivant :
[ul]# nvidia-settings: X configuration file generated by nvidia-settings
nvidia-settings: version 1.0 (buildd@palmer) Sun Feb 1 20:21:04 UTC 2009
xorg.conf (X.Org 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 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
commented out by update-manager, HAL is now used
#Section “InputDevice”
Identifier “Generic Keyboard”
Driver “kbd”
Option “XkbRules” “xorg”
Option “XkbModel” “pc105”
Option “XkbLayout” “fr”
Option “XkbVariant” “oss”
Option “XkbOptions” “lv3:ralt_switch”
#EndSection
commented out by update-manager, HAL is now used
#Section “InputDevice”
Identifier “Configured Mouse”
Driver “mouse”
Option “CorePointer”
#EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 “Screen0” 0 0
InputDevice “Keyboard0” "CoreKeyboard"
InputDevice “Mouse0” "CorePointer"
EndSection
Section "Module"
Load "glx"
EndSection
Section "ServerFlags"
Option “Xinerama” "0"
EndSection
Section “InputDevice”
# generated from default
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
Option "XkbVariant" "oss"
Option “XkbOptions” “lv3:ralt_switch”
EndSection
Section “InputDevice”
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
EndSection
Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
Option “NoLogo” "True"
Option “PixmapCacheSize” "100000"
Option “AllowSHMPixmaps” "0"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7100 / nForce 630i"
Option “PixmapCacheSize” "100000"
Option “AllowSHMPixmaps” "0"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
DefaultDepth 24
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option “TwinView” "0"
Option “TwinViewXineramaInfoOrder” "CRT-0"
Option “metamodes” "nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
[/ul]
J’ai bien sur tenté d’utiliser cete config. sans plus de succès.
Où est donc l’erreur ? De plus, j’essayé xrandr : par moment, je n’ais même pas 1440x900 (maintenant, cette config apparait, je ne sais ni pourquoi ni comment elle a disparu puis réapparu).
Il parait que xorg.conf est en voie de disparition : qu’est ce qui le remplace (xrendr ?) ? Comment l’utiliser ?
Où sont les fichiers de configuration opérationnels ?
Toute aide et/ou commentaires sont les bienvenus !
FDZ