Kernel Log: Major overhaul of Nouveau
by Thorsten Leemhuis
The kernel driver for NVIDIA graphics chips is undergoing a major overhaul. KVM is now available for MIPS. The new "lslocks" lists locked files and displays the programs that locked them.
In the past few days, the mainline Linux kernel has seen far fewer changes than usual after the arrival of a new kernel's first release candidate – a consequence of Linus Torvalds being away on holiday. However, there are some noteworthy developments in other areas of the Linux kernel and the software close to it:
- Nouveau developer Ben Skeggs has done major restructuring work in the developer branch of the Nouveau DRM graphics driver (for example 1, 2, 3, 4, 5, 6, 7). Commenting on one of the changes, Skeggs wrote that the restructuring measures are a result of all the things the Nouveau developers have learned in the past few years, and that the measures will lead to a cleaner and more maintainable driver architecture. He added that one of the main aims of his work was to reduce code complexity; other changes are designed to create the foundations for future features. Skeggs provides further information and tips for testers in an email to the other Nouveau developers. The changes will likely be integrated into Linux 3.7; in the latest main Git pull request for the DRM graphics drivers, the developers mentioned that there would only be minor changes to the Nouveau code in Linux 3.6 because Skeggs is working on a rewrite.
- With the recently issued fourth release candidate of X Server 1.13, the developers have closed the non-critical bug window. This version of X.org X Server, which improves aspects such as the hybrid graphics support, is scheduled to be completed in September.
- The organisers of this year's X.Org Developers Conference (XDC), to be held in Nuremberg in September, have issued a call for papers and presentations.
- Intel employee Chris Wilson has released version 2.20.3 of the Intel driver for X.org's X Server. His colleague Haihao Xiang has released libva 1.0.16 and version 1.0.18 of the libva driver for Intel hardware; these components, which give access to the video acceleration features of modern graphics cores, now support the decoding of JPEG data on Intel's Ivy Bridge processors. Meanwhile, Intel developer Ian Romanick has announced on his blog that Intel is working on driver code to support the recently released OpenGL ES 3.0 and that the plan is to have it fully enabled for release by February.
- Open source drivers that are suitable for production use continue to be unavailable for various Southern Islands GPUs introduced since late last year on series 7700, 7800 and 7900 Radeon HD graphics cards. According to the developers, a recent fix for the Mesa 3D driver for these AMD graphics chips, which is currently in development, has finally made the glxgears mini test program functional; also, a VDPAU target which uses the shader units on Southern Island GPUs to provide video acceleration has been added to the Mesa 3D code.
- Kyma Systems, a company that specialises in embedded products, has announced that it has ported the Linux kernel's KVM (Kernel-based Virtual Machine) virtualisation technology to the MIPS32 architecture.
- Greg Kroah-Hartman released the stable and long-term kernels 3.0.40, 3.4.8 and 3.5.1. Ben Hutchings has published Linux 3.2.26 and is preparing 3.2.27 .
- Kernel developer and RCU maintainer Paul E. McKenney has released the August 2012 update of "Is Parallel Programming Hard, And, If So, What Can You Do About It?", a book that he has been working on for some time.
- In a blog post, Karel Zak explains the operation of "lslocks" – a program that is scheduled to be part of Util-Linux 2.22. Lslocks outputs a list of files that have been locked by programs; it is similar to "lslk", which hasn't been maintained since 2001.
- Johannes Berg has released version 3.6 of the "iw" wireless hardware configuration tool.
- The recently released Iproute2 3.5.0 supports the Codel network packet scheduler, a component integrated in Linux 3.5 to held avoid buffer bloat.
- There is currently some disagreement on the future development of Zcache: instead of making improvements to the staging branch version of this framework for compressing parts of the working memory, Dan Magenheimer has reimplemented the feature from scratch and has proposed that his code be used (1, 2).
- A recent discussion on the kernel developers' mailing list revolved around a case in which a company may have been wrong to state that a certain kernel module was released under the GPL.
Further background information about the developments in the Linux kernel area can be found using the search function at The H Open Source. Information about previous Linux kernel releases can be found in The H's Linux Kernel History. New editions of Kernel Logs are also mentioned on Identi.ca and Twitter by @kernellog2. The Kernel Log author also posts updates about various topics on Identi.ca and Twitter as @kernellogauthor.