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. Scythe Mugen MAX
  2. Intel Core i7 5960X Haswell-E On Linux
  3. Intel 80GB 530 Series M.2 SSD On Linux
  4. With A New Motherboard, The Core i7 5960X Haswell-E Lights Up
Latest Linux Articles
  1. A Tour Of The New Phoronix Office
  2. 7-Way Linux Desktop Gaming Comparison On Ubuntu 14.10
  3. Intel P-State vs. CPUFreq Benchmarks On The i7-5960X
  4. RadeonSI GLAMOR Benchmarks With X.Org Server 1.16
Latest Linux News
  1. Linux 3.17-rc6 Released; Linux 3.17 Final Might Come In One Week
  2. X.Org Server 1.16.1 Released
  3. Mesa Gets Closer To Having OpenGL 4.0 Tessellation Support
  4. Uselessd: A Stripped Down Version Of Systemd
  5. F2FS Tools Gain FSCK Support
  6. FreeBSD 10.1 Has The New VT Driver, Hardware Improvements
  7. AntiMicro 2.6 Yields Greater Compatibility For Gamepads On Linux
  8. OpenGL 3.3 / GLSL 3.30 Lands For Intel Sandy Bridge On Mesa
  9. AMD's RadeonSI Gallium3D Driver Sees Some Improvements
  10. Mesa 10.3 Released With The Latest Open-Source GPU Driver Improvements
Latest Forum Discussions
  1. Wasteland 2 Officially Launched Today, Including For Linux Gamers
  2. Trolling on the Phoronix forums
  3. X.Org Women Outreach Program Only Turns Up Two Applicants So Far
  4. New stress testing utility for GPU's
  5. ASRock AM1H-ITX: One Of The Best AM1 Mini-ITX Motherboards
  6. Can Linux kill a motherboard?
  7. Stop grabbing my keyboard :(
  8. New Group Calls For Boycotting Systemd