Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs
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
Signature · 10 lines
M.Sc. Benjamin Federau Integration Engineer basysKom GmbH Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany [email protected] | www.basyskom.com Handelsregister: Darmstadt HRB 9352 Geschaeftsfuehrung: Dr.-Ing. Eva Brucherseifer, Heike Ziegler
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
Quoted 3 lines · Benjamin Federau
Hello,
I try
to get my 10'' Chalkboard touchscreen (resolution 1366x768) running with a i.MX6 DualLite Colibri using Qt 5.9 and eglfs.
Quoted 1 line
When I start my Qt
application on the device it crashes with "Error : Could not create the egl surface: error = 0x3003".
Quoted 1 line
If I set the resolution to 1280x720 for
the display the Qt application starts.
Quoted 1 line
I have read that the 1366x768
can cause some problems, but does someone ever got a Qt application with eglfs running on that resolution?
Quoted 3 lines
My setup:
kernel-colibri-imx6
:4.1.39
Quoted 4 lines
qtbase :5.9.0
imx-gpu-viv :5.0.11.p8.6Thanks and
regards
Quoted 6 lines
-
Benjamin FederauSignature · 1 line
M.Sc. Benjamin Federau
Integration Engineer
Quoted 3 lines
basysKom GmbH
Robert-Bosch-Str. 7 | 64293
Darmstadt | Germany
Quoted 1 line
[email protected] | www.basyskom.com
[1]
Quoted 3 lines
Handelsregister: Darmstadt HRB 9352
Geschaeftsfuehrung:
Dr.-Ing. Eva Brucherseifer, Heike Ziegler
Links:
------
[1]
http://www.basyskom.com
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
Signature · 10 lines
M.Sc. Benjamin Federau Integration Engineer basysKom GmbH Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany [email protected] | www.basyskom.com Handelsregister: Darmstadt HRB 9352 Geschaeftsfuehrung: Dr.-Ing. Eva Brucherseifer, Heike Ziegler
Quoted 4 lines · Benjamin Federau
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"
Quoted 8 lines
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?
Signature · 3 lines
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
Von: Otavio Salvador <[email protected]>
Gesendet: 11.07.2017 17:16
Betreff: Re: [meta-freescale] Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs
Quoted 4 lines · Benjamin Federau
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"
Quoted 8 lines
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_fbfb@0: 1366x768 h_sync,r,l: 40,110,220 v_sync,l,u:
5,5,20 pixclock=83125000 HzI'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/
Signature · 3 lines
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
Quoted 19 lines · Benjamin Federau
Von: Otavio Salvador <[email protected]>
Gesendet: 11.07.2017 17:16
Betreff: Re: [meta-freescale] Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfsQuoted 12 lines · Benjamin Federau
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,220v_sync,l,u:
5,5,20 pixclock=83125000 Hz
Quoted 6 lines
Quoted 1 line
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.
Signature · 3 lines
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
2017-08-07 17:02 GMT+02:00 Otavio Salvador <[email protected]>:
Quoted 26 lines
Quoted 24 lines · Benjamin Federau
Von: Otavio Salvador <[email protected]>
Gesendet: 11.07.2017 17:16
Betreff: Re: [meta-freescale] Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfsQuoted 7 lines · Benjamin Federau
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?
Quoted 6 lines
After setting the bpp I get a Kernel message, jfyi
[ 198.087193] mxc_sdc_fb fb@0: 1366x768 h_sync,r,l: 40,110,220v_sync,l,u:
5,5,20 pixclock=83125000 HzI'm not sure if I understand the thing with the burst size you mentioned.
Are you using the Qt commercial layer?
Quoted 7 lines
Quoted 1 line
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
Von: Johannes Pointner <[email protected]>
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 <[email protected]>:
Quoted 26 lines
Quoted 24 lines · Benjamin Federau
Von: Otavio Salvador <[email protected]>
Gesendet: 11.07.2017 17:16
Betreff: Re: [meta-freescale] Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfsQuoted 7 lines · Benjamin Federau
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?
Quoted 6 lines
After setting the bpp I get a Kernel message, jfyi
[ 198.087193]mxc_sdc_fbfb@0: 1366x768 h_sync,r,l: 40,110,220 v_sync,l,u:
5,5,20 pixclock=83125000 HzI'm not sure if I understand the thing with the burst size you mentioned.
Are you using the Qt commercial layer?
Quoted 7 lines
Quoted 1 line
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!