DragonFly BSD
DragonFly users List (threaded) for 2012-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Failure to allocate contiguous memory


From: Venkatesh Srinivas <vsrinivas@xxxxxxxxxx>
Date: Fri, 23 Mar 2012 21:53:42 -0400

On Fri, Mar 23, 2012 at 9:41 PM, Kyuupi <kyuupichan@gmail.com> wrote:
> I have jerky window dragging where repainting is very slow.
>
> I believe it is because DRI is not working with my graphics card, in turn
> because of a failure to allocate contiguous memory.
>
> Relevant snippets of dmesg below.  Is there something I can do to fix this?
>
> I'm using kernel source as of about 48 hours ago.
>
> Neil.
>
> DragonFly v2.13.0.381.gca541-DEVELOPMENT #0: Sun Nov 27 12:27:02 JST 2011
>     root@athlon2.akihabara.co.uk:/usr/obj/usr/src/sys/X86_64_GENERIC
>
> CPU: AMD Athlon(tm) Dual Core Processor 5050e (2600.16-MHz K8-class CPU)
>   Origin = "AuthenticAMD"  Id = 0x60fb2  Stepping = 2
>
> Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
> MOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
>   Features2=0x2001<SSE3,CX16>
>   AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
>   AMD Features2=0x11f<LAHF,CMP,SVM,ExtAPIC,CR8,Prefetch>
> real memory  = 4025809920 (3839 MB)
> avail memory = 3718107136 (3545 MB)
>
> DMA space used: 2540k, remaining available: 16384k
> Mounting devfs
> drm0: <ATI Radeon HD 3200 Graphics> on vgapci0
> vgapci0: child drm0 requested pci_enable_busmaster
> info: [drm] Initialized radeon 1.31.0 20080613
> contigmalloc_map: failed size 16777216 low=0 high=ffffffff align=4096
> boundary=0 flags=00000102
> contigmalloc_map: failed size 16777216 low=0 high=ffffffff align=4096
> boundary=0 flags=00000102
> pid 27585 (conftest), uid 0: exited on signal 11
> Warning: busy page 0xffffffe0036c39a8 found in cache
>

Yep!

Some AMD (ATI) graphics cards seem to require a 32MB physmem region
for DRI to work.
In /boot/loader.conf, set vm.dma_reserved to 32MB. Should work well!

Good luck,
-- vs;
http://ops101.org/4k/



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]