Skip to content

lima: fix xserver page flip fail for full screen client

Qiang Yu requested to merge yuq825/mesa:topic/fix-page-flip into master

Need to import client buffer to display drm device, otherwise get following xserver error log:

[   190.982] (WW) modeset(0): Page flip failed: No such file or directory
[   190.982] (EE) modeset(0): present flip failed

With this fix, full screen x11 client can display its window buffer directly without a copy.

Tested on Allwinner H3, 1080p full screen glxgears go from 163FPS to 173FPS.

This comes from MR !7963 (closed). As there is objection for the resource creation change, but we need the resource import one anyway, so send a new MR for it.

Merge request reports