qxl and page flip

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Hi,

qxl kms driver has been converted over to atomic mode setting recently.
 Caused some problems, most are fixed meanwhile.

See https://bugzilla.kernel.org/show_bug.cgi?id=196777

One pretty fundamental issue sticks though:  The qxl virtual hardware 
doesn't support pageflip (see comment 11 in the bug linked above). 
Which is a problem for wayland because it is a heavy pageflip user.

The kernel driver has to go though a destroy-primary-surface + create-
primary-surface cycle, which causes visible flicker because spice
client goes into "waiting for display ..." mode temporarily.

So, the options I see are:

 (1) Declare qxl deprecated, promote virtio-vga instead.

 (2) Pimp the qxl hardware, add page-flip support.  Requires changes
     in spice-server (due to lazy rendering), qemu qxl emulation and
     guest kernel driver.  Should be transparent to spice-client and 
     guest userspace (aka xorg qxl driver).

 (3) Paper over the issue in the spice client, i.e. only go into 
     "waiting for display ..." mode in case the destroy-primary-
     surface message isn't followed by a create-primary-surface
     message within a short timeframe.

Comments?  Other suggestions?

cheers,
  Gerd

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]