Skip to content

onscreen/native: Prefer gbm_surface_create_with_modifiers even for linear

Daniel van Vugt requested to merge vanvugt/mutter:use-linear-modifier into main

The Nvidia driver doesn't implement gbm_surface_create properly, which was first mentioned in 9fee3a9e. So using gbm_surface_create as a fallback for the linear case was failing with ENOSYS (Function not implemented).

Closes: #3918 (closed)

Fixes: 163520c1 ("onscreen/native: Do not use modifiers if surface should be sharable")

See also: https://forums.developer.nvidia.com/t/gbm-surface-create-fails-if-flags-0/279951

Merge request reports

Loading