Re: [meta-freescale] Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs
Von: Johannes Pointner Gesendet: 08.08.2017 9:15 Betreff: Re: [meta-freescale] Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs 2017-08-07 17:02 GMT+02:00 Otavio Salvador : > On Mon, Aug 7, 2017 at 11:51 AM, Benjamin Federau > wrote: >> Von: Otavio Salvador >> Gesendet: 11.07.2017 17:16 >> Betreff: Re: [meta-freescale] Problem with touchscreen Display 1366x768 with >> Qt 5.9 and eglfs >> >> On Tue, Jul 11, 2017 at 10:16 AM, Benjamin Federau >> wrote: >>> the bpp was set to 16, so I set it as you wrote to 32. But the Qt >>> application still crashes with "EGL Error : Could not create the egl >>> surface: error = 0x3003" >>> >>> So on our setup a Qt application with eglfs works with a 1366x768 >>> resolution? >>> >>> After setting the bpp I get a Kernel message, jfyi >>> [ 198.087193] mxc_sdc_fb fb@0: 1366x768 h_sync,r,l: 40,110,220 >>> v_sync,l,u: >>> 5,5,20 pixclock=83125000 Hz >>> >>> I'm not sure if I understand the thing with the burst size you mentioned. >> >> Are you using the Qt commercial layer? >> >> >> No. I use meta-boot2qt from http://code.qt.io/cgit/yocto/meta-boot2qt.git/ > > In this case, Qt ought to provide support for you. > > I don't think you need to use the commercial Qt from your description > so if you want we, O.S. Systems, can help you. If there is interest > please let us know and I can forward our services portfolio. If you are using lvds I think your problem could be related to this https://community.nxp.com/message/860347 I use dev=hdmi in my video parameter for my display. But I tried the suggested patch in that thread and it works for me. The error is gone and the Qt application starts on the 1366x768 resolution now. Thanks! -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs
2017-08-07 17:02 GMT+02:00 Otavio Salvador : > On Mon, Aug 7, 2017 at 11:51 AM, Benjamin Federau > wrote: >> Von: Otavio Salvador >> Gesendet: 11.07.2017 17:16 >> Betreff: Re: [meta-freescale] Problem with touchscreen Display 1366x768 with >> Qt 5.9 and eglfs >> >> On Tue, Jul 11, 2017 at 10:16 AM, Benjamin Federau >> wrote: >>> the bpp was set to 16, so I set it as you wrote to 32. But the Qt >>> application still crashes with "EGL Error : Could not create the egl >>> surface: error = 0x3003" >>> >>> So on our setup a Qt application with eglfs works with a 1366x768 >>> resolution? >>> >>> After setting the bpp I get a Kernel message, jfyi >>> [ 198.087193] mxc_sdc_fb fb@0: 1366x768 h_sync,r,l: 40,110,220 >>> v_sync,l,u: >>> 5,5,20 pixclock=83125000 Hz >>> >>> I'm not sure if I understand the thing with the burst size you mentioned. >> >> Are you using the Qt commercial layer? >> >> >> No. I use meta-boot2qt from http://code.qt.io/cgit/yocto/meta-boot2qt.git/ > > In this case, Qt ought to provide support for you. > > I don't think you need to use the commercial Qt from your description > so if you want we, O.S. Systems, can help you. If there is interest > please let us know and I can forward our services portfolio. If you are using lvds I think your problem could be related to this https://community.nxp.com/message/860347 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs
On Mon, Aug 7, 2017 at 11:51 AM, Benjamin Federau wrote: > Von: Otavio Salvador > Gesendet: 11.07.2017 17:16 > Betreff: Re: [meta-freescale] Problem with touchscreen Display 1366x768 with > Qt 5.9 and eglfs > > On Tue, Jul 11, 2017 at 10:16 AM, Benjamin Federau > wrote: >> the bpp was set to 16, so I set it as you wrote to 32. But the Qt >> application still crashes with "EGL Error : Could not create the egl >> surface: error = 0x3003" >> >> So on our setup a Qt application with eglfs works with a 1366x768 >> resolution? >> >> After setting the bpp I get a Kernel message, jfyi >> [ 198.087193] mxc_sdc_fb fb@0: 1366x768 h_sync,r,l: 40,110,220 >> v_sync,l,u: >> 5,5,20 pixclock=83125000 Hz >> >> I'm not sure if I understand the thing with the burst size you mentioned. > > Are you using the Qt commercial layer? > > > No. I use meta-boot2qt from http://code.qt.io/cgit/yocto/meta-boot2qt.git/ In this case, Qt ought to provide support for you. I don't think you need to use the commercial Qt from your description so if you want we, O.S. Systems, can help you. If there is interest please let us know and I can forward our services portfolio. -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs
Von: Otavio Salvador Gesendet: 11.07.2017 17:16 Betreff: Re: [meta-freescale] Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs On Tue, Jul 11, 2017 at 10:16 AM, Benjamin Federau wrote: > the bpp was set to 16, so I set it as you wrote to 32. But the Qt > application still crashes with "EGL Error : Could not create the egl > surface: error = 0x3003" > > So on our setup a Qt application with eglfs works with a 1366x768 > resolution? > > After setting the bpp I get a Kernel message, jfyi > [ 198.087193] mxc_sdc_fb fb@0: 1366x768 h_sync,r,l: 40,110,220 v_sync,l,u: > 5,5,20 pixclock=83125000 Hz > > I'm not sure if I understand the thing with the burst size you mentioned. Are you using the Qt commercial layer? No. I use meta-boot2qt from http://code.qt.io/cgit/yocto/meta-boot2qt.git/ -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs
On Tue, Jul 11, 2017 at 10:16 AM, Benjamin Federau wrote: > the bpp was set to 16, so I set it as you wrote to 32. But the Qt > application still crashes with "EGL Error : Could not create the egl > surface: error = 0x3003" > > So on our setup a Qt application with eglfs works with a 1366x768 > resolution? > > After setting the bpp I get a Kernel message, jfyi > [ 198.087193] mxc_sdc_fb fb@0: 1366x768 h_sync,r,l: 40,110,220 v_sync,l,u: > 5,5,20 pixclock=83125000 Hz > > I'm not sure if I understand the thing with the burst size you mentioned. Are you using the Qt commercial layer? -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs
Hi, the bpp was set to 16, so I set it as you wrote to 32. But the Qt application still crashes with "EGL Error : Could not create the egl surface: error = 0x3003" So on our setup a Qt application with eglfs works with a 1366x768 resolution? After setting the bpp I get a Kernel message, jfyi [ 198.087193] mxc_sdc_fb fb@0: 1366x768 h_sync,r,l: 40,110,220 v_sync,l,u: 5,5,20 pixclock=83125000 Hz I'm not sure if I understand the thing with the burst size you mentioned. Regards - Benjamin Federau Betreff: Re: [meta-freescale] Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs Hello, I met the same kind of error recently. The "bit per pixel" of the framebuffer interface should be 32, you can check/change the value in /sys/class/graphic/fb[x]/bits_per_pixel. Default bpp can be specified in DTS. I also remember that IPU configure DMA with burst size and each line will must be a multiple of this burst size. This may be related with your error for line width = 1366. Regards, Vincent Le 2017-07-11 13:58, Benjamin Federau a écrit : Hello, I try to get my 10'' Chalkboard touchscreen (resolution 1366x768) running with a i.MX6 DualLite Colibri using Qt 5.9 and eglfs. When I start my Qt application on the device it crashes with "Error : Could not create the egl surface: error = 0x3003". If I set the resolution to 1280x720 for the display the Qt application starts. I have read that the 1366x768 can cause some problems, but does someone ever got a Qt application with eglfs running on that resolution? My setup: kernel-colibri-imx6 :4.1.39 qtbase :5.9.0 imx-gpu-viv :5.0.11.p8.6 Thanks and regards - Benjamin Federau -- M.Sc. Benjamin Federau Integration Engineer basysKom GmbH Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany benjamin.fede...@basyskom.com | www.basyskom.com Handelsregister: Darmstadt HRB 9352 Geschaeftsfuehrung: Dr.-Ing. Eva Brucherseifer, Heike Ziegler -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs
Hello, I met the same kind of error recently. The "bit per pixel" of the framebuffer interface should be 32, you can check/change the value in /sys/class/graphic/fb[x]/bits_per_pixel. Default bpp can be specified in DTS. I also remember that IPU configure DMA with burst size and each line will must be a multiple of this burst size. This may be related with your error for line width = 1366. Regards, Vincent Le 2017-07-11 13:58, Benjamin Federau a écrit : > Hello, > > I try to get my 10'' Chalkboard touchscreen (resolution 1366x768) running with a i.MX6 DualLite Colibri using Qt 5.9 and eglfs. > When I start my Qt application on the device it crashes with "Error : Could not create the egl surface: error = 0x3003". > If I set the resolution to 1280x720 for the display the Qt application starts. > I have read that the 1366x768 can cause some problems, but does someone ever got a Qt application with eglfs running on that resolution? > > My setup: > kernel-colibri-imx6 :4.1.39 > qtbase :5.9.0 > imx-gpu-viv :5.0.11.p8.6 > > Thanks and regards > - > Benjamin Federau > -- > > M.Sc. Benjamin Federau > Integration Engineer > > basysKom GmbH > Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany > benjamin.fede...@basyskom.com | www.basyskom.com [1] > > Handelsregister: Darmstadt HRB 9352 > Geschaeftsfuehrung: Dr.-Ing. Eva Brucherseifer, Heike Ziegler Links: -- [1] http://www.basyskom.com -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale