‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> First, the convention is to share diffs against the CVS ports tree. This makes it easiest for porters to review and test what you propose. Working with cvs(1) is as easy if not easier than GitHub for such use cases. The FAQ and man page can get you started.
Understood. I just made a patch against the current ports CVS. It is attached to this email.
> That being said, this looks like a reasonable patch, but could you please provide more context?? Does it fix a bug that you've encountered? Does it allow working with a compton.conf setting that otherwise doesn't work? I'm interested in looking into this when back from work, but would appreciate if you could clarify what changes on runtime to look for! :)
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.
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.)
Patch attached to email.
Thanks!
No comments:
Post a Comment