From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id BC983E00B77; Thu, 10 Aug 2017 01:55:17 -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 54285E00B77 for ; Thu, 10 Aug 2017 01:55:14 -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.4) with ESMTPSA for h4nn35.work@gmail.com; Thu, 10 Aug 2017 10:55:11 +0200 Date: Thu, 10 Aug 2017 10:55:11 +0200 X-Mailer: Kerio Connect 9.2.4/Kerio Connect Client X-User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 Message-ID: <3411021068-20807@mx1.basyskom.com> X-Priority: 3 Importance: Normal In-Reply-To: MIME-Version: 1.0 From: Benjamin Federau To: Johannes Pointner 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: Thu, 10 Aug 2017 08:55:17 -0000 Content-Type: multipart/alternative; boundary="=-EJd3as1TpvxORQEJ6XVs" --=-EJd3as1TpvxORQEJ6XVs Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Von: Johannes Pointner =20 Gesendet: 08.08.2017 9:15=20 Betreff: Re: [meta-freescale] Problem with touchscreen Display 1366x768 = with Qt 5.9 and eglfs=20 2017-08-07 17:02 GMT+02:00 Otavio Salvador :=20 > On Mon, Aug 7, 2017 at 11:51 AM, Benjamin Federau=20 > wrote:=20 >> Von: Otavio Salvador =20 >> Gesendet: 11.07.2017 17:16=20 >> Betreff: Re: [meta-freescale] Problem with touchscreen Display 1366x768 = with=20 >> Qt 5.9 and eglfs=20 >>=20 >> On Tue, Jul 11, 2017 at 10:16 AM, Benjamin Federau=20 >> wrote:=20 >>> the bpp was set to 16, so I set it as you wrote to 32. But the Qt=20 >>> application still crashes with "EGL Error : Could not create the egl=20 >>> surface: error =3D 0x3003"=20 >>>=20 >>> So on our setup a Qt application with eglfs works with a 1366x768=20 >>> resolution?=20 >>>=20 >>> After setting the bpp I get a Kernel message, jfyi=20 >>> [ =C2=A0198.087193] mxc_sdc_fb fb@0: 1366x768 h_sync,r,l: 40,110,220=20 >>> v_sync,l,u:=20 >>> 5,5,20 pixclock=3D83125000 Hz=20 >>>=20 >>> I'm not sure if I understand the thing with the burst size you mentione= d.=20 >>=20 >> Are you using the Qt commercial layer?=20 >>=20 >>=20 >> No. I use meta-boot2qt from http://code.qt.io/cgit/yocto/meta-boot2qt.gi= t/=20 >=20 > In this case, Qt ought to provide support for you.=20 >=20 > I don't think you need to use the commercial Qt from your description=20 > so if you want we, O.S. Systems, can help you. If there is interest=20 > please let us know and I can forward our services portfolio.=20 =20 If you are using lvds I think your problem could be related to this=20 https://community.nxp.com/message/860347=20 I use dev=3Dhdmi in my video parameter for my display. But I tried the sugg= ested patch in that thread and it works for me. The error is gone and the Qt application starts on the 1366x768 resolution = now. Thanks! = --=-EJd3as1TpvxORQEJ6XVs Content-Type: text/html; charset="utf-8" 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!
--=-EJd3as1TpvxORQEJ6XVs--