Failed to create 4096x4096 texture on Mali-400. The app crashes. What can be wrong?
Hi somabha,
Mali can render to any memory as long as it can be mapped, which either happens through a DMAbuf handle, UMP handle, or specially mapped memory.
Mali allocates memory through the kernel device driver, which will then (usually) use the OS allocator to acquire memory, so your limitation may be with your OS's memory allocator, not the Mali driver.
Without knowing more about the device, unfortunately I cannot give you more information and advice than this.
Kind Regards,
Michael McGeagh
Hi Michael,
This problem has been resolved.
The issue was memory allocation. I found that in case of shared memory, the memory allocation for GPU fails because of out of memory. However if I choose dedicated memory for GPU, then the loading of 4Kx4K texture becomes possible.
Regards,
Somabha