Which VESA modes does VBox 2.1.x support for graphics?

This is for discussing general topics about how to use VirtualBox.

Which VESA modes does VBox 2.1.x support for graphics?

Postby ingo2 » 28. Jan 2009, 18:58

I am asking this question, because during installation of Warp v4.5 I do observe periods where the screen image ist toatally scrambled. This happens while still in 640x480 resolution.

It seems that the 16-colors mode (which I suppose uses INT10 calls) works ok, but most probably the mode with 256 color palette is causing the distorted screen image.

Is there a table available, listing all supported VESA modes?

Best reghards,
Ingo
ingo2
 
Posts: 177
Joined: 28. Feb 2008, 14:15
Location: Eltville, Germany
Primary OS: Debian Wheezy
VBox Version: OSE Debian
Guest OSses: OS/2, WinXP, Linux

Postby baf » 28. Jan 2009, 21:35

See this picture:
Image
Disregard the last four 360-363 they are my custom modes.
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
baf
Volunteer
 
Posts: 829
Joined: 27. Sep 2008, 06:18
Location: Luleå or Skellefteå, Sweden
Primary OS: Mac OS X Leopard
VBox Version: PUEL
Guest OSses: linux,xp,win7

Postby ingo2 » 29. Jan 2009, 19:12

Hi baf,

many thanks! (how did you generate that list?)

This clearly shows, where the problem comes from: the 640x480 modes which VBox supplies, are not the standard VESA modes I need. What I need is:

640x480 256 color pallette = VESA mode 257 (0x0101)

and probably one of the higher color modes (but I am not sure)
640x480 x 15bit = VESA mode 272 (0x0110)
640x480 x 16bit = VESA mode 273 (0x0111)

Unless these are implemented, I am unable to go through the graphic installation steps with OS/2.

With best regards,
Ingo
ingo2
 
Posts: 177
Joined: 28. Feb 2008, 14:15
Location: Eltville, Germany
Primary OS: Debian Wheezy
VBox Version: OSE Debian
Guest OSses: OS/2, WinXP, Linux

Postby baf » 29. Jan 2009, 21:26

Generated by booting a linux and at the kernel line adding
vga=ask
Then press enter and voila.
Unfortunately it's only a picture not text that I can copy. Thats why it's a screenshot.
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
baf
Volunteer
 
Posts: 829
Joined: 27. Sep 2008, 06:18
Location: Luleå or Skellefteå, Sweden
Primary OS: Mac OS X Leopard
VBox Version: PUEL
Guest OSses: linux,xp,win7

Postby ingo2 » 29. Jan 2009, 21:39

Thanks a lot - that way I learned another thing Tux can do :D

Now the I can only hope hope that the VBox-crew will add the 'missing' VESA mode.
Ingo
ingo2
 
Posts: 177
Joined: 28. Feb 2008, 14:15
Location: Eltville, Germany
Primary OS: Debian Wheezy
VBox Version: OSE Debian
Guest OSses: OS/2, WinXP, Linux

Postby Sasquatch » 30. Jan 2009, 20:26

When you boot with GRUB, you can use this table for resolution reference. VB supports all of them, as it simply shows what the Guest OS tells it to show.

Code: Select all   Expand viewCollapse view
Color depth      | 640x480  800x600  1024x768 1280x1024
-----------------+-------------------------------------
256        (8bit)|  769      771       773      775
32000     (15bit)|  784      787       790      793
65000     (16bit)|  785      788       791      794
16.7 Mill.(24bit)|  786      789       792      795

If you search for grub vga on google, you will get other sites with a similar table.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Postby ingo2 » 30. Jan 2009, 20:54

Sasquatch wrote:.....VB supports all of them, as it simply shows what the Guest OS tells it to show.


Hi Sasquatch,

you probably got the background of my question wrong. My guess ist that the VESA mode
640x480, 256 color pallette = VESA mode 257 (0x0101) does not display correctly - I get a distorted screen. I will attach a screen shot later, because I have to boot another system.
This happens not only to me, there are other posts dealing with the distorted display when installing OS/2 in VBox 2.1.x.

Here the screenshot:
Image

The mode above = 257 is the mode as defined by the VESA organisation and describes a 256 color palette. I do know that other operating systems use a different enumeration, but I do not know how to describe my problems besides verbal.

With best regards,
Ingo
Last edited by ingo2 on 31. Jan 2009, 19:13, edited 2 times in total.
ingo2
 
Posts: 177
Joined: 28. Feb 2008, 14:15
Location: Eltville, Germany
Primary OS: Debian Wheezy
VBox Version: OSE Debian
Guest OSses: OS/2, WinXP, Linux

Postby Sasquatch » 30. Jan 2009, 21:42

Well, I tried that 640x480x8 on my Ubuntu Guest, doesn't give any problems in CLI mode. Probably, as you already stated, OS specific.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Postby ingo2 » 30. Jan 2009, 22:00

Do you have any location where I can upload my screen shot?

I was expecting to perform that by selecting the "Img" button from the tags, but that doesn't work :-(

Best regards,
Ingo

P.S.: what I else found on digging for explanation:
http://www.nationmaster.com/encyclopedi ... Extensions
and
www.vesa.org/public/VBE/vbe3.pdf
especially this partial comment taken out of it:

"VBE is expected to work on all 80x86 platforms, in real and protected modes. Starting with VBE
3.0, all the VBE/Core BIOS functions can be ‘dual-mode’, allowing them to optionally be called
as 16-bit protected mode code via a direct call to a new protected mode interface entry point.
‘Dual-mode’ code means that the BIOS code adheres to certain restrictions when called via the
protected mode entry point, to ensure full compatibility with fully protected mode operating
systems such as Windows NT, OS/2 and the many versions of UNIX. Note that although the
‘dual-mode’ code must be called as 16-bit protected mode code, this does not preclude it from
being called by 32-bit pure operating systems such as Windows NT and OS/2.
"

Observation:
once I have the Scitech SNAP driver installed all modes are available without any problem.
The problem is to get such far ;-). The distortion appears to happen when still BIOS calls are used/required?
ingo2
 
Posts: 177
Joined: 28. Feb 2008, 14:15
Location: Eltville, Germany
Primary OS: Debian Wheezy
VBox Version: OSE Debian
Guest OSses: OS/2, WinXP, Linux

Postby Sasquatch » 30. Jan 2009, 23:53

You can post images to hosting sites like http://imageshack.us and http://tinypic.com and paste the image between img tags here.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Postby ingo2 » 31. Jan 2009, 13:24

Thanks for info!

I have added the screen shot to the corresponding posting up this thread.
Here I paste another screenshot which demonstrates that Wapr underneath is working (almost) correctly, if you know where to klick with the mouse ;-)

Image

It appears that just activated windows(pop-ups are painted correctly while the rest and backgruond of the desktop are not refreshed correctly an distorted instead.

If you are interested to reproduce the problems, I can offer to supply a link to the CD-image I use to install. This CD is bootable, based on OS/2-Warp with all fixes and updates IBM has released until they finally stopped support for OS/2. (this means it is by far newer than MCP2). The updated CD was built using Zsolt's UpdCD. It does not contain any additons/modification made later by Serenity to asemble EcomStation.

The bz2-compressed image is some 360MB in size.

With best regards,
Ingo
ingo2
 
Posts: 177
Joined: 28. Feb 2008, 14:15
Location: Eltville, Germany
Primary OS: Debian Wheezy
VBox Version: OSE Debian
Guest OSses: OS/2, WinXP, Linux

Postby Seabuc » 2. Feb 2009, 23:34

I get that exact same distortion when I run OS/2 Warp 4. Or Warp 3. Or 2.1. :(
Seabuc
 
Posts: 9
Joined: 23. Dec 2008, 00:00

Postby Sasquatch » 3. Feb 2009, 22:38

As others have the same issue, with other versions of OS/Warp too, open a bug ticket in the Bugtracker. You need to sign up for a new account there, your forum account won't work there though.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Postby ingo2 » 4. Feb 2009, 22:30

> open a bug ticket in the Bugtracker

Done!

You can find my report here: http://www.virtualbox.org/ticket/3273

Thanks, Ingo
ingo2
 
Posts: 177
Joined: 28. Feb 2008, 14:15
Location: Eltville, Germany
Primary OS: Debian Wheezy
VBox Version: OSE Debian
Guest OSses: OS/2, WinXP, Linux

Problem solved in VBox 2.2

Postby ingo2 » 13. Apr 2009, 19:36

The display problem is solved with VBox 2.2 - thanks for that!

Ingo
ingo2
 
Posts: 177
Joined: 28. Feb 2008, 14:15
Location: Eltville, Germany
Primary OS: Debian Wheezy
VBox Version: OSE Debian
Guest OSses: OS/2, WinXP, Linux


Return to Using VirtualBox

Who is online

Users browsing this forum: No registered users and 12 guests