* Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs @ 2017-07-11 11:58 Benjamin Federau 2017-07-11 12:40 ` Vincent DEHORS 0 siblings, 1 reply; 8+ messages in thread From: Benjamin Federau @ 2017-07-11 11:58 UTC (permalink / raw) To: meta-freescale Mailing List [-- Attachment #1: Type: text/plain, Size: 965 bytes --] 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.federau@basyskom.com | www.basyskom.com Handelsregister: Darmstadt HRB 9352 Geschaeftsfuehrung: Dr.-Ing. Eva Brucherseifer, Heike Ziegler [-- Attachment #2: Type: text/html, Size: 1367 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs 2017-07-11 11:58 Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs Benjamin Federau @ 2017-07-11 12:40 ` Vincent DEHORS 2017-07-11 13:16 ` Benjamin Federau 0 siblings, 1 reply; 8+ messages in thread From: Vincent DEHORS @ 2017-07-11 12:40 UTC (permalink / raw) To: Benjamin Federau; +Cc: meta-freescale Mailing List [-- Attachment #1: Type: text/plain, Size: 1496 bytes --] 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.federau@basyskom.com | www.basyskom.com [1] > > Handelsregister: Darmstadt HRB 9352 > Geschaeftsfuehrung: Dr.-Ing. Eva Brucherseifer, Heike Ziegler Links: ------ [1] http://www.basyskom.com [-- Attachment #2: Type: text/html, Size: 2169 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs 2017-07-11 12:40 ` Vincent DEHORS @ 2017-07-11 13:16 ` Benjamin Federau 2017-07-11 15:16 ` Otavio Salvador 0 siblings, 1 reply; 8+ messages in thread From: Benjamin Federau @ 2017-07-11 13:16 UTC (permalink / raw) To: Vincent DEHORS; +Cc: meta-freescale Mailing List [-- Attachment #1: Type: text/plain, Size: 2069 bytes --] 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.federau@basyskom.com | www.basyskom.com Handelsregister: Darmstadt HRB 9352 Geschaeftsfuehrung: Dr.-Ing. Eva Brucherseifer, Heike Ziegler [-- Attachment #2: Type: text/html, Size: 2993 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs 2017-07-11 13:16 ` Benjamin Federau @ 2017-07-11 15:16 ` Otavio Salvador 2017-08-07 14:51 ` Benjamin Federau 0 siblings, 1 reply; 8+ messages in thread From: Otavio Salvador @ 2017-07-11 15:16 UTC (permalink / raw) To: Benjamin Federau; +Cc: meta-freescale Mailing List On Tue, Jul 11, 2017 at 10:16 AM, Benjamin Federau <benjamin.federau@basyskom.com> 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.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs 2017-07-11 15:16 ` Otavio Salvador @ 2017-08-07 14:51 ` Benjamin Federau 2017-08-07 15:02 ` Otavio Salvador 0 siblings, 1 reply; 8+ messages in thread From: Benjamin Federau @ 2017-08-07 14:51 UTC (permalink / raw) To: Otavio Salvador; +Cc: meta-freescale Mailing List [-- Attachment #1: Type: text/plain, Size: 1155 bytes --] Von: Otavio Salvador <otavio.salvador@ossystems.com.br> 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 <benjamin.federau@basyskom.com> 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 [-- Attachment #2: Type: text/html, Size: 1729 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs 2017-08-07 14:51 ` Benjamin Federau @ 2017-08-07 15:02 ` Otavio Salvador 2017-08-08 7:15 ` Johannes Pointner 0 siblings, 1 reply; 8+ messages in thread From: Otavio Salvador @ 2017-08-07 15:02 UTC (permalink / raw) To: Benjamin Federau; +Cc: meta-freescale Mailing List On Mon, Aug 7, 2017 at 11:51 AM, Benjamin Federau <benjamin.federau@basyskom.com> wrote: > Von: Otavio Salvador <otavio.salvador@ossystems.com.br> > 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 > <benjamin.federau@basyskom.com> 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.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs 2017-08-07 15:02 ` Otavio Salvador @ 2017-08-08 7:15 ` Johannes Pointner 2017-08-10 8:55 ` Benjamin Federau 0 siblings, 1 reply; 8+ messages in thread From: Johannes Pointner @ 2017-08-08 7:15 UTC (permalink / raw) To: Benjamin Federau; +Cc: meta-freescale Mailing List 2017-08-07 17:02 GMT+02:00 Otavio Salvador <otavio.salvador@ossystems.com.br>: > On Mon, Aug 7, 2017 at 11:51 AM, Benjamin Federau > <benjamin.federau@basyskom.com> wrote: >> Von: Otavio Salvador <otavio.salvador@ossystems.com.br> >> 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 >> <benjamin.federau@basyskom.com> 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs 2017-08-08 7:15 ` Johannes Pointner @ 2017-08-10 8:55 ` Benjamin Federau 0 siblings, 0 replies; 8+ messages in thread From: Benjamin Federau @ 2017-08-10 8:55 UTC (permalink / raw) To: Johannes Pointner; +Cc: meta-freescale Mailing List [-- Attachment #1: Type: text/plain, Size: 1954 bytes --] Von: Johannes Pointner <h4nn35.work@gmail.com> 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 <otavio.salvador@ossystems.com.br>: > On Mon, Aug 7, 2017 at 11:51 AM, Benjamin Federau > <benjamin.federau@basyskom.com> wrote: >> Von: Otavio Salvador <otavio.salvador@ossystems.com.br> >> 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 >> <benjamin.federau@basyskom.com> 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! [-- Attachment #2: Type: text/html, Size: 2574 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2017-08-10 8:55 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-07-11 11:58 Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs Benjamin Federau 2017-07-11 12:40 ` Vincent DEHORS 2017-07-11 13:16 ` Benjamin Federau 2017-07-11 15:16 ` Otavio Salvador 2017-08-07 14:51 ` Benjamin Federau 2017-08-07 15:02 ` Otavio Salvador 2017-08-08 7:15 ` Johannes Pointner 2017-08-10 8:55 ` Benjamin Federau
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.