Disable "acceleration" under qemu, since taking the hypercall trap is really quite expensive and you're better off doing noaccel. Patch is based on the one by "Adam Jackson" <[email protected]>
http://pkgs.fedoraproject.org/cgit/rpms/xorg-x11-drv-cirrus.git/tree/cirrus-1.2.0-qemu.patch?id=daccd1c8174623500eddfa297d8ea76a86d3c5d9 --- src/alp_driver.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/alp_driver.c b/src/alp_driver.c index bd5e52f..ba55247 100644 --- a/src/alp_driver.c +++ b/src/alp_driver.c @@ -774,6 +774,16 @@ AlpPreInit(ScrnInfoPtr pScrn, int flags) else xf86SetDDCproperties(pScrn,xf86PrintEDID( xf86DoEDID_DDC2(XF86_SCRN_ARG(pScrn),pCir->I2CPtr1))); + +#ifdef XSERVER_LIBPCIACCESS + #ifndef PCI_CHIP_QEMU + #define PCI_CHIP_QEMU 0x1af4 + #endif + if (!pScrn->monitor->DDC && + ((pCir->PciInfo->subvendor_id & 0xffff) == PCI_CHIP_QEMU)) { + pCir->NoAccel = TRUE; + } +#endif /* Probe the possible LCD display */ AlpProbeLCD(pScrn); -- 2.6.2 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
