On 02/26/14 17:37, Gao, Liming wrote:
> Laszlo:
> Is this patch also for QEMU other VGA type: cirrus, std? Or is it
> only for QXL VGA type? After apply this patch, we can enable high
> resolution in firmware, right?

It is independent of video card or video driver. It works with Cirrus,
QXL etc. It should also work with the Sea(VGA)BIOS CSM, ie.
"IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe".

The PlatformConfig driver, added in the end portion of the series,
simply grabs the first GOP it finds (in a one-off manner, ie. no
long-term references), and queries its modes. (One GOP will certainly be
there, due to the Depex.)

It's just the "most useful" with QXL, because for Cirrus we only have
three modes. Whereas the list of QXL modes is significantly extended in
the series (... and I think that this list is actually shared by stdvga,
ie. the QEMU_VIDEO_BOCHS_MMIO variant.).

> And, you mention Win8 QXL XDDM driver doesn't work with OVMF. I also
> notice the guest WIN8 can't change the video resolution boot from
> OVMF. The resolution is always 800 * 600 when I use VGA type cirrus
> or std. Are they the same issue?

The issue is the following, with Windows 8 and Windows 2012:

- The OS doesn't come with a stock driver for either Cirrus or QXL. (I'm
not sure about stdvga, but I think it falls in the same category.)
Because of this, it's not possible to change the resolution within the
OS out of the box.

- For the QXL video card, Vadim Rozenfeld wrote a WDDM driver. If you
install it in a SeaBIOS-based Windows guest, then resolution switching
becomes available.

However, this video driver depends on VGABIOS (Int 10h) support. OVMF
without a CSM doesn't provide such. OVMF with the Sea(VGA)BIOS CSM might
provide Int10h, but I'd like to move farther from the CSM, not closer.
(See Secure Boot, S3, etc...)

- The OS is capable of inheriting the GOP properties (resolution, pixel
format, framebuffer base etc) from OVMF / its UEFI boot loader. If you
set the resolution in OVMF (say, 1280x960), and then boot Windows 8 /
Windows 2012, you'll have that one resolution at your disposal in the OS.

It's good for basic usage -- apps will fit on the screen and so on.
Changing the resolution or any kind of hardware acceleration won't work
of course.

Thanks,
Laszlo


------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to