Maybe try something like this:If it's not central, try increasing a front porch and decreasing a back porch by the same amount (or the other way around).
If the black borders are too large, try increasing the active region, and decrease both porches equally by half of that amount.
Don't change (hactive+hfp+hsync+hbp)/clock_frequency, which should equal 64us.
Don't change hsync/clock_frequency which should be about 4.7us; or vsync which should be 2 or 3.
Don't change (vactive+vfp+vsync+vbp) which should be 312 or 313 (for progressive video at 15,625Hz line rate on a PAL TV).
Code:
dtoverlay=vc4-kms-dpi-genericdtparam=clock-frequency=15000000dtparam=hactive=688,hfp=70,hsync=70,hbp=132dtparam=vactive=240,vfp=26,vsync=3,vbp=43dtparam=hsync-invert,vsync-invert
If the black borders are too large, try increasing the active region, and decrease both porches equally by half of that amount.
Don't change (hactive+hfp+hsync+hbp)/clock_frequency, which should equal 64us.
Don't change hsync/clock_frequency which should be about 4.7us; or vsync which should be 2 or 3.
Don't change (vactive+vfp+vsync+vbp) which should be 312 or 313 (for progressive video at 15,625Hz line rate on a PAL TV).
Statistics: Posted by njh — Tue Feb 06, 2024 3:20 pm