1 .\" $NetBSD: drm.4,v 1.9 2009/06/20 22:55:20 wiz Exp $
3 .\" Copyright (c) 2007 Thomas Klausner
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
15 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 .Nd Direct Rendering Manager (DRI kernel support)
34 .Cd mach64drm* at vga?
37 .Cd radeondrm* at vga?
38 .Cd savagedrm* at vga?
44 .Cd options DRM_NO_AGP
47 .Tn Direct Rendering Manager
49 .Tn Direct Rendering Infrastructure
51 .Pa http://dri.freedesktop.org/ )
52 for supporting video acceleration (3d acceleration, mostly).
56 drivers provide support for the following chipsets:
57 .Bl -tag -width XsavagedrmXXX -offset indent -compact
61 Mach64 (3D Rage Pro, Rage)
63 Matrox G[24]00, G[45]50
78 To make use of the driver, the kernel must include
80 (for some drivers, using
81 .Cd options DRM_NO_AGP
82 instead may be sufficient),
84 must be compiled with DRI support, Mesa DRI drivers must be installed,
87 device must exist, and DRI must be enabled in the X configuration
94 do so automatically where supported.
97 will attempt to create the device node automatically.
98 To create the device node manually:
99 .Bd -literal -offset indent
101 mknod /dev/dri/card0 c 180 0
102 chgrp wheel /dev/dri/card0
103 chmod 0660 /dev/dri/card0
106 To enable DRI in the X configuration add the following to either
115 .Bd -literal -offset indent
129 Debugging output can be enabled and disabled by setting the
133 Additional information can be obtained from the
147 .Pa /usr/X11R[67]/lib/X11/doc/README.DRI
149 DRM was first available for Linux.
150 Subsequently Eric Anholt ported the DRM kernel modules to
152 Erik Reid adapted the
154 DRM kernel modules to
156 As DRM continued to develop the
158 support was neglected.
159 Tonnerre Lombard got the DRM modules working again, but DRM
160 development once again left the
163 Finally Yorick Hardy took the
165 DRM source and managed to get it compiling and working again on
167 thanks largely to the efforts of all those mentioned above.
168 Subsequently Matthias Drochner improved the DRM file hierarchy for
170 and committed the DRM kernel drivers.
171 Matthew Green cleaned up this port and merged a set of newer
172 drivers, with Arto Huusko and FUKAUMI Naoki helping to get
173 the latest Mesa port upto date.
187 .An Rickard E. Faith ,
189 .An Nicolai Haehnle ,
191 .An Thomas Hellstrom ,
195 .An Kevin E. Martin ,
196 .An Jared D. McNeill ,
203 may be changed, make sure to recreate it in that case.
205 .Cd options DRM_DEBUG
206 can slow DRI down a lot, disable it once