(12-31-2018, 05:47 PM)indy99 Wrote: (12-31-2018, 05:57 AM)LarBob Wrote: Hey all, I've been playing with vfc and I'm trying to get 1600x900 output from my O2. I've been using the Makefile from and have managed to get something close with this:
Code:
#define ACTIVE_LINES 900
#define ACTIVE_PIXELS 1600
#define FPS 60
#define EXTRA_HBP 28
#include "TweakedBlockSync.vfs"
but the monitor reports that it's 1440x900, not 1600x900. I don't have any prior experience with vfc so any input would be nice. I know 1600x900 has been done before on O2.
While it might not be your issue, it seems that you're providing VFC with only very generic timing parameters. You might try connecting the monitor to a PC or Mac to see if you can extract the specific timing it requires using one of the free EDID utilities. Then use the EDID info to build a source file specifically targeted to your monitor.
If you don't have much VFC experience, at one time there was an "EDID Template" available on nekochan that offered an annotated VFC source file that indicated where and how to insert your monitor specific EDID data. I used that template successfully the last time I needed to create a VFO, so I probably have a copy somewhere if you'd like to try it. In the mean time I'll look at the Nekonomicon to see if I can turn up that thread.
Thanks!
The template was in this topic: http://forums.nekochan.net/viewtopic.php...&#p7357543 which hasn't been archived. (I saw it referenced on another post in nekonomicon)
Never mind, found it; here's the template if anyone else needs it as well:
Code:
/*
Template for creating a VFC source file from data captured by one of the EDID utilities (such as SwitchResX).
To use the template completely replace the bracketed comments with the requested data; as an example:
HorizontalBackPorch = <Back Porch value from Horizontal field of EDID> pixels;
HorizontalBackPorch = 148 pixels;
When complete, save the template using the descriptive format name used, appended with a ".vfs" file extension.
*/
General {
FormatName = "<Descriptive Format name (must include Quotation marks)>";
FieldsPerFrame = 1;
FramesPerSecond = <Scan Rate from Vertical field of EDID>;
TotalLinesPerFrame = <Total from Vertical field of EDID>;
TotalPixelsPerLine = <Total from Horizontal field of EDID>;
ActiveLinesPerFrame = <Active value from Vertical field of EDID>;
ActivePixelsPerLine = <Active value from Horizontal field of EDID>;
}
Active Line {
HorizontalBackPorch = <Back Porch value from Horizontal field of EDID> pixels;
HorizontalSync = <Sync Width from Horizontal field of EDID> pixels;
HorizontalFrontPorch = <Front Porch value from Horizontal field of EDID> pixels;
}
Field
{
Vertical Sync =
{
{
Length = 1.0H;
Low = 0.0 usec;
}
repeat <Sync Width from Vertical field of EDID>
{
Length = 1.0H;
}
}
Initial Low;
Vertical Back Porch =
{
{
Length = 1.0H;
High = HorizontalSync;
}
repeat <Back Porch from Vertical field of EDID - 2 (subtract 2 from the EDID value)>
{
Length = 1.0H;
Low = 0.0 usec;
High = HorizontalSync;
}
}
Initial High;
Active =
{
repeat <Active value from Vertical field of EDID>
{
Length = 1.0H;
Low = 0.0 usec;
High = HorizontalSync;
}
}
Vertical Front Porch =
{
repeat <Front Porch from Vertical field of EDID>
{
Length = 1.0H;
Low = 0.0 usec;
High = HorizontalSync;
}
}
}
#if 0
postprocess
{
dump edge;
}
#endif
And here is the post on the web archive:
http://web.archive.org/web/2013061615480...6&start=15
EDIT: Okay, using the template hasn't solved the issue, as you can see here:
![[Image: dEiu0bi.jpg]](https://i.imgur.com/dEiu0bi.jpg)
(It may be hard to read, but the monitor is still reporting 1440x900 on the left of the bottom right menu open)