vahidrezaei1371 Posted September 9, 2021 Posted September 9, 2021 I have a Forlinx OKA40i-C development board that has an arm R40 as its Soc. I use the latest Linux kernel (5.14.2 that contains "lima" for mali400 GPU ) and the latest Debian (11 aka bullseye that contains mesa project). but when I want to use GPU, like run the "kmscube" command I encounter this error DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory if you know anybody that can help me with this problem, please please introduce him/her to me. ps. I checked the #linux-sunxi channel that you suggested, nobody help me. I desperately need your help.
Werner Posted September 9, 2021 Posted September 9, 2021 Moved into new (off)topic since R40 has nothing to do with H3 and Armbian does not officially support any board with this SoC.
jernej Posted September 9, 2021 Posted September 9, 2021 8 hours ago, vahidrezaei1371 said: I encounter this error DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory Make sure you have big enough CMA region, either via kernel config or using kernel argument. I suggest 128 MiB, but if it still doesn't work, try bigger.
Recommended Posts