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:
imx-gpu-viv-6.2.2
gpu-viv-g2d-6.2.2
xf86-video-imx-viv-6.2.2.p0
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:
/etc/X11/xorg.conf
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,
Xiao
Did you set this?
$ export DISPLAY=:0.0
Hi Jimmy,
Thanks for your reply. I checked the environment variables, DISPLAY=:0. Is this value OK?
I have tried following version, the xinput_calibrator can work with Xserver:
SW: kernel-4.9.11, GPU driver 6.2.2.p0, GPU packages of filesystem:
imx-gpu-viv-5.0.11.p8.6
xf86-video-imx-viv-5.0.11.p8.6
Is there any version limitations? like 5.0.11.p8.6 library packages must use kernel GPU driver 5.0.11.p8.6 ?
BR,
Xiao