Free and open-source graphics device driver

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Flowchart with Tux, the Linux penguin
Data and instructions are sent to the GPU for processing. The rendered results are stored in a framebuffer, whose content is scanned by the display controller and sent to the screen.

A free and open-source graphics device driver is a software stack which controls computer-graphics hardware and supports graphics-rendering application programming interfaces (APIs) and is released under a free and open-source software license. Graphics device drivers are written for specific hardware to work within a specific operating system kernel and to support a range of APIs used by applications to access the graphics hardware. They may also control output to the display if the display driver is part of the graphics hardware. Most free and open-source graphics device drivers are developed by the Mesa project. The driver is made up of a compiler, a rendering API, and software which manages access to the graphics hardware.

Drivers without freely (and legally) -available source code are commonly known as binary drivers. Binary drivers used in the context of operating systems that are prone to ongoing development and change (such as Linux) create problems for end users and package maintainers. These problems, which affect system stability, security and performance, are the main reason for the independent development of free and open-source drivers. When no technical documentation is available, an understanding of the underlying hardware is often gained by clean-room reverse engineering. Based on this understanding, device drivers may be written and legally published under any software license.

In rare cases, a manufacturer's driver source code is available on the Internet without a free license. This means that the code can be studied and altered for personal use, but the altered (and usually the original) source code cannot be freely distributed. Solutions to bugs in the driver cannot be shared, significantly reducing the utility of such drivers in comparison to free and open-source drivers.

Problems with binary drivers[edit]

Software developer's view[edit]

Flowchart; see caption
Illustration of the Linux graphics stack

There are objections to binary-only drivers based on copyright, security, reliability and development concerns. As part of a wider campaign against binary blobs, OpenBSD lead developer Theo de Raadt said that with a binary driver there is "no way to fix it when it breaks (and it will break)"; when a product which relies on binary drivers is declared to be end-of-life by the manufacturer, it is effectively "broken forever."[1] The project has also stated that binary drivers[2] "hide bugs and workarounds for bugs",[3] an observation which has been somewhat vindicated by flaws found in binary drivers (including an exploitable bug in Nvidia's 3D drivers discovered in October 2006 by Rapid7). It is speculated that the bug has existed since 2004; Nvidia have denied this, asserting that the issue was only communicated to them in July 2006 and the 2004 bug was a bug in X.Org (not in Nvidia's driver).[4]

Binary drivers often do not work with current versions of open-source software, and almost never support development snapshots of open-source software; it is usually not directly possible for a developer to use Nvidia's or ATI's proprietary drivers with a development snapshot of an X server or a development snapshot of the Linux kernel. Features like kernel mode-setting cannot be added to binary drivers by anyone but the vendors, which prevents their inclusion if the vendor lacks capacity or interest.

In the Linux kernel development community, Linus Torvalds has made strong statements on the issue of binary-only modules: "I refuse to even consider tying my hands over some binary-only module ... I want people to know that when they use binary-only modules, it's their problem".[5] Another kernel developer, Greg Kroah-Hartman, has said that a binary-only kernel module does not comply with the kernel's license (the GNU General Public License); it "just violates the GPL due to fun things like derivative works and linking and other stuff."[6] Writer and computer scientist Peter Gutmann has expressed concern that the digital rights management scheme in Microsoft's Windows Vista operating system may limit the availability of the documentation required to write open drivers, since it "requires that the operational details of the device be kept confidential."[7]

In the case of binary drivers, there are objections due to free software philosophy, software quality and security concerns.[8] There are also concerns that the redistribution of closed-source Linux kernel modules may be illegal.[9] The Linux kernel has never maintained a stable in-kernel application binary interface.[10] There are also concerns that proprietary drivers may contain backdoors, like the one found in Samsung Galaxy-series modem drivers.[11]

Hardware developer's view[edit]

Another flowchart; see caption
In the future, libGL-fglrx-glx could use the libDRM of the Radeon open-source driver instead of the proprietary binary blob; most of the investment is in the userspace driver.

When applications such as a 3D game engine or a 3D computer graphics software shunt calculations from the CPU to the GPU, they usually use a special-purpose API like OpenGL or Direct3D and do not address the hardware directly. Because all translation (from API calls to GPU opcodes) is done by the device driver, it contains specialized knowledge and is an object of optimization. This takes time and money. Leakage of device-driver source code (whether published under a free license or not) can give competitors an advantage — especially newcomers to graphic acceleration, who would gain considerable knowledge without bearing the costs of developing the knowledge.

The desktop computer market was long dominated by PC hardware using the x86/x86-64 instruction set and GPUs available for the PC. With three major competitors (Nvidia, AMD and Intel). The main competing factor was the price of hardware and raw performance in 3D computer games, which is greatly affected by the efficient translation of API calls into GPU opcodes. The display driver and the video decoder are inherent parts of the graphics card: hardware designed to assist in the calculations necessary for the decoding of video streams. As the market for PC hardware has dwindled, it seems unlikely that new competitors will enter this market and it is unclear how much more knowledge one company could gain by seeing the source code of other companies' drivers.

The mobile sector presents a different situation. The functional blocks (the application-specific integrated circuit display driver, 2- and 3D acceleration and video decoding and encoding) are separate semiconductor intellectual property (SIP) blocks on the chip, since hardware devices vary substantially; some portable media players require a display driver that accelerates video decoding, but do not require 3D acceleration. The development goal is not only raw 3D performance, but system integration, power consumption and 2D capabilities. There is also an approach which abandons the traditional method (Vsync) of updating the display and makes better use of sample and hold technology to lower power consumption.

During the second quarter of 2013 79.3 percent of smartphones sold worldwide were running a version of Android,[12] and the Linux kernel dominates smartphones. Hardware developers have an incentive to deliver Linux drivers for their hardware but, due to competition, no incentive to make these drivers free and open-source. Additional problems are the Android-specific augmentations to the Linux kernel which have not been accepted in mainline, such as the Atomic Display Framework (ADF).[13] ADF is a feature of 3.10 AOSP kernels which provides a dma-buf-centric framework between Android's hwcomposer HAL and the kernel driver. ADF significantly overlaps with the DRM-KMS framework. ADF has not been accepted into mainline, but a different set of solutions addressing the same problems (known as atomic mode setting) is under development. Projects such as libhybris harness Android device drivers to run on Linux platforms other than Android.

Cue list[edit]

Device drivers are the abstraction layer between software concepts and hardware circuitry. They are a standard interface to peripherals, hiding the details of how the circuitry solves things from the programmer. Almost any system operation eventually maps to a physical device. The kernel embeds device drivers for every peripheral in the computer system.

Performance comparisons[edit]

Three gears: red, blue and green
Glxgears is not well-suited for benchmarking.[14]

Phoronix, which compares free drivers, is a source for real-world testing:

  • 19 March 2011[15]
  • 31 March 2013[16]
  • A 29 April 2013 comparison of FOSS and proprietary drivers[17]
  • A 27 October 2013 comparison of proprietary drivers on Windows 8.1 and Linux[18]
  • A 25 January 2014 comparison of FOSS drivers on Linux[19]
  • A 27 January 2014 comparison of proprietary drivers on Linux[20]
  • A 19 March 2014 comparison of Ubuntu with the Free and open-source graphics device driver distributed as part of Mesa 3D, which outperforms Mac OS X 10.9.2 when playing OpenGL-based Xonotic on a 2013 MacBook Air.[21]
  • A January 2017 comparison indicated a difference in power between the Mesa Nouveau and NVidia driver and Kepler and Maxwell. Reclocking is needed for Maxwell in Nouveau to increase level to Kepler. A gap to Mesa exists by 30 to 50% in basic efficiency of driver against Nvidia in all chips.[22]
  • A February 2017 comparison indicated that Mesa 17.1dev was equal to or better than the AMD GPU driver 16.60 in OpenGL and 20-30 percent lower in Vulkan.[23]
  • A March 2017 comparison indicated improvements in Mesa for RadeonSI between versions 11.1 and 17.1.[24]
  • A June 2017 Comparison Windows 10 Radeon Software vs. Ubuntu 17.04 + Linux 4.12 + Mesa 17.2-dev -> Result mesa radeonsi at same level [25]
  • A October 2017 Comparison RadeonSI/RADV Mesa 17.3 + AMDGPU DC vs. the proprietary NVIDIA 387.12 Linux Gaming Performance -> Result: Nvidia clear in lead [26]
  • 2018-02: Comparison Mesa 12 to 18 with AMD R580 and R9 Fury for OpenGL and Vulkan Tests [27]

It is uncommon for video-game magazines to report benchmark testing on Linux. Benchmarks on Phoronix are limited in scope, primarily testing games which are available on Linux and support automated benchmarking.[28]

Software architecture[edit]

Illustration of differences between Gallium3D and Direct Rendering Infrastructure models
Although Mesa (DRI) and Gallium3D have different driver models, they share free and open-source code.
Driver example matrix
An example matrix of the Gallium3D driver model. With the introduction of the Gallium3D tracker and WinSys interfaces, 18 modules are required instead of 36. Each WinSys module can work with each Gallium3D device driver module and each State Tracker module.

Free and open-source drivers are primarily developed on and for Linux by Linux kernel developers, third-party programming enthusiasts and employees of companies such as Advanced Micro Devices. Each driver has five parts:

  1. A Linux kernel component DRM
  2. A Linux kernel component KMS driver (the display controller driver)
  3. A libDRM user-space component (a wrapper library for DRM system calls, which should only be used by Mesa 3D)
  4. A Mesa 3D user-space component. This component is hardware-specific; it is executed on the CPU and translates OpenGL commands, for example, into machine code for the GPU. Because the device driver is split, marshalling is possible. Mesa 3D is the only free and open-source implementation of OpenGL, OpenGL ES, OpenVG, GLX, EGL and OpenCL. In July 2014, most of the components conformed to Gallium3D specifications. A fully functional State Tracker for Direct3D version 9 is written in C, and an unmaintained tracker for Direct3D versions 10 and 11 is written in C++.[29] Wine has Direct3D version 9. Another Wine component translates Direct3D calls into OpenGL calls, working with OpenGL.
  5. Device Dependent X (DDX), another 2D graphics device driver for X.Org Server

The DRM is kernel-specific. A VESA driver is generally available for any operating system. The VESA driver supports most graphics cards without acceleration and at display resolutions limited to a set programmed in the video BIOS by the manufacturer.[30]

History[edit]

The Linux graphics stack has evolved, detoured by the X Window System core protocol.

Free and open-source drivers[edit]

ATI and AMD[edit]

Radeon[edit]

Diagram
Linux device drivers for AMD hardware in August 2016

AMD's proprietary driver, AMD Catalyst for their Radeon, is available for Microsoft Windows and Linux (formerly fglrx). A current version can be downloaded from AMD's site, and some Linux distributions contain it in their repositories. It is in the process of being replaced with an AMDGPU-PRO hybrid driver combining the open-source kernel, X and Mesa multimedia drivers with closed-source OpenGL, OpenCL and Vulkan drivers derived from Catalyst.

The FOSS drivers for ATI-AMD GPUs are being developed under the name Radeon (xf86-video-ati or xserver-xorg-video-radeon). They still must load proprietary microcode into the GPU to enable hardware acceleration.[31]

Radeon 3D code is split into six drivers, according to GPU technology: the radeon, r200 and r300 classic drivers and r300g, r600g and radeonsi Gallium3D drivers:

An up-to-date feature matrix is available,[32] and there is support for Video Coding Engine[AMD 1] and Unified Video Decoder.[AMD 2][AMD 3] The free and open-source Radeon graphics device drivers are not reverse-engineered, but are based on documentation released by AMD without the requirement to sign a non-disclosure agreement (NDA).[AMD 4][AMD 5][AMD 6] Documentation began to be gradually released in 2007.[AMD 7][AMD 8][AMD 9] This is in contrast to AMD's main competitor in the graphics field, Nvidia, which has a proprietary driver similar to AMD Catalyst but provides no support to free-graphics initiatives.[33]

In addition to providing the necessary documentation, AMD employees contribute code to support their hardware and features.[AMD 1] At the 2014 Game Developers Conference, The company announced that they were exploring a strategy change to re-base the user-space part of Catalyst on a free and open-source DRM kernel module instead of their proprietary kernel blob.[AMD 10]

All components of the Radeon graphics device driver are developed by core contributors and interested parties worldwide. In 2011, the r300g outperformed Catalyst in some cases.

Amdgpu[edit]

The release of the amdgpu stack was announced on the dri-devel mailing list in April 2015.[34] Although the driver is developed on GCN 1.1 graphics cards, it is enabled only for GCN 1.2 graphics cards;[35] GCN 1.0 and 1.1 graphics cards are supported by the Radeon driver.[36] Regarding the naming of the involved microarchitectures consult Graphics Core Next. A separate libdrm, libdrm-amdgpu, has been included since libdrm 2.4.63.[37]

Nvidia[edit]

Screenshot of grass growing out of the water
Screenshot of REnouveau, a program which collects data for most of Nouveau's reverse-engineering work

Nvidia's proprietary driver, Nvidia GeForce driver for GeForce, is available for Windows XP x86-x86-64 and later, Linux x86-x86-64-ARMv7-A, OS X 10.5 and later, Solaris x86-x86-64 and FreeBSD x86/x86-64. A current version can be downloaded from the Internet, and some Linux distributions contain it in their repositories. The 4 October 2013 beta Nvidia GeForce driver 331.13 supports the EGL interface, enabling support for Wayland in conjunction with this driver.[Nvidia 1][Nvidia 2]

Nvidia's free and open-source driver is named nv.[Nvidia 3] It is limited (supporting only 2D acceleration), and Matthew Garrett, Dirk Hohndel and others have called its source code confusing.[Nvidia 4][Nvidia 5][38] Nvidia decided to deprecate nv, not adding support for Fermi or later GPUs and DisplayPort, in March 2010.[Nvidia 6]

In December 2009, Nvidia announced they would not support free graphics initiatives.[33] On 23 September 2013 The company announced that they would release some documentation of their GPUs.[Nvidia 7]

Nouveau is based almost entirely on information gained through reverse engineering. This project aims to produce 3D acceleration for X.Org/Wayland using Gallium3D.[Nvidia 8] On March 26, 2012, Nouveau's DRM component was marked stable and promoted from the staging area of the Linux kernel.[Nvidia 9] Nouveau supports Tesla- (and earlier), Fermi-, Kepler- and Maxwell-based GPUs.[Nvidia 10] On 31 January 2014, Nvidia employee Alexandre Courbot committed an extensive patch set which adds initial support for the GK20A (Tegra K1) to Nouveau.[Nvidia 11] In June 2014, Codethink reportedly ran a Wayland-based Weston compositor with Linux kernel 3.15, using EGL and a "100% open-source graphics driver stack" on a Tegra K1.[Nvidia 12] A feature matrix is available.[39] In July 2014, Nouveau was unable to outperform the Nvidia GeForce driver due to missing re-clocking support. Tegra-re is a project which is working to reverse-engineer nVidia's VLIW-based Tegra series of GPUs that predate Tegra K1.[40]

Nvidia distributes proprietary device drivers for Tegra through OEMs and as part of its Linux for Tegra (formerly L4T) development kit.[41] Nvidia and a partner, Avionic Design, were working on submitting Grate (free and open-source drivers for Tegra) upstream of the mainline Linux kernel in April 2012.[Nvidia 13][Nvidia 14] The company's co-founder and CEO laid out the Tegra processor roadmap with Ubuntu Unity at the 2013 GPU Technology Conference.[Nvidia 15]

Nvidia's Unified Memory driver (nvidia-uvm.ko), which implements memory management for Pascal and Volta GPUs on Linux, is MIT licensed. The source code is available in the Nvidia Linux driver downloads on systems that support nvidia-uvm.ko.

  1. ^ "Support for EGL on 32-bit platforms". 2013-10-04. Retrieved 2014-07-15.
  2. ^ "lib32-nvidia-utils 340.24-1 File List". 2014-07-15.
  3. ^ "X.org nv driver page". 2013-05-20.
  4. ^ "Patch by Dirk Hohndel". 1998-11-18. Archived from the original on 2014-02-01. Retrieved 2014-07-15. ... opposed to such obfuscated code. We do not regard this as free software according to our standards
  5. ^ "Nouveau – The community & past, current and future developments" (PDF). 2011-09-13. Retrieved 2014-07-15.
  6. ^ "Nvidia deprecates "NV"". Phoronix. 2010-03-26.
  7. ^ "Nvidia offers to release public documentation on certain aspects of their GPUs". 2013-09-23. Retrieved 2013-09-24.
  8. ^ "Nouveau: Accelerated Open Source driver for nVidia cards".
  9. ^ "The Nouveau driver graduates from staging". LWN.net. 2012-03-23.
  10. ^ "Engineering names for Nvidia".
  11. ^ "drm/nouveau: initial support for GK20A (Tegra K1)". 2014-01-31.
  12. ^ "Codethink Gets The NVIDIA Jetson TK1 Running With Linux 3.15, Wayland". Phoronix. 2014-06-12.
  13. ^ Mayo, Jon (2012-04-20). "[RFC 0/4] Add NVIDIA Tegra DRM support". dri-devel (Mailing list). Retrieved 2012-08-21.
  14. ^ Larabel, Michael (2012-04-11). "A NVIDIA Tegra 2 DRM/KMS Driver Tips Up". Phoronix Media. Retrieved 2012-08-21.
  15. ^ "GTC 2013: NVIDIA's Tegra Roadmap (6 of 11)". YouTube. Retrieved 2013-07-10.

Intel[edit]

Intel has a history of producing (or commissioning) open-source drivers for its graphics chips, with the exception of their PowerVR-based chips.[42] Their 2D X.Org driver is called xf86-video-intel. The kernel mode-setting driver in the Linux kernel does not use the video BIOS for switching video modes; since some BIOSes have a limited range of modes, this provides more reliable access to those supported by Intel video cards.

Unlike the Radeon and Nouveau drivers, Intel does not intend to utilize the Gallium3D framework for its graphics drivers.[43] The company worked on optimizing their free Linux drivers for performance approaching their Windows counterparts, especially on Sandy Bridge and newer hardware (where performance optimizations have allowed the Intel driver to outperform their proprietary Windows drivers in certain tasks, in 2011.[44][45][46] Some of the performance enhancements may also benefit users of older hardware.[47]

Support for Intel's LLC (Last Level Cache, L4-Cache, Crystalwell and Iris Pro) was added in Linux kernel 3.12,[48][49] and the company has 20 to 30 full-time Linux graphics developers.[50]

Matrox[edit]

Matrox develops and manufactures the Matrox Mystique, Parhelia, G200, G400 and G550. Although the company provides free and open-source drivers for their chipsets which are older than the G550; chipsets newer than the G550 are supported by a closed-source driver.

S3 Graphics[edit]

S3 Graphics develops the S3 Trio, ViRGE, Savage and Chrome, supported by OpenChrome.[51]

Arm Holdings[edit]

Arm Holdings is a fabless semiconductor company which licenses semiconductor intellectual property cores. Although they are known for the licensing the ARM instruction set and CPUs based on it, they also develop and license the Mali series of GPUs. On January 21, 2012, Phoronix reported that Luc Verhaegen was driving a reverse-engineering attempt aimed at the Arm Holdings Mali series of GPUs (specifically, the Mali-200 and Mali-400 versions). The reverse-engineering project, known as Lima, was presented at FOSDEM on February 4, 2012.[52][53] On February 2, 2013, Verhaegen demonstrated Quake III Arena in timedemo mode, running on top of the Lima driver.[54] In May 2018, a Lima developer posted the driver for inclusion in the Linux kernel.[55]

ARM has indicated no intention of providing support for their graphics acceleration hardware licensed under a free and open-source license. However, ARM employees sent patches for the Linux kernel to support their ARM HDLCD display controller and Mali DP500, DP550 and DP650 SIP blocks in December 2015 and April 2016.[56][57]

Imagination Technologies[edit]

Imagination Technologies is a fabless semiconductor company which develops and licenses semiconductor intellectual property cores, among which are the PowerVR GPUs. Intel has manufactured a number of PowerVR-based GPUs. PowerVR GPUs are widely used in mobile SoCs. The company does not provide a FOSS driver or public documentation for the PowerVR. Due to its wide use in embedded devices, the Free Software Foundation has put reverse-engineering of the PowerVR driver on its high-priority project list.[58]

Vivante[edit]

Vivante Corporation is a fabless semiconductor company which licenses semiconductor intellectual property cores and develops the GCxxxx series of GPUs. A Vivante proprietary, closed-source Linux driver consists of kernel- and user-space parts. Although the kernel component is open-source (GPL), the user-space components—consisting of the GLES(2) implementations and a HAL library—are not; these contain the bulk of the driver logic.

Wladimir J. van der Laan found and documented the state bits, command stream and shader ISA by studying how the blobs work, examining and manipulating command-stream dumps. The Etnaviv Gallium3D driver is being written based on this documentation. Van der Laan's work was inspired by the Lima driver, and the project has produced a functional-but-unoptimized Gallium3D LLVM driver. The Etnaviv driver has performed better than Vivante's proprietary code in some benchmarks, and it supports Vivante's GC400, GC800, GC1000, GC2000, and GC3000 series.[59] In January 2017, Etnaviv was added to Mesa with both OpenGL ES 2.0 and Desktop OpenGL 2.0 support.[60]

Qualcomm[edit]

Qualcomm develops the Adreno (formerly ATI Imageon) GPU series, and includes it as part of their Snapdragon system. Phoronix and Slashdot reported in 2012 that Rob Clark, inspired by the Lima driver, was working on reverse-engineering drivers for the Adreno GPU series.[61][62] In a referenced blog post, Clark wrote that he was doing the project in his spare time and that the Qualcomm platform was his only viable target for working on open 3D graphics. His employers (Texas Instruments and Linaro) were affiliated with the Imagination PowerVR and ARM Mali cores, which would have been his primary targets; he had working command streams for 2D support, and 3D commands seemed to have the same characteristics.[63] The driver code was published on Gitorious "freedreno",[64] and has been moved to Mesa.[65][66] In 2012, a working shader assembler was completed;[67] demonstration versions were developed for texture mapping[68] and phong shading,[69] using the reverse-engineered shader compiler. Clark demonstrated Freedreno running desktop compositing, the XBMC media player and Quake III Arena at FOSDEM on February 2, 2013.[70]

In August 2013, the kernel component of freedreno (MSM driver) was accepted into mainline and is available in Linux kernel 3.12 and later.[71] The DDX driver gained support for server-managed file descriptors requiring X.Org Server version 1.16 and above in July 2014.[72] In January 2016, the Mesa Gallium3D-style driver gained support for Adreno 430;[73] in November of that year, the driver added support for the Adreno 500 series.[74] Freedreno can be used on devices such as 96Boards Dragonboard 410c and Nexus 7 (2013) in traditional Linux distributions (like Debian and Fedora) and on Android.

Broadcom[edit]

Software diagram
The Mesa driver for VideoCore4, VC4, was written from scratch by Broadcom's Eric Anholt.[Broadcom 1]

Broadcom develops and designs the VideoCore GPU series as part of their SoCs. Since it is used by the Raspberry Pi, there has been considerable interest in a FOSS driver for VideoCore.[Broadcom 2] The Raspberry Pi Foundation, in co-operation with Broadcom, announced on October 24, 2012 that they open-sourced "all the ARM (CPU) code that drives the GPU".[citation needed] However, the announcement was misleading; according to the author of the reverse-engineered Lima driver, the newly open-sourced components only allowed message-passing between the ARM CPU and VideoCore but offered little insight into Videocore and little additional programability.[Broadcom 3] The Videocore GPU runs an RTOS which handles the processing; video acceleration is done with RTOS firmware coded for its proprietary GPU, and the firmware was not open-sourced on that date.[Broadcom 4] Since there was neither a toolchain targeting the proprietary GPU nor a documented instruction set, no advantage could be taken if the firmware source code became available. The Videocoreiv project[Broadcom 5] attempted to document the VideoCore GPUs.

On February 28, 2014 (the Raspberry Pi's second anniversary), Broadcom and the Raspberry Pi Foundation announced the release of full documentation for the VideoCore IV graphics core and a complete source release of the graphics stack under a 3-clause BSD license.[Broadcom 6][Broadcom 7] The free-license 3D graphics code was committed to Mesa on 29 August 2014,[Broadcom 8] and first appeared on Mesa's 10.3 release.

Other vendors[edit]

Although Silicon Integrated Systems and VIA Technologies have expressed limited interest in open-source drivers, both have released source code which has been integrated into X.Org by FOSS developers.[38] In July 2008, VIA opened documentation of their products to improve its image in the Linux and open-source communities.[75] The company has failed to work with the open-source community to provide documentation and a working DRM driver, leaving expectations of Linux support unfulfilled.[76] On January 6, 2011, it was announced that VIA was no longer interested in supporting free graphics initiatives.[77]

DisplayLink announced an open-source project, Libdlo,[78] with the goal of bringing support for their USB graphics technology to Linux and other platforms. Its code is available under the LGPL license,[79] but it has not been integrated into an X.Org driver. DisplayLink graphics support is available through the kernel udlfb driver (with fbdev) in mainline and udl/drm driver, which in March 2012 was only available in the drm-next tree.

Non-hardware-related vendors may also assist free graphics initiatives. Red Hat has two full-time employees (David Airlie and Jérôme Glisse) working on Radeon software,[80] and the Fedora Project sponsors a Fedora Graphics Test Week event before the launch of their new Linux distribution versions to test free graphics drivers.[81] Other companies which have provided development or support include Novell and VMware.

Open hardware projects[edit]

See caption
Assembled Project VGA graphics board
Another circuit board
Open Graphics Project prototype

Project VGA aims to create a low-budget, open-source VGA-compatible video card.[82] The Open Graphics Project aims to create an open-hardware GPU. The Open Graphics Device v1 has dual DVI-I outputs and a 100-pin IDC connector. In September 2010, the first 25 OGD1 boards were made available for grant application and purchase.[83] The Milkymist system on a chip, targeted at embedded graphics instead of desktop computers, supports a VGA output, a limited vertex shader and a 2D texturing unit.[84]

The Nyuzi,[85] an experimental GPGPU processor, includes a synthesizable hardware design written in System Verilog, an instruction set emulator, an LLVM-based C-C++ compiler, software libraries and tests and explores parallel software and hardware. It can run on a Terasic DE2-115 field-programmable gate array board.[86][87]

If a project uses FPGAs, it generally has a partially (or completely) closed-source toolchain. There are relatively few FPGAs with completely open-source toolchains.[citation needed]

See also[edit]

Notes[edit]

  1. ^ a b "initial VCE support in Linux kernel and in the Mesa driver".
  2. ^ "drm-next-3.15 Feb 18".
  3. ^ "drm-next-3.15 Mar 04".
  4. ^ "AMD Developer Guides". Archived from the original on 2013-07-16.
  5. ^ "Documentation provided by AMD".
  6. ^ "AMD 3D Documentation list". Archived from the original on 2013-10-07.
  7. ^ "AMD to open up graphics specs". LWN.net. 2007-09-05. Retrieved 2014-07-15.
  8. ^ "AMD: GPU Specifications Without NDAs!". 2007-09-10. Retrieved 2014-07-15.
  9. ^ David Airlie (2007-09-13). "AMD hand me specs on a CD". Archived from the original on 2012-10-22. Retrieved 2014-07-15.
  10. ^ "AMD exploring new Linux driver Strategy". 2014-03-22. Retrieved 2014-03-23.

ATI Mobility™ and Integrated Mobility™ Product Family Support The ATI Catalyst™ Linux software suite is designed to support the following ATI Mobility™ products: AMD Mobility Product Family Support ATI Mobility Radeon™ X3870 ATI Mobility Radeon™ X3430 ATI Mobility Radeon™ X3850 ATI Mobility Radeon™ X3400 ATI Mobility Radeon™ X3830 ATI Mobility Radeon™ X2600 ATI Mobility Radeon™ X3670 ATI Mobility Radeon™ X2400 ATI Mobility Radeon™ X3650 ATI Mobility Radeon™ X2300

References[edit]

  1. ^ Theo de Raadt (2006-12-03). "Open Documentation for Hardware". Presentation slides from OpenCON 2006. Retrieved 2007-02-01.
  2. ^ "What does "binary" means in device driver?". Retrieved November 14, 2017.
  3. ^ "3.9: "Blob!"". OpenBSD. Retrieved 2007-02-12.
  4. ^ "Linux - How does the Rapid7 Advisory R7-0025 affect the NVIDIA Unix driver?".
  5. ^ "a/lt-binary".
  6. ^ Kroah-Hartman, Greg. "Myths, Lies, and Truths about the Linux kernel". linux kernel monkey log.
  7. ^ Peter Gutmann (2006-12-26). "A Cost Analysis of Windows Vista Content Protection". Retrieved 2007-01-28.
  8. ^ Linux Weekly News, Aug 14, 2006: X.org, distributors, and proprietary modules
  9. ^ Greg Kroah-Hartman (2006). "Myths, Lies, and Truths about the Linux kernel". Linux Symposium. So, here's the simple answer to this issue: Closed source Linux kernel modules are illegal. That's it, it is very simple. I've had the misfortune of talking to a lot of different IP lawyers over the years about this topic, and every one that I've talked to all agree that there is no way that anyone can create a Linux kernel module, today, that can be closed source. It just violates the GPL due to fun things like derivative works and linking and other stuff. Again, it's very simple. Now no lawyer will ever come out in public and say this, as lawyer really aren't allowed to make public statements like this at all. But if you hire one, and talk to them in the client/lawyer setting, they will advise you of this issue.
  10. ^ "The Linux Kernel Driver Interface". Archived from the original on 2013-11-04. Retrieved 2014-03-04.
  11. ^ "SamsungGalaxyBackdoor". 2014-02-04.
  12. ^ "Android Nears 80% Market Share In Global Smartphone Shipments, As iOS And BlackBerry Share Slides, Per IDC".
  13. ^ "Atomic Display Framework".
  14. ^ "free3d.org FAQ". Is glxgears an accurate measure of 3D performance? No, it sucks in multiple ways.
  15. ^ "On Low-End GPUs, Nouveau Speeds Past The NVIDIA Driver". Retrieved 15 November 2017.
  16. ^ "Nouveau's OpenGL Performance Approaches The NVIDIA Driver". Retrieved 15 November 2017.
  17. ^ "15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison". Retrieved 15 November 2017.
  18. ^ "Ubuntu Linux Gaming Performance Mostly On Par With Windows 8.1". Retrieved 15 November 2017.
  19. ^ "25-Way Open-Source Linux Graphics Card Comparison". Retrieved 15 November 2017.
  20. ^ "24-Way AMD Radeon vs. NVIDIA GeForce Linux Graphics Card Comparison". Retrieved 15 November 2017.
  21. ^ "Ubuntu 14.04 outperforms OS X 10.9 on 2013 MacBook Air". Phoronix. 2014-03-19. Retrieved 2014-03-19.
  22. ^ "Nouveau Maxwell: Mesa 17.0 + Linux 4.10 vs. NVIDIA's Linux Driver". Retrieved 15 November 2017.
  23. ^ "RADV Mesa 17.1-dev vs. AMDGPU-PRO 16.60 Performance". Retrieved 15 November 2017.
  24. ^ "How The RadeonSI OpenGL Performance Has Evolved From Mesa 11.1 To Mesa 17.1 Git". Retrieved 15 November 2017.
  25. ^ https://www.phoronix.com/scan.php?page=article&item=radeonsi-win10-fury&num=1
  26. ^ https://www.phoronix.com/scan.php?page=article&item=mesa173-dc-nv&num=1
  27. ^ https://www.phoronix.com/scan.php?page=article&item=mesa-120-180&num=1
  28. ^ "The Importance Of Benchmark Automation & Why I Hate Running Linux Games Manually". Phoronix. 2016-06-04. Retrieved 2016-06-04.
  29. ^ "Direct3D 9 state tracker". Archived from the original on 20 July 2013. Retrieved 15 November 2017.
  30. ^ "Index of /doc/Documentation/fb/". Retrieved 15 November 2017.
  31. ^ Details of Debian package firmware-linux-nonfree in Stable Debian.org
  32. ^ "Radeon Feature". Retrieved 15 November 2017.
  33. ^ a b "Nvidia's Response To Recent Nouveau Work". Phoronix. 2009-12-14.
  34. ^ "AInitial amdgpu driver release". 2015-04-20. Retrieved 2016-04-26.
  35. ^ "AMD Moves Forward With Unified Linux Driver Strategy, New Kernel Driver". Phoronix.
  36. ^ "AMD Unleashes Initial AMDGPU Driver Support For GCN 1.0 / Southern Islands GPUs". Phoronix.
  37. ^ "libdrm 2.4.63". 2015-08-14.
  38. ^ a b David M. Airlie (2006-07-19). "Open Source Graphic Drivers—They Don't Kill Kittens" (PDF). Proceedings of the Linux Symposium Volume One. Ottawa, Ontario, Canada. Archived from the original (PDF) on 2007-02-08. Retrieved 2007-01-28.
  39. ^ "Nouveau Driver Feature Matrix". Retrieved 16 November 2017.
  40. ^ "Tegra-re". Retrieved 16 November 2017.
  41. ^ "Linux For Tegra Archive". Retrieved 16 November 2017.
  42. ^ An overview of graphic card manufacturers and how well they work with Ubuntu Ubuntu Gamer, January 10, 2011 (Article by Luke Benstead); (copy of the article)
  43. ^ "Intel & The Shortcomings Of Gallium3D". Phoronix. 2010-04-13. Retrieved 2010-10-26.
  44. ^ "More Performance Comes Out Of Intel Linux SNB". Phoronix. 2011-03-22. Retrieved 2011-03-23.
  45. ^ "Intel Sandy Bridge Performance Goes Up Again". Phoronix. 2011-03-31. Retrieved 2011-03-31.
  46. ^ "Intel SNB Linux Driver Can Out Run Windows Driver". Phoronix. 2011-05-23. Retrieved 2011-05-23.
  47. ^ "A Historical Look At Intel Ironlake Graphics Performance". Phoronix. 2011-05-25. Retrieved 2011-05-25.
  48. ^ "drm/i915: Use eLLC/LLC by default when available".
  49. ^ "drm/i915: Use Write-Through cacheing for the display plane on Iris".
  50. ^ "Intel Has 20~30 Full-Time Linux Graphics Developers". 2013-02-02.
  51. ^ "OpenChrome". Retrieved 16 November 2017.
  52. ^ phoronix (6 February 2012). "Phoronix.com - FOSDEM 2012 - Open-Source ARM Mali" – via YouTube.
  53. ^ Phoronix, Jan 21 2012: An Open-Source, Reverse-Engineered Mali GPU Driver
  54. ^ "Quake 3 Arena timedemo on top of the lima driver!". Archived from the original on 2013-02-09.
  55. ^ Lima DRM driver
  56. ^ "drm: Add support for the ARM HDLCD display controller". Linux kernel mailing list. 2015-12-11.
  57. ^ "Initial support for ARM Mali Display Controller". Linux kernel mailing list. 2016-04-01.
  58. ^ Free Software Foundation, Apr 25, 2005: High Priority Free Software Projects
  59. ^ "laanwj/etna_viv".
  60. ^ "etnaviv: gallium driver for Vivante GPUs".
  61. ^ Michael Larabel (14 April 2012). "An Open-Source Graphics Driver For Snapdragon". Phoronix. Retrieved 15 April 2012.
  62. ^ Soulskill (14 April 2012). "Open-Source Qualcomm GPU Driver Published". Slashdot. Retrieved 15 April 2012.
  63. ^ Rob Clark (14 April 2012). "Fighting back against binary blobs!". Linaro. Retrieved 15 April 2012.
  64. ^ Freedreno, 15 April 2012 Archived 24 October 2012 at the Wayback Machine.
  65. ^ "Mesa/Gallium3D Gets Its First ARM SoC GPU Driver - Phoronix".
  66. ^ http://lists.freedesktop.org/archives/mesa-commit/2013-March/042190.html
  67. ^ Rob Clark (29 July 2012). "freedreno update: first renders shader assembler!". Retrieved 16 August 2012.
  68. ^ Rob Clark (5 August 2012). "textured cube (fullscreen!)". Retrieved 16 August 2012.
  69. ^ Rob Clark (15 August 2012). "Open Source lolscat!". Retrieved 16 August 2012.
  70. ^ "Open ARM GPU drivers – Freedreno". FOSDEM. 2013-02-02. Retrieved 2014-07-15.
  71. ^ "Merge the MSM driver from Rob Clark". kernel.org. 2013-08-28. Retrieved 2014-06-04.
  72. ^ "xf86-video-freedreno 1.2.0". freedesktop.org. 2014-07-14.
  73. ^ "Add support for adreno 430". Retrieved 15 November 2017.
  74. ^ "Index Mesa-Mesa". Retrieved 15 November 2017.
  75. ^ Michael Larabel (2008-07-26). "VIA Publishes Three Programming Guides". Phoronix. Retrieved 2008-08-04.
  76. ^ Michael Larabel (2009-11-21). "VIA's Linux TODO List... Maybe Look Forward To 2011?". Phoronix. Retrieved 2009-12-30.
  77. ^ VIA's Open Linux Graphics Driver Has Been Defenestrated Phoronix, January 06, 2011 (Article by Michael Larabel)
  78. ^ "Libdlo". Retrieved 16 November 2017.
  79. ^ "DisplayLink Releases Linux Source Code for its USB Graphics Processors" (Press release). DisplayLink. 2009-05-15. Retrieved 2009-05-15.
  80. ^ AMD's Hiring Another Open-Source Driver Developer Phoronix, December 11, 2010 (Article by Michael Larabel)
  81. ^ It's Fedora Graphics Test Week Phoronix, February 22, 2011 (Article by Michael Larabel)
  82. ^ "Home of Project VGA, the low budget, open source, VGA compatible video card". 090503 wacco.mveas.com
  83. ^ "Linux Fund: OGD1". Open Graphics Project. 2010-09-23. Retrieved 2011-11-04.
  84. ^ Bourdeauducq, Sebastien (June 2010). "A performance-driven SoC architecture for video synthesis" (PDF). Archived from the original (PDF) on 2011-07-27. Retrieved 2010-11-05.
  85. ^ "Nyuzi is an experimental GPGPU processor".
  86. ^ "SOC Test Environment".
  87. ^ "Running on Terasic DE2-115 FPGA board".

External links[edit]