Hi everybody!
I tried to build and start Qt example "Basic Drawing Example" for iMX6.
Application started with command
.basicdrawing -platform eglfs
Application rendered in gray colors with shift and with white vertical lines.
Any advice please?
In what direction looks?
Thanks!
Hi,
Excuse me, I have a question. The kernel version which do you use ?
Because, I use LTIB 3.0.35.4.1.0 build Qt 5.4. Then I configure(qt5.4) with eglfs.
But, when I command on FA33 console :
$ ./openglwindow -platform eglfs
I get the error "Segmentation fault".
Do you know what that ?
Is the LTIB 3.0.35.4.1.0 too old ?
If you have any ideal, please tell me.
Thanks !!!
I believe the shift it is related to configuration of the window space to draw in EGL, you have may have a resolution of the display and a different resolution setup in the EGL window. Check the init file, review the examples in the VDK tool.
I have exactly the same problem.
In my case i have a display with 800x480 pixel. EGL renders obviously 1000x480 pixel. The 200 pixel are shifted like in the picture above but when i change the parameter bits_per_pixel from 24 to 32 bit (at /sys/class/graphics/fb0/bits_per_pixel) the shift will not be visible on the left side. I will simply not be shown anymore because of the end of the display. The rendering failure sill exists.
Which init file do you mean and where can i find this file?
Here are some pictures from my side to give you a better felling what is happening to my system:
Picture 1: this picture shows the effect like above with visible shift
Picture 2: here we can see the same effect but the pixel depth is changed from 24 to 32 bit
Picture 3: this picture shows the output, when i start the example with linuxfb (but in our project we can´t use linuxfb because we use opengl es 2)
PS: it seems that the eglfs is not interested in the environment variables mentioned here: Qt for Embedded Linux | Qt 5.4
I tested some possible settings but there is no effect to the output. We use Qt 5.3.2 built with yocto in our application.
Also fbset 800 480 800 480 24 only have a effect on the color depth.
Would be perfect if anyone can give some support to me or have some ideas.
Michael
MIchael,
Did you ever solve your problem? I've run into the same situation and haven't had any luck fixing it. I'm guessing you either solved it, or gave up, because you stopped posting questions.
Hopefully it's the former and you have a bit of insight.
Thanks,
BJ