Bug 283851 - graphics/mesa-dri: should include udmabuf handle bug fix for LLVMpipe
Summary: graphics/mesa-dri: should include udmabuf handle bug fix for LLVMpipe
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL: https://gitlab.freedesktop.org/mesa/m...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-04 21:18 UTC by Alex S
Modified: 2025-01-18 18:54 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (x11)


Attachments
fix (2.99 KB, patch)
2025-01-04 21:18 UTC, Alex S
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex S 2025-01-04 21:18:40 UTC
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/
Comment 1 commit-hook freebsd_committer freebsd_triage 2025-01-18 18:44:03 UTC
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(-)
Comment 2 Gleb Popov freebsd_committer freebsd_triage 2025-01-18 18:54:17 UTC
Pushed, thanks.