From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 15 Apr 2009 19:43:03 +0100 From: Eris Discordia To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: In-Reply-To: <9ab217670904151211rb880e2fy1f25fa41dbbedb95@mail.gmail.com> References: <9ab217670904151211rb880e2fy1f25fa41dbbedb95@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: [9fans] vgadb woes Topicbox-Message-UUID: dc668622-ead4-11e9-9d60-3106f5b1d025 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, : 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" 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 >