Skip to contentSkip to conversation

VESA VBE support in qemu?

Qemu-devel Josh Metzler 4 participants 4 messages Jan 16, 2004 – Jan 18, 2004

lore
Share & tools
lore
#0 lore raw

I have a hard disk image with Debian Sid installed, along with XFree86 4.3 and KDE 3.2 beta1. I was using this in Bochs to try out the KDE beta, and was hoping that I could do the same under Qemu, as it is much faster than Bochs. I am able to boot the harddisk image, but XFree86 fails to start up. The log ends with:

(II) VESA: driver for VESA chipsets: vesa
(II) Primary Device is: ISA
(--) Chipset vesa found
(II) resource ranges ...
...
(II) Loading sub module "vbe"
...
(II) Loading sub module "int10"
...
(II) VESA(0): initializing int10
(WW) VESA(0): Bad V_BIOS checksum
(II) VESA(0): Primary V_BIOS segment is: 0xc000 (WW) System lacks support for changing MTRRs
(II) VESA(0): VESA BIOS not detected
(II) UnloadModule: "vesa"
(II) UnloadModule: "int10"
(II) UnloadModule: "vbe"
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

...

I had no problems configuring, making, or installing qemu. The vgabios is in the correct place. Does anyone have any ideas for getting XFree86 up and running?

Thanks,
Josh

#1 lore raw
Quoted 6 lines · Josh Metzler

I have a hard disk image with Debian Sid installed, along with XFree86 4.3 and KDE 3.2 beta1. I was using this in Bochs to try out the KDE beta, and was hoping that I could do the same under Qemu, as it is much faster than Bochs. I am able to boot the harddisk image, but XFree86 fails to start up. The log ends with:

<snip.

Quoted 4 lines

I had no problems configuring, making, or installing qemu. The vgabios is in the correct place. Does anyone have any ideas for getting XFree86 up and running?

VGABios and Bochs communicate via some predefined I/O Ports to provide VBE 1.2(or rather subset of). QEMU does not have this functionality(yet?). So for the time being, you can not run XFree with vesa driver.

Signature · 1 line
mailto:[email protected]
#2 lore raw
Quoted 3 lines · malc

VGABios and Bochs communicate via some predefined I/O Ports to provide VBE 1.2(or rather subset of). QEMU does not have this functionality(yet?). So for the time being, you can not run XFree with vesa driver.

Might I suggest running Xnest on the LinuxPPC host, and then just direct all X applications in your virtual machine to point to the Xnest window on the host machine. It will be far faster, although I understand the appeal of running the complete OS, video and all, in a virtual machine.

Michael

Signature · 1 line
Michael Torrie <[email protected]>
#3 lore raw
In reply to malc
Quoted 12 lines · malc
Quoted 6 lines · Josh Metzler

I have a hard disk image with Debian Sid installed, along with XFree86 4.3 and KDE 3.2 beta1. I was using this in Bochs to try out the KDE beta, and was hoping that I could do the same under Qemu, as it is much faster than Bochs. I am able to boot the harddisk image, but XFree86 fails to start up. The log ends with:

<snip.

Quoted 8 lines
Quoted 3 lines

I had no problems configuring, making, or installing qemu. The vgabios is in the correct place. Does anyone have any ideas for getting XFree86 up and running?

VGABios and Bochs communicate via some predefined I/O Ports to provide VBE 1.2(or rather subset of). QEMU does not have this functionality(yet?). So for the time being, you can not run XFree with vesa driver.

I would prefer adding S3 VGA support, but it is more complicated as it requires PCI to be recognized correctly by most OSes.

Bochs VBE is a lot simpler to add. I'll look at it for 0.5.3 release.

Fabrice.