On Thu, May 23 2019, Thomas Frohwein <tfrohw...@fastmail.com> wrote: > On Thu, May 23, 2019 at 09:40:14PM +0000, Mr. Me0w wrote: > [...] >> Understood. I just made a patch against the current ports CVS. It is >> attached to this email. > > Thanks, one more nit - ports updates are generally sent inline at the > bottom of the email (like in this case). > >> Yes, it does fix a bug I've encountered. When using compton to handle >> vsync, the DRM option doesn't work by default because it assumes it is >> running on Linux and that the DRM device is located at /dev/dri/card0, >> but on OpenBSD it is located at /dev/drm0. Sadly, this can't be >> overriden in the compton.conf either. > > Netiquette: 72 characters per line (does protonmail mess with this?) > https://www.openbsd.org/mail.html > >> Before patch: >> >> $ compton --vsync drm >> vsync_drm_init(): Failed to open device. >> $ >> >> After patch: >> >> $ compton --vsync drm >> >> (Works.. GPU-accelerated compositing and tear-free display.) > > I can confirm this works here, too. I think this patch should go in. > Thanks for the work, Mr. Me0w! I have combined this into the same patch > file that already existed for src/compton.c. Also REVISION bump and > take MAINTAINER if no objection.
Sure, ok jca@ -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE