xorg autodetect monitor syncs

Nadat ik weer ‘n tijd heb zitten sukkelen om de juiste combinatie “monitor”-”xorg.conf”-”vga-card” te zoeken kwam ik er op uit dat als je de module DDC in xorg laat staan je de juiste waarden in Xorg.log ziet staan.

Maak eerst ‘n standaard monitor sectie

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
1028 1066
EndSection

En zoek dan in /var/log/Xorg.log naar “clock”.

Xorg.log:
-------
(II) I810(0): clock: 108.0 MHz Image Size: 359 x 287 mm
(II) I810(0): h_active: 1280 h_sync: 1328 h_sync_end 1440 h_blank_end
1688 h_border: 0
(II) I810(0): v_active: 1024 v_sync: 1025 v_sync_end 1028 v_blanking:
1066 v_border: 0
(II) I810(0): Serial No: A1Z035000756
(II) I810(0): Ranges: V min: 50 V max: 85 Hz, H min: 30 H max: 92 kHz,
PixClock max 160 MHz
(II) I810(0): Monitor name: VP181b-2
(II) I810(0): Will use BIOS call 0x5f05 to set refresh rates for CRTs.
(--) I810(0): Maximum space available for video modes: 16192 kByte
--------

Je ziet daar dan de H/V syncs, displaysize en wat je moet opgeven als
Modeline.

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
DisplaySize 359 287
HorizSync 30.0-92.0
VertRefresh 50.0-85.0
Option "DDC" "false"
Modeline "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066
EndSection

nadat je alle instellingen hebt ingesteld kan je dcc op false zetten.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>