This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem running QT with video (V4L2) drivers..

Other Parts Discussed in Thread: OMAP3530

Hi,

       I am new to QT and i am trying to do a small GUI with QT on OMAP3530.

       I started with some sample programs. I created a button and when i press the button using the touch screen lcd display it inturn executes the demo application which comes with the OMAP3530 board. This is working fine. The demo application configures FBDEV drivers i.e " fb0 " for getting the output displayed on the lcd screen.

Problem:   I tried to do the same with the decodecombo application and i am not able to do that. It is giving different types of errors like " page allocation failure ", " could not allocate buffers ".

                    I tried the same with a sample codec of mine which uses V4L2 drivers for configuring video and no fb0 drivers it does not run. It is failing to display the output of my codec and it is showing the touch screen module on the screen. It is failing at the condition which is before the copying of my data to display buffer.

                                          ret = ioctl(display_fd, VIDIOC_DQBUF, &buf);

                                           if(ret<0) {     perror("VIDIOC_DQBUF");     return  -1;   }

                   I read somewhere that touch screen display uses fb0 drivers for configuring. I noticed that when i use an application with fb0 drivers it is working fine and when i use V4L2 drivers i am not able to run my applicaion using GUI.

                  Anyone who have worked on this or know about this please let me know hoe to do this.

Thanks and Regards,

BHARATH.M