AnsweredAssumed Answered

xinput_calibrator error when xserver using GPU

Question asked by xiao qiang on Oct 15, 2018
Latest reply on Oct 17, 2018 by xiao qiang

Hello guys,


I am using X11 and vivante GPU driver. Environment is as following:

HW: imx6 solo

SW: kernel-4.9.11,  GPU driver 6.2.2.p0, GPU packages of filesystem:





Now I can start X server successfully with GPU driver.


1. Then I run a X client -- xinput_calibrator to check whether X work fine. Test steps:

X &

xinput_calibrator --output-type xinput -v

Got following errors:

free(): invalid pointer
terminate called after throwing an instance of 'std::runtime_error'
  what():  Unable to connect to X server


The detailed log is attached x11_gpu_1015_1.log



Then Xserver is stopped. I checked the source code of xinput_calibrator, it seems that XOpenDisplay() returns NULL, Then the "std::runtime_error"  " Unable to connect to X server" is shown.

Why does this happen?


2. I configure the xserver to use framebuffer, not use vivante driver:



Then I start Xserver with framebuffer, and execute xinput_calibrator, it works fine, and display well. See x11_fb_1015_1.log


Can anyone help me check this issue?


Thank you so much.


Best Regards,