All of lore.kernel.org
 help / color / mirror / Atom feed
* Unable to get QXL vga working
@ 2012-04-26 15:23 Fantu
  2012-04-26 15:39 ` Ian Campbell
  0 siblings, 1 reply; 41+ messages in thread
From: Fantu @ 2012-04-26 15:23 UTC (permalink / raw)
  To: xen-devel

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.

^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2012-06-15  7:36 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-26 15:23 Unable to get QXL vga working Fantu
2012-04-26 15:39 ` Ian Campbell
2012-04-27  5:15   ` ZhouPeng
2012-04-27  9:23     ` Fantu
2012-05-02  8:21     ` Fantu
2012-05-03 11:31       ` ZhouPeng
2012-05-03 12:28         ` Fantu
2012-05-03 14:00           ` Unable to get QXL vga working / videomem over 4MB issue Pasi Kärkkäinen
2012-05-03 14:27             ` Fantu
2012-05-03 16:02               ` Pasi Kärkkäinen
2012-05-04  8:23                 ` Fantu
2012-05-04  8:28                   ` Ian Campbell
2012-05-04  8:56                     ` Fantu
2012-05-04 11:21                     ` Anthony PERARD
2012-05-04 11:32                       ` Ian Campbell
2012-05-08 16:24                         ` Pasi Kärkkäinen
2012-05-08 19:15                           ` Ian Campbell
2012-05-09 14:07                             ` Fantu
2012-05-09 16:01                               ` Anthony PERARD
2012-05-04 12:02                       ` Fantu
2012-05-07 15:01                         ` Fantu
2012-05-11 12:19                       ` Geraldes
2012-05-11 13:00                         ` Anthony PERARD
2012-05-03 12:46         ` Unable to get QXL vga working Stefano Stabellini
2012-05-03 12:56           ` ZhouPeng
2012-05-03 13:05             ` Stefano Stabellini
2012-05-03 13:05               ` ZhouPeng
2012-05-03 13:13                 ` Ian Campbell
2012-05-03 13:27                   ` ZhouPeng
2012-05-03 13:56                 ` Stefano Stabellini
2012-05-04  1:15                   ` ZhouPeng
2012-05-04  8:30                     ` Ian Campbell
2012-05-24  3:13                       ` ZhouPeng
2012-05-24 10:13                         ` Stefano Stabellini
2012-05-24 11:28                           ` ZhouPeng
2012-06-11 11:56                             ` Fabio Fantoni
2012-06-13  9:02                               ` ZhouPeng
2012-06-13  9:38                                 ` Fabio Fantoni
2012-06-13 11:40                                   ` ZhouPeng
2012-06-14 13:51                                     ` Fabio Fantoni
2012-06-15  7:36                                       ` ZhouPeng

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.