Page 1 of 1

translate VESA timings

Posted: Wed Jun 10, 2020 2:36 pm
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

Re: translate VESA timings

Posted: Wed Jun 10, 2020 2:54 pm
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

Re: translate VESA timings

Posted: Wed Jun 10, 2020 3:04 pm
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

Re: translate VESA timings

Posted: Wed Jun 10, 2020 3:12 pm
by damanloox
thanks guys!