backends/drm: Force software cursor on vmwgfx
The hardware cursor on vmware virtual machines is missing. This is likely related to issues with importing DRM dumb buffers through prime on vmwgfx. Force software cursor on vmwgfx to make sure cursor is visible and working properly until the hardware cursor is fixed.
This commit is contained in:
parent
17029cd54f
commit
15e23b825e
1 changed files with 6 additions and 0 deletions
|
@ -418,6 +418,12 @@ bool DrmPipeline::updateCursor()
|
|||
if (amdgpuVrrWorkaroundActive() && m_cursorLayer->isEnabled()) {
|
||||
return false;
|
||||
}
|
||||
// We need to make sure that on vmwgfx software cursor is selected
|
||||
// until Broadcom fixes hw cursor issues with vmwgfx. Otherwise
|
||||
// the cursor is missing.
|
||||
if (gpu()->isVmwgfx()) {
|
||||
return false;
|
||||
}
|
||||
// explicitly check for the cursor plane and not for AMS, as we might not always have one
|
||||
if (m_pending.crtc->cursorPlane()) {
|
||||
// test the full state, to take pending commits into account
|
||||
|
|
Loading…
Reference in a new issue