Nicely done BetXen! I compiled the format using your source file....
Code:
# make V12-AcerP243W_1920x1200_60.vfo
--- V12-AcerP243W_1920x1200_60.vfo ---
/usr/sbin/vfc -a ascii=V12-AcerP243W_1920x1200_60.info -c chip=/usr/gfx/ucode/vfc/rules/VPro_Chip.def,board=/usr/gfx/ucode/vfc/rules/VPro_Board.def -o V12-AcerP243W_1920x1200_60.vfo V12-AcerP243W_1920x1200_60.vfs
DesiredFrequency is 193.155840
Setting frequency to 193.155844MHz
Feedback divider = 14873
Reference divider = 924
Post Scaler divider = 1
Error is 0.021515
Resetting FramesPerSecond from 60.000000 to 60.000001.
"/usr/gfx/ucode/vfc/rules/VPro_Board.def", line 652: The time you specified crosses the frame boundary and is wrapped to the end of the frame.
g_HorizontalSync_P 0
g_DesiredFrequency 193.155840
g_ActiveLinesPerFrame 1200
g_FramesPerSecond 60.000001
g_TotalLinesPerFrame 1242
g_TotalPixelsPerLine 2592
FR_delay 0
HSYNC_freq 74
N_post 1
VCOSPD 0
sqrt_A 2.221111
I_pump 26.243279
MLCP 3
genlock register values
ODY_GEN_hPFD 1
ODY_GEN_lPFD -16252916
ODY_GEN_hPFD_HI 0
ODY_GEN_hPFD_LO 0
ODY_GEN_lPFD_HI 0
ODY_GEN_lPFD_LO 0
ODY_GEN_hPSD 1840
ODY_GEN_lPSD 520833
ODY_GEN_hHMASK 12800
ODY_GEN_lHMASK 553648966
ODY_GEN_BP_CLAMP 67
ODY_GENLOCK 0
ODY_GEN_CONTROL 0
....and the VFC analysis generated by the VFC Makefile is nearly dead on the parameters listed in the pdf file yungjoon posted:
Code:
V12-AcerP243W_1920x1200_60.vfo:
Total lines per frame: 1242
Total pixels per line: 2592
Active lines per frame: 1200
Active pixels per line: 1920
Frames per second: 60
Fields per frame: 1
Swaps per frame: 1
Pixel clock: 193.156 MHz, period = 5.17717 nsec
Hardware pixel rounding: every 1 pixels
Line analysis:
Length: 2592 Pixels, 1 Lines, 13.4192 usec; (line 0)
Frequency: 74.52 KHz, period = 13.4192 usec
Horizontal Sync: 208 Pixels, 1.07685 usec; (line 41)
Horizontal Back Porch: 336 Pixels, 1.73953 usec; (line 41)
Horizontal Active: 1920 Pixels, 9.94016 usec; (line 41)
Horizontal Front Porch: 128 Pixels, 662.677 nsec; (line 41)
Field Information:
Field Duration: 3.21926e+06 Pixels, 1242 Lines, 16.6667 msec; (line 0)
Vertical Sync: 10368 Pixels, 4 Lines, 53.6769 usec; (line 0)
Vertical Sync Pulse: 10576 Pixels, 4.08025 Lines, 54.7537 usec; (line 0)
Vertical Back Porch: 95904 Pixels, 37 Lines, 496.511 usec; (line 4)
Vertical Active: 3.1104e+06 Pixels, 1200 Lines, 16.1031 msec; (line 41)
Vertical Front Porch: 2592 Pixels, 1 Lines, 13.4192 usec; (line 1241)
yungjoon wrote:
I generated the vfo file as explained by Betxen. When I try to apply it using xsetmon, xsetmon tells me that it is not a xsetmon gamma data file. Did I miss something ?
Sounds like you attempted to load the the vfo microcode with the "Load Settings File..." option in the xsetmon "File" menu. As the error message implied, that option is for loading gamma or other display adjustments. To change the display resolution (or use a different microcode format), select the desired display format ("V12-AcerP243W_1920x1200_60) from the "Valid Formats" scroll box on the left side of the xsetmon window, then click the "Load" button.
If you've copied the video format object /vfo file you created to the proper location (/usr/gfx/ucode/ODSY/vof/V12-AcerP243W_1920x1200_60.vfo) and it
doesn't appear in xsetmon's list of "Valid Formats", then I'd take a close look at the VGA switch you're using (and possibly the 13W3-to-HD15 adapter, *if* one is involved). The source file BetXen provided builds cleanly without any meaninful errors, and the VFC generated analysis of the resulting video format object very closely matches the info you provided for your monitor.