Contexte
Sous Linux Ubuntu 17.10 utilisant Wayland par défaut, mise à niveau de carte graphique n’offrant qu’une sortie DVI-I. Le moniteur utilisé n’a qu’une entrée VGA (D-SUB DE-15) classique.
Problème
La résolution native du moniteur n’est pas détectée correctement. Les informations DDC ne sont pas transmises à travers l’adaptateur VGA/DVI.
Un très bon tutoriel est disponible en ligne pour une configuration légèrement différente de la mienne. J’en fourni une copie en fin d’article (Document avec captures d’écran).
Matériel
Étapes
1. Désactiver Wayland => switch vers X
Dans le terminal:
echo $XDG_SESSION_TYPE => wayland
Dans le fichier /etc/gdm3/custom.conf décommenter l’inactivation de Wayland
[daemon]
# Uncomment the line below to force the login screen to use Xorg
WaylandEnable=false
Reboot de session graphique
Contrôle
echo $XDG_SESSION_TYPE => x11
2. Calcul du VESA CVT mode lines
Dans le terminal:
> cvt 1440 900 75
1440x900 74.98 Hz (CVT 1.30MA) hsync: 70.64 kHz; pclk: 136.75 MHz
Modeline "1440x900_75.00" 136.75 1440 1536 1688 1936 900 903 909 942 -hsync +vsync
3. Génération du xorg.conf avec Nvidia driver
Dans le terminal:
> sudo nvidia-config
Retourne
WARNING: Unable to locate/open X configuration file
New X configuration file written to '/etc/X11/xorg.conf'
Programme Nvidia de configuration de X server
Dans l’onglet X server Display Configuration
X Server Display Configuration > Save to X configuration file
Ne pas fusionner
4. Modification de Xorg.conf
Dans édition du fichier /etc/X11/xorg.conf
les modifications ont lieues dans les sections “monitor” et “Screen” les valeurs originales ont été laissées et commentées
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 384.69 (buildd@lgw01-amd64-056) Tue Oct 10 10:21:06 UTC 2017
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
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"
EndSection
Section "Monitor"
# HorizSync source: builtin, VertRefresh source: builtin
Identifier "Monitor0"
# VendorName "Unknown"
VendorName "ACR"
# ModelName "CRT-0"
ModelName "AL1917W"
# HorizSync 28.0 - 55.0
HorizSync 31 - 84
# VertRefresh 43.0 - 72.0
VertRefresh 56 - 76
Option "DPMS"
Mode "1440x900_75.00"
DotClock 136.75
HTimings 1440 1536 1688 1936
VTimings 900 903 909 942
Flags "-hsync" "+vsync"
EndMode
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 960"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "CRT-0"
# Option "metamodes" "1360x768_60_0 +0+0"
Option "metamodes" "1440x900_75_0 +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection`
Reboot
5. Sélection de la résolution
Dans Ubuntu Center > Parameters > Display > Screen resolution
choisir:
> 1440 x 900
Sources d’informations
Démarche générale
Lien document par Alexander de Askubuntu