1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Will The Linux 2.6.39 Kernel Bring Graphics Magic?

Linux Kernel

Published on 14 March 2011 02:10 PM EDT
Written by Michael Larabel in Linux Kernel
26 Comments

While the Linux 2.6.38 kernel isn't even released yet, it's likely to be released in the next day or two. After that and a few days of downtime, the merge window for the Linux 2.6.39 kernel will be opened. What features can one expect for the open-source Linux graphics support? As is usual these days, there's lots of expected changes.

Before jumping to the Linux 2.6.39 kernel changes, it's first worth noting the open-source AMD Fusion support in the Linux 2.6.38 kernel. As I mentioned last week, the open-source DRM/KMS Fusion support is broken. Fortunately, a trivial patch was quick to emerge. However, over the weekend I discovered another show-stopping problem that led to the AMD E-350 (Fusion) graphics failing due to a TTM memory management problem. A patch to fix this latest issue has already been written by David Airlie and gone through a few revisions, but I haven't yet tested the patch. David though did send in yet another pull request this morning to Linus Torvalds for Linux 2.6.38 final that provides last week's trivial Fusion page-flipping patch plus the most recent patch from this weekend for the TTM memory management problem. The DRM/KMS support for the AMD Radeon HD 6870 on the Linux 2.6.38 kernel is also shoddy even with today's Git kernel and can lead to a hard lock-up, but I digress.

In regards to the Linux 2.6.39 kernel, I received a note over the weekend from a reader that said, "pls report about the changes in drm-next. i tested it with several mesa and libdrm git versions. with the drm-next kernel instead of stock 2.6.38 kernel fps in heroes of newerth with full details went from 10 to 30 on and hd4850. on windows with latest drivers and opengl renderer 37 fps. thats almost over 75 percent performance. even lightsmark 2008 went from 50 to 97 fps.i did not bisect the commits in drm-next cause i dont wanna compile so many kernels. im using colortiling pageflipping swapbuffers off and metacity." This Phoronix reader, Julius Von Kohout, additionally mentioned "and fyi everything rendered correctly. in general i reach about 70% of fglrx...awesome nexuiz went from 20-50 to 100-200 fps."

I did run a few quick tests last night on an AMD RV730 graphics card with Mesa/DDX Git and the latest from the drm-next tree. However, at least when Compiz is enabled and not disabling the SwapBuffersWait option, there wasn't any major change when going from the Linux 2.6.38 Git to the drm-next kernel. Of course, when Radeon users go from Linux 2.6.37 (or earlier) to Linux 2.6.38 there are huge performance improvements thanks to KMS page-flipping landing and other work. Over the coming days I'll try to substantiate this reader's claims of such extraordinary improvements in drm-next.

Among the features queued up in drm-next for the Linux 2.6.39 kernel are:

- AMD Cayman GPU KMS support (the AMD Radeon HD 6900 series), but this currently doesn't have the DRM bits for EXA/X-Video acceleration nor for 3D acceleration (there is also no Gallium3D user-space support yet)... Hopefully the kernel changes are able to be pushed prior to the 2.6.39 merge window closing.
- NV50/Fermi KMS page-flipping in the Nouveau driver.
- NV50 support for compression and various other features primarily for NV50 and NVC0 (Fermi) hardware.
- An overhaul to the Radeon DRM texture checking to support block formats like S3TC.
- A USB framework has been added to the Direct Rendering Manager code so that USB-based graphics devices can plug into DRM/KMS. This is quite interesting and will allow for USB graphics devices like those from DisplayLink to have a kernel mode-setting driver. David Airlie has already started work on such a DisplayLink DRM driver.

Though some of what's not found in drm-next right now for the Linux 2.6.39 kernel is:

- The VIA TTM/GEM and KMS patches by James Simmons. These are still being worked on, but it appears no effort has been made yet to push them into the mainline tree.
- No acceleration support for NVIDIA GeForce 400 / 500 "Fermi" graphics cards when there is no firmware available / there is no "free" firmware yet for these GPUs with the Nouveau driver.
- Again, no AMD Cayman acceleration support quite yet.
- No Intel G45 VA-API support.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. NVIDIA GeForce GTX 970 Offers Great Linux Performance
  2. CompuLab Intense-PC2: An Excellent, Fanless, Mini PC Powered By Intel's i7 Haswell
  3. From The Atom 330 To Haswell ULT: Intel Linux Performance Benchmarks
  4. AMD Radeon R9 285 Tonga Performance On Linux
Latest Linux Articles
  1. 6-Way Ubuntu 14.10 Linux Desktop Benchmarks
  2. Ubuntu 14.10 XMir System Compositor Benchmarks
  3. Btrfs RAID HDD Testing On Ubuntu Linux 14.10
  4. Ubuntu 14.10 Linux 32-bit vs. 64-bit Performance
Latest Linux News
  1. Mono Brings C# To The Unreal Engine 4
  2. Coreboot Now Has Support For Intel Broadwell Hardware
  3. Enlightenment's EFL 1.12 Alpha Has Evas GL-DRM Engine, OpenGL ES 1.1 Support
  4. GTK+ Lands Experimental Backend For Mir Display Server
  5. Ubuntu 14.10 Officially Released
  6. Mesa 10.4 Might Re-Enable HyperZ For R600g/RadeonSI
  7. Intel GVT-g GPU Virtualization Moves Closer
  8. GTK+ 3.16 To Bring Several New Features
  9. Debian 8.0 Jessie Has Many Multimedia Improvements
  10. What Linux Benchmarks Would You Like To See Next?
Latest Forum Discussions
  1. Linux hacker compares Solaris kernel code:
  2. HOPE: The Ease Of Python With The Speed Of C++
  3. Advertisements On Phoronix
  4. Updated and Optimized Ubuntu Free Graphics Drivers
  5. Users/Developers Threatening Fork Of Debian GNU/Linux
  6. Ubuntu 16.04 Might Be The Distribution's Last 32-Bit Release
  7. AMD Releases UVD Video Decode Support For R600 GPUs
  8. Proof that strlcpy is un-needed