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

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
Bugzilla Automation <[email protected]> has asked freebsd-x11 (Nobody)
<[email protected]> for maintainer-feedback:
Bug 294957: graphics/mesa-dri: Update to 26.0.6
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294957



--- Description ---
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.
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.