Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3862

General • Scanvideo VGA 1680x1050 mode displaying stretched on an 1680x1050 LCD monitor?

$
0
0
Hi,

I wrote a new scanvideo VGA mode for 1680x1050 and it appears stretched and not even centered on my LG 20" monitor, which native resolution is 1680x1050, see attached image.

OSD shows that 1680x1050 mode is recognized.

Scanvideo mode is:

Code:

/** @brief cf. http://tinyvga.com/vga-timing/1680x1050@60Hz *//*  Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)  From my LG L204WT EDID:    ...    Detailed Timing Descriptors:        DTD 1:  1680x1050   59.954 Hz   8:5    65.290 kHz 146.250 MHz (434 mm x 270 mm)                    Hfront  104 Hsync 176 Hback 280 Hpol N                    Vfront    3 Vsync   6 Vback  30 Vpol P    Display Range Limits:        Monitor ranges (GTF): 56-75 Hz V, 28-83 kHz H, max dotclock 150 MHz        Display Product Name: 'L204WT'    ...*/const scanvideo_timing_t vga_timing_1680x1050_60_pico ={    .clock_freq      = PICO_VGABOARD_1680X1050_PIXEL_CLOCK_HZ,    .h_active        = 1680,    .h_front_porch   = 104,    .h_pulse         = 176,    .h_total         = 2240,    .h_sync_polarity = 0,    .v_active        = 1050,    .v_front_porch   = 3,    .v_pulse         = 6,    .v_total         = 1089,    .v_sync_polarity = 1,};
What could be done to correct that?
IMG_20240213_203431.jpg

Statistics: Posted by CHiPs44 — Tue Feb 13, 2024 8:12 pm



Viewing all articles
Browse latest Browse all 3862

Trending Articles