Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: Devel

Unable to get QXL vga working

 

 

First page Previous page 1 2 Next page Last page  View All Xen devel RSS feed   Index | Next | Previous | View Threaded


fantonifabio at tiscali

Apr 26, 2012, 8:23 AM

Post #1 of 41 (1135 views)
Permalink
Unable to get QXL vga working

Dom0:
Wheezy 64 bit with kernel from package linux-image-3.2.0-2-amd64 version
3.2.15-1, package blktap-dkms and all dependency packages for xen, spice and
usb redirection.
-------------------------
/etc/modules
------------
loop max_loop=64
xenfs
xen-evtchn
blktap
-------------------------
hg clone http://xenbits.xen.org/xen-unstable.hg (in this build changeset is
25249:a4e7fce6ee2b)
vi Makefile # removed dist-kernel to not compile kernel
-------------------------
vi Config.mk # qemu upstream unstable and seabios upstream unstable for
various spice and qxl bugfix
------------
QEMU_UPSTREAM_URL ?= git://git.qemu.org/qemu.git
SEABIOS_UPSTREAM_URL ?= git://git.seabios.org/seabios.git
SEABIOS_UPSTREAM_TAG ?= rel-1.7.0
-------------------------
Added some patches:
- autoconf: add variable for pass arbitrary options to qemu upstream v3
- tools: Improve make deb
-------------------------
./configure --enable-qemuu-spice --enable-qemuu-usbredir
--enable-qemuu-debug
-------------------------
make deb

Tested it on Windows XP domU with this xl configuration file:
-------------------------------
XP.cfg
---------
name='XP'
builder="hvm"
memory=1024
vcpus=2
hap=1
pae=1
acpi=1
apic=1
nx=1
vif=['bridge=xenbr0']
#vfb=['vnc=1,vncunused=1,vnclisten=0.0.0.0,keymap=it']
#disk=['/mnt/vm/disks/XP.disk1.xm,raw,hda,rw',',raw,hdb,ro,cdrom']
disk=['/mnt/vm/disks/XP.disk1.xm,raw,hda,rw']
boot='cd'
xen_platform_pci=1
viridian=1
device_model_version="qemu-xen"
#device_model_override="/usr/lib/xen/bin/qemu-debug.sh"
#vnc=1
#vncunused=1
#vnclisten="0.0.0.0"
#keymap="it"
spice=1
spicehost="0.0.0.0"
spiceport=6000
spicedisable_ticketing=1
on_poweroff="destroy"
on_reboot="restart"
on_crash="destroy"
stdvga=1
#device_model_args=["-vga qxl -global qxl-vga.vram_size_mb=16"]
#videoram=128
#device_model_args=["-vga qxl"]
-------------------------------
With stdvga option domU is working but graphic performance is poor with
spice.


With QXL vga option domU
-------------------------------
videoram=128
device_model_args=["-vga qxl"]
stdvga=0
-------------------------------
DomU not start, from qemu log:
qemu-system-i386: -vga qxl: invalid option

But the option is correct and if I add:
device_model_override="/usr/lib/xen/bin/qemu-debug.sh"

qemu-debug.sh launches the same qemu-system-i386 with same options and domU
starts.
DomU sees the QXL vga but only with 4 mb allocated and/or usabled instead of
64 mb of qemu default.

We need domUs with good graphic performance, also with high resolution and
also multimedia.
We can not use gfx passthrough on our dom0s because of hardware limitation
of dell server.
QXL seems to be the only way to go.

We are testing this setup several months without success on xen.
Some initial xl and qemu ram/videoram bugs are now fixed but may be there
are other in xen not found for now.

We noticed one particular thing:

without qxl:
xc: info: VIRTUAL MEMORY ARRANGEMENT:
Loader: 0000000000100000->000000000019dc88
TOTAL: 0000000000000000->000000003f800000
ENTRY ADDRESS: 0000000000100000

with qxl:
xc: info: VIRTUAL MEMORY ARRANGEMENT:
Loader: 0000000000100000->000000000019dc88
TOTAL: 0000000000000000->0000000038000000
ENTRY ADDRESS: 0000000000100000

The total memory with qxl should be equal or major than total memory without
qxl.
There is something wrong about videoram, i don't know if in xl or other part
of xen.

Please someone help me to solve this problem?

--
View this message in context: http://xen.1045712.n5.nabble.com/Unable-to-get-QXL-vga-working-tp5667919p5667919.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


Ian.Campbell at citrix

Apr 26, 2012, 8:39 AM

Post #2 of 41 (1111 views)
Permalink
Re: Unable to get QXL vga working [In reply to]

CCing Zhou Peng who originally added spice support to xl. Zhou, are you
interested in supporting this feature?

On Thu, 2012-04-26 at 16:23 +0100, Fantu wrote:
> Dom0:
> Wheezy 64 bit with kernel from package linux-image-3.2.0-2-amd64 version
> 3.2.15-1, package blktap-dkms and all dependency packages for xen, spice and
> usb redirection.
> -------------------------
> /etc/modules
> ------------
> loop max_loop=64
> xenfs
> xen-evtchn
> blktap
> -------------------------
> hg clone http://xenbits.xen.org/xen-unstable.hg (in this build changeset is
> 25249:a4e7fce6ee2b)
> vi Makefile # removed dist-kernel to not compile kernel
> -------------------------
> vi Config.mk # qemu upstream unstable and seabios upstream unstable for
> various spice and qxl bugfix
> ------------
> QEMU_UPSTREAM_URL ?= git://git.qemu.org/qemu.git
> SEABIOS_UPSTREAM_URL ?= git://git.seabios.org/seabios.git
> SEABIOS_UPSTREAM_TAG ?= rel-1.7.0
> -------------------------
> Added some patches:
> - autoconf: add variable for pass arbitrary options to qemu upstream v3
> - tools: Improve make deb
> -------------------------
> ./configure --enable-qemuu-spice --enable-qemuu-usbredir
> --enable-qemuu-debug
> -------------------------
> make deb
>
> Tested it on Windows XP domU with this xl configuration file:
> -------------------------------
> XP.cfg
> ---------
> name='XP'
> builder="hvm"
> memory=1024
> vcpus=2
> hap=1
> pae=1
> acpi=1
> apic=1
> nx=1
> vif=['bridge=xenbr0']
> #vfb=['vnc=1,vncunused=1,vnclisten=0.0.0.0,keymap=it']
> #disk=['/mnt/vm/disks/XP.disk1.xm,raw,hda,rw',',raw,hdb,ro,cdrom']
> disk=['/mnt/vm/disks/XP.disk1.xm,raw,hda,rw']
> boot='cd'
> xen_platform_pci=1
> viridian=1
> device_model_version="qemu-xen"
> #device_model_override="/usr/lib/xen/bin/qemu-debug.sh"
> #vnc=1
> #vncunused=1
> #vnclisten="0.0.0.0"
> #keymap="it"
> spice=1
> spicehost="0.0.0.0"
> spiceport=6000
> spicedisable_ticketing=1
> on_poweroff="destroy"
> on_reboot="restart"
> on_crash="destroy"
> stdvga=1
> #device_model_args=["-vga qxl -global qxl-vga.vram_size_mb=16"]
> #videoram=128
> #device_model_args=["-vga qxl"]
> -------------------------------
> With stdvga option domU is working but graphic performance is poor with
> spice.
>
>
> With QXL vga option domU
> -------------------------------
> videoram=128
> device_model_args=["-vga qxl"]
> stdvga=0
> -------------------------------
> DomU not start, from qemu log:
> qemu-system-i386: -vga qxl: invalid option
>
> But the option is correct and if I add:
> device_model_override="/usr/lib/xen/bin/qemu-debug.sh"
>
> qemu-debug.sh launches the same qemu-system-i386 with same options and domU
> starts.
> DomU sees the QXL vga but only with 4 mb allocated and/or usabled instead of
> 64 mb of qemu default.
>
> We need domUs with good graphic performance, also with high resolution and
> also multimedia.
> We can not use gfx passthrough on our dom0s because of hardware limitation
> of dell server.
> QXL seems to be the only way to go.
>
> We are testing this setup several months without success on xen.
> Some initial xl and qemu ram/videoram bugs are now fixed but may be there
> are other in xen not found for now.
>
> We noticed one particular thing:
>
> without qxl:
> xc: info: VIRTUAL MEMORY ARRANGEMENT:
> Loader: 0000000000100000->000000000019dc88
> TOTAL: 0000000000000000->000000003f800000
> ENTRY ADDRESS: 0000000000100000
>
> with qxl:
> xc: info: VIRTUAL MEMORY ARRANGEMENT:
> Loader: 0000000000100000->000000000019dc88
> TOTAL: 0000000000000000->0000000038000000
> ENTRY ADDRESS: 0000000000100000
>
> The total memory with qxl should be equal or major than total memory without
> qxl.
> There is something wrong about videoram, i don't know if in xl or other part
> of xen.
>
> Please someone help me to solve this problem?
>
> --
> View this message in context: http://xen.1045712.n5.nabble.com/Unable-to-get-QXL-vga-working-tp5667919p5667919.html
> Sent from the Xen - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel [at] lists
> http://lists.xen.org/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


zpengxen at gmail

Apr 26, 2012, 10:15 PM

Post #3 of 41 (1107 views)
Permalink
Re: Unable to get QXL vga working [In reply to]

Hi Fantu,

Thanks for your response.

xl doesn't support qxl-related option at the moment.
I will test upstream-qemu-xen these days, and if it works well
with qxl device, I will be glad to add qxl support to xl.

Best,

On Thu, Apr 26, 2012 at 11:39 PM, Ian Campbell <Ian.Campbell [at] citrix> wrote:
> CCing Zhou Peng who originally added spice support to xl. Zhou, are you
> interested in supporting this feature?
>
> On Thu, 2012-04-26 at 16:23 +0100, Fantu wrote:
>> Dom0:
>> Wheezy 64 bit with kernel from package linux-image-3.2.0-2-amd64 version
>> 3.2.15-1, package blktap-dkms and all dependency packages for xen, spice and
>> usb redirection.
>> -------------------------
>> /etc/modules
>> ------------
>> loop max_loop=64
>> xenfs
>> xen-evtchn
>> blktap
>> -------------------------
>> hg clone http://xenbits.xen.org/xen-unstable.hg (in this build changeset is
>> 25249:a4e7fce6ee2b)
>> vi Makefile # removed dist-kernel to not compile kernel
>> -------------------------
>> vi Config.mk # qemu upstream unstable and seabios upstream unstable for
>> various spice and qxl bugfix
>> ------------
>> QEMU_UPSTREAM_URL ?= git://git.qemu.org/qemu.git
>> SEABIOS_UPSTREAM_URL ?= git://git.seabios.org/seabios.git
>> SEABIOS_UPSTREAM_TAG ?= rel-1.7.0
>> -------------------------
>> Added some patches:
>> - autoconf: add variable for pass arbitrary options to qemu upstream v3
>> - tools: Improve make deb
>> -------------------------
>> ./configure --enable-qemuu-spice --enable-qemuu-usbredir
>> --enable-qemuu-debug
>> -------------------------
>> make deb
>>
>> Tested it on Windows XP domU with this xl configuration file:
>> -------------------------------
>> XP.cfg
>> ---------
>> name='XP'
>> builder="hvm"
>> memory=1024
>> vcpus=2
>> hap=1
>> pae=1
>> acpi=1
>> apic=1
>> nx=1
>> vif=['bridge=xenbr0']
>> #vfb=['vnc=1,vncunused=1,vnclisten=0.0.0.0,keymap=it']
>> #disk=['/mnt/vm/disks/XP.disk1.xm,raw,hda,rw',',raw,hdb,ro,cdrom']
>> disk=['/mnt/vm/disks/XP.disk1.xm,raw,hda,rw']
>> boot='cd'
>> xen_platform_pci=1
>> viridian=1
>> device_model_version="qemu-xen"
>> #device_model_override="/usr/lib/xen/bin/qemu-debug.sh"
>> #vnc=1
>> #vncunused=1
>> #vnclisten="0.0.0.0"
>> #keymap="it"
>> spice=1
>> spicehost="0.0.0.0"
>> spiceport=6000
>> spicedisable_ticketing=1
>> on_poweroff="destroy"
>> on_reboot="restart"
>> on_crash="destroy"
>> stdvga=1
>> #device_model_args=["-vga qxl -global qxl-vga.vram_size_mb=16"]
>> #videoram=128
>> #device_model_args=["-vga qxl"]
>> -------------------------------
>> With stdvga option domU is working but graphic performance is poor with
>> spice.
>>
>>
>> With QXL vga option domU
>> -------------------------------
>> videoram=128
>> device_model_args=["-vga qxl"]
>> stdvga=0
>> -------------------------------
>> DomU not start, from qemu log:
>> qemu-system-i386: -vga qxl: invalid option
>>
>> But the option is correct and if I add:
>> device_model_override="/usr/lib/xen/bin/qemu-debug.sh"
>>
>> qemu-debug.sh launches the same qemu-system-i386 with same options and domU
>> starts.
>> DomU sees the QXL vga but only with 4 mb allocated and/or usabled instead of
>> 64 mb of qemu default.
>>
>> We need domUs with good graphic performance, also with high resolution and
>> also multimedia.
>> We can not use gfx passthrough on our dom0s because of hardware limitation
>> of dell server.
>> QXL seems to be the only way to go.
>>
>> We are testing this setup several months without success on xen.
>> Some initial xl and qemu ram/videoram bugs are now fixed but may be there
>> are other in xen not found for now.
>>
>> We noticed one particular thing:
>>
>> without qxl:
>> xc: info: VIRTUAL MEMORY ARRANGEMENT:
>> Loader: 0000000000100000->000000000019dc88
>> TOTAL: 0000000000000000->000000003f800000
>> ENTRY ADDRESS: 0000000000100000
>>
>> with qxl:
>> xc: info: VIRTUAL MEMORY ARRANGEMENT:
>> Loader: 0000000000100000->000000000019dc88
>> TOTAL: 0000000000000000->0000000038000000
>> ENTRY ADDRESS: 0000000000100000
>>
>> The total memory with qxl should be equal or major than total memory without
>> qxl.
>> There is something wrong about videoram, i don't know if in xl or other part
>> of xen.
>>
>> Please someone help me to solve this problem?
>>
>> --
>> View this message in context: http://xen.1045712.n5.nabble.com/Unable-to-get-QXL-vga-working-tp5667919p5667919.html
>> Sent from the Xen - Dev mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel [at] lists
>> http://lists.xen.org/xen-devel
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel [at] lists
> http://lists.xen.org/xen-devel



--
Zhou Peng

_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


fantonifabio at tiscali

Apr 27, 2012, 2:23 AM

Post #4 of 41 (1108 views)
Permalink
Re: Unable to get QXL vga working [In reply to]

Zhou Peng wrote
>
> Hi Fantu,
>
> Thanks for your response.
>
> xl doesn't support qxl-related option at the moment.
> I will test upstream-qemu-xen these days, and if it works well
> with qxl device, I will be glad to add qxl support to xl.
>
> Best,
>
> On Thu, Apr 26, 2012 at 11:39 PM, Ian Campbell &lt;Ian.Campbell@&gt;
> wrote:
>> CCing Zhou Peng who originally added spice support to xl. Zhou, are you
>> interested in supporting this feature?
>>
>> On Thu, 2012-04-26 at 16:23 +0100, Fantu wrote:
>>> Dom0:
>>> Wheezy 64 bit with kernel from package linux-image-3.2.0-2-amd64 version
>>> 3.2.15-1, package blktap-dkms and all dependency packages for xen, spice
>>> and
>>> usb redirection.
>>> -------------------------
>>> /etc/modules
>>> ------------
>>> loop max_loop=64
>>> xenfs
>>> xen-evtchn
>>> blktap
>>> -------------------------
>>> hg clone http://xenbits.xen.org/xen-unstable.hg (in this build changeset
>>> is
>>> 25249:a4e7fce6ee2b)
>>> vi Makefile # removed dist-kernel to not compile kernel
>>> -------------------------
>>> vi Config.mk # qemu upstream unstable and seabios upstream unstable for
>>> various spice and qxl bugfix
>>> ------------
>>> QEMU_UPSTREAM_URL ?= git://git.qemu.org/qemu.git
>>> SEABIOS_UPSTREAM_URL ?= git://git.seabios.org/seabios.git
>>> SEABIOS_UPSTREAM_TAG ?= rel-1.7.0
>>> -------------------------
>>> Added some patches:
>>> - autoconf: add variable for pass arbitrary options to qemu upstream v3
>>> - tools: Improve make deb
>>> -------------------------
>>> ./configure --enable-qemuu-spice --enable-qemuu-usbredir
>>> --enable-qemuu-debug
>>> -------------------------
>>> make deb
>>>
>>> Tested it on Windows XP domU with this xl configuration file:
>>> -------------------------------
>>> XP.cfg
>>> ---------
>>> name='XP'
>>> builder="hvm"
>>> memory=1024
>>> vcpus=2
>>> hap=1
>>> pae=1
>>> acpi=1
>>> apic=1
>>> nx=1
>>> vif=['bridge=xenbr0']
>>> #vfb=['vnc=1,vncunused=1,vnclisten=0.0.0.0,keymap=it']
>>> #disk=['/mnt/vm/disks/XP.disk1.xm,raw,hda,rw',',raw,hdb,ro,cdrom']
>>> disk=['/mnt/vm/disks/XP.disk1.xm,raw,hda,rw']
>>> boot='cd'
>>> xen_platform_pci=1
>>> viridian=1
>>> device_model_version="qemu-xen"
>>> #device_model_override="/usr/lib/xen/bin/qemu-debug.sh"
>>> #vnc=1
>>> #vncunused=1
>>> #vnclisten="0.0.0.0"
>>> #keymap="it"
>>> spice=1
>>> spicehost="0.0.0.0"
>>> spiceport=6000
>>> spicedisable_ticketing=1
>>> on_poweroff="destroy"
>>> on_reboot="restart"
>>> on_crash="destroy"
>>> stdvga=1
>>> #device_model_args=["-vga qxl -global qxl-vga.vram_size_mb=16"]
>>> #videoram=128
>>> #device_model_args=["-vga qxl"]
>>> -------------------------------
>>> With stdvga option domU is working but graphic performance is poor with
>>> spice.
>>>
>>>
>>> With QXL vga option domU
>>> -------------------------------
>>> videoram=128
>>> device_model_args=["-vga qxl"]
>>> stdvga=0
>>> -------------------------------
>>> DomU not start, from qemu log:
>>> qemu-system-i386: -vga qxl: invalid option
>>>
>>> But the option is correct and if I add:
>>> device_model_override="/usr/lib/xen/bin/qemu-debug.sh"
>>>
>>> qemu-debug.sh launches the same qemu-system-i386 with same options and
>>> domU
>>> starts.
>>> DomU sees the QXL vga but only with 4 mb allocated and/or usabled
>>> instead of
>>> 64 mb of qemu default.
>>>
>>> We need domUs with good graphic performance, also with high resolution
>>> and
>>> also multimedia.
>>> We can not use gfx passthrough on our dom0s because of hardware
>>> limitation
>>> of dell server.
>>> QXL seems to be the only way to go.
>>>
>>> We are testing this setup several months without success on xen.
>>> Some initial xl and qemu ram/videoram bugs are now fixed but may be
>>> there
>>> are other in xen not found for now.
>>>
>>> We noticed one particular thing:
>>>
>>> without qxl:
>>> xc: info: VIRTUAL MEMORY ARRANGEMENT:
>>>   Loader:        0000000000100000->000000000019dc88
>>>   TOTAL:         0000000000000000->000000003f800000
>>>   ENTRY ADDRESS: 0000000000100000
>>>
>>> with qxl:
>>> xc: info: VIRTUAL MEMORY ARRANGEMENT:
>>>   Loader:        0000000000100000->000000000019dc88
>>>   TOTAL:         0000000000000000->0000000038000000
>>>   ENTRY ADDRESS: 0000000000100000
>>>
>>> The total memory with qxl should be equal or major than total memory
>>> without
>>> qxl.
>>> There is something wrong about videoram, i don't know if in xl or other
>>> part
>>> of xen.
>>>
>>> Please someone help me to solve this problem?
>>>
>>> --
>>> View this message in context:
>>> http://xen.1045712.n5.nabble.com/Unable-to-get-QXL-vga-working-tp5667919p5667919.html
>>> Sent from the Xen - Dev mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@.xen
>>> http://lists.xen.org/xen-devel
>>
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@.xen
>> http://lists.xen.org/xen-devel
>
>
>
> --
> Zhou Peng
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@.xen
> http://lists.xen.org/xen-devel
>


Thanks for reply, about QXL some patches need to be backported from qemu
upstream unstable to qemu upstream xen, now I don't know exactly which of
them solve the domU boot problem with spice and qxl, with qemu and seabios
of xen (1.0.1) doesn't work while with qemu and seabios unstable it does.
There are also some videoram bug or problem on xen, probably bugfix/patch
are necessary also outside of libxl, I tried to look for the problem and
solve it myself but I don't have enough knowledge now.

--
View this message in context: http://xen.1045712.n5.nabble.com/Unable-to-get-QXL-vga-working-tp5667919p5669805.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


fantonifabio at tiscali

May 2, 2012, 1:21 AM

Post #5 of 41 (1101 views)
Permalink
Re: Unable to get QXL vga working [In reply to]

Zhou Peng wrote
>
> Hi Fantu,
>
> Thanks for your response.
>
> xl doesn't support qxl-related option at the moment.
> I will test upstream-qemu-xen these days, and if it works well
> with qxl device, I will be glad to add qxl support to xl.
>
Hello, any news about this?
Thanks in advance


--
View this message in context: http://xen.1045712.n5.nabble.com/Unable-to-get-QXL-vga-working-tp5667919p5679908.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


zpengxen at gmail

May 3, 2012, 4:31 AM

Post #6 of 41 (1101 views)
Permalink
Re: Unable to get QXL vga working [In reply to]

On Wed, May 2, 2012 at 4:21 PM, Fantu <fantonifabio [at] tiscali> wrote:
>
> Zhou Peng wrote
>>
>> Hi Fantu,
>>
>> Thanks for your response.
>>
>> xl doesn't support qxl-related option at the moment.
>> I will test upstream-qemu-xen these days, and if it works well
>> with qxl device, I will be glad to add qxl support to xl.
>>
> Hello, any news about this?
> Thanks in advance

It seems you are using the upstream-qemu.
There are some special patches for upstream-qemu-xen(I don't track if all the
patches have been accepted by qemu)

The git repos for upstream-qemu-xen:
Stefano Stabellini's tree:
git://xenbits.xen.org/people/sstabellini/qemu-dm.git
Anthony's tree: git://xenbits.xen.org/people/aperard/qemu-dm.git

I am watching upstream-qemu-xen's progress too, but I have not tracked
it for months.

I was plan to test the latest upstream-qemu-xen and response to you,
but I encounter a problem when preparing the environment using the upstream xen:
# xl list
libxl: error: libxl.c:506:libxl_list_domain: geting domain info
list: Operation not permitted
libxl_domain_infolist failed.

So I suggest you to have a try of upstream-qemu-xen if not yet.
In my test many months ago, it didn't support graphic, and spice was tested
with linux-hvm disabling graphic.

How to configure upstream-qemu-xen:
./configure --target-list=i386-softmmu --enable-spice
--enable-xen --extra-cflags=-I${path-to-xen}/dist/install/usr/include
--extra-ldflags=-L${path-to-xen}/dist/install/usr/lib

CCing to Stefano, who may help you on upstream-qemu-xen.
>
> --
> View this message in context: http://xen.1045712.n5.nabble.com/Unable-to-get-QXL-vga-working-tp5667919p5679908.html
> Sent from the Xen - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel [at] lists
> http://lists.xen.org/xen-devel



--
Zhou Peng

_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


fantonifabio at tiscali

May 3, 2012, 5:28 AM

Post #7 of 41 (1092 views)
Permalink
Re: Unable to get QXL vga working [In reply to]

upstream-qemu-xen extra patches are included in upstream-qemu unstable (now
at 1.1-rc0)
I can run hvm domU correctly, on xen-unstable with xl, also with spice.
Some info about my last test system:
Dom0:
Wheezy 64 bit with kernel from package linux-image-3.2.0-2-amd64 version
3.2.15-1, package blktap-dkms and all dependency packages for xen, spice and
usb redirection.
-------------------------
/etc/modules
------------
loop max_loop=64
xenfs
xen-evtchn
blktap
-------------------------
hg clone http://xenbits.xen.org/xen-unstable.hg (in this build changeset is
25249:a4e7fce6ee2b)
vi Makefile # removed dist-kernel to not compile kernel
-------------------------
Added some patches:
- autoconf: add variable for pass arbitrary options to qemu upstream v3
- tools: Improve make deb
-------------------------
./configure --enable-qemuu-spice --enable-qemuu-usbredir
--enable-qemuu-debug
-------------------------
make deb

One domU xl configuration file:
---------------------------------
XP.cfg
-------------
name='XP'
builder="hvm"
memory=1024
vcpus=2
hap=1
pae=1
acpi=1
apic=1
nx=1
vif=['bridge=xenbr0']
#vfb=['vnc=1,vncunused=1,vnclisten=0.0.0.0,keymap=it']
disk=['/mnt/vm/disks/XP.disk1.xm,raw,hda,rw']
boot='cd'
xen_platform_pci=1
viridian=1
device_model_version="qemu-xen"
#vnc=1
#vncunused=1
#vnclisten="0.0.0.0"
#keymap="it"
spice=1
spicehost="0.0.0.0"
spiceport=6000
spicedisable_ticketing=1
on_poweroff="destroy"
on_reboot="restart"
on_crash="destroy"
stdvga=1
---------------------------------

About QXL I tried to add:
stdvga=0
videoram=128
device_model_args=["-device","qxl-vga"]

About qxl there are problems about videoram not allocated or not used over 4
mb (same as default cirrus vga).
At the moment I haven't found solution for this problem, probably some
bugfix and/or change are needed on xen.

--
View this message in context: http://xen.1045712.n5.nabble.com/Unable-to-get-QXL-vga-working-tp5667919p5683034.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


stefano.stabellini at eu

May 3, 2012, 5:46 AM

Post #8 of 41 (1098 views)
Permalink
Re: Unable to get QXL vga working [In reply to]

On Thu, 3 May 2012, ZhouPeng wrote:
> On Wed, May 2, 2012 at 4:21 PM, Fantu <fantonifabio [at] tiscali> wrote:
> >
> > Zhou Peng wrote
> >>
> >> Hi Fantu,
> >>
> >> Thanks for your response.
> >>
> >> xl doesn't support qxl-related option at the moment.
> >> I will test upstream-qemu-xen these days, and if it works well
> >> with qxl device, I will be glad to add qxl support to xl.
> >>
> > Hello, any news about this?
> > Thanks in advance
>
> It seems you are using the upstream-qemu.
> There are some special patches for upstream-qemu-xen(I don't track if all the
> patches have been accepted by qemu)
>
> The git repos for upstream-qemu-xen:
> Stefano Stabellini's tree:
> git://xenbits.xen.org/people/sstabellini/qemu-dm.git
> Anthony's tree: git://xenbits.xen.org/people/aperard/qemu-dm.git
>
> I am watching upstream-qemu-xen's progress too, but I have not tracked
> it for months.

That is my personal tree. Now upstream QEMU is integrated in
xen-unstable, so the tree that should be used
is: http://xenbits.xen.org/git-http/qemu-upstream-unstable.git


> I was plan to test the latest upstream-qemu-xen and response to you,
> but I encounter a problem when preparing the environment using the upstream xen:
> # xl list
> libxl: error: libxl.c:506:libxl_list_domain: geting domain info
> list: Operation not permitted
> libxl_domain_infolist failed.

This looks like a basic setup issue.


> So I suggest you to have a try of upstream-qemu-xen if not yet.
> In my test many months ago, it didn't support graphic, and spice was tested
> with linux-hvm disabling graphic.

What do you mean by "disabling graphic"? Do you mean disabling the vga
card?


> How to configure upstream-qemu-xen:
> ./configure --target-list=i386-softmmu --enable-spice
> --enable-xen --extra-cflags=-I${path-to-xen}/dist/install/usr/include
> --extra-ldflags=-L${path-to-xen}/dist/install/usr/lib
>
> CCing to Stefano, who may help you on upstream-qemu-xen.

Yes, it is true that you need to add --enable-spice to the configure
command line options.

_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


zpengxen at gmail

May 3, 2012, 5:56 AM

Post #9 of 41 (1098 views)
Permalink
Re: Unable to get QXL vga working [In reply to]

On Thu, May 3, 2012 at 8:46 PM, Stefano Stabellini
<stefano.stabellini [at] eu> wrote:
> On Thu, 3 May 2012, ZhouPeng wrote:
>> On Wed, May 2, 2012 at 4:21 PM, Fantu <fantonifabio [at] tiscali> wrote:
>> >
>> > Zhou Peng wrote
>> >>
>> >> Hi Fantu,
>> >>
>> >> Thanks for your response.
>> >>
>> >> xl doesn't support qxl-related option at the moment.
>> >> I will test upstream-qemu-xen these days, and if it works well
>> >> with qxl device, I will be glad to add qxl support to xl.
>> >>
>> > Hello, any news about this?
>> > Thanks in advance
>>
>> It seems you are using the upstream-qemu.
>> There are some special patches for upstream-qemu-xen(I don't track if all the
>> patches have been accepted by qemu)
>>
>> The git repos for upstream-qemu-xen:
>> Stefano Stabellini's tree:
>> git://xenbits.xen.org/people/sstabellini/qemu-dm.git
>> Anthony's tree: git://xenbits.xen.org/people/aperard/qemu-dm.git
>>
>> I am watching upstream-qemu-xen's progress too, but I have not tracked
>> it for months.
>
> That is my personal tree. Now upstream QEMU is integrated in
> xen-unstable, so the tree that should be used
> is: http://xenbits.xen.org/git-http/qemu-upstream-unstable.git
>
>
>> I was plan to test the latest upstream-qemu-xen and response to you,
>> but I encounter a problem when preparing the environment using the upstream xen:
>> # xl list
>> libxl: error: libxl.c:506:libxl_list_domain: geting domain info
>> list: Operation not permitted
>> libxl_domain_infolist failed.
>
> This looks like a basic setup issue.
>
>
>> So I suggest you to have a try of upstream-qemu-xen if not yet.
>> In my test many months ago, it didn't support graphic, and spice was tested
>> with linux-hvm disabling graphic.
>
> What do you mean by "disabling graphic"? Do you mean disabling the vga
> card?
No, not disable the vga card.
But booting in Text mode.
>
>> How to configure upstream-qemu-xen:
>> ./configure --target-list=i386-softmmu --enable-spice
>> --enable-xen --extra-cflags=-I${path-to-xen}/dist/install/usr/include
>> --extra-ldflags=-L${path-to-xen}/dist/install/usr/lib
>>
>> CCing to Stefano, who may help you on upstream-qemu-xen.
>
> Yes, it is true that you need to add --enable-spice to the configure
> command line options.



--
Zhou Peng

_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


stefano.stabellini at eu

May 3, 2012, 6:05 AM

Post #10 of 41 (1099 views)
Permalink
Re: Unable to get QXL vga working [In reply to]

On Thu, 3 May 2012, ZhouPeng wrote:
> On Thu, May 3, 2012 at 8:46 PM, Stefano Stabellini
> <stefano.stabellini [at] eu> wrote:
> > On Thu, 3 May 2012, ZhouPeng wrote:
> >> On Wed, May 2, 2012 at 4:21 PM, Fantu <fantonifabio [at] tiscali> wrote:
> >> >
> >> > Zhou Peng wrote
> >> >>
> >> >> Hi Fantu,
> >> >>
> >> >> Thanks for your response.
> >> >>
> >> >> xl doesn't support qxl-related option at the moment.
> >> >> I will test upstream-qemu-xen these days, and if it works well
> >> >> with qxl device, I will be glad to add qxl support to xl.
> >> >>
> >> > Hello, any news about this?
> >> > Thanks in advance
> >>
> >> It seems you are using the upstream-qemu.
> >> There are some special patches for upstream-qemu-xen(I don't track if all the
> >> patches have been accepted by qemu)
> >>
> >> The git repos for upstream-qemu-xen:
> >>   Stefano Stabellini's tree:
> >> git://xenbits.xen.org/people/sstabellini/qemu-dm.git
> >>   Anthony's tree: git://xenbits.xen.org/people/aperard/qemu-dm.git
> >>
> >> I am watching upstream-qemu-xen's progress too, but I have not tracked
> >> it for months.
> >
> > That is my personal tree. Now upstream QEMU is integrated in
> > xen-unstable, so the tree that should be used
> > is: http://xenbits.xen.org/git-http/qemu-upstream-unstable.git
> >
> >
> >> I was plan to test the latest upstream-qemu-xen and response to you,
> >> but I encounter a problem when preparing the environment using the upstream xen:
> >>   # xl list
> >>   libxl: error: libxl.c:506:libxl_list_domain: geting domain info
> >> list: Operation not permitted
> >>   libxl_domain_infolist failed.
> >
> > This looks like a basic setup issue.
> >
> >
> >> So I suggest you  to have a try of upstream-qemu-xen if not yet.
> >> In my test many months ago, it didn't support graphic, and spice was tested
> >> with linux-hvm disabling graphic.
> >
> > What do you mean by "disabling graphic"? Do you mean disabling the vga
> > card?
> No, not disable the vga card.
> But booting in Text mode.

Then you are manually starting X11 with the spice driver?


zpengxen at gmail

May 3, 2012, 6:05 AM

Post #11 of 41 (1095 views)
Permalink
Re: Unable to get QXL vga working [In reply to]

On Thu, May 3, 2012 at 9:05 PM, Stefano Stabellini
<stefano.stabellini [at] eu> wrote:
> On Thu, 3 May 2012, ZhouPeng wrote:
>> On Thu, May 3, 2012 at 8:46 PM, Stefano Stabellini
>> <stefano.stabellini [at] eu> wrote:
>> > On Thu, 3 May 2012, ZhouPeng wrote:
>> >> On Wed, May 2, 2012 at 4:21 PM, Fantu <fantonifabio [at] tiscali> wrote:
>> >> >
>> >> > Zhou Peng wrote
>> >> >>
>> >> >> Hi Fantu,
>> >> >>
>> >> >> Thanks for your response.
>> >> >>
>> >> >> xl doesn't support qxl-related option at the moment.
>> >> >> I will test upstream-qemu-xen these days, and if it works well
>> >> >> with qxl device, I will be glad to add qxl support to xl.
>> >> >>
>> >> > Hello, any news about this?
>> >> > Thanks in advance
>> >>
>> >> It seems you are using the upstream-qemu.
>> >> There are some special patches for upstream-qemu-xen(I don't track if all the
>> >> patches have been accepted by qemu)
>> >>
>> >> The git repos for upstream-qemu-xen:
>> >> Stefano Stabellini's tree:
>> >> git://xenbits.xen.org/people/sstabellini/qemu-dm.git
>> >> Anthony's tree: git://xenbits.xen.org/people/aperard/qemu-dm.git
>> >>
>> >> I am watching upstream-qemu-xen's progress too, but I have not tracked
>> >> it for months.
>> >
>> > That is my personal tree. Now upstream QEMU is integrated in
>> > xen-unstable, so the tree that should be used
>> > is: http://xenbits.xen.org/git-http/qemu-upstream-unstable.git
>> >
>> >
>> >> I was plan to test the latest upstream-qemu-xen and response to you,
>> >> but I encounter a problem when preparing the environment using the upstream xen:
>> >> # xl list
>> >> libxl: error: libxl.c:506:libxl_list_domain: geting domain info
>> >> list: Operation not permitted
>> >> libxl_domain_infolist failed.
>> >
>> > This looks like a basic setup issue.
>> >
>> >
>> >> So I suggest you to have a try of upstream-qemu-xen if not yet.
>> >> In my test many months ago, it didn't support graphic, and spice was tested
>> >> with linux-hvm disabling graphic.
>> >
>> > What do you mean by "disabling graphic"? Do you mean disabling the vga
>> > card?
>> No, not disable the vga card.
>> But booting in Text mode.
>
> Then you are manually starting X11 with the spice driver?
Always in text mode.
Never start X11.
Using stdard vga but not qxl-vga.
--
Zhou Peng

_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


Ian.Campbell at citrix

May 3, 2012, 6:13 AM

Post #12 of 41 (1095 views)
Permalink
Re: Unable to get QXL vga working [In reply to]

On Thu, 2012-05-03 at 14:05 +0100, ZhouPeng wrote:
> > Then you are manually starting X11 with the spice driver?
> Always in text mode.
> Never start X11.
> Using stdard vga but not qxl-vga.

How is spice being used when you do this?

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


zpengxen at gmail

May 3, 2012, 6:27 AM

Post #13 of 41 (1100 views)
Permalink
Re: Unable to get QXL vga working [In reply to]

On Thu, May 3, 2012 at 9:13 PM, Ian Campbell <Ian.Campbell [at] citrix> wrote:
> On Thu, 2012-05-03 at 14:05 +0100, ZhouPeng wrote:
>> > Then you are manually starting X11 with the spice driver?
>> Always in text mode.
>> Never start X11.
>> Using stdard vga but not qxl-vga.
>
> How is spice being used when you do this?
>
> Ian.
>
building upstream-qemu-xen (enable spice and xen)

Add this options in hvm-cfg to enable spice protocal
spice=1
spiceport=6000
spicehost='192.168.1.187'
spicedisable_ticketing = 1

There is some info in
http://code.google.com/p/spice4xen/wiki/Using_Upstream_Qemu

ps:
Two ways to disable graphic boot.
* install a new linux-hvm without graphic in install period
* set runlevel in text mode

If boot in graphic, the hvm-windows and hvm-linux will crash down
before booting completely.
--
Zhou Peng

_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


stefano.stabellini at eu

May 3, 2012, 6:56 AM

Post #14 of 41 (1099 views)
Permalink
Re: Unable to get QXL vga working [In reply to]

On Thu, 3 May 2012, ZhouPeng wrote:
> >> > What do you mean by "disabling graphic"? Do you mean disabling the vga
> >> > card?
> >> No, not disable the vga card.
> >> But booting in Text mode.
> >
> > Then you are manually starting X11 with the spice driver?
> Always in text mode.
> Never start X11.
> Using stdard vga but not qxl-vga.

so you didn't actually test qxl at all, did you?

_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


pasik at iki

May 3, 2012, 7:00 AM

Post #15 of 41 (1103 views)
Permalink
Re: Unable to get QXL vga working / videomem over 4MB issue [In reply to]

On Thu, May 03, 2012 at 05:28:44AM -0700, Fantu wrote:
>
> About qxl there are problems about videoram not allocated or not used over 4
> mb (same as default cirrus vga).
> At the moment I haven't found solution for this problem, probably some
> bugfix and/or change are needed on xen.
>

Is this a regression in xen-unstable compared to xen 4.1 ?

afaik you can get at least 16 MB of video memory for HVM guest with Xen 4.1.

-- Pasi


_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


fantonifabio at tiscali

May 3, 2012, 7:27 AM

Post #16 of 41 (1101 views)
Permalink
Re: Unable to get QXL vga working / videomem over 4MB issue [In reply to]

Pasi Kärkkäinen wrote
>
> On Thu, May 03, 2012 at 05:28:44AM -0700, Fantu wrote:
>>
>> About qxl there are problems about videoram not allocated or not used
>> over 4
>> mb (same as default cirrus vga).
>> At the moment I haven't found solution for this problem, probably some
>> bugfix and/or change are needed on xen.
>>
>
> Is this a regression in xen-unstable compared to xen 4.1 ?
>
> afaik you can get at least 16 MB of video memory for HVM guest with Xen
> 4.1.
>
> -- Pasi
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@.xen
> http://lists.xen.org/xen-devel
>
Thanks for reply
Probably xen-unstable with qemu upstream doesn't support videoram setting.
qxl default videoram is 64 mb but I also tried to set 16 mb without result,
it always see only 4 mb, not enough for correct working qxl.

--
View this message in context: http://xen.1045712.n5.nabble.com/Unable-to-get-QXL-vga-working-tp5667919p5683345.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


pasik at iki

May 3, 2012, 9:02 AM

Post #17 of 41 (1095 views)
Permalink
Re: Unable to get QXL vga working / videomem over 4MB issue [In reply to]

On Thu, May 03, 2012 at 07:27:11AM -0700, Fantu wrote:
>
> Pasi Krkkinen wrote
> >
> > On Thu, May 03, 2012 at 05:28:44AM -0700, Fantu wrote:
> >>
> >> About qxl there are problems about videoram not allocated or not used
> >> over 4
> >> mb (same as default cirrus vga).
> >> At the moment I haven't found solution for this problem, probably some
> >> bugfix and/or change are needed on xen.
> >>
> >
> > Is this a regression in xen-unstable compared to xen 4.1 ?
> >
> > afaik you can get at least 16 MB of video memory for HVM guest with Xen
> > 4.1.
> >
> > -- Pasi
> >
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@.xen
> > http://lists.xen.org/xen-devel
> >
> Thanks for reply
> Probably xen-unstable with qemu upstream doesn't support videoram setting.
> qxl default videoram is 64 mb but I also tried to set 16 mb without result,
> it always see only 4 mb, not enough for correct working qxl.
>

Ok. If you use qemu-upstream and cirrus/stdvga (without qxl), does videomem >4MB work then ?

-- Pasi


_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


zpengxen at gmail

May 3, 2012, 6:15 PM

Post #18 of 41 (1103 views)
Permalink
Re: Unable to get QXL vga working [In reply to]

On Thu, May 3, 2012 at 9:56 PM, Stefano Stabellini
<stefano.stabellini [at] eu> wrote:
> On Thu, 3 May 2012, ZhouPeng wrote:
>> >> > What do you mean by "disabling graphic"? Do you mean disabling the vga
>> >> > card?
>> >> No, not disable the vga card.
>> >> But booting in Text mode.
>> >
>> > Then you are manually starting X11 with the spice driver?
>> Always in text mode.
>> Never start X11.
>> Using stdard vga but not qxl-vga.
>
> so you didn't actually test qxl at all, did you?
Didn't test qxl but only spice.
--
Zhou Peng

_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


fantonifabio at tiscali

May 4, 2012, 1:23 AM

Post #19 of 41 (1101 views)
Permalink
Re: Unable to get QXL vga working / videomem over 4MB issue [In reply to]

Pasi Kärkkäinen wrote
>
> On Thu, May 03, 2012 at 07:27:11AM -0700, Fantu wrote:
>>
>> Pasi Kärkkäinen wrote
>> >
>> > On Thu, May 03, 2012 at 05:28:44AM -0700, Fantu wrote:
>> >>
>> >> About qxl there are problems about videoram not allocated or not used
>> >> over 4
>> >> mb (same as default cirrus vga).
>> >> At the moment I haven't found solution for this problem, probably some
>> >> bugfix and/or change are needed on xen.
>> >>
>> >
>> > Is this a regression in xen-unstable compared to xen 4.1 ?
>> >
>> > afaik you can get at least 16 MB of video memory for HVM guest with Xen
>> > 4.1.
>> >
>> > -- Pasi
>> >
>> >
>> > _______________________________________________
>> > Xen-devel mailing list
>> > Xen-devel@.xen
>> > http://lists.xen.org/xen-devel
>> >
>> Thanks for reply
>> Probably xen-unstable with qemu upstream doesn't support videoram
>> setting.
>> qxl default videoram is 64 mb but I also tried to set 16 mb without
>> result,
>> it always see only 4 mb, not enough for correct working qxl.
>>
>
> Ok. If you use qemu-upstream and cirrus/stdvga (without qxl), does
> videomem >4MB work then ?
>
> -- Pasi
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@.xen
> http://lists.xen.org/xen-devel
>
No, always 4 mb, also with cirrus or stdvga videoram setting not work.

--
View this message in context: http://xen.1045712.n5.nabble.com/Unable-to-get-QXL-vga-working-tp5667919p5685158.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


Ian.Campbell at citrix

May 4, 2012, 1:28 AM

Post #20 of 41 (1098 views)
Permalink
Re: Unable to get QXL vga working / videomem over 4MB issue [In reply to]

(putting Pasi back in the CC, please retain CCs on xen-devel)

On Fri, 2012-05-04 at 09:23 +0100, Fantu wrote:
> Pasi Krkkinen wrote
> > Ok. If you use qemu-upstream and cirrus/stdvga (without qxl), does
> > videomem >4MB work then ?
> >
> No, always 4 mb, also with cirrus or stdvga videoram setting not work.

But with Qemu-xen-traditional it does work?

Anthony -- any idea why the videoram setting doesn't work with upstream
qemu?



_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


Ian.Campbell at citrix

May 4, 2012, 1:30 AM

Post #21 of 41 (1099 views)
Permalink
Re: Unable to get QXL vga working [In reply to]

On Fri, 2012-05-04 at 02:15 +0100, ZhouPeng wrote:
> On Thu, May 3, 2012 at 9:56 PM, Stefano Stabellini
> <stefano.stabellini [at] eu> wrote:
> > On Thu, 3 May 2012, ZhouPeng wrote:
> >> >> > What do you mean by "disabling graphic"? Do you mean disabling the vga
> >> >> > card?
> >> >> No, not disable the vga card.
> >> >> But booting in Text mode.
> >> >
> >> > Then you are manually starting X11 with the spice driver?
> >> Always in text mode.
> >> Never start X11.
> >> Using stdard vga but not qxl-vga.
> >
> > so you didn't actually test qxl at all, did you?
> Didn't test qxl but only spice.

So to return to my question at the start of this thread -- is qxl
something you would be interested in supporting? (I think you said yes,
but we've been somewhat sidetracked on the distinction between SPICE
support and QXL support).

In any case this is definitely 4.3 material IMHO since we are now
feature frozen for 4.2.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


fantonifabio at tiscali

May 4, 2012, 1:56 AM

Post #22 of 41 (1100 views)
Permalink
Re: Unable to get QXL vga working / videomem over 4MB issue [In reply to]

Ian Campbell-10 wrote
>
> (putting Pasi back in the CC, please retain CCs on xen-devel)
>
> On Fri, 2012-05-04 at 09:23 +0100, Fantu wrote:
>> Pasi Kärkkäinen wrote
>> > Ok. If you use qemu-upstream and cirrus/stdvga (without qxl), does
>> > videomem >4MB work then ?
>> >
>> No, always 4 mb, also with cirrus or stdvga videoram setting not work.
>
> But with Qemu-xen-traditional it does work?
>
> Anthony -- any idea why the videoram setting doesn't work with upstream
> qemu?
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@.xen
> http://lists.xen.org/xen-devel
>
With qemu-xen-traditional videoram setting with stdvga work.
About Spice on qemu-upstream for now we did only basic tests and it seems to
be working but without qxl limited to 4 mb many of spices features are not
full working.
Qxl vga can be used also without spice and with videoram to 32 or 64 mb I
think can give better graphic performance with hvm domU.
For now is not good even without multimedia use.

--
View this message in context: http://xen.1045712.n5.nabble.com/Unable-to-get-QXL-vga-working-tp5667919p5685216.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


anthony.perard at citrix

May 4, 2012, 4:21 AM

Post #23 of 41 (1098 views)
Permalink
Re: Unable to get QXL vga working / videomem over 4MB issue [In reply to]

On Fri, May 4, 2012 at 9:28 AM, Ian Campbell <Ian.Campbell [at] citrix> wrote:
> Anthony -- any idea why the videoram setting doesn't work with upstream
> qemu?

Well, the parameter could be pass to qemu qxl, but it's not yet. But
then, it seams you have to have this value of at least 32MB, otherwise
the value is increase in qemu.

For cirrus/stdvga, there is no way to pass the parameter to qemu, the
size in qemu is fixed to 8MB.

--
Anthony PERARD

_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


Ian.Campbell at citrix

May 4, 2012, 4:32 AM

Post #24 of 41 (1095 views)
Permalink
Re: Unable to get QXL vga working / videomem over 4MB issue [In reply to]

On Fri, 2012-05-04 at 12:21 +0100, Anthony PERARD wrote:
> On Fri, May 4, 2012 at 9:28 AM, Ian Campbell <Ian.Campbell [at] citrix> wrote:
> > Anthony -- any idea why the videoram setting doesn't work with upstream
> > qemu?
>
> Well, the parameter could be pass to qemu qxl, but it's not yet. But
> then, it seams you have to have this value of at least 32MB, otherwise
> the value is increase in qemu.
>
> For cirrus/stdvga, there is no way to pass the parameter to qemu, the
> size in qemu is fixed to 8MB.

OK, so this is simply a feature which upstream qemu doesn't have. That's
fine.

I guess xl.cfg(5) needs updating to make it clear that this option only
applies to qemu-xen-traditional.

The docs also currently say that for stdvga the default is 8MB and for
not stdvga (by which I guess it means Cirrus) the default if 4MB. So I
guess even this is inaccurate for qemu-xen-upstream?

Can someone send a patch please?

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


fantonifabio at tiscali

May 4, 2012, 5:02 AM

Post #25 of 41 (1099 views)
Permalink
Re: Unable to get QXL vga working / videomem over 4MB issue [In reply to]

Anthony PERARD-2 wrote
>
> On Fri, May 4, 2012 at 9:28 AM, Ian Campbell &lt;Ian.Campbell@&gt; wrote:
>> Anthony -- any idea why the videoram setting doesn't work with upstream
>> qemu?
>
> Well, the parameter could be pass to qemu qxl, but it's not yet. But
> then, it seams you have to have this value of at least 32MB, otherwise
> the value is increase in qemu.
>
> For cirrus/stdvga, there is no way to pass the parameter to qemu, the
> size in qemu is fixed to 8MB.
>
> --
> Anthony PERARD
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@.xen
> http://lists.xen.org/xen-devel
>
I have already tried -global qxl-vga.vram_size for setting more videoram on
qxl but not work,have always 4 mb, also with qemu-upstream unstable, the
default code in qemu should have 64 mb and minimum 16 mb, why and where it
sets 4 mb?
Now I will try also with 1.1-rc0 and seabios 1.7.0.

--
View this message in context: http://xen.1045712.n5.nabble.com/Unable-to-get-QXL-vga-working-tp5667919p5685659.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel

First page Previous page 1 2 Next page Last page  View All Xen devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.