Modesetting can't switch back from a software to a hardware cursor (patch to follow)

Michael Thayer michael.thayer at oracle.com
Fri Mar 4 14:26:23 UTC 2016


On 02.03.2016 18:43, Michael Thayer wrote:
> At present if modesetting ever fails to set a hardware cursor it
> switches back to a software one and stays that way until it is unloaded.
>   The following patch should fix that.  I say "should" because I had
> difficulties testing it - the cursor simply disappeared when it should
> have been rendering in software, though the debugger showed that
> pixman_image_composite() was getting called whenever the cursor moved,
> and my kernel driver was getting dirty rectangle information.  My
> feeling is that the patch is correct and something else is broken.  I
> have not investigated in depth in case some one else immediately has an
> idea.

My apologies for the noise.  Without going into detail, the failure to 
show the software cursor was due to the unclean way in which we 
(VirtualBox) handle 3D acceleration, and nothing to do with the X server 
or modesetting.  I tested my patch again, taking this into account, and 
it worked as expected.

Regards,

Michael
-- 
Michael Thayer | VirtualBox engineer
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | D-71384 Weinstadt

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstraße 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Nederland, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher


More information about the xorg-devel mailing list