[CFT] Mesa 19.0.0 update (mesa-libs, mesa-dri, libosmesa, clover)

Jan Beich <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
Mesa provides OpenGL/Vulkan drivers for Intel/AMD cards and also VAAPI/VDPAU
drivers for AMD cards. Recently, a new major version was released. So far it
was only tested Skylake with drm-stable-kmod on 13.0-CURRENT. Can someone test
on FreeBSD 11.2 or drm-legacy-kmod for regressions? If you find any confirm
previous version(s) aren't affected then attach pciconf -lv output, Xorg.0.log,
and LIBGL_DEBUG=verbose output.

Note, Vulkan on Intel requires drm-kmod and IvyBridge or newer and maybe
a bit unstable on drm-fbsd11.2-kmod (i.e., 4.11.*).
Note2, ignore patch rejects if .rej files only contains changes to PORTREVISION.

# Apply
$ fetch -qo /tmp/libdrm-2.4.97.diff 'https://bugs.freebsd.org/bugzilla/attachment.cgi?id=201643'
$ fetch -qo /tmp/mesa-llvm7.diff 'https://bugs.freebsd.org/bugzilla/attachment.cgi?id=199665'
$ fetch -qo /tmp/mesa-18.3.diff 'https://reviews.freebsd.org/D19099?download=true'
$ fetch -qo /tmp/mesa-19.0.diff 'https://reviews.freebsd.org/D19100?download=true'
$ patch -Efsp1 -i /tmp/libdrm-2.4.97.diff -d /usr/ports
$ patch -Efsp1 -i /tmp/mesa-llvm7.diff -d /usr/ports
$ patch -Efsp0 -i /tmp/mesa-18.3.diff -d /usr/ports
$ patch -Efsp0 -i /tmp/mesa-19.0.diff -d /usr/ports
$ make all deinstall install clean -C /usr/ports/graphics/libdrm
$ make all deinstall install clean -C /usr/ports/graphics/mesa-libs
$ make all deinstall install clean -C /usr/ports/graphics/mesa-dri

# Undo
$ patch -REfsp0 -i /tmp/mesa-19.0.diff -d /usr/ports
$ patch -REfsp0 -i /tmp/mesa-18.3.diff -d /usr/ports
$ patch -REfsp1 -i /tmp/mesa-llvm7.diff -d /usr/ports
$ patch -REfsp1 -i /tmp/libdrm-2.4.97.diff -d /usr/ports
$ make all deinstall install clean -C /usr/ports/graphics/mesa-dri
$ make all deinstall install clean -C /usr/ports/graphics/mesa-libs
$ make all deinstall install clean -C /usr/ports/graphics/libdrm

# Testing examples
- graphics/mesa-demos: glxgears, eglgears_x11
- multimedia/mpv: --gpu-api=vulkan, --hwdec=auto (VAAPI/VDPAU interop)
- www/firefox: MOZ_ACCELERATED=1 MOZ_WEBRENDER=1 (GPU compositing)
- devel/vulkan-tools: vulkaninfo, cube
- games/vkquake or emulators/{ppsspp,rpcs3} with Vulkan renderer
- https://forums.freebsd.org/threads/unreal-engine-4.65300/
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
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.