-
Notifications
You must be signed in to change notification settings - Fork 17
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
Can't make GBM work #48
Comments
i think kmscube is originally written for opengles3, you must recompile it and remove the reference to those functions. Try this kmscube from v1.9: |
Ok, I have downloaded kmscube from v14. It required libpng12.so.0 so I have manually compiled and installed it (as described here).
nothing in dmesg. |
There was no need to compile libpng12, was just to install it.
make sure it is armhf |
I'm having a similar issue, except with SDL2. I compiled SDL2 targeting the KMSDRM video driver backend and after installing the mali-blobs like you said, I tried to run one of the SDL2 test programs and I'm getting this error:
I'm running this on Ubuntu 20.04 LTS with 5.7.10 kernel version. |
kmsdrm is available for root user (default image) unless you add the rules to run with ubuntu user
Don't forget you should compile SDL2 without X11.
|
Still getting the same error.
Here's how I configured it:
And here's the config summary :
Maybe the issue could be the fact that I compiled this in a separate chroot environment? I've often had success when working with other platforms. |
I don't think so. If you can't, you still have problems with your mail setup, so no OpenGles available. |
opps, forget about the https://github.com/avafinger/mali-fbdev-stress-test-tools |
Hm, the dependency libpng12 has been removed from Ubuntu's repository for some time now. You also mentioned there is no need to recompile it, assuming there's still a way to install it? I've searched online but haven't had much luck with it. |
If you are using this tag: https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/releases/tag/v3.10 If you want to use 20.04 LTS with mali, try the previous image, it is 19.10 but you can upgrade to 20.04 LTS with this instruction: #54 Maybe I will get back to the board and rebuild mali support with the latest kernel, or if you are in a hurry, kernel 5.13 has upstream support for M2 zero with lima. (no mail blobs). |
Fresh install v2.4 image
apt-get update && apt-get dist-upgrade
Install v3.7 kernel
apt-get install kmscube git
git clone https://github.com/bootlin/mali-blobs.git
cd mali-blobs/tree/master/r6p2/arm/wayland
pwd > /etc/ld.so.conf.d/00-mali.conf
ldconfig
ldd /usr/bin/kmscube
to ensure that ligEGL.so.1 => /home/ubuntu/mali-blobs/r6p2/arm/wayland/libgbm.so.1And after that kmscube tells me:
kmscube: symbol lookup error: kmscube: undefuned symbol: gbm_bo_unmap
Without mali-blobs kmscube output follows:
What am I doing wring and how to make any 3d (mali/lima) work?
P.S. I suspect that
undefuned symbol: gbm_bo_unmap
is some problem with mali o kmscube being outdated and MAYBE it is already working but hot can I check that besides kmscube?The text was updated successfully, but these errors were encountered: