Commit ed06d752 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

backends/drm: blacklist hardware cursors with the NVidia driver

It doesn't work and seems to cause hangs. If desired, this can be overwritten
by explicitly setting KWIN_FORCE_SW_CURSOR to 0.

BUG: 453632
parent 78794b42
Pipeline #174831 passed with stage
in 11 minutes and 27 seconds
......@@ -108,7 +108,8 @@ void DrmOutput::updateCursor()
{
static bool valid;
static const bool forceSoftwareCursor = qEnvironmentVariableIntValue("KWIN_FORCE_SW_CURSOR", &valid) == 1 && valid;
if (forceSoftwareCursor) {
// hardware cursors are broken with the NVidia proprietary driver
if (forceSoftwareCursor || (!valid && m_gpu->isNVidia())) {
m_setCursorSuccessful = false;
return;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment