<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>hi folks:</div><div><br></div><div>    my project take wayland as display server, weston working with libdrm-backend, the opegles and egl interface are provided by arm official provide "libmali.so" library.</div><div><br></div><div>but now i want to test whether it can be worked that get rid of  mali library completely ,and use mesa library instead.  i am use the yocto build system and the compile process is very succefully, but</div><div>when i tested the weston with  following command.</div><div>




<p>
weston --backend=drm-backend.so --tty=1 --idle-time=0 &</p>it seems the weston crashed and cant  be launched,  this command works fine with "libmali" method, so it should not be the problem of mali .</div><div><br></div><div>the output is very chaos by different threads log interrupted each other, thanks for your kindly help.</div><div><br></div><div><div>[12:24:33.474] OS: Linux, 4.4.[   21.028359] weston[1248]: unhandled level 2 translation fault (11) at 0x00000008, esr 0x92000046</div><div>89, #14 SMP PREEMPT Sat Sep 22 2[   21.040046] pgd = ffffffc029da9000</div><div>2:05:37 CST 2018, aarch64</div><div>[12:2[   21.046565] [00000008] *pgd=0000000068e4f0034:33.474] Using config file '/et, *pud=0000000068e4f003c/xdg/weston/weston.ini'</div><div>[12:24, *pmd=0000000000000000:33.475] Output repaint window i</div><div>s 7 ms maximum.</div><div>[12:24:33.475] [   21.066890] </div><div>Loading module '/usr/lib/libwest[   21.071338] CPU: 0 PID: 1248 Comm: weston Tainted: G           O    4.4.89 #14</div><div>on-2/drm-backend.so'</div><div>[12:24:33.[   21.082139] Hardware name: sun50iw1 (DT)</div><div>477] initializing drm backend</div><div>[[   21.089289] task: ffffffc02a0dd080 ti: ffffffc02a35c000 task.ti: ffffffc02a35c000</div><div>12:24:33.482] using /dev/dri/car[   21.100373] PC is at 0x7fa0b745cc</div><div>d0</div><div>[12:24:33.482] Loading modul[   21.106838] LR is at 0x7fa06ca3ac</div><div>e '/usr/lib/libweston-2/gl-rende[   21.113294] pc : [<0000007fa0b745cc>] lr : [<0000007fa06ca3ac>] pstate: 80000000</div><div>rer.so'</div><div>gbm: failed to open any[   21.124302] sp : 0000007fe00b72d0</div><div> driver (search paths /usr/lib/d[   21.130758] x29: 0000007fe00b72d0 ri)</div><div>gbm: Last dlopen error: /usx28: 000000000040a000 r/lib/dri/sunxi_dri.so: cannot o</div><div>pen shared object file: No such [   21.145024] x27: 0000000000bd24e0 file or directory</div><div>failed to loax26: 0000007fe00b74a0 d driver: sunxi</div><div>gbm: failed to </div><div>open any driver (search paths /u[   21.159280] x25: 0000000000bd1020 sr/lib/dri)</div><div>gbm: Last dlopen erx24: 000000000040a000 ror: /usr/lib/dri/kms_swrast_dri</div><div>.so: cannot open shared object f[   21.173552] x23: 0000007fe00b749c ile: No such file or directory</div><div>x22: 0000000000bd24e0 failed to load driver: kms_swras</div><div>t</div><div>[12:24:33.498] EGL client ext[   21.187815] x21: 0000000000be2190 ensions: EGL_EXT_client_extensiox20: 0000000000be2080 ns</div><div>               EGL_EXT_platf</div><div>orm_base EGL_KHR_client_get_all_[   21.202076] x19: 0000000000be2168 proc_addresses</div><div>               Ex18: 0000000000000078 GL_KHR_debug EGL_EXT_platform_wa</div><div>yland EGL_MESA_platform_gbm</div><div>[12[   21.216342] x17: 0000007fa0b745c8 :24:33.499] warning: EGL_EXT_bufx16: 0000007fa06e01f0 fer_age not supported. Performan</div><div>ce could be affected.</div><div>[12:24:33[   21.230619] x15: 0000000000000004 .499] warning: neither EGL_EXT_sx14: 0000007fa0b69cd0 wap_buffers_with_damage or EGL_K</div><div>HR_swap_buffers_with_damage is s[   21.244883] x13: 0a6c676520657a69 upported. Performance could be ax12: 6c616974696e6920 ffected.</div><div>[12:24:33.499] EGL_KHR</div><div>_surfaceless_context available</div><div>[   21.259142] x11: 0000000000000000 [12:24:33.509] Failed to make EGx10: 0101010101010101 L context current.</div><div>[12:24:33.50</div><div>9] EGL error state: EGL_BAD_MATC[   21.273416] x9 : 0000000000000000 H (0x3009)</div><div>[12:24:33.509] EGL ex8 : 0000000000000039 rror state: EGL_SUCCESS (0x3000)</div><div><br></div><div>[12:24:33.512] failed to initi[   21.287684] x7 : 616974696e69206f alize egl</div><div>x6 : 0000007fa0b17580 </div><div>[   21.297353] x5 : 0000007fa0b17580 x4 : 0000000000be2040 </div><div>[   21.303273] x3 : 0000000000000000 x2 : 0000000000000000 </div><div>[   21.309208] x1 : 0000000000000000 x0 : 0000000000be2380 </div><div>[   21.315133] </div><div><br></div></div></div><br><br><span title="neteasefooter"><p><br/> </p></span>