VirtualBox

Opened 15 years ago

Closed 8 years ago

Last modified 8 years ago

#4777 closed defect (obsolete)

VESA palette support broken

Reported by: Axel Dörfler Owned by:
Component: other Version: VirtualBox 3.0.4
Keywords: Cc:
Guest type: other Host type: other

Description (last modified by michaln)

This is broken in several ways:

1) it reports a VBE info block capability of 1, which means, no VGA compatibility (which it is) 2) palette setting via interrupt 0x10, eax 0x4f09 does nothing 3) but also does not return an error

For reference, Qemu does report the correct capability, does not implement the VBE set palette function either, but correctly reports an error when trying to do so.

Change History (3)

comment:1 by michaln, 8 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed

This does not reflect the current status.

In the future, please do not report things like "eax 0x4f09 does nothing" but why it matters and how the problem can be reproduced with some existing software.

comment:2 by Axel Dörfler, 8 years ago

The full sentence is "palette setting via interrupt 0x10, eax 0x4f09 does nothing" -- and there isn't really much more to say about this.

However, a test case would have been nice, indeed. I have tested with the "ParticlesII" demo running on Haiku using the VESA driver; the demo is available as part of Haiku's source code, and can be built using "jam ParticlesII".

From reading the VirtualBox source code, it looks like all is fine (both the VGA compatibility flag issue [1], as well as setting the palette (at least there is a function responsible for this no matter if it is actually working)), however, I just tried the demo again, and at least the colors don't change. If there is interest in getting to the bottom of this, I could look into it again and come up with more info, if needed.

[1] https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Devices/Graphics/BIOS/vbe.c#L332

comment:3 by michaln, 8 years ago

Exactly, the code is there.

It would be great if you could provide a testcase, perhaps in the form of an OVA appliance. There could be some more complex reason why the demo isn't working. Incidentally, is it known that the demo behaves as expected on real hardware?

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette