Created attachment 256429 [details] fix Currently LLVMpipe closes one arbitrary file descriptor while it's being unloaded on Vulkan ICD enumeration. This breaks Wine quite a bit, since that often happens to be an X11 connection [1]. Might help with bug 282300 as well. (Patch included for convenience. Ignore if not appropriate.) [1]: https://forums.freebsd.org/threads/wine-proton-error-xio-fatal-io-error-2-no-such-file-or-directory-on-x-server-0-0.95368/
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0b3f2f14f04d3bbed2f5c4126a1b97245b854327 commit 0b3f2f14f04d3bbed2f5c4126a1b97245b854327 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2025-01-18 18:42:16 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2025-01-18 18:43:46 +0000 graphics/mesa-dri: Add upstream patch fixing the bogus close() call PR: 283851 Approved by: x11 (maintainer timeout) graphics/mesa-dri/Makefile | 2 +- ...9691d792594b91e0fbc4c7823e1a191620d.patch (new) | 50 ++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-)
Pushed, thanks.