Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Jun 2023 19:19:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 271823] x11-wm/mutter: enable DMABUF support
Message-ID:  <bug-271823-6497@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271823

            Bug ID: 271823
           Summary: x11-wm/mutter: enable DMABUF support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(gnome@FreeBSD.org)
          Assignee: gnome@FreeBSD.org

Created attachment 242594
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=242594&action=edit
v1 (apply via "git am")

Instead of patching out DMABUF support due to missing <linux/dma-buf.h> bundle
the version from pending DRM KPI. Similar to
https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/include/drm-uapi/dma-buf.h

Tested under Xwayland (rootful) e.g.,

$ pkg install mutter cage mpv libva-intel-driver
$ export XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR=/tmp}
$ seatd-launch cage Xwayland -retro :3 &
$ export DISPLAY=:3
$ unset WAYLAND_DISPLAY XDG_SESSION_TYPE
$ mutter &
$ mpv --hwdec=vaapi --gpu-api=vulkan foo.mp4

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271823-6497>