From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: Is: QXL in Xen (busted) Was :Re: Xen 4.5-rc1 update (RC1 is out 2014-Oct-24th) Date: Mon, 3 Nov 2014 11:03:47 -0500 Message-ID: <20141103160347.GD1638@laptop.dumpdata.com> References: <20141024180843.EA0DF10D709@laptop.dumpdata.com> <544B5AF5.7050103@m2r.biz> <20141027161542.GK4050@laptop.dumpdata.com> <544F987E.5060508@m2r.biz> <20141028171811.GA27336@laptop.dumpdata.com> <20141031143338.GB6913@laptop.dumpdata.com> <54576188.9050500@m2r.biz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XlK8z-0007Fj-2q for xen-devel@lists.xenproject.org; Mon, 03 Nov 2014 16:06:13 +0000 Content-Disposition: inline In-Reply-To: <54576188.9050500@m2r.biz> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Fabio Fantoni Cc: Artem Mygaiev , Elena Ufimtseva , Ian Jackson , mengxu@cis.upenn.edu, M A Young , chao.p.peng@linux.intel.com, zhigang.x.wang@oracle.com, Parth Dixit , davi.d.vrabel@citrix.com, Paul.Skentzos@dornerworks.com, wency@cn.fujitsu.com, rcojocaru@bitdefender.com, guijianfeng@cn.fujitsu.com, Daniel Kiper , josh.whitehead@dornerworks.com, Arianna Avanzini , Anthony PERARD , xen-devel , Serge Broslavsky , yjhyun.yoo@samsung.com, Olaf Hering , Ian Campbell , Vijay Kilari , Stefano Stabellini , mcgrof@suse.com, Julien List-Id: xen-devel@lists.xenproject.org On Mon, Nov 03, 2014 at 12:05:44PM +0100, Fabio Fantoni wrote: > Il 31/10/2014 15:33, Konrad Rzeszutek Wilk ha scritto: > >>I always posted all versions of the patch in xen-devel, the latest was long > >>time ago. > >Sometimes you need to poke the maintainers. They (at least > >I do) have mailboxes so packed that sometimes emails end up > >going missing. But I think their arguments is going to be: > >lets figure out what is broken before putting this in the source. > > > >.. snip.. > >>>Does SPICE always have to be enabled to use QXL? > >>> > >.. snip .. > >>Xen with spice full working on both windows and linux (including > >>save/restore) used for both vkvm and thin client I think would be perfect. > >Right. But there is some work needed in that area (figure out what > >is happening on Linux). > > > >..snip.. > >>>OK, looking at how the driver is setup - it seems that there is an QXL > >>>KMS driver. If you boot without Xorg running but just with in the console > >>>can > >>>you use 'fbset' or any other framebuffer tools (linux-fb-tools)? > >>>That is I am curious to see whether the 'FB' is working properly first > >>>before figuring out whether Xorg is working. > >>> > >>Some tests ago I tried without xorg to see if kernel parts is ok (advice of > >>other developer) and seems was ok. > >What did you test? There is an 'drm-test' tool that was floating around? > >(http://cgit.freedesktop.org/mesa/drm/) > > > >It allows you to run most (if not all) of the Xorg functionality - but > >using an tool from user-space - and with much more exposure of what > >went wrong. > > > >Could you try the following (without having Xorg in either guest): > > 1). Boot up your KVM guest, install said tool - run it. Record what > > works and what does not. > > > > 2). Boot up your Xen guest, and do the same thing. > > > >That should narrow down which of the hundreds' of DRM ioctls is failing > >when using spice under Xen. And that ought to help narrow down this further. > > > >I can help you a bit by sending you some debug patches, thought I do > >have to warn you that I am under a lot of time-pressure so my response > >is not as fast as I would want it to be. > > > > I tested only without xorg, just console with drm without particular tests. > > I can't find the drm-test tool you mentioned, is it available in debian > and/or fedora repositories an what is it called? > I also did a quick google search and found only something about wayland and > not about X.org. I mentioned the URL in the email, but here it is again: http://cgit.freedesktop.org/mesa/drm/ You will need to compile it, etc. > > Thanks for any reply and sorry for my bad english.