Try generating a working modeline for your X.Org and then just put the numbers from modeline into vgadb. xvidtune should help with generating the modeline.

A modeline looks like:

Modeline "mode_name_here" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync

Numbers are from left to right, <http://howto-pages.org/ModeLines/>:

01. Clock (= pixel clock frequency, 'include' section 'clock')
02. HDisplay (= horizontal resolution)
03. HSyncStart (= 'include' section 'shb')
04. HSyncEnd (= 'include' section 'ehb')
05. HTotal (= 'include' section 'ht')
06. VDisplay (= vertical resolution)
07. VSyncStart (= 'include' section 'vrs')
08. VSyncEnd (= 'include' section 'vre')
09. VTotal (= 'include' section 'vt')
10. HSync (= 'include' section 'hsync', either '+' or '-')
11. VSync (= 'include' section 'vsync', either '+' or '-')

There's almost one-to-one correspondence between these numbers and the cryptic numbers referred to in vgadb(6). Translations in parentheses :-)

--On Wednesday, April 15, 2009 3:11 PM -0400 "Devon H. O'Dell" <devon.od...@gmail.com> wrote:

I've got a laptop that I (for shits and giggles) decided to put Plan 9
on. Lo and behold, it worked fine (Compal EL80, Core 2 Duo, 2GB RAM,
nVidia video).

So, I'm running at 1280x1024x32 right now in VESA, which is
reasonable, but I'd like to run at my maximum native resolution, which
is 1680x1050 (I believe). After tooling around with Xorg configs, I've
found a horiz/vert refresh rate that should work for me...

...except that I have no idea how to convert that into vgadb lingo.
I've read all the comments in vgadb, and the manpage, which helpfully
suggests that I purchase a rather dated book. I suppose it's at least
available, but in the interest of ``I want it now,'' are there any
hints on translating eg.

        Option          "DPMS"
        HorizSync       28-84
        VertRefresh     43-60

into vgadb(6) lingo?

Only other bit of potentially relevant information I have is that Xorg
reports the monitor as having a ``330.0 MHz pixel clock''.

Thanks,

--dho






Reply via email to