All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Federau <benjamin.federau@basyskom.com>
To: Vincent DEHORS <vincent.dehors@smile.fr>
Cc: meta-freescale Mailing List <meta-freescale@yoctoproject.org>
Subject: Re: Problem with touchscreen Display 1366x768 with Qt 5.9 and eglfs
Date: Tue, 11 Jul 2017 15:16:21 +0200	[thread overview]
Message-ID: <834854102-3252@mx1.basyskom.com> (raw)
In-Reply-To: <e3cf491ea70e7cc2c3d19fc0802af23c@smile.fr>

[-- 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 --]

  reply	other threads:[~2017-07-11 13:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=834854102-3252@mx1.basyskom.com \
    --to=benjamin.federau@basyskom.com \
    --cc=meta-freescale@yoctoproject.org \
    --cc=vincent.dehors@smile.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.