AMD Radeon KMS Being Ported To FreeBSD

Posted by Archibald on February 20, 2013

Jean-Sébastien Pédron has started a project to implement up-to-date support for AMD GPUs in FreeBSD.

The project started with an initial TTM port by Konstantin Belousov, who completed this work in two weeks, which is particularly impressive as it can only be properly tested when used with a driver. M. Pédron is taking this initial port, and fixing any issues that become apparent over the course of the project.

Alexander Kabaev had made a buildable port of Linux 3.4's radeon driver, whereas this new project is based on Linux 3.8-rc3, with Mr. Kabaev's changes being cherry-picked.

The code in question is permissively licensed so there are no issues including a modified form in the Freebsd kernel. The project is not as large in scope as Mr. Belousov's, which required him to undertake a large amount of work on vendor-independent infrastructure), but is by no means a simple task; one of M. Herrb's concerns about the future of X on non-Linux systems was the lack of documentation of TTM.

Since the announcement of Mr. Belousov's project users have asked about AMD KMS. It has been a deal-breaker for some users as Radeon HD 6000 (and later) cards are not supported by UMS, leaving users of such hardware no choice but to use the vesa driver, which lacks any acceleration (and support for widescreen resolutions).

AMD recently dropped UMS support for all cards, which further increased the need for this project. The current state of the project is that card BIOS data is read correctly, several issues in TTM have been solved and devices attach correctly. Unfortunately some parts of the driver are not started correctly, resulting in a blank screen. X cannot yet be started due to a problem in xf86-video-ati, but this is M. Pédron's next target. Given that the project only started in January, the progress has been rapid.

More information can be found from the mailing list announcement and the FreeBSD.org Wiki.

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. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Wayland's Weston Gets Output Scaling Support
  2. Raspberry Pi Gets New Wayland Weston Renderer
  3. Debian GNU/Hurd 2013 Release Brings New Packages
  4. Intel Ultrabook Performance Is Faster With Mesa 9.2
  5. Hot Relocation HDD To SSD Support For Btrfs
  6. Phoronix Test Suite 4.6.0 "Utsira" Released
  7. New Intel X.Org Driver Supports All Of Haswell
  8. SQLite Now Faster With Memory Mapped I/O
  9. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  10. Qt For Tizen Launches, Based On Qt 5.1
  11. KTAP Released For Linux Kernel Dynamic Tracing
Latest Forum Talk
  1. Wayland's Weston Gets Output Scaling Support
  2. gnome 3.8 in RHEL7?
  3. Microsoft Releases Skype For Linux 4.2, Has...
  4. Intel Linux OpenGL Driver Leading Over Apple OS X
  5. What Would You Like To See Next?
  6. Linux 3.10 Kernel Integrates BCache HDD/SSD...
  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