From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id CD7E0E00C35; Tue, 11 Jul 2017 06:18:34 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from mx1.basyskom.com (mail.basyskom.com [136.243.128.73]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 0098FE00B31 for ; Tue, 11 Jul 2017 06:18:32 -0700 (PDT) X-Footer: YmFzeXNrb20uY29t Received: from [193.158.222.106] ([193.158.222.106]) (authenticated user bfed@basyskom.com) by mx1.basyskom.com (Kerio Connect 9.2.3) with ESMTPSA for vincent.dehors@smile.fr; Tue, 11 Jul 2017 15:16:21 +0200 Date: Tue, 11 Jul 2017 15:16:21 +0200 X-Mailer: Kerio Connect 9.2.3/Kerio Connect Client X-User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 Message-ID: <834854102-3252@mx1.basyskom.com> X-Priority: 3 Importance: Normal In-Reply-To: MIME-Version: 1.0 From: Benjamin Federau To: Vincent DEHORS Cc: meta-freescale Mailing List Subject: Re: Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2017 13:18:34 -0000 Content-Type: multipart/alternative; boundary="=-7uD1OSEavVPQuEJml7pi" --=-7uD1OSEavVPQuEJml7pi Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, the bpp was set to 16, so I set it as you wrote to 32. But the Qt applicati= on still crashes with "EGL Error : Could not create the egl surface: error = =3D 0x3003" So on our setup a Qt application with eglfs works with a 1366x768 resolutio= n? After setting the bpp I get a Kernel message, jfyi [=C2=A0 198.087193] mxc_sdc_fb fb@0: 1366x768 h_sync,r,l: 40,110,220=C2=A0 = v_sync,l,u: 5,5,20 pixclock=3D83125000 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=20 =20 Hello,=20 I met the same kind of error recently. The "bit per pixel" of the framebuff= er interface should be 32, you can check/change the value in /sys/class/gra= phic/fb[x]/bits_per_pixel. Default bpp can be specified in DTS.=20 I also remember that IPU configure DMA with burst size and each line will m= ust be a multiple of this burst size. This may be related with your error f= or line width =3D 1366.=20 Regards,=20 Vincent=20 =C2=A0=20 Le 2017-07-11 13:58, Benjamin Federau a =C3=A9crit=C2=A0: Hello, I try to get my 10'' Chalkboard touchscreen (resolution 1366x768) running w= ith 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 =3D 0x3003". If I set the resolution to 1280x720 for the display the Qt application star= ts. I have read that the 1366x768 can cause some problems, but does someone eve= r got a Qt application with eglfs running on that resolution? My setup: kernel-colibri-imx6=C2=A0 :4.1.39 qtbase=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :5.9.0 imx-gpu-viv=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 :5.0.11.p8.6 Thanks and regards - Benjamin Federau --=20 =C2=A0=20 M.Sc. Benjamin Federau=20 Integration Engineer=20 =C2=A0=20 basysKom GmbH=20 Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany=20 benjamin.federau@basyskom.com=C2=A0 | www.basyskom.com=20 =C2=A0=20 Handelsregister: Darmstadt HRB 9352=20 Geschaeftsfuehrung: Dr.-Ing. Eva Brucherseifer, Heike Ziegler=20= --=-7uD1OSEavVPQuEJml7pi Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 =3D 0x3003"

So = on our setup a Qt application with eglfs works with a 1366x768 resolution?<= br>
After setting the bpp I get a Kernel message, jfyi
[  198.08= 7193] mxc_sdc_fb fb@0: 1366x768 h_sync,r,l: 40,110,220  v_sync,l,u: 5,= 5,20 pixclock=3D83125000 Hz

I'm not sure if I understand the thing w= ith the burst size you mentioned.

Regards
-
Benjamin Federau
Betreff: =20 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 frameb= uffer 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 wil= l must be a multiple of this burst size. This may be related with your erro= r for line width =3D 1366.

Regards,

Vincent

 

Le 2017-07-11 13:58, Benjamin Federau a =C3=A9crit :

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 de= vice it crashes with "Error : Could not create the egl surface: error =3D 0= x3003".
If I set the resolution to 1280x720 for the display the Qt appli= cation starts.
I have read that the 1366x768 can cause some problems, bu= t does someone ever got a Qt application with eglfs running on that resolut= ion?

My setup:
kernel-colibri-imx6  :4.1.39
qtbase &= nbsp;           &nbs= p;         :5.9.0
imx-gpu-viv&nb= sp;            =   :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
 
Hand= elsregister: Darmstadt HRB 9352
Geschaeftsfuehrung: Dr.-Ing. Eva Bruche= rseifer, Heike Ziegler
= --=-7uD1OSEavVPQuEJml7pi--