-
Notifications
You must be signed in to change notification settings - Fork 80
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
eglSwapBuffers #47
Comments
Allwinner H3 is a rather new SoC and you are probably the first one who tried to test 3D acceleration on it in Linux. The r4p0 mali kernel driver also was never used with xf86-video-fbturbo ddx before. I would suggest to try the xf86-video-mali driver to see if it does not crash for you and report the results. I also have ordered an Orange Pi PC board with Allwinner H3 myself, but have no idea how long it will take to be delivered from China. Hopefully before Christmas. |
Ok. You driver work normal and not crashed when starting X. |
xf86-video-mali driver crashed on start X with next log in Xorg
f/dri/Mali DRI2_dri.so: cannot open shared object file: No such file or directory) ss: 0xb63c6000 fb_virt: 0xb63c6000 14.097 MALI(0): [maliModifyPixmapHeader:196] Error: UMP failed to retrieve secure id 14.097 Fatal server error: |
Yes, The XCloseDisplay is an old mali gles blob problem, which they never fixed. It indeed may cause segfaults on exit from applications. Anyway, if the crashes are on the client side, then there is probably nothing to fix in xf86-video-fbturbo which runs in the X server process. |
Thanks for this information. It looks like your kernel is probably not implementing the GET_UMP_SECURE_ID_BUF1 ioctl, this upsets xf86-video-mali and makes it crash in a spectacular way. The xf86-video-fbturbo ddx is handling this more gracefully. |
If need I could make more logs and debugs. |
Back traces from running test app colour triangle with FBTURBO and mali r4p0 drivers. //================================================== Program received signal SIGSEGV, Segmentation fault. |
With patched blob drivers worked well |
Driversr 4p0-00rel1
Device Orange Pi2 (Allwinner H3) Mali-400mp2
lsmod
Module Size Used by
mali_drm 6634 0
drm 180399 1 mali_drm
mali 344514 0
ump 38853 1 mali
In test app triangle I get first frame and after seg fault.
After debug I found that it crash in call eglSwapBuffers();
The text was updated successfully, but these errors were encountered: