You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 9fr...@googlegroups.com
Have: 1920x1080 monitor
Problem: VESA BIOS contains no 1920x1080 modes
Question: How to use vga -m _without_ vesa?
Is this as simple as just choosing something else besides vesa?
Does realemu still need to be invoked when not using vesa?
When experimenting I've had inconsistent results so I'm
confused.
-sl
cinap_...@gmx.de
unread,
Jul 11, 2012, 1:59:26 PM7/11/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 9fr...@googlegroups.com
-m vesa is just a hack to force the vesa driver. -m is
really the monitor to use from vgadb. normally, aux/vga
will try to determine the type of graphics card from
snooping the vga bios (looked up in vgadb) and then run
device specific driver code to set the desired video mode.
vgadb basicly matches some strings in the vga bios and lets
you coose and you parametrize the driver.
realemu is only used for vesa. native graphics driver doesnt
need to run vga bios code. native driver just programs the
various hardware registers to set the desired video mode and
then activates the kernel part of the video driver for stuff
like hardware bliting (acceleration), hardware cursors ect...
(if the driver supports that)
so using video without vesa means you need a graphics card
that plan9 has native drivers for (and some plumbing in
vgadb so it gets activated for your specific card... or
you need to port / write a driver for it. vesa is kind of a
universal driver that doesnt know at all how to program the
hardware, but just runs some code stored in the vga bios under
the supervision of realemu passing thru memory and register
reads/writes to the real hardware.
--
cinap
cinap_...@gmx.de
unread,
Jul 11, 2012, 2:06:57 PM7/11/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 9fr...@googlegroups.com
another way might be patching the vesa bios. if i remember
correctly the previous failures with nvidia card you had
where due to the kernel not recognizing the framebuffer
membars correctly and just mapping the addresses given by
vesa bios with size calculation done from the video mode
requested. when trying to switch to higher mode, the rest
of the framebuffer was not mapped causing kernel panic on
access. this was fixed a while ago but we didnt continue
with trying the bios patching trick...
--
cinap
s...@9front.org
unread,
Jul 11, 2012, 2:29:50 PM7/11/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 9fr...@googlegroups.com
So, just use -m somethingbesidesvesa.
-sl
s...@9front.org
unread,
Jul 11, 2012, 2:30:42 PM7/11/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 9fr...@googlegroups.com
> this was fixed a while ago but we didnt continue
> with trying the bios patching trick...
I did continue, I just never hit upon the right combination.
Later, I moved operations to a different machine.
-sl
cinap_...@gmx.de
unread,
Jul 11, 2012, 7:38:06 PM7/11/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message