9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@coraid.com>
To: 9fans@9fans.net
Subject: Re: [9fans] vgadb woes
Date: Wed, 15 Apr 2009 15:44:05 -0400	[thread overview]
Message-ID: <d86b358fa3e5cbd6b6411d822eeadc13@coraid.com> (raw)
In-Reply-To: <ee8f6be5cbfe51af67e96d914e39978d@bellsouth.net>

> In some of the little I've played with such things, it
> has appeared that the VESA report of available modes
> does not always include resolutions that are out of
> the ordinary, and without that, I doubt the VESA
> driver will be able to put it into that mode.  Not to
> discourage you, but just be aware that your issue
> might go deeper than vgadb.
>
> BLS

to my suprise, vesa seemed to work well in 1600x1200x32
mode when i last tried it on integrated ati graphics a
few weeks ago.

however, the hw cursor didn't.  since i had other plans
for the machine, i didn't investigate further.  the cursor
worked in some other lower vesa modes.

i get the feeling that some of the high bits in the vga
registers might not be set correctly, especially register 13.
i used this in the nvidia driver to get my obstreperous
card (different machine) working

+ 	vga->crt[0x13] = (vga->virtx/8)*(mode->z/8);	// magic to get cursor to work.

that would set it to 0x20, not 0x00. as vga.c currently does.

please don't ask me how i arrived at this magic. ☺

- erik



  reply	other threads:[~2009-04-15 19:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-15 19:11 Devon H. O'Dell
2009-04-15 18:43 ` Eris Discordia
2009-04-15 19:18 ` john
2009-04-15 19:26 ` blstuart
2009-04-15 19:44   ` erik quanstrom [this message]
2009-04-15 19:45 ` Steve Simon
2009-04-15 20:13   ` Devon H. O'Dell
2009-04-15 23:30     ` Devon H. O'Dell
2009-04-16  2:16       ` erik quanstrom
2009-04-16  3:55         ` Venkatesh Srinivas
2009-04-16 12:33           ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d86b358fa3e5cbd6b6411d822eeadc13@coraid.com \
    --to=quanstro@coraid.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).