Xserver initialisation problem (Vivante)

Hello,

I have a Apalis controller with Ixora carrier board and have connected it to a LVDS display. I would like to display a splashscreen during the startup but it seems to be impossible. I use kernel function to display a picture but it’s shown only at the beginning of the startup. I have analyzed bootup sequence and found that the graphical mode was switched many times during the startup. I have a display with resolution 1280x800 and get those strings in the bootup log:

[   11.021644] mxc_sdc_fb fb@0: 1280x800 h_sync,r,l: 1,64,5  v_sync,l,u: 1,40,2 pixclock=68301000 Hz
[   11.128562] mxc_sdc_fb fb@0: 1280x800 h_sync,r,l: 1,64,5  v_sync,l,u: 1,40,2 pixclock=68301000 Hz
[   11.392687] mxc_sdc_fb fb@0: 1280x800 h_sync,r,l: 1,64,5  v_sync,l,u: 1,40,2 pixclock=68301000 Hz
[   11.496338] mxc_sdc_fb fb@0: 1280x800 h_sync,r,l: 1,64,5  v_sync,l,u: 1,40,2 pixclock=68301000 Hz
[   12.526647] mxc_sdc_fb fb@0: 1280x800 h_sync,r,l: 1,64,5  v_sync,l,u: 1,40,2 pixclock=68301000 Hz

I’ve analyzed logs and come to a conclusion, that xserver is not starting properly. The Xorg.log is attached. You can see there, that libglx.so cann’t be loaded because of libGL.so.1.2. At the beginning libGL.so.1.2 was missing, but I’ve found libGL.so.1.2.0 in the /usr/lib directory and made a link:

ln -s "/usr/lib/libGL.so.1.2.0" "/usr/lib/libGL.so.1.2"

Now it can be found, but has problem with ‘VERSION’. What should it mean?

Failed to load /usr/lib/xorg/modules/extensions/libglx.so: /usr/lib/libGL.so.1.2: version `VERSION' not found (required by /usr/lib/xorg/modules/extensions/libglx.so)

I’m pretty sure, that the driver for Vivante tries to initialize graphical mode but has some problems with it. Can you please explain how could I prevent the additional graphical mode initialisation, I’ve already right resolution and timings from kernel, I want just preserve them and start xserver without any additional procedures. Is it possible?

With best regards, Alex

Xorg.log

What exact BSP version are you referring to here?

It is kernel version V2.7 toradex_4.1-2.0.x-imx and RootFS Apalis-iMX6_LXDE-Image_2.7b2-20170410

You mean you did customise the kernel in one way or the other, right? Did you try our stock BSP demo image at all? As the X server is definitely working just fine there. So I’m wondering what it is exactly that you did customise.

Hello, the original PCB (Ixora v1.1) had the same behavior at the beginning before any customization. We have thought it has something to do with the HDMI display, the question was asked 2 monthes ago. Till this moment I have no decision for this problem and cann’t really use your board for our development.

Hello, the original PCB (Ixora v1.1) had the same behavior at the beginning before any customization

Ixora is actually the carrier board and does not contain any software. But whatever software shipped with the module is anyway irrelevant and you as the customer will have to update to the latest BSP prior to doing any tests.

We have thought it has something to do with the HDMI display, the question was asked 2 monthes ago. Till this moment I have no decision for this problem and cann’t really use your board for our development.

Unfortunately you don’t seem to listen to any of our advice which won’t quite help in progressing towards any solution.

Please test with our latest BSP 2.7b3 and report exactly what you are doing and what is or is not working for you as expected and we will try helping you.

Hello,
thank you for your comprehensive answer. I’ve downloaded the last BSP version (2.7.3 20170630) from your server and started the board with it. Here is the result:

[    9.138079] mxc_sdc_fb fb@0: 1024x600 h_sync,r,l: 48,40,40  v_sync,l,u: 3,13,29 pixclock=32000000 Hz
[    9.200667] mxc_sdc_fb fb@0: 1024x600 h_sync,r,l: 48,40,40  v_sync,l,u: 3,13,29 pixclock=32000000 Hz
[    9.259139] mxc_sdc_fb fb@0: 1024x600 h_sync,r,l: 48,40,40  v_sync,l,u: 3,13,29 pixclock=32000000 Hz
[    9.319504] mxc_sdc_fb fb@0: 1024x600 h_sync,r,l: 48,40,40  v_sync,l,u: 3,13,29 pixclock=32000000 Hz
[    9.857958] mxc_sdc_fb fb@0: 1024x600 h_sync,r,l: 48,40,40  v_sync,l,u: 3,13,29 pixclock=32000000 Hz
.---O---.                                           
|       |                  .-.           o o        
|   |   |-----.-----.-----.| |   .----..-----.-----.
|       |     | __  |  ---'| '--.|  .-'|     |     |
|   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
'---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                -'  |
                '---'

The Angstrom Distribution apalis-imx6 ttymxc0

Angstrom v2016.12 - Kernel 4.1.39-dirty

Apalis-iMX6_LXDE-Image 2.7.3 20170630

As you see, is has changed nothing in the behavior of the x-server.
Could I please ask you if it’s possible to start x-server without any initialization of graphics?
Thank you in advance!

But the X server starts just fine, isn’t it? So your initial report about some library issues is bogus or not?

Please note that by default the Apalis iMX6 will only output to HDMI screens or did you adjust any configuration as outlined in the following article on our developer website?

We really depend on you providing some more useful information otherwise it will be impossible to help you.