translate VESA timings

Discussion of keyboards, gamepads, joysticks and other input related peripherals.
damanloox
Posts: 9
Joined: Mon May 25, 2020 4:59 pm
Been thanked: 1 time

translate VESA timings

Unread post by damanloox »

Could somebody please tell me how to "translate" VESA timings to mister.ini video_mode...?
Eg. this one: http://tinyvga.com/vga-timing/1920x1440@60Hz
KnC
Posts: 107
Joined: Sun May 24, 2020 6:47 pm
Been thanked: 15 times

Re: translate VESA timings

Unread post by KnC »

in the mister.ini is this line
custom mode: hact,hfp,hs,hbp,vact,vfp,vs,vbp,Fpix_in_KHz

so looking at that link starting from top
General timing
Pixel freq. 234.0 MHz
take the 234.0 and multiply by 1000 and that would be the Fpix_in_KHz part

then
Horizontal timing (line)
Visible area 1920 = hact
Front porch 128 = hfp
Sync pulse 208 = hs
Back porch 344 = hbp

then the same for Vertical timing (frame)

so you would end up with

video_mode=1920,128,208,344,1440,1,3,56,234000
KnC
Posts: 107
Joined: Sun May 24, 2020 6:47 pm
Been thanked: 15 times

Re: translate VESA timings

Unread post by KnC »

after reading this link though that looks bad to use
viewtopic.php?p=636#p636

so maybe using a reduced blank setting would be better
video_mode=1920,48,32,80,1440,3,4,34,184829
damanloox
Posts: 9
Joined: Mon May 25, 2020 4:59 pm
Been thanked: 1 time

Re: translate VESA timings

Unread post by damanloox »

thanks guys!
Post Reply