All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Fantoni <fabio.fantoni@m2r.biz>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Artem Mygaiev <artem.mygaiev@globallogic.com>,
	Elena Ufimtseva <ufimtseva@gmail.com>,
	Ian Jackson <ian.jackson@eu.citrix.com>,
	mengxu@cis.upenn.edu, M A Young <m.a.young@durham.ac.uk>,
	chao.p.peng@linux.intel.com, zhigang.x.wang@oracle.com,
	Parth Dixit <parth.dixit@linaro.org>,
	davi.d.vrabel@citrix.com, Paul.Skentzos@dornerworks.com,
	wency@cn.fujitsu.com, rcojocaru@bitdefender.com,
	guijianfeng@cn.fujitsu.com,
	Daniel Kiper <daniel.kiper@oracle.com>,
	josh.whitehead@dornerworks.com,
	Arianna Avanzini <avanzini.arianna@gmail.com>,
	Anthony PERARD <anthony.perard@citrix.com>,
	xen-devel <xen-devel@lists.xenproject.org>,
	Serge Broslavsky <serge.broslavsky@linaro.org>,
	yjhyun.yoo@samsung.com, Olaf Hering <olaf@aepfle.de>,
	Ian Campbell <ian.campbell@citrix.com>,
	Vijay Kilari <vijay.kilari@gmail.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	mcgrof@suse.com, Julien
Subject: Re: Is: QXL in Xen (busted) Was :Re: Xen 4.5-rc1 update (RC1 is out 2014-Oct-24th)
Date: Thu, 06 Nov 2014 16:12:14 +0100	[thread overview]
Message-ID: <545B8FCE.60902@m2r.biz> (raw)
In-Reply-To: <20141103160347.GD1638@laptop.dumpdata.com>

Il 03/11/2014 17:03, Konrad Rzeszutek Wilk ha scritto:
> 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 your reply, sorry for my late reply, I was busy.
I prepared 2 Trusty (ubuntu 14.04) vm minimal for the tests (one on kvm 
and one on xen).
Started and both arrive to console login successfull and they have qxl 
kernel module active:

lsmod
...
qxl
drm_kms_helper qxl
drm qxl,ttm,drm_kms_helper
...

I downloaded compile and installed mesa/drm from git master brach
./configure
make
sudo make install

After I tried to execute the tests binary I found under test but all fails:
sudo ./modetest
...
no device found.

sudo ./vbltest
...
failed to load any modules, aborting.

sudo ./kmstest
main: Could not open device (Operation not permitted)

Same result on both xen and kvm.
Seems that there is any module in mesa/drm about qxl even if kernel 
modules is present and active and qxl xorg driver use it FWIK.

I did another fast search on google without found how to test qxl drm to 
find the difference between xen and kvm.
Someone can tell me what I must do to take useful data about xen and kvm 
difference for qxl problem?

I added also spice-devel to cc.

Thanks for any reply and sorry for my bad english.

  reply	other threads:[~2014-11-06 15:11 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-24 18:08 Xen 4.5-rc1 update (RC1 is out 2014-Oct-24th) konrad.wilk
2014-10-24 19:16 ` Andrew Cooper
2014-10-27  8:39   ` Paul Durrant
2014-10-27 10:01     ` Andrew Cooper
2014-10-27 13:48       ` Konrad Rzeszutek Wilk
2014-10-24 21:22 ` Boris Ostrovsky
2014-10-24 21:25   ` Andrew Cooper
2014-10-25  8:10 ` Fabio Fantoni
2014-10-27 16:15   ` Konrad Rzeszutek Wilk
2014-10-28 13:22     ` Fabio Fantoni
2014-10-28 17:18       ` Is: QXL in Xen (busted) Was :Re: " Konrad Rzeszutek Wilk
2014-10-28 18:25         ` Fabio Fantoni
2014-10-31 14:33           ` Konrad Rzeszutek Wilk
2014-11-03 11:05             ` Fabio Fantoni
2014-11-03 16:03               ` Konrad Rzeszutek Wilk
2014-11-06 15:12                 ` Fabio Fantoni [this message]
2014-11-12 10:32                   ` Fabio Fantoni
2014-10-27 16:07 ` Konrad Rzeszutek Wilk
2014-10-31  7:09 ` manish jaggi
2014-10-31 14:24   ` Konrad Rzeszutek Wilk
2014-10-31 14:31     ` Julien Grall
2014-10-31 21:01       ` Konrad Rzeszutek Wilk
2014-11-01 17:43         ` Julien Grall
2014-11-02  6:03           ` manish jaggi
2014-11-02 10:17             ` [ARM] SMMU and PCI passthrough Was: " Julien Grall
2014-11-03  5:08               ` manish jaggi
2014-11-03  9:52                 ` Julien Grall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=545B8FCE.60902@m2r.biz \
    --to=fabio.fantoni@m2r.biz \
    --cc=Paul.Skentzos@dornerworks.com \
    --cc=anthony.perard@citrix.com \
    --cc=artem.mygaiev@globallogic.com \
    --cc=avanzini.arianna@gmail.com \
    --cc=chao.p.peng@linux.intel.com \
    --cc=daniel.kiper@oracle.com \
    --cc=davi.d.vrabel@citrix.com \
    --cc=guijianfeng@cn.fujitsu.com \
    --cc=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=josh.whitehead@dornerworks.com \
    --cc=konrad.wilk@oracle.com \
    --cc=m.a.young@durham.ac.uk \
    --cc=mcgrof@suse.com \
    --cc=mengxu@cis.upenn.edu \
    --cc=olaf@aepfle.de \
    --cc=parth.dixit@linaro.org \
    --cc=rcojocaru@bitdefender.com \
    --cc=serge.broslavsky@linaro.org \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=ufimtseva@gmail.com \
    --cc=vijay.kilari@gmail.com \
    --cc=wency@cn.fujitsu.com \
    --cc=xen-devel@lists.xenproject.org \
    --cc=yjhyun.yoo@samsung.com \
    --cc=zhigang.x.wang@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.