order 5 memory allocation failures in radeon_vm_get_bos

Dave Airlie airlied at gmail.com
Tue Oct 21 18:10:21 PDT 2014


> Mhm fixing this using another allocator function is probably a good idea,
> but on the other hand why does X want to allocate an order 4/5 in vm_get_bos
> in the first place?
>
> Assuming 64 bytes per array element that would mean that we have over 1K BOs
> for the address space handling. Even with the lowest settings on BO size
> that covers something like 4GB of GPU address space and with normal settings
> it is more something like 256GB...
>
> So question here is why does X need so much GPU address space? The box
> doesn't even have so much memory, doesn't it?

The user I'm seeing it with us using glamor and I think he is using Xv a lot,
and has a lot of stuff open on his desktop and does a lot of gimp and
video editing.

I've gotten him a non-crashing glamor now (pre-Xserver glamor on F20)
and he only sees the alloc failures now.

Dave.


More information about the dri-devel mailing list