I was build drivers r4p0 for Orange Pi 2 (Allwiner H3 soc)
And now get the error.... with runing es2_info
[xcb] Unknown request in queue while appending request
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
What next how resolve?
After search I found that
Issue: The Mali userspace blob (libMali.so) has issues with threading. It uses threading internally but doesn't call XInitThreads early, which leads to problems.
or because all multithread Xorg application need call XInitThreads before any work with Xorg. libMali implicitly uses threads and call XInitThreads too later.
http://forum.odroid.com/viewtopic.php?f=52&t=2680
But how resolve that issue for Orange Pi 2 (Allwinner H3) without direct patching LibMali.so
After debugging es2_info I fount that crash after call XCloseDisplay().