[Bug 239630] x11/libxshmfence: prefer SHM_ANON over mksotemp()

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 3 21:30:04 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239630

            Bug ID: 239630
           Summary: x11/libxshmfence: prefer SHM_ANON over mksotemp()
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11 at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
                CC: x11 at FreeBSD.org
             Flags: maintainer-feedback?(x11 at FreeBSD.org)
          Assignee: x11 at FreeBSD.org
 Attachment #206257 maintainer-approval?(x11 at FreeBSD.org)
             Flags:
                CC: x11 at FreeBSD.org

Created attachment 206257
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206257&action=edit
v1 (has commit message)

SHM_ANON is faster and more similar to memfd_create(). Not bothering to
upstream because futex/mksotemp fixes didn't get any feedback after 2 years.
Patchwork is complete crap for one-off contributors i.e., those humble enough
to not annoy everyone on patch maillist why their contribution wasn't reviewed
yet.

libxshmfence is only used by DRI3, so make sure to define LIBGL_DRI3_ENABLE via
environ(7) due to drm-legacy-kmod hacks in mesa-dri and if using
xf86-video-intel add Option "DRI" "3" to xorg.conf.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.


More information about the freebsd-x11 mailing list