* [meta-fsl-arm] QT5 on SabreLite
@ 2014-01-24 17:13 Gary Thomas
2014-01-24 17:38 ` Eric Bénard
2014-01-24 18:35 ` Filip Piechocki
0 siblings, 2 replies; 8+ messages in thread
From: Gary Thomas @ 2014-01-24 17:13 UTC (permalink / raw)
To: meta-freescale@yoctoproject.org
I finally got QT5 to build for my i.MX6Q SabreLite. I'm able
to run the cinematic demo, but the touch screen isn't working.
Here's what I get:
root@sabrelite:~# Qt5_CinematicExperience -platform eglfs -plugin tslib
evdevtouch: Using device /dev/input/event1
min X: 0 max X: 0
min Y: 0 max Y: 0
min pressure: 0 max pressure: 4095
device name: tsc2004
EGLFS: Unable to query physical screen size, defaulting to 100 dpi.
EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
QTsLibMouseHandler "tslib" ""
Protocol type A
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Notice that the touch window is 0x0. I know the touch is set up
properly and calibrated as I've run the ts_* programs as well as
X11 and QT4.
How do I get the touch screen working with QT5?
BTW, the demo reports being able to display a screaming 177FPS!
Does that make sense?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [meta-fsl-arm] QT5 on SabreLite
2014-01-24 17:13 [meta-fsl-arm] QT5 on SabreLite Gary Thomas
@ 2014-01-24 17:38 ` Eric Bénard
2014-01-24 17:50 ` Gary Thomas
2014-01-24 18:35 ` Filip Piechocki
1 sibling, 1 reply; 8+ messages in thread
From: Eric Bénard @ 2014-01-24 17:38 UTC (permalink / raw)
To: Gary Thomas; +Cc: meta-freescale@yoctoproject.org
Hi Gary,
Le Fri, 24 Jan 2014 10:13:28 -0700,
Gary Thomas <gary@mlbassoc.com> a écrit :
> I finally got QT5 to build for my i.MX6Q SabreLite. I'm able
> to run the cinematic demo, but the touch screen isn't working.
> Here's what I get:
>
> root@sabrelite:~# Qt5_CinematicExperience -platform eglfs -plugin tslib
> evdevtouch: Using device /dev/input/event1
> min X: 0 max X: 0
> min Y: 0 max Y: 0
> min pressure: 0 max pressure: 4095
> device name: tsc2004
> EGLFS: Unable to query physical screen size, defaulting to 100 dpi.
> EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
> QTsLibMouseHandler "tslib" ""
> Protocol type A
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
>
> Notice that the touch window is 0x0. I know the touch is set up
> properly and calibrated as I've run the ts_* programs as well as
> X11 and QT4.
>
was that with the same rootfs ?
Did you calibrate again after flashing this one ?
> How do I get the touch screen working with QT5?
>
> BTW, the demo reports being able to display a screaming 177FPS!
> Does that make sense?
>
that's what I also got and put in the comit message :
commit f8852824e6944943480f685d498ccce4ffec2c30
Date: Mon Oct 7 15:37:29 2013 +0000
qtbase: update mx5 & mx6 support
- remove 5.0.2 as meta-qt5 has 5.1.0 by default
- tested on i.MX53 with eglfs and xcb platforms. FPS is not very
good despite the GPU (~24 fps on 800x480)
- tested on i.MX6 with eglfs platform : performance is very good
(> 150 fps on 640x480)
Eric
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [meta-fsl-arm] QT5 on SabreLite
2014-01-24 17:38 ` Eric Bénard
@ 2014-01-24 17:50 ` Gary Thomas
0 siblings, 0 replies; 8+ messages in thread
From: Gary Thomas @ 2014-01-24 17:50 UTC (permalink / raw)
To: Eric Bénard; +Cc: meta-freescale@yoctoproject.org
On 2014-01-24 10:38, Eric Bénard wrote:
> Hi Gary,
>
> Le Fri, 24 Jan 2014 10:13:28 -0700,
> Gary Thomas <gary@mlbassoc.com> a écrit :
>
>> I finally got QT5 to build for my i.MX6Q SabreLite. I'm able
>> to run the cinematic demo, but the touch screen isn't working.
>> Here's what I get:
>>
>> root@sabrelite:~# Qt5_CinematicExperience -platform eglfs -plugin tslib
>> evdevtouch: Using device /dev/input/event1
>> min X: 0 max X: 0
>> min Y: 0 max Y: 0
>> min pressure: 0 max pressure: 4095
>> device name: tsc2004
>> EGLFS: Unable to query physical screen size, defaulting to 100 dpi.
>> EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
>> QTsLibMouseHandler "tslib" ""
>> Protocol type A
>> libpng warning: iCCP: known incorrect sRGB profile
>> libpng warning: iCCP: known incorrect sRGB profile
>>
>> Notice that the touch window is 0x0. I know the touch is set up
>> properly and calibrated as I've run the ts_* programs as well as
>> X11 and QT4.
>>
> was that with the same rootfs ?
No, separate SD cards, one for each flavour.
> Did you calibrate again after flashing this one ?
Yes, no change.
>
>> How do I get the touch screen working with QT5?
>>
>> BTW, the demo reports being able to display a screaming 177FPS!
>> Does that make sense?
>>
> that's what I also got and put in the comit message :
>
> commit f8852824e6944943480f685d498ccce4ffec2c30
> Date: Mon Oct 7 15:37:29 2013 +0000
>
> qtbase: update mx5 & mx6 support
>
> - remove 5.0.2 as meta-qt5 has 5.1.0 by default
> - tested on i.MX53 with eglfs and xcb platforms. FPS is not very
> good despite the GPU (~24 fps on 800x480)
> - tested on i.MX6 with eglfs platform : performance is very good
> (> 150 fps on 640x480)
>
> Eric
>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [meta-fsl-arm] QT5 on SabreLite
2014-01-24 17:13 [meta-fsl-arm] QT5 on SabreLite Gary Thomas
2014-01-24 17:38 ` Eric Bénard
@ 2014-01-24 18:35 ` Filip Piechocki
2014-01-24 19:28 ` dora 3.10.9 w/fsl-image-gui? randy.krakora
2014-01-24 19:57 ` [meta-fsl-arm] QT5 on SabreLite Gary Thomas
1 sibling, 2 replies; 8+ messages in thread
From: Filip Piechocki @ 2014-01-24 18:35 UTC (permalink / raw)
To: Gary Thomas; +Cc: meta-freescale@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 1839 bytes --]
Hi,
Maybe try different device (e.g. /dev/input/event0). AFAIR it should be
like this for example:
... -plugin tslib:/dev/input/event0
or instead of adding this as command line argument it can be set as
environment variable:
export QT_QPA_GENERIC_PLUGINS=tslib:/dev/input/event0
Best regards,
Filip
On Fri, Jan 24, 2014 at 6:13 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> I finally got QT5 to build for my i.MX6Q SabreLite. I'm able
> to run the cinematic demo, but the touch screen isn't working.
> Here's what I get:
>
> root@sabrelite:~# Qt5_CinematicExperience -platform eglfs -plugin tslib
> evdevtouch: Using device /dev/input/event1
> min X: 0 max X: 0
> min Y: 0 max Y: 0
> min pressure: 0 max pressure: 4095
> device name: tsc2004
> EGLFS: Unable to query physical screen size, defaulting to 100 dpi.
> EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and
> QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
> QTsLibMouseHandler "tslib" ""
> Protocol type A
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
>
> Notice that the touch window is 0x0. I know the touch is set up
> properly and calibrated as I've run the ts_* programs as well as
> X11 and QT4.
>
> How do I get the touch screen working with QT5?
>
> BTW, the demo reports being able to display a screaming 177FPS!
> Does that make sense?
>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
[-- Attachment #2: Type: text/html, Size: 3173 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* dora 3.10.9 w/fsl-image-gui?
2014-01-24 18:35 ` Filip Piechocki
@ 2014-01-24 19:28 ` randy.krakora
2014-01-24 19:32 ` Fabio Estevam
2014-01-24 19:57 ` [meta-fsl-arm] QT5 on SabreLite Gary Thomas
1 sibling, 1 reply; 8+ messages in thread
From: randy.krakora @ 2014-01-24 19:28 UTC (permalink / raw)
To: 'meta-freescale@yoctoproject.org'
[-- Attachment #1: Type: text/plain, Size: 162 bytes --]
Using the dora branch, 3.10.9-1.0.0_alpha with core-image-minimal, seems to boot fine fsl-image-gui hangs then crashes.
Any ideas?
Regards,
Randy Krakora
[-- Attachment #2: Type: text/html, Size: 2613 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: dora 3.10.9 w/fsl-image-gui?
2014-01-24 19:28 ` dora 3.10.9 w/fsl-image-gui? randy.krakora
@ 2014-01-24 19:32 ` Fabio Estevam
2014-01-24 19:44 ` randy.krakora
0 siblings, 1 reply; 8+ messages in thread
From: Fabio Estevam @ 2014-01-24 19:32 UTC (permalink / raw)
To: randy.krakora@freescale.com; +Cc: meta-freescale@yoctoproject.org
On Fri, Jan 24, 2014 at 5:28 PM, randy.krakora@freescale.com
<randy.krakora@freescale.com> wrote:
> Using the dora branch, 3.10.9-1.0.0_alpha with core-image-minimal, seems to
> boot fine fsl-image-gui hangs then crashes.
Try doing the following in U-boot prompt:
=> setenv fdt_file imx6q-sabresd-ldo.dtb
=> save
=> reset
If this does not solve, please paste the full log.
Regards,
Fabio Estevam
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: dora 3.10.9 w/fsl-image-gui?
2014-01-24 19:32 ` Fabio Estevam
@ 2014-01-24 19:44 ` randy.krakora
0 siblings, 0 replies; 8+ messages in thread
From: randy.krakora @ 2014-01-24 19:44 UTC (permalink / raw)
To: 'Fabio Estevam'; +Cc: 'meta-freescale@yoctoproject.org'
Magic!
Thanks,
Randy
-----Original Message-----
From: Fabio Estevam [mailto:festevam@gmail.com]
Sent: Friday, January 24, 2014 2:33 PM
To: Krakora Randy-B37740
Cc: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] dora 3.10.9 w/fsl-image-gui?
On Fri, Jan 24, 2014 at 5:28 PM, randy.krakora@freescale.com <randy.krakora@freescale.com> wrote:
> Using the dora branch, 3.10.9-1.0.0_alpha with core-image-minimal,
> seems to boot fine fsl-image-gui hangs then crashes.
Try doing the following in U-boot prompt:
=> setenv fdt_file imx6q-sabresd-ldo.dtb => save => reset
If this does not solve, please paste the full log.
Regards,
Fabio Estevam
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [meta-fsl-arm] QT5 on SabreLite
2014-01-24 18:35 ` Filip Piechocki
2014-01-24 19:28 ` dora 3.10.9 w/fsl-image-gui? randy.krakora
@ 2014-01-24 19:57 ` Gary Thomas
1 sibling, 0 replies; 8+ messages in thread
From: Gary Thomas @ 2014-01-24 19:57 UTC (permalink / raw)
To: Filip Piechocki; +Cc: meta-freescale@yoctoproject.org
On 2014-01-24 11:35, Filip Piechocki wrote:
> Hi,
>
> Maybe try different device (e.g. /dev/input/event0). AFAIR it should be like this for example:
>
> ... -plugin tslib:/dev/input/event0
>
> or instead of adding this as command line argument it can be set as environment variable:
>
> export QT_QPA_GENERIC_PLUGINS=tslib:/dev/input/event0
Yes, that fixed it, thanks. I used tslib:/dev/input/touchscreen0
> On Fri, Jan 24, 2014 at 6:13 PM, Gary Thomas <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:
>
> I finally got QT5 to build for my i.MX6Q SabreLite. I'm able
> to run the cinematic demo, but the touch screen isn't working.
> Here's what I get:
>
> root@sabrelite:~# Qt5_CinematicExperience -platform eglfs -plugin tslib
> evdevtouch: Using device /dev/input/event1
> min X: 0 max X: 0
> min Y: 0 max Y: 0
> min pressure: 0 max pressure: 4095
> device name: tsc2004
> EGLFS: Unable to query physical screen size, defaulting to 100 dpi.
> EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
> QTsLibMouseHandler "tslib" ""
> Protocol type A
> libpng warning: iCCP: known incorrect sRGB profile
> libpng warning: iCCP: known incorrect sRGB profile
>
> Notice that the touch window is 0x0. I know the touch is set up
> properly and calibrated as I've run the ts_* programs as well as
> X11 and QT4.
>
> How do I get the touch screen working with QT5?
>
> BTW, the demo reports being able to display a screaming 177FPS!
> Does that make sense?
>
> --
> ------------------------------__------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------__------------------------------
> _________________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.__org <mailto:meta-freescale@yoctoproject.org>
> https://lists.yoctoproject.__org/listinfo/meta-freescale <https://lists.yoctoproject.org/listinfo/meta-freescale>
>
>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-01-24 19:56 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-24 17:13 [meta-fsl-arm] QT5 on SabreLite Gary Thomas
2014-01-24 17:38 ` Eric Bénard
2014-01-24 17:50 ` Gary Thomas
2014-01-24 18:35 ` Filip Piechocki
2014-01-24 19:28 ` dora 3.10.9 w/fsl-image-gui? randy.krakora
2014-01-24 19:32 ` Fabio Estevam
2014-01-24 19:44 ` randy.krakora
2014-01-24 19:57 ` [meta-fsl-arm] QT5 on SabreLite Gary Thomas
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.