DragonFly On-Line Manual Pages

DRM(4)		      DragonFly Kernel Interfaces Manual		DRM(4)


drm -- Direct Rendering Manager (DRI kernel support)


The Direct Rendering Manager is part of the Direct Rendering Infrastructure (see http://dri.freedesktop.org/) for supporting video acceleration. The drm drivers provide support for the following chipsets: Module Kernel option Chipset i915kms.ko n/a Intel i915, i945, i965, G3x, G4x radeonkms.ko n/a AMD Radeon In most cases Xorg(1) will take care of loading the appropriate modules and it is not necessary to modify loader.conf(5) or the kernel configura- tion to enable drm support. Newer versions of Xorg(1), like the one from dports(7), do a pretty good job of figuring out the right configuration on their own, so having no xorg.conf(5) file at all is usually the best advice. If for some reason an xorg.conf(5) is preferred, DRI must be enabled: Section "DRI" Group "wheel" Mode 0660 EndSection With KMS, DRI is always enabled since the drm is always required. 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.


Xorg(1), i915kms(4), radeonkms(4), xorg.conf(5)


DRM was first available for Linux. Subsequently Eric Anholt ported the DRM kernel modules to FreeBSD.


Disable AIGLX if necessary (xorg.conf): Section "ServerFlags" Option "AIGLX" "off" EndSection options DRM_DEBUG can slow DRI down a lot, disable it once drm works. DragonFly 4.3 June 9, 2015 DragonFly 4.3