buffer from gbm_bo_create() not usable as hardware cursor
System information
- OS: Arch Linux
- GPU: VMware Fusion
- Kernel version: 5.10.1
- Mesa version: #448e6031
- Desktop manager and compositor: Sway 5f1fe33d, wlroots gde896cac
Describe the issue
The symptom is described in this issue for Sway. The reproduction is to run sway when using the vmwgfx driver, and note that the screen remains black.
When using the vmwgfx driver, gbm_bo_create
uses vmw_gb_surface_define_ext_ioctl
. Unlike vmw_surface_define_ioctl
, vmw_gb_surface_define_ext_ioctl
does not set the snooper.image
as vmw_surface_define_ioctl
does.
The result is that there is an error "surface not suitable for cursor" when attempting to use the returned buffer as a hardware cursor, and pageflips fail.
It seems like is it impossible to use a hardware cursor plane when the device supports SVGA_CAP_GBOBJECTS
.