diff --git a/src/backends/drm/virtual_egl_gbm_layer.cpp b/src/backends/drm/virtual_egl_gbm_layer.cpp index dfcdd02b40..512e0a2dbb 100644 --- a/src/backends/drm/virtual_egl_gbm_layer.cpp +++ b/src/backends/drm/virtual_egl_gbm_layer.cpp @@ -97,7 +97,7 @@ bool VirtualEglGbmLayer::createGbmSurface() { static bool modifiersEnvSet = false; static const bool modifiersEnv = qEnvironmentVariableIntValue("KWIN_DRM_USE_MODIFIERS", &modifiersEnvSet) != 0; - const bool allowModifiers = ((m_eglBackend->gpu()->isNVidia() && !modifiersEnvSet) || (modifiersEnvSet && modifiersEnv)); + const bool allowModifiers = !modifiersEnvSet || modifiersEnv; const auto tranches = m_eglBackend->dmabuf()->tranches(); for (const auto &tranche : tranches) {