Jump to content

Mali for R40 SoC


vahidrezaei1371

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines