DRM(4) BSD Kernel Interfaces Manual DRM(4)NAME
drm — Direct Rendering Manager (DRI kernel support)
SYNOPSIS
device drm
device i915drm
device mach64drm
device mgadrm
device r128drm
device radeondrm
device savagedrm
device sisdrm
device tdfxdrm
options DRM_DEBUG
DESCRIPTION
The Direct Rendering Manager is part of the Direct Rendering
Infrastructure (see http://dri.freedesktop.org/) for supporting video
acceleration. For older chipsets it's used for 3d acceleration only, but
newer chipsets may require drm for 2d acceleration (XVideo, exa(4)) as
well.
The drm drivers provide support for the following chipsets:
i915drm Intel i915, i945, i965, G3x, G4x
mach64drm Mach64 (3D Rage Pro, Rage)
mgadrm Matrox G[24]00, G[45]50
r128drm ATI Rage 128
radeondrm ATI Radeon
savagedrm S3 Savage
sisdrm SiS
tdfxdrm 3dfx (Voodoo)
To make use of the driver:
· The kernel must include agp(4)
· Xorg(1), MesaLib and the video driver to be used must be compiled
with DRI support
· DRI must be enabled in the xorg.conf(5) configuration file:
Section "DRI"
Group "wheel"
Mode 0660
EndSection
Debugging output can be enabled and disabled by setting the sysctl(8)
node hw.dri.debug.
SEE ALSOXorg(1), agp(4), exa(4), xorg.conf(5)HISTORY
DRM was first available for Linux. Subsequently Eric Anholt ported the
DRM kernel modules to FreeBSD.
CAVEATS
Disable AIGLX if necessary (xorg.conf):
Section "ServerFlags"
Option "AIGLX" "off"
EndSection
Section "Extensions"
Option "Composite" "Disable"
EndSection
options DRM_DEBUG can slow DRI down a lot, disable it once drm works.
BSD June 23, 2009 BSD