-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory #23
Comments
That is related to memory layout of the specified machine.
Thus generally only poor 256MB (0x0000_0000 ~ 0x1000_0000) will be available for etnaviv. Machines with VUMA will shadow some high memory into low address. But not every machine enabled this feature. I assume the board ran out of memory easily didn't deploy VUMA. |
But 256MB is really big enough. 1920x1080x4 = 8M the scan out, fbcon and cusor buffer using DUMB, take all of this into count we are far from 256MB and it couldn't be "run out of memory", i think. |
Yes, your judgement may be right ,
active_anon:62055 inactive_anon:7662 isolated_anon:32 |
run glxgears with etnaviv hardware acceleration
and drag mouse to enlarge the window cause following issue
Can not create dumb buffer bigger than a specific size (1000x1000 or so).
this machine using Kunlun firmware.
Using etnaviv and loongson-drm on lemote 3a3000 mother board.
$ cat /proc/cpuinfo
but the same kernel and kernel modules driver works on other other machine
(say 3a3000 or 3a4000 development/evaluation board) without this issue.
That is to say this issue is machine dependent! don't know if it affect by the kernel
boot cmd line.
i am using this DDX driver: https://github.com/ProgramingOnLoongson/xf86-video-loongson7a
The text was updated successfully, but these errors were encountered: