You are not logged in.

#1 2014-09-15 09:33:54

zir_blazer
Member
Registered: 2013-12-12
Posts: 35

Testing Wayland in a QEMU/Xen VM, needing Cirrus KMS

Some time ago I got stuck with this:
https://bbs.archlinux.org/viewtopic.php?id=186007


Afterwards I became interested in doing so using Wayland instead, as fully replacing X.org to get rid of legacy GUI infrastructure is an attractive proposal. After all, for my purpose, it seems that SDL and a Window Manager may be just enough. Anyways, I fired up a new VM using the emulated Cirrus GPU, installed Arch Linux, managed to get X.org working with the cirrus Driver, then tried to install and get working weston-launch. It always fails to load because it can't find a DRM backend.
After some reading, it seems that it is mandatory to have a KMS capable GPU Driver to use Wayland, which is mostly limited to the Open Source Intel, ATI and nVidia Drivers, which requires real GPUs. However, after some more googling, I found this:

http://www.phoronix.com/scan.php?page=a … _kms&num=1
http://www.phoronix.com/scan.php?page=n … px=MTA5NTc

Basically, two years ago, a Cirrus Driver with KMS support was release that could be used with a QEMU VM. I don't know what happened with that Driver, as it is barely mentioned at all currently. So far, installing both xf86-video-cirrus and xf86-video-modesetting doesn't work, nor adding cirrus as a module and making a new initramfs image.
The only other piece of info I found, was this:

http://forums.gentoo.org/viewtopic-t-97 … art-0.html

Which basically suggest to recompile the Kernel and keeping track of two options. Arch Linux default Kernel config includes CONFIG_DRM_CIRRUS_QEMU as module, but CONFIG_FB_CIRRUS is not included. So basically, instead of being just a mere Driver, it is also requested to recompile the Kernel?


After all the info gathering, I prefer to ask directly. Knowing that it seems to be possible, do someone managed to get KMS working in a QEMU VM with the emulated Cirrus GPU? If so, what is needed to get it working in an Arch Linux install?

Offline

Board footer

Powered by FluxBB