Kernel Mode-Setting, GEM, DRI Progresses On FreeBSD

Posted by Michael Larabel on February 25, 2011

BSD users can be excited this week not only for the release of FreeBSD 8.2, but their open-source graphics stack is finally beginning to catch-up with Linux too. Kernel mode-setting is finally becoming a reality with the FreeBSD kernel and with that support for the Graphics Execution Manager (GEM) memory management under BSD and updating the Intel DRI graphics driver.

The FreeBSD Foundation has announced that they have awarded a grant to Konstantin Belousov for focusing upon this KMS/GEM/DRI driver work. This announcement comes after we reported in October of last year that FreeBSD would pay for some GEM/KMS love.

With bringing up KMS/GEM support under FreeBSD, they will finally be able to use an updated Intel X.Org (xf86-video-intel) DDX driver with their X Server. Several releases ago Intel had dropped user-space mode-setting (UMS) support from their driver to focus solely upon supporting KMS for Linux. When that happened, BSD and Solaris users were made second-class citizens of this open-source driver. When the GEM/KMS support lands, they will now be able to use the latest user-space driver, thereby providing support for new hardware (Sandy Bridge), new features (the latest VA-API work), and many fixes.

To some dismay, this FreeBSD grant and the focus of this Ukranian developer is solely on the Intel driver at this time. While having the KMS infrastructure and GEM support in the FreeBSD kernel is a step forward for everyone, additional work would still be needed to allow the Radeon and Nouveau kernel drivers to work as well, especially as TTM (Translation Table Maps) support would also need to be ported to BSD. At least NVIDIA hardware owners have the proprietary driver provided by NVIDIA for FreeBSD while AMD provides no Catalyst driver on this operating system.

Read more in the FreeBSD announcement.

For those not using FreeBSD but rather DragonflyBSD, the code as of right now in FreeBSD 9-CURRENT has been ported to this BSD as well. See this page for details, where there is also early Radeon KMS support as well. The DragonflyBSD developers had worked on GEM/DRM/KMS support from Linux as last year's Google Summer of Code project.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. KDE's KWin Made Lots Of Progress In 4.11
  2. Ubuntu Announces Carrier Advisory Group
  3. Qt 5.1 Release Candidate 1 Has Arrived
  4. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  5. Subversion 1.8 Presents New Features
  6. LLVM 3.3 Officially Released
  7. LLVM/Clang Now Uses Loop Vectorizer At New Levels
  8. Intel GPU Driver Tries To Rip Out FBDEV Support
  9. Coreboot Doing AMD USB 3.0, Q35 QEMU Emulation
  10. VP9 Codec Now Enabled By Default In Chrome
  11. openSUSE 13.1 M2 Plays On PulseAudio 4.0
Latest Forum Talk
  1. Ubuntu Announces Carrier Advisory Group
  2. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  3. Vote for GOG to add Linux versions of games they...
  4. Intel Haswell HD Graphics 4600 vs. AMD Radeon...
  5. Intel GPU Driver Tries To Rip Out FBDEV Support
  6. Mir Still Causing Concerns By Ubuntu Derivatives
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite