DVI => VGA adaptor

DVI => VGA adaptor

Context

Linux Ubuntu 17.10 using Wayland by default, graphic card upgrade with a single DVI-I output. Monitor is connected via its VGA (D-SUB DE-15) pin.

Issue

Monitor native resolution is not properly detected. DDC informations are not transmitted anymore through VGA/DVI adaptor.

A good tutorial is availlable online for a slighly different configuration. A copy of the document is provided at the end of that post (Document).

Hardware

Steps

1. Deactive Wayland => switch to X

Terminal:

echo $XDG_SESSION_TYPE => wayland

File /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

Checking

echo $XDG_SESSION_TYPE => x11

2. VESA CVT mode lines values

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. xorg.conf file generation using Nvidia driver

Terminal:

> sudo nvidia-config

Returns

WARNING: Unable to locate/open X configuration file
New X configuration file written to '/etc/X11/xorg.conf'

Nvidia X server configuration program

In X server Display Configuration tab

X Server Display Configuration > Save to X configuration file

DO NOT MERGE

4. Xorg.conf custom

Edit /etc/X11/xorg.conf

editions are in “Monitor” and “Screen” sections original remain as comments for educational purposes

# 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. Resolution setup

In Ubuntu Center > Parameters > Display > Screen resolution

choose:

> 1440 x 900

Sources

General process

Ubuntu Forum

Link to document by Alexander on Askubuntu

Specific values for Acer AL1916W

Lien Ubuntu Launchpad

Avatar
WPdrx
Physiologist Bioinformatician
Next
Previous