How to run Compton with vsync on the Raspberry Pi 2?

I am trying to run Compton on the Raspberry Pi 2 in combination with i3wm. So far, I've managed to get it running by editing /etc/xdg/compton.conf with the settings backend = glx and vsync = false
However, without vsync, it's a pretty bad experience with the display being laggy. When I try to set vsync = true, I get the following error:

[ 03/28/2019 01:02:21.038 vsync_opengl_swc_init ERROR ] Failed to load a swap control extension.
[ 03/28/2019 01:02:21.039 session_init FATAL ERROR ] Failed to initialize the backend

I can also set the backend to xrender and run compton. But when I try that with vsync enabled I get the following error:

[ 03/28/2019 00:57:25.136 vsync_init ERROR ] No supported vsync method found for this backend

I am not sure if I am missing any graphics driver packages for this to work. I do have mesa and libepoxy installed.

Posted Mar 28, 2019, 2:11 AM UTC

30

No comments yet

Nobody commented on this post, or the comments weren't captured.