Found a workaround: Forcing Mir to use swap interval zero whenever xmir_dri2_copy_region is used seems to solve the issue. Then we get one swap per xmir_dri2_copy_region.
Although it's not clear why that's required at all. You should be able to call xmir_dri2_copy_region many times before a swap happens and get smooth rendering as a result. It's also concerning that xmir_dri2_copy_region assumes EGL_BUFFER_PRESERVED and EGL_SWAP_BEHAVIOR_PRESERVED_BIT are always enabled and supported when it appears we haven't even tried to to set them yet. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1511278 Title: Xmir -rootless: glmark2 (default GLX mode) judders badly in DRI2 mode Status in xorg-server package in Ubuntu: Confirmed Bug description: Xmir: glmark2 (default GLX mode) judders badly when using DRI2 rendering and -rootless. glmark2-es2 seems to work smoothly though. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1511278/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

