9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] vga and vmware
Date: Mon, 17 Aug 2009 09:39:58 -0400	[thread overview]
Message-ID: <8d5e7486d802dd452d2f54d3b2dc1039@quanstro.net> (raw)
In-Reply-To: <Pine.BSI.4.64.0908161637400.12479@malasada.lava.net>

> /dev/vgactl says 0xe0000000 has 0x3c0000 mapped.  Enough for
> 1024x768x4 bytes but not enoug hfor 1280x1024x4 bytes.  I
> patched vgavmware.c line 179 to allocate 2*vmrd(vm, Rfbsize)
> instead of vmrd(vm, Rfbsize) and now I'm able to go into 1280x1024x8
> mode.  This is obviously just a hack, I don't know what a
> real solution would be (is it possible that the hardware register
> returns a different size after changing the mode?)

why would 8 bit color require 4 bytes-per-pixel?

- erik



  reply	other threads:[~2009-08-17 13:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-16 20:35 Tim Newsham
2009-08-17  0:23 ` Devon H. O'Dell
2009-08-17  2:41 ` Tim Newsham
2009-08-17 13:39   ` erik quanstrom [this message]
2009-08-17 18:30     ` Tim Newsham

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=8d5e7486d802dd452d2f54d3b2dc1039@quanstro.net \
    --to=quanstro@quanstro.net \
    --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).