From 75679f170677736dca0d0571946e12ebfb155506 Mon Sep 17 00:00:00 2001 From: Magliano Andrea Date: Sun, 20 Nov 2011 22:02:54 +0100 Subject: [PATCH] man 4 drm: add note to sysctl vm.dma_reserved tunable usage Xorg video driver is likely to fail acceleration inizialization as is requesting a memory chunk higher than the default (16Mb) left in vm system reserve after kernel initialization. For example Xorg radeon driver ends up asking 32Mb. In this case setting 'vm.dma_reserved=64m' in /boot/loader.conf does the job. --- share/man/man4/drm.4 | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/share/man/man4/drm.4 b/share/man/man4/drm.4 index bf81a48..2d740aa 100644 --- a/share/man/man4/drm.4 +++ b/share/man/man4/drm.4 @@ -114,6 +114,10 @@ Debugging output can be enabled and disabled by setting the .Xr sysctl 8 node .Ar hw.dri.0.debug . +.Pp +Set vm.dma_reserved to a proper high value (default is 16m) +in /boot/loader.conf if Xorg acceleration initialization fails +(dmesg shows 'contigmalloc_map: failed size ...') .Sh SEE ALSO .Xr Xorg 1 , .Xr agp 4 , -- 1.7.7