From: Fabio Fantoni Subject: Re: Is: QXL in Xen (busted) Was :Re: Xen 4.5-rc1 update (RC1 is out 2014-Oct-24th) Date: Mon, 03 Nov 2014 12:05:44 +0100 Message-ID: <54576188.9050500@m2r.biz> 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XlFSI-0004W5-Gp for xen-devel@lists.xenproject.org; Mon, 03 Nov 2014 11:05:50 +0000 Received: by mail-wg0-f47.google.com with SMTP id a1so10793495wgh.34 for ; Mon, 03 Nov 2014 03:05:48 -0800 (PST) In-Reply-To: <20141031143338.GB6913@laptop.dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk 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 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. Thanks for any reply and sorry for my bad english.