Le Fri, Jul 26, 2024 at 08:49:49PM -0400, José Maldonado a écrit : > El vie, 26 jul 2024 a la(s) 8:56 a.m., Landry Breuil > (lan...@openbsd.org) escribió:
<snip> > On the other hand, there is one additional positive point in creating > the libgbm and libdrm symlinks (or patch hardcode name for this libs > in Firefox): enabling general DMAbuf support for Firefox which is > broken due to the library versioning not matching. > > Enabling DMAbuf support can improve WebGL performance in certain > conditions and opens the way for using the full Wayland implementation > of Firefox, for those who want to experiment and develop support for > it. on this specific 'dmabuf' topic: from my understanding of https://docs.kernel.org/driver-api/dma-buf.html, and my previous experience in https://bugzilla.mozilla.org/show_bug.cgi?id=1840272 (which got 'fixed' by adding some ifdefs in https://hg.mozilla.org/integration/autoland/rev/15d494dac453), proper 'dmabuf' support (whatever that is) requires eventfd.h, and some kernel support. I dont think we have such thing in our drm support, and *think* freebsd has some, but i haven't looked much there.