DragonFly On-Line Manual Pages


DRM(4)		      DragonFly 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) 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 In order to use two graphics cards (an on-board and another AGP/PCI/PCIe card) with DRI, a /dev/dri/card1 link to /dev/dri/card0 has to be created using devfsctl(8). If Xorg(1) acceleration fails to initialize with a ``contigmalloc_map: failed size...'' error in dmesg, the reserve of memory for DMA ran out early and should be increased to a sufficiently high value by setting the vm.dma_reserved loader tunable. A read only sysctl(8) variable of the same name is provided for obtaining its current value. Debugging output can be enabled and disabled by setting the sysctl(8) node hw.dri.0.debug.

SEE ALSO

Xorg(1), agp(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. DragonFly 3.5 January 11, 2012 DragonFly 3.5