kevinlekiller / cvt_modeline_calculator_12

CVT (Coordinated Video Timings) modeline calculator with CVT v1.2 timings.
74 stars 16 forks source link

CVT1.2 RB2 results don't match VESA CVT 1.2 generator spreadsheet. #1

Closed lukexcom closed 6 years ago

lukexcom commented 6 years ago

When using this tool, I realized the calculated values for CVT 1.2 Reduced Blanking v2 were a bit different from VESA's latest CVT 1.2 generator spreadsheet. Current output from the tool:

./cvt12 1920 1080 60 -b
# 1920x1080 @ 60.000 Hz Reduced Blank (CVT) field rate 60.000 Hz; hsync: 66.840 kHz; pclk: 139.03 MHz
Modeline "1920x1080_60.00_rb"  139.03  1920 1968 2000 2080  1080 1103 1108 1114 +hsync -vsync

Values from the CVT 1.2 generator spreadsheet (plugged in to the same format as above):

# 1920x1080 @ 60.000 Hz Reduced Blank (CVT) field rate 60.000 Hz; hsync: 66.660 kHz; pclk: 133.32 MHz
Modeline "1920x1080_60.00_rb"  133.32  1920 1928 1960 2000  1080 1097 1105 1111 +hsync -vsync

The numbers for the "-o" flag are also a bit off as well. I think I have a fix.