[Bug 294957] graphics/mesa-dri: Update to 26.0.6

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294957

            Bug ID: 294957
           Summary: graphics/mesa-dri: Update to 26.0.6
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
          Assignee: [email protected]
             Flags: maintainer-feedback?([email protected])

Created attachment 270348
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=270348&action=edit
Update patch for 26.0.6

Some notes to make here:

1. I consolidated more common build options into mesa-dri's Makefile.common
file to improve maintenance and readability of the Mesa ports.

2. I migrated much of mesa-dri's Makefile build options to a Makefile.options
file.
 * The problem in Mesa 26 is that now all dri stub drivers are symlinks to one
real driver "libdril_dri.so" that mesa-dri only provides.
 * Because of this mesa-libs need to be built with the same driver options so
that each stub driver can actually function.
 * I only tested with loading from radeonsi.so since I'm only using the amdgpu
drm-kmod driver.

3. Since OSMesa support was removed in 25.1, the only affected consumers to
libosmesa are math/octave and math/vtk9.
* There is no workaround for this. These specific ports need to be updated as
shown in the attached patch.

4. Since 25.3.0, Mesa 26 requires the backport of drm-kmod's PR 357 to all
drm-kmod ports: https://github.com/freebsd/drm-kmod/pull/357
* Without this patch, the vulkan ioctls are broken and apps like mpv that use
them won't function properly with lag and errors.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.