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 Benchmarking Platform
Phoromatic Test Orchestration

Kernel Mode-Setting With The Glint Driver

X.Org

Published on 18 June 2010 08:14 AM EDT
Written by Michael Larabel in X.Org
7 Comments

Earlier this month we reported on the ATI R300 GLSL compiler improvements being worked on as part of a Google Summer of Code (GSoC) project for X.Org, but how are their other 2010 projects progressing by these student developers? There's five GSoC X.Org projects in total this year and last night we received a bit of an update on the kernel mode-setting (KMS) efforts for porting the Glint driver.

For those that don't recall the scope of this KMS summer project or what the Glint driver is, the goal is to provide kernel mode-setting support for the Permedia 3 and Permedia 4 graphics cards. Right now the X.Org support is provided via user-space mode-setting in the Glint DDX driver. These old OpenGL-capable graphics processors from 3Dlabs are very rare to find these days seeing as they have been out for more than a decade, but under Linux they shall have KMS support for anyone who still uses such a GPU on an antiquated system.

The kernel mode-setting work is being done on the 3Dlabs Permedia 3/4 since writing a kernel driver for a very old graphics processor is much simpler than writing one for a modern GPU, especially over the course of a summer. While this KMS Glint support will be of direct benefit to almost no individuals, the GSoC developer hopes to better document the KMS driver writing process, which could help other developers down the road in targeting new hardware. Of course, with there already being KMS support for Intel, ATI/AMD, and NVIDIA hardware, even then new KMS drivers will really be targeting minority users.

Matt Turner, the student developer working on this 3Dlabs Glint KMS support, has all of his DRM-side code found in this personal kernel repository. Matt has started filling in some of the needed functions for enabling kernel-space mode-setting support, but is a bit uncertain regarding the next step(s) with his KMS support upbringing, so here is his mailing list message with where he is at on this DRM driver. With kernel mode-setting support, Matt needs to add kernel memory management support (via GEM/TTM is to be expected), which still needs to be tackled too. After the Glint KMS driver is up and running, Matt will turn his attention to documenting the process and providing some KMS driver writing tutorials.

If you are interested in more on the history of kernel mode-setting for Linux, this week we posted the slides by Egbert Eich from the Berlin LinuxTag.

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 Articles & Reviews
  1. Sub-$20 802.11n USB WiFi Adapter That's Linux Friendly
  2. The Lenovo T450s Is Working Beautifully With Linux
  3. Linux 4.0 SSD EXT4 / Btrfs / XFS / F2FS Benchmarks
  4. Linux 4.0 Hard Drive Comparison With Six File-Systems
  5. Lenovo ThinkPad T450s Broadwell Preview
  6. How Open-Source Allowed Valve To Implement VULKAN Much Faster On The Source 2 Engine
Latest Linux News
  1. EXT4 In Linux 4.1 Adds File-System Level Encryption
  2. Open-Source Ardour 4.0 Audio Software Has Big Improvements
  3. Linux-Powered Endless Computer Raises $100k+ In A Few Days
  4. GCC 5.1 RC2 Arrives, GCC 5.1 Planned For Next Week
  5. F2FS For Linux 4.1 Has New Features & Fixes
  6. Phoronix Server Upgrade This Weekend: Dual Haswell Xeons, 96GB DDR4
  7. Google's Experimental QUIC Transport Protocol Is Showing Promise
  8. Red Hat Joins Khronos, The Group Behind OpenGL & Vulkan
  9. NetworkManager Drops WiMAX Support
  10. Wine 1.7.41 Works More On Kernel Job Objects, MSI Patches
Most Viewed News This Week
  1. Nouveau: NVIDIA's New Hardware Is "VERY Open-Source Unfriendly"
  2. Linux 4.0 Kernel Released
  3. Microsoft Announces An LLVM-Based Compiler For .NET
  4. Linux 4.1 Brings Many Potentially Risky x86/ASM Changes
  5. VirtualBox 5.0 Beta 2 Released
  6. KDBUS Is Taking A Lot Of Heat, Might Be Delayed From Mainline Linux Kernel
  7. Mozilla Start Drafting Plans To Deprecate Insecure HTTP
  8. KDBUS To Be Included In The Linux 4.1 Kernel