9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] vga bios mode support, on-the-fly screen resizing
@ 2005-04-25 18:50 Russ Cox
  2005-04-25 18:56 ` Devon H. O'Dell 
  2005-04-30 16:41 ` Jack Johnson
  0 siblings, 2 replies; 7+ messages in thread
From: Russ Cox @ 2005-04-25 18:50 UTC (permalink / raw)
  To: 9fans

Plan 9 now supports using the VESA BIOS to set video modes.

There is a new aux/vga binary that you need to pull from sources.
Then grab a kernel from /n/sources/contrib/rsc/vesa/9/pc.
I've built 9pc 9pcf 9pcdisk and 9pccpuf.

Please test them out and then send me mail telling me:
 - type of video card you have
 - pci ids of video card: pci | grep ' 03\.'
 - what worked and what did not

Things to try include:
 - aux/vga -m vesa -p (should print available modes)
 - aux/vga -m vesa -l 1024x768x16 (switch to 1024x768x16)
 - aux/vga -l text (switch back to text mode)

Independent of the VESA support, the kernel can now change the screen
size/depth at any time, even while rio is running.  Just run aux/vga
-l new-size.

If you run aux/vga -l text while rio is running, you will switch to text mode
but not have a prompt (rio is still running, and the shell is waiting for
it to exit).  As long as you haven't clicked the mouse to change to another
window you should be able to blindly type aux/vga -l some-vga-size to
get back to rio.

Thanks to Roger Peppe, Fred Bonfanti, and Devon O'Dell for help
getting this far.

Russ


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-05-01 15:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-25 18:50 [9fans] vga bios mode support, on-the-fly screen resizing Russ Cox
2005-04-25 18:56 ` Devon H. O'Dell 
2005-04-30 16:41 ` Jack Johnson
2005-05-01  1:06   ` Russ Cox
2005-05-01  2:36     ` Jack Johnson
2005-05-01 15:38       ` Ronald G. Minnich
2005-05-01 15:44         ` Ronald G. Minnich

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).