The 3dfx Linux Driver Has Hope & It's Getting TTM

Posted by Michael Larabel on July 15, 2010

Yesterday we reported on the emergence of the 3Dfx Linux DRM/KMS driver that introduces Linux kernel mode-setting support for the decade-old Banshee and Voodoo graphics cards. This work was done by a lone developer, but at this time it doesn't play well with the 3dfx X.Org DDX driver, which diminished hopes of it entering the mainline kernel. However, it appears there is interest in this driver and that the developer is now working on adding TTM memory management support for these 3dfx PCI/AGP graphics cards.

Following yesterday's news posting there was certainly some users excited about this new driver for the vintage hardware and it even ended up being pulled into the kernel tree of Corbin Simpson (message), the Linux graphics developer largely known for his work on the ATI Gallium3D "R300g" driver.

"I've already pulled this patch into my kernel tree, and I'll be making it available for Dave to test and pull once I can get it working on my Banshee. It's very cool to see this kind of code coming from the community and helping to remove old code that we no longer want in favor of stronger, more maintainable code," said Corbin.

If David Airlie pulls this driver, as the maintainer of the mainline Linux DRM code it could then be pulled into a later release cycle of the mainline Linux kernel. First though it will likely need an updated 3dfx X.Org driver that is compatible with this kernel driver before it's pulled upstream. Though it could also be decided at this year's X Developers' Summit during the "Kill It With Fire" session to not worry about supporting this old hardware any longer that's only used by a limited number of Linux users.

At the same time, James Simmons who authored this 3dfx DRM driver is working to add TTM (Translation Table Maps) support to the driver for in-kernel memory management. Right now this driver "cheats" with its memory using drm_addmap and some TTM hooks. There is an active TTM discussion taking place right now to work out the memory management problems.

Let's just hope it doesn't take a decade before we see a fully open-source DRM/KMS stack for Intel's outsourced graphics processors (as found with the Poulsbo, etc) that are currently causing a big mess.

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. The Cost Of Ubuntu Disk Encryption
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  4. F2FS File-System Shows Regressions On Linux 3.10
Latest Linux News
  1. Freedreno Gallium3D Now Banging The Adreno A3XX
  2. Jolla Announces Their First Phone
  3. Mageia 3 Released, Still Using Legacy GRUB
  4. NetBSD 6.1 Brings In More Features
  5. Using Six Monitors With AMD's Open-Source Linux Driver
  6. Benchmarking The Intel P-State, CPUfreq Changes
  7. FreeBSD Still Working On Next-Gen Package Manager
  8. DNF Still Advancing As Experimental Yum For Fedora
  9. Logitech Begins Supporting Linux Users
  10. Modern Intel Gallium3D Driver Still Being Toyed With
  11. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
Latest Forum Talk
  1. Mageia 3 Released, Still Using Legacy GRUB
  2. The Cost Of Ubuntu Disk Encryption
  3. Freedreno Gallium3D Now Banging The Adreno A3XX
  4. Jolla Announces Their First Phone
  5. Using Six Monitors With AMD's Open-Source Linux...
  6. Features Being Developed For KDE 4.11 Desktop
  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