[Spice-devel] Questions about multimonitor Xinerama configuration

Gerd Hoffmann kraxel at redhat.com
Fri Jun 24 02:33:21 PDT 2011


   Hi,

> you can see the 2nd QXL device at 00:06.0.  I don't know why the first
> one says "VGA compatible" and the second one doesn't, but hopefully that
> is not an issue.

The second simply isn't matched by the qxl driver due to the different 
PCI class.  Fixable (see attachent).

That alone doesn't get things going though, guess thats why it isn't 
supported (yet?) by the driver.  I can get X to show the display on one 
or the other qxl device, but not with xinerama on both.

Seems to be stuck here:

0x00007f3f90620992 in qxl_ring_push (ring=0x126e4c0, 
new_elt=0x7fff74a3afa0) at qxl_ring.c:73
73          while (header->prod - header->cons == header->num_items)
(gdb) bt
#0  0x00007f3f90620992 in qxl_ring_push (ring=0x126e4c0, 
new_elt=0x7fff74a3afa0) at qxl_ring.c:73
#1  0x00007f3f9061ee5b in push_drawable (drawable=<optimized out>, 
qxl=<optimized out>)
     at qxl_surface.c:516
#2  push_drawable (qxl=<optimized out>, drawable=<optimized out>) at 
qxl_surface.c:498
#3  0x00007f3f906208d1 in qxl_surface_put_image (dest=0x12f5ce0, 
x=<optimized out>,
     y=<optimized out>, width=24, height=24, src=0x2058468 "", 
src_pitch=96) at qxl_surface.c:1465
#4  0x00007f3f9062618d in uxa_do_put_image (src_stride=96, 
bits=0x2058468 "", format=2, h=24,
     w=24, y=<optimized out>, x=<optimized out>, depth=<optimized out>, 
pGC=0x1a2fe00,
     pDrawable=0x1a35910) at uxa-accel.c:329
#5  uxa_put_image (pDrawable=0x1a35910, pGC=0x1a2fe00, depth=<optimized 
out>, x=<optimized out>,
     y=0, w=24, h=24, leftPad=0, format=2, bits=0x2058468 "") at 
uxa-accel.c:367
#6  0x00000000004dc199 in ?? ()
#7  0x000000000042b91d in ?? ()
#8  0x000000000042ec11 in ?? ()
#9  0x0000000000422e1a in ?? ()
#10 0x00000033c1a2139d in __libc_start_main () from /lib64/libc.so.6
#11 0x0000000000423101 in _start ()

Could be a server side issue too (guest driver spinning, waiting for 
spice-server to take requests out of the ring).  Also note that spicec 
crashed while the X-Server tried to init the two qxl devices in xinerama 
mode ...

cheers,
   Gerd
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pciclass.diff
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110624/dd66dad4/attachment.ksh>


More information about the Spice-devel mailing list