Synchronize drawing to vertical blank on XFWM 4.13 is not working

Bug #1704484 reported by Kolmar Kafran on 2017-07-14
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Linux Mint
New
Undecided
Unassigned

Bug Description

OS Info:

Intel Modesetting Driver
Mint XFCE 18.2
https://gist.github.com/anonymous/95ecede20a5f223abb913654ec5a0f6e

The option "Synchronize drawing to vertical blank" is unchecked by default.
If I check it and leave the Compositor configuration window, when I come back the check-box is unchecked again. Also, I'm experiencing screen tearing.

I'm using the Intel Modesetting Driver (removed xserver-xorg-video-intel), also the XFWM 4.13 Vsync wasn't working on default installation.

I also set up the file /usr/share/X11/xorg.conf.d/20-intel.conf:
Section "Device"
   Identifier "Intel Graphics"
   Driver "intel"
   Option "DRI" "3"
EndSection

But this didn't work.

Kolmar Kafran (kafran) wrote :

I think the Epoxy support should be enabled.

4.3) VSYNC and tearing
======================

Starting with version 4.13, xfwm4 now supports VSYNC via two different
method, either using OpenGL or the Present X11 extension.

xfwm4 relies on libepoxy for OpenGL, and on libXpresent for Present support.

Support for those features can be checked using "xfwm4 --version":

 Build configuration and supported features:
        ...
 - Xpresent support: Yes
 - Embedded compositor: Yes
 - Epoxy support: Yes
        ...

If both VSYNC methods are available, xfwm4 will prefer Present over OpenGL.

from https://git.xfce.org/xfce/xfwm4/tree/COMPOSITOR

Kolmar Kafran (kafran) wrote :

This is also affecting others users of Mint: https://youtu.be/VsaFQdRfacQ

Kolmar Kafran (kafran) on 2017-07-14
description: updated
Evgen (xalt7x) wrote :

It's actually very easy to fix.
!!!
Apply commit ' compositor: Disable XPresent on error' (https://github.com/xfce-mirror/xfwm4/commit/7d9e6ceda2d02b4f1f00ce70e86333317c3369a1)!!!

In the /debian/control > Section "Build depends" add
", libxpresent-dev, x11proto-present-dev, libepoxy-dev"
at the end of the line.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers