Show Your Support: Did you know that you can get Phoronix Premium for under $4 per month? Try it today to view our site ad-free, multi-page articles on a single page, and more while the proceeds allow us to write more Linux hardware reviews. At the very least, please disable your ad-blocker.
NVIDIA Lands X.Org Server Support For PRIME Render Offload On FreeBSD
NVIDIA's FreeBSD proprietary graphics driver has a largely shared code-base with the Linux (and Solaris) Unix graphics driver code. The NVIDIA FreeBSD driver package recently added a port of the "nvidia-drm" kernel module and now an X.Org Server change has landed to allow for working PRIME render offload. PRIME render offload is about having one GPU being used for the X.Org Server's screen rendering while allowing rendering of certain games/applications to happen from the secondary -- and more powerful -- discrete GPU. PRIME render offload has long worked under Linux for various drivers while now is beginning to work on FreeBSD with the NVIDIA stack.
This merge request from NVIDIA's Austin Shafer was merged yesterday for adding a shared DRM platform for the BSDs. That's needed along with the recent nvidia-drm-present NVIDIA proprietary graphics driver to allow for this convenient multi-GPU render offload support to now work on FreeBSD.
From the X.Org Server side it was just a matter of moving a file and having it be included as part of the BSD xorg-server build for supporting the PRIME render offload in the same manner as on Linux.