* meta-qt5 and WebKit2 examples? @ 2014-03-07 11:51 BERTIN, NICOLAS (NICOLAS) 2014-03-07 13:31 ` Dmitriy B. 0 siblings, 1 reply; 19+ messages in thread From: BERTIN, NICOLAS (NICOLAS) @ 2014-03-07 11:51 UTC (permalink / raw) To: meta-freescale@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 472 bytes --] Hi, Using the master branch and latest meta-qt5 layer (Qt 5.2.1), I'd like to know if some of you managed to run the WebKit2 examples (flickrview or youtubeview) and if yes, based on which qpa (eglfs, xcb, ...) ? When I build Qt outside of yocto, the WebKit2 examples are running (eglfs), but the web content is not displayed (even if I'm pretty sure that the QtWebProcess is working behind the scene...) Thank you to share you experience! Nicolas [-- Attachment #2: smime.p7s --] [-- Type: application/x-pkcs7-signature, Size: 4416 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: meta-qt5 and WebKit2 examples? 2014-03-07 11:51 meta-qt5 and WebKit2 examples? BERTIN, NICOLAS (NICOLAS) @ 2014-03-07 13:31 ` Dmitriy B. 2014-03-07 14:29 ` BERTIN, NICOLAS (NICOLAS) 2014-03-07 14:29 ` Otavio Salvador 0 siblings, 2 replies; 19+ messages in thread From: Dmitriy B. @ 2014-03-07 13:31 UTC (permalink / raw) To: meta-freescale@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 768 bytes --] > > When I build Qt outside of yocto, the WebKit2 examples are running (eglfs), > but > the web content is not displayed (even if I'm pretty sure that the > QtWebProcess > is working behind the scene...) > I have exact same problem and already tried many things with various gles/egl options around Qt & WebKit. There is no known solution right now, it seems like no one wants to dig into WebKit sources, and unfortunately, problem lies somewhere there in EGL platform support. Moreover - in X11 you can see mouse changing cursor on input fields and links, so WebKit actually works, just the rendering to EGL is broken. If you will have any success with this - poke me and I will test on my Debian i.MX6Q system. Best Regards, Dmitriy Beykun [-- Attachment #2: Type: text/html, Size: 1077 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: meta-qt5 and WebKit2 examples? 2014-03-07 13:31 ` Dmitriy B. @ 2014-03-07 14:29 ` BERTIN, NICOLAS (NICOLAS) 2014-03-07 14:29 ` Otavio Salvador 1 sibling, 0 replies; 19+ messages in thread From: BERTIN, NICOLAS (NICOLAS) @ 2014-03-07 14:29 UTC (permalink / raw) To: meta-freescale@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 1119 bytes --] >>When I build Qt outside of yocto, the WebKit2 examples are running (eglfs), >>but the web content is not displayed (even if I'm pretty sure that the >>QtWebProcess is working behind the scene...) > >I have exact same problem and already tried many things with various gles/egl options around Qt & WebKit. > >There is no known solution right now, it seems like no one wants to dig into WebKit sources, and >unfortunately, >problem lies somewhere there in EGL platform support. Moreover - in X11 you can see mouse >changing cursor on input >fields and links, so WebKit actually works, just the rendering to EGL is broken. > >If you will have any success with this - poke me and I will test on my Debian i.MX6Q system. > >Best Regards, >Dmitriy Beykun Oh ! Thank you, I feel less alone, now ! The only real patch that I have tried is from this blog: http://thebugfreeblog.blogspot.it/2012/11/making-qtwebkit-with-webkit2-in-qt -50.html This is also the only successful integration of Qt5+eglfs/WebKit2 that I've found. Unfortunately, not on the "right" platform... To be continued. [-- Attachment #2: smime.p7s --] [-- Type: application/x-pkcs7-signature, Size: 4416 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: meta-qt5 and WebKit2 examples? 2014-03-07 13:31 ` Dmitriy B. 2014-03-07 14:29 ` BERTIN, NICOLAS (NICOLAS) @ 2014-03-07 14:29 ` Otavio Salvador 2014-03-07 14:42 ` Dmitriy B. 1 sibling, 1 reply; 19+ messages in thread From: Otavio Salvador @ 2014-03-07 14:29 UTC (permalink / raw) To: Dmitriy B.; +Cc: meta-freescale@yoctoproject.org On Fri, Mar 7, 2014 at 10:31 AM, Dmitriy B. <rzk333@gmail.com> wrote: >> When I build Qt outside of yocto, the WebKit2 examples are running >> (eglfs), >> but >> the web content is not displayed (even if I'm pretty sure that the >> QtWebProcess >> is working behind the scene...) > > > I have exact same problem and already tried many things with various > gles/egl options around Qt & WebKit. > > There is no known solution right now, it seems like no one wants to dig into > WebKit sources, and unfortunately, problem lies somewhere there in EGL > platform support. Moreover - in X11 you can see mouse changing cursor on > input fields and links, so WebKit actually works, just the rendering to EGL > is broken. > > If you will have any success with this - poke me and I will test on my > Debian i.MX6Q system. I am finishing a build test to send a qtbase patch, for X11 support. I didn't try WebKit yet but can certainly do later. I'd love if you guys could give it a try and let me know how it goes. -- 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 ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: meta-qt5 and WebKit2 examples? 2014-03-07 14:29 ` Otavio Salvador @ 2014-03-07 14:42 ` Dmitriy B. 2014-03-26 16:06 ` Erik Botö 0 siblings, 1 reply; 19+ messages in thread From: Dmitriy B. @ 2014-03-07 14:42 UTC (permalink / raw) To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 190 bytes --] > > I'd love if you guys could give it a try and let me know how it goes. Sure. I'm ready to recompile Qt with your patches and test my applications. Best Regards, Dmitriy Beykun [-- Attachment #2: Type: text/html, Size: 446 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: meta-qt5 and WebKit2 examples? 2014-03-07 14:42 ` Dmitriy B. @ 2014-03-26 16:06 ` Erik Botö 2014-03-26 16:38 ` Otavio Salvador 0 siblings, 1 reply; 19+ messages in thread From: Erik Botö @ 2014-03-26 16:06 UTC (permalink / raw) To: Dmitriy B.; +Cc: meta-freescale@yoctoproject.org, Otavio Salvador Hi, I haven't tried the examples, but we can display e.g. google maps in a webview on imx6 (eglfs). I'm not on latest meta-qt5, but I think it should work there as well. QtWebProcess seems to require a certain pixelformat of the framebuffer. In order to get it displaying properly I pass fbpix=BGR32 on the kernel command line. I use a nitrogen6x with the 10" hannstar display so I basically do this in the u-boot-boundary-scripts package: diff -uNr git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt --- git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt 2014-03-20 10:08:34.351756548 +0100 +++ git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt 2014-03-20 10:10:00.711759080 +0100 @@ -15,7 +15,7 @@ i2c dev 2 if i2c probe 0x04 ; then - setenv bootargs $bootargs video=mxcfb${nextcon}:dev=ldb,LDB-XGA,if=RGB666 + setenv bootargs $bootargs video=mxcfb${nextcon}:dev=ldb,fbpix=BGR32 if test "0" -eq $nextcon; then setenv fbmem "fbmem=10M"; else Also, make sure you set QT_QPA_PLATFORM=eglfs when you run your app, since using -platform eglfs won't propagate to the launched QtWebProcess. Cheers, Erik On Fri, Mar 7, 2014 at 3:42 PM, Dmitriy B. <rzk333@gmail.com> wrote: >> I'd love if you guys could give it a try and let me know how it goes. > > > Sure. I'm ready to recompile Qt with your patches and test my applications. > > Best Regards, > Dmitriy Beykun > > _______________________________________________ > meta-freescale mailing list > meta-freescale@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-freescale > -- ============================================= Erik Botö Senior Software Engineer Pelagicore AB Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden Mobile: +46 (0)76 881 72 03 E-Mail: erik.boto@pelagicore.com ============================================= ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: meta-qt5 and WebKit2 examples? 2014-03-26 16:06 ` Erik Botö @ 2014-03-26 16:38 ` Otavio Salvador 2014-03-26 16:43 ` Martin Jansa 0 siblings, 1 reply; 19+ messages in thread From: Otavio Salvador @ 2014-03-26 16:38 UTC (permalink / raw) To: Erik Botö, Martin Jansa; +Cc: meta-freescale@yoctoproject.org Hello Erik, On Wed, Mar 26, 2014 at 1:06 PM, Erik Botö <erik.boto@pelagicore.com> wrote: > I haven't tried the examples, but we can display e.g. google maps in a > webview on imx6 (eglfs). I'm not on latest meta-qt5, but I think it > should work there as well. > > QtWebProcess seems to require a certain pixelformat of the > framebuffer. In order to get it displaying properly I pass fbpix=BGR32 > on the kernel command line. I use a nitrogen6x with the 10" hannstar > display so I basically do this in the u-boot-boundary-scripts package: > > diff -uNr git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt > git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt > --- git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt > 2014-03-20 10:08:34.351756548 +0100 > +++ git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt 2014-03-20 > 10:10:00.711759080 +0100 > @@ -15,7 +15,7 @@ > > i2c dev 2 > if i2c probe 0x04 ; then > - setenv bootargs $bootargs video=mxcfb${nextcon}:dev=ldb,LDB-XGA,if=RGB666 > + setenv bootargs $bootargs video=mxcfb${nextcon}:dev=ldb,fbpix=BGR32 > if test "0" -eq $nextcon; then > setenv fbmem "fbmem=10M"; > else Oh! > Also, make sure you set QT_QPA_PLATFORM=eglfs when you run your app, > since using -platform eglfs won't propagate to the launched > QtWebProcess. Martin, do you know if something related to this has been fixed in last Qt5 releases? -- 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 ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: meta-qt5 and WebKit2 examples? 2014-03-26 16:38 ` Otavio Salvador @ 2014-03-26 16:43 ` Martin Jansa 2014-03-26 16:57 ` Erik Botö 2014-03-28 19:53 ` Dmitriy B. 0 siblings, 2 replies; 19+ messages in thread From: Martin Jansa @ 2014-03-26 16:43 UTC (permalink / raw) To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 1872 bytes --] On Wed, Mar 26, 2014 at 01:38:14PM -0300, Otavio Salvador wrote: > Hello Erik, > > On Wed, Mar 26, 2014 at 1:06 PM, Erik Botö <erik.boto@pelagicore.com> wrote: > > I haven't tried the examples, but we can display e.g. google maps in a > > webview on imx6 (eglfs). I'm not on latest meta-qt5, but I think it > > should work there as well. > > > > QtWebProcess seems to require a certain pixelformat of the > > framebuffer. In order to get it displaying properly I pass fbpix=BGR32 > > on the kernel command line. I use a nitrogen6x with the 10" hannstar > > display so I basically do this in the u-boot-boundary-scripts package: > > > > diff -uNr git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt > > git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt > > --- git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt > > 2014-03-20 10:08:34.351756548 +0100 > > +++ git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt 2014-03-20 > > 10:10:00.711759080 +0100 > > @@ -15,7 +15,7 @@ > > > > i2c dev 2 > > if i2c probe 0x04 ; then > > - setenv bootargs $bootargs video=mxcfb${nextcon}:dev=ldb,LDB-XGA,if=RGB666 > > + setenv bootargs $bootargs video=mxcfb${nextcon}:dev=ldb,fbpix=BGR32 > > if test "0" -eq $nextcon; then > > setenv fbmem "fbmem=10M"; > > else > > Oh! > > > Also, make sure you set QT_QPA_PLATFORM=eglfs when you run your app, > > since using -platform eglfs won't propagate to the launched > > QtWebProcess. > > Martin, do you know if something related to this has been fixed in > last Qt5 releases? What version were you using in this test? There were some changes for different fb formats in 5.2.1 (not really sure if really related to the issue you're seeing) and there is branch for 5.3.0-beta1 if you want to test it there. -- Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 205 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: meta-qt5 and WebKit2 examples? 2014-03-26 16:43 ` Martin Jansa @ 2014-03-26 16:57 ` Erik Botö 2014-03-27 9:45 ` Julien Chastaing (b-swiss) 2014-04-04 6:26 ` Erik Botö 2014-03-28 19:53 ` Dmitriy B. 1 sibling, 2 replies; 19+ messages in thread From: Erik Botö @ 2014-03-26 16:57 UTC (permalink / raw) To: Martin Jansa; +Cc: meta-freescale@yoctoproject.org, Otavio Salvador On Wed, Mar 26, 2014 at 5:43 PM, Martin Jansa <martin.jansa@gmail.com> wrote: > On Wed, Mar 26, 2014 at 01:38:14PM -0300, Otavio Salvador wrote: >> Hello Erik, >> >> On Wed, Mar 26, 2014 at 1:06 PM, Erik Botö <erik.boto@pelagicore.com> wrote: >> > I haven't tried the examples, but we can display e.g. google maps in a >> > webview on imx6 (eglfs). I'm not on latest meta-qt5, but I think it >> > should work there as well. >> > >> > QtWebProcess seems to require a certain pixelformat of the >> > framebuffer. In order to get it displaying properly I pass fbpix=BGR32 >> > on the kernel command line. I use a nitrogen6x with the 10" hannstar >> > display so I basically do this in the u-boot-boundary-scripts package: >> > >> > diff -uNr git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt >> > git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt >> > --- git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt >> > 2014-03-20 10:08:34.351756548 +0100 >> > +++ git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt 2014-03-20 >> > 10:10:00.711759080 +0100 >> > @@ -15,7 +15,7 @@ >> > >> > i2c dev 2 >> > if i2c probe 0x04 ; then >> > - setenv bootargs $bootargs video=mxcfb${nextcon}:dev=ldb,LDB-XGA,if=RGB666 >> > + setenv bootargs $bootargs video=mxcfb${nextcon}:dev=ldb,fbpix=BGR32 >> > if test "0" -eq $nextcon; then >> > setenv fbmem "fbmem=10M"; >> > else >> >> Oh! >> >> > Also, make sure you set QT_QPA_PLATFORM=eglfs when you run your app, >> > since using -platform eglfs won't propagate to the launched >> > QtWebProcess. >> >> Martin, do you know if something related to this has been fixed in >> last Qt5 releases? > > What version were you using in this test? This was qtwebkit-5.1.1. I'll start a build of meta-qt5 master to see if 5.2.1 work ok for me. Cheers, Erik > > There were some changes for different fb formats in 5.2.1 (not really > sure if really related to the issue you're seeing) and there is > branch for 5.3.0-beta1 if you want to test it there. > > -- > Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: meta-qt5 and WebKit2 examples? 2014-03-26 16:57 ` Erik Botö @ 2014-03-27 9:45 ` Julien Chastaing (b-swiss) 2014-03-27 14:14 ` Erik Botö 2014-04-04 6:26 ` Erik Botö 1 sibling, 1 reply; 19+ messages in thread From: Julien Chastaing (b-swiss) @ 2014-03-27 9:45 UTC (permalink / raw) To: Erik Botö; +Cc: meta-freescale@yoctoproject.org, Otavio Salvador Hello Erik, I tried to pass fbpix=BGR32 to the kernel as well as setting QT_QPA_PLATFORM=eglfs as you mentionned but still nothing displayed. I am using an utilite pro with qt 5.2.1. Regards, Julien Chastaing b-swiss | smart digital signage b-tween | digital signage & user experience agency Suivez-nous sur twitter: _btwn <https://twitter.com/_btwn> T. + 41 22 940 11 11 julienchastaing@b-swiss.com chastaing@b-tween.com http://www.b-swiss.com <http://www.b-swiss.com/> http://www.b-tween.com <http://www.b-tween.com/> Le 26.03.14 17:57, « Erik Botö » <erik.boto@pelagicore.com> a écrit : >On Wed, Mar 26, 2014 at 5:43 PM, Martin Jansa <martin.jansa@gmail.com> >wrote: >> On Wed, Mar 26, 2014 at 01:38:14PM -0300, Otavio Salvador wrote: >>> Hello Erik, >>> >>> On Wed, Mar 26, 2014 at 1:06 PM, Erik Botö <erik.boto@pelagicore.com> >>>wrote: >>> > I haven't tried the examples, but we can display e.g. google maps in >>>a >>> > webview on imx6 (eglfs). I'm not on latest meta-qt5, but I think it >>> > should work there as well. >>> > >>> > QtWebProcess seems to require a certain pixelformat of the >>> > framebuffer. In order to get it displaying properly I pass >>>fbpix=BGR32 >>> > on the kernel command line. I use a nitrogen6x with the 10" hannstar >>> > display so I basically do this in the u-boot-boundary-scripts >>>package: >>> > >>> > diff -uNr git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt >>> > git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt >>> > --- git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt >>> > 2014-03-20 10:08:34.351756548 +0100 >>> > +++ git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt 2014-03-20 >>> > 10:10:00.711759080 +0100 >>> > @@ -15,7 +15,7 @@ >>> > >>> > i2c dev 2 >>> > if i2c probe 0x04 ; then >>> > - setenv bootargs $bootargs >>>video=mxcfb${nextcon}:dev=ldb,LDB-XGA,if=RGB666 >>> > + setenv bootargs $bootargs video=mxcfb${nextcon}:dev=ldb,fbpix=BGR32 >>> > if test "0" -eq $nextcon; then >>> > setenv fbmem "fbmem=10M"; >>> > else >>> >>> Oh! >>> >>> > Also, make sure you set QT_QPA_PLATFORM=eglfs when you run your app, >>> > since using -platform eglfs won't propagate to the launched >>> > QtWebProcess. >>> >>> Martin, do you know if something related to this has been fixed in >>> last Qt5 releases? >> >> What version were you using in this test? > >This was qtwebkit-5.1.1. I'll start a build of meta-qt5 master to see >if 5.2.1 work ok for me. > >Cheers, >Erik > >> >> There were some changes for different fb formats in 5.2.1 (not really >> sure if really related to the issue you're seeing) and there is >> branch for 5.3.0-beta1 if you want to test it there. >> >> -- >> Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com >-- >_______________________________________________ >meta-freescale mailing list >meta-freescale@yoctoproject.org >https://lists.yoctoproject.org/listinfo/meta-freescale ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: meta-qt5 and WebKit2 examples? 2014-03-27 9:45 ` Julien Chastaing (b-swiss) @ 2014-03-27 14:14 ` Erik Botö 2014-03-27 14:39 ` Julien Chastaing (b-swiss) 0 siblings, 1 reply; 19+ messages in thread From: Erik Botö @ 2014-03-27 14:14 UTC (permalink / raw) To: Julien Chastaing (b-swiss) Cc: meta-freescale@yoctoproject.org, Otavio Salvador On Thu, Mar 27, 2014 at 10:45 AM, Julien Chastaing (b-swiss) <julienchastaing@b-swiss.com> wrote: > Hello Erik, > > I tried to pass fbpix=BGR32 to the kernel as well as setting > QT_QPA_PLATFORM=eglfs as you mentionned but still nothing displayed. Unfortunately I get the same problem when using qt 5.2.1. -- E > > I am using an utilite pro with qt 5.2.1. > > Regards, > > Julien Chastaing > > b-swiss | smart digital signage > b-tween | digital signage & user experience agency > > Suivez-nous sur twitter: _btwn <https://twitter.com/_btwn> > > T. + 41 22 940 11 11 > julienchastaing@b-swiss.com > > chastaing@b-tween.com > > http://www.b-swiss.com <http://www.b-swiss.com/> > http://www.b-tween.com <http://www.b-tween.com/> > > > > > > > Le 26.03.14 17:57, « Erik Botö » <erik.boto@pelagicore.com> a écrit : > >>On Wed, Mar 26, 2014 at 5:43 PM, Martin Jansa <martin.jansa@gmail.com> >>wrote: >>> On Wed, Mar 26, 2014 at 01:38:14PM -0300, Otavio Salvador wrote: >>>> Hello Erik, >>>> >>>> On Wed, Mar 26, 2014 at 1:06 PM, Erik Botö <erik.boto@pelagicore.com> >>>>wrote: >>>> > I haven't tried the examples, but we can display e.g. google maps in >>>>a >>>> > webview on imx6 (eglfs). I'm not on latest meta-qt5, but I think it >>>> > should work there as well. >>>> > >>>> > QtWebProcess seems to require a certain pixelformat of the >>>> > framebuffer. In order to get it displaying properly I pass >>>>fbpix=BGR32 >>>> > on the kernel command line. I use a nitrogen6x with the 10" hannstar >>>> > display so I basically do this in the u-boot-boundary-scripts >>>>package: >>>> > >>>> > diff -uNr git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt >>>> > git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt >>>> > --- git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt >>>> > 2014-03-20 10:08:34.351756548 +0100 >>>> > +++ git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt 2014-03-20 >>>> > 10:10:00.711759080 +0100 >>>> > @@ -15,7 +15,7 @@ >>>> > >>>> > i2c dev 2 >>>> > if i2c probe 0x04 ; then >>>> > - setenv bootargs $bootargs >>>>video=mxcfb${nextcon}:dev=ldb,LDB-XGA,if=RGB666 >>>> > + setenv bootargs $bootargs video=mxcfb${nextcon}:dev=ldb,fbpix=BGR32 >>>> > if test "0" -eq $nextcon; then >>>> > setenv fbmem "fbmem=10M"; >>>> > else >>>> >>>> Oh! >>>> >>>> > Also, make sure you set QT_QPA_PLATFORM=eglfs when you run your app, >>>> > since using -platform eglfs won't propagate to the launched >>>> > QtWebProcess. >>>> >>>> Martin, do you know if something related to this has been fixed in >>>> last Qt5 releases? >>> >>> What version were you using in this test? >> >>This was qtwebkit-5.1.1. I'll start a build of meta-qt5 master to see >>if 5.2.1 work ok for me. >> >>Cheers, >>Erik >> >>> >>> There were some changes for different fb formats in 5.2.1 (not really >>> sure if really related to the issue you're seeing) and there is >>> branch for 5.3.0-beta1 if you want to test it there. >>> >>> -- >>> Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com >>-- >>_______________________________________________ >>meta-freescale mailing list >>meta-freescale@yoctoproject.org >>https://lists.yoctoproject.org/listinfo/meta-freescale > -- ============================================= Erik Botö Senior Software Engineer Pelagicore AB Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden Mobile: +46 (0)76 881 72 03 E-Mail: erik.boto@pelagicore.com ============================================= ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: meta-qt5 and WebKit2 examples? 2014-03-27 14:14 ` Erik Botö @ 2014-03-27 14:39 ` Julien Chastaing (b-swiss) 2014-03-27 15:43 ` Ilya Smelykh 0 siblings, 1 reply; 19+ messages in thread From: Julien Chastaing (b-swiss) @ 2014-03-27 14:39 UTC (permalink / raw) To: Erik Botö; +Cc: meta-freescale@yoctoproject.org, Otavio Salvador I'll try with the 5.3.0-beta1 branch and keep you informed. Regards. Julien Chastaing Le 27.03.14 15:14, « Erik Botö » <erik.boto@pelagicore.com> a écrit : >On Thu, Mar 27, 2014 at 10:45 AM, Julien Chastaing (b-swiss) ><julienchastaing@b-swiss.com> wrote: >> Hello Erik, >> >> I tried to pass fbpix=BGR32 to the kernel as well as setting >> QT_QPA_PLATFORM=eglfs as you mentionned but still nothing displayed. > >Unfortunately I get the same problem when using qt 5.2.1. > >-- E > >> >> I am using an utilite pro with qt 5.2.1. >> >> Regards, >> >> Julien Chastaing >> >> b-swiss | smart digital signage >> b-tween | digital signage & user experience agency >> >> Suivez-nous sur twitter: _btwn <https://twitter.com/_btwn> >> >> T. + 41 22 940 11 11 >> julienchastaing@b-swiss.com >> >> chastaing@b-tween.com >> >> http://www.b-swiss.com <http://www.b-swiss.com/> >> http://www.b-tween.com <http://www.b-tween.com/> >> >> >> >> >> >> >> Le 26.03.14 17:57, « Erik Botö » <erik.boto@pelagicore.com> a écrit : >> >>>On Wed, Mar 26, 2014 at 5:43 PM, Martin Jansa <martin.jansa@gmail.com> >>>wrote: >>>> On Wed, Mar 26, 2014 at 01:38:14PM -0300, Otavio Salvador wrote: >>>>> Hello Erik, >>>>> >>>>> On Wed, Mar 26, 2014 at 1:06 PM, Erik Botö <erik.boto@pelagicore.com> >>>>>wrote: >>>>> > I haven't tried the examples, but we can display e.g. google maps >>>>>in >>>>>a >>>>> > webview on imx6 (eglfs). I'm not on latest meta-qt5, but I think it >>>>> > should work there as well. >>>>> > >>>>> > QtWebProcess seems to require a certain pixelformat of the >>>>> > framebuffer. In order to get it displaying properly I pass >>>>>fbpix=BGR32 >>>>> > on the kernel command line. I use a nitrogen6x with the 10" >>>>>hannstar >>>>> > display so I basically do this in the u-boot-boundary-scripts >>>>>package: >>>>> > >>>>> > diff -uNr >>>>>git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt >>>>> > git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt >>>>> > --- git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt >>>>> > 2014-03-20 10:08:34.351756548 +0100 >>>>> > +++ git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt >>>>>2014-03-20 >>>>> > 10:10:00.711759080 +0100 >>>>> > @@ -15,7 +15,7 @@ >>>>> > >>>>> > i2c dev 2 >>>>> > if i2c probe 0x04 ; then >>>>> > - setenv bootargs $bootargs >>>>>video=mxcfb${nextcon}:dev=ldb,LDB-XGA,if=RGB666 >>>>> > + setenv bootargs $bootargs >>>>>video=mxcfb${nextcon}:dev=ldb,fbpix=BGR32 >>>>> > if test "0" -eq $nextcon; then >>>>> > setenv fbmem "fbmem=10M"; >>>>> > else >>>>> >>>>> Oh! >>>>> >>>>> > Also, make sure you set QT_QPA_PLATFORM=eglfs when you run your >>>>>app, >>>>> > since using -platform eglfs won't propagate to the launched >>>>> > QtWebProcess. >>>>> >>>>> Martin, do you know if something related to this has been fixed in >>>>> last Qt5 releases? >>>> >>>> What version were you using in this test? >>> >>>This was qtwebkit-5.1.1. I'll start a build of meta-qt5 master to see >>>if 5.2.1 work ok for me. >>> >>>Cheers, >>>Erik >>> >>>> >>>> There were some changes for different fb formats in 5.2.1 (not really >>>> sure if really related to the issue you're seeing) and there is >>>> branch for 5.3.0-beta1 if you want to test it there. >>>> >>>> -- >>>> Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com >>>-- >>>_______________________________________________ >>>meta-freescale mailing list >>>meta-freescale@yoctoproject.org >>>https://lists.yoctoproject.org/listinfo/meta-freescale >> > > > >-- >============================================= >Erik Botö >Senior Software Engineer >Pelagicore AB >Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden >Mobile: +46 (0)76 881 72 03 >E-Mail: erik.boto@pelagicore.com >============================================= ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: meta-qt5 and WebKit2 examples? 2014-03-27 14:39 ` Julien Chastaing (b-swiss) @ 2014-03-27 15:43 ` Ilya Smelykh 0 siblings, 0 replies; 19+ messages in thread From: Ilya Smelykh @ 2014-03-27 15:43 UTC (permalink / raw) To: Julien Chastaing (b-swiss) Cc: meta-freescale@yoctoproject.org, Otavio Salvador [-- Attachment #1: Type: text/plain, Size: 4650 bytes --] Hi, I've built meta-qt5 master, fbpix=BGR32 gives me hdmi not blank, Qt5_CinematicExperience works with eglfs, but launching any qt5 example cause SIGSEGV. Regards, Ilya Smelykh. 2014-03-27 21:39 GMT+07:00 Julien Chastaing (b-swiss) < julienchastaing@b-swiss.com>: > I'll try with the 5.3.0-beta1 branch and keep you informed. > > Regards. > > Julien Chastaing > > > > > Le 27.03.14 15:14, « Erik Botö » <erik.boto@pelagicore.com> a écrit : > > >On Thu, Mar 27, 2014 at 10:45 AM, Julien Chastaing (b-swiss) > ><julienchastaing@b-swiss.com> wrote: > >> Hello Erik, > >> > >> I tried to pass fbpix=BGR32 to the kernel as well as setting > >> QT_QPA_PLATFORM=eglfs as you mentionned but still nothing displayed. > > > >Unfortunately I get the same problem when using qt 5.2.1. > > > >-- E > > > >> > >> I am using an utilite pro with qt 5.2.1. > >> > >> Regards, > >> > >> Julien Chastaing > >> > >> b-swiss | smart digital signage > >> b-tween | digital signage & user experience agency > >> > >> Suivez-nous sur twitter: _btwn <https://twitter.com/_btwn> > >> > >> T. + 41 22 940 11 11 > >> julienchastaing@b-swiss.com > >> > >> chastaing@b-tween.com > >> > >> http://www.b-swiss.com <http://www.b-swiss.com/> > >> http://www.b-tween.com <http://www.b-tween.com/> > >> > >> > >> > >> > >> > >> > >> Le 26.03.14 17:57, « Erik Botö » <erik.boto@pelagicore.com> a écrit : > >> > >>>On Wed, Mar 26, 2014 at 5:43 PM, Martin Jansa <martin.jansa@gmail.com> > >>>wrote: > >>>> On Wed, Mar 26, 2014 at 01:38:14PM -0300, Otavio Salvador wrote: > >>>>> Hello Erik, > >>>>> > >>>>> On Wed, Mar 26, 2014 at 1:06 PM, Erik Botö <erik.boto@pelagicore.com > > > >>>>>wrote: > >>>>> > I haven't tried the examples, but we can display e.g. google maps > >>>>>in > >>>>>a > >>>>> > webview on imx6 (eglfs). I'm not on latest meta-qt5, but I think it > >>>>> > should work there as well. > >>>>> > > >>>>> > QtWebProcess seems to require a certain pixelformat of the > >>>>> > framebuffer. In order to get it displaying properly I pass > >>>>>fbpix=BGR32 > >>>>> > on the kernel command line. I use a nitrogen6x with the 10" > >>>>>hannstar > >>>>> > display so I basically do this in the u-boot-boundary-scripts > >>>>>package: > >>>>> > > >>>>> > diff -uNr > >>>>>git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt > >>>>> > git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt > >>>>> > --- git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt > >>>>> > 2014-03-20 10:08:34.351756548 +0100 > >>>>> > +++ git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt > >>>>>2014-03-20 > >>>>> > 10:10:00.711759080 +0100 > >>>>> > @@ -15,7 +15,7 @@ > >>>>> > > >>>>> > i2c dev 2 > >>>>> > if i2c probe 0x04 ; then > >>>>> > - setenv bootargs $bootargs > >>>>>video=mxcfb${nextcon}:dev=ldb,LDB-XGA,if=RGB666 > >>>>> > + setenv bootargs $bootargs > >>>>>video=mxcfb${nextcon}:dev=ldb,fbpix=BGR32 > >>>>> > if test "0" -eq $nextcon; then > >>>>> > setenv fbmem "fbmem=10M"; > >>>>> > else > >>>>> > >>>>> Oh! > >>>>> > >>>>> > Also, make sure you set QT_QPA_PLATFORM=eglfs when you run your > >>>>>app, > >>>>> > since using -platform eglfs won't propagate to the launched > >>>>> > QtWebProcess. > >>>>> > >>>>> Martin, do you know if something related to this has been fixed in > >>>>> last Qt5 releases? > >>>> > >>>> What version were you using in this test? > >>> > >>>This was qtwebkit-5.1.1. I'll start a build of meta-qt5 master to see > >>>if 5.2.1 work ok for me. > >>> > >>>Cheers, > >>>Erik > >>> > >>>> > >>>> There were some changes for different fb formats in 5.2.1 (not really > >>>> sure if really related to the issue you're seeing) and there is > >>>> branch for 5.3.0-beta1 if you want to test it there. > >>>> > >>>> -- > >>>> Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com > >>>-- > >>>_______________________________________________ > >>>meta-freescale mailing list > >>>meta-freescale@yoctoproject.org > >>>https://lists.yoctoproject.org/listinfo/meta-freescale > >> > > > > > > > >-- > >============================================= > >Erik Botö > >Senior Software Engineer > >Pelagicore AB > >Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden > >Mobile: +46 (0)76 881 72 03 > >E-Mail: erik.boto@pelagicore.com > >============================================= > > -- > _______________________________________________ > meta-freescale mailing list > meta-freescale@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-freescale > -- Cheers, Ilya. [-- Attachment #2: Type: text/html, Size: 8008 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: meta-qt5 and WebKit2 examples? 2014-03-26 16:57 ` Erik Botö 2014-03-27 9:45 ` Julien Chastaing (b-swiss) @ 2014-04-04 6:26 ` Erik Botö 2014-04-07 22:18 ` Julien Chastaing (b-swiss) 1 sibling, 1 reply; 19+ messages in thread From: Erik Botö @ 2014-04-04 6:26 UTC (permalink / raw) To: Martin Jansa; +Cc: meta-freescale@yoctoproject.org, Otavio Salvador Hi all, Ok, so I did another test. Qt 5.2.1 but using QtWebkit 5.1.1. This works well for me on a nitrogen6x, and I'll probably use this as a work-around for now. FYI, there's a thread on qt-dev about this, http://lists.qt-project.org/pipermail/interest/2014-April/011807.html . I had to do two minor backports in order to compile the older qtwebkit, see below. I also saw that there were error building with qtlocation, but I just disabled that since I'm not using it right now anyway. It can probably be fixed as well though if you just look in to it. diff -ur qtwebkit-opensource-src-5.1.1/Source/ThirdParty/ANGLE/src/compiler/glslang.y qtwebkit-opensource-src-5.1.1.fixed/Source/ThirdParty/ANGLE/src/compiler/glslang.y --- qtwebkit-opensource-src-5.1.1/Source/ThirdParty/ANGLE/src/compiler/glslang.y 2013-08-25 20:04:43.000000000 +0200 +++ qtwebkit-opensource-src-5.1.1.fixed/Source/ThirdParty/ANGLE/src/compiler/glslang.y 2014-04-02 15:25:54.436352726 +0200 @@ -47,6 +47,7 @@ %expect 1 /* One shift reduce conflict because of if | else */ %pure-parser %parse-param {TParseContext* context} +%lex-param {YYLEX_PARAM} %union { struct { diff -ur qtwebkit-opensource-src-5.1.1/Source/WebKit/qt/WidgetApi/qwebviewaccessible_p.h qtwebkit-opensource-src-5.1.1.fixed/Source/WebKit/qt/WidgetApi/qwebviewaccessible_p.h --- qtwebkit-opensource-src-5.1.1/Source/WebKit/qt/WidgetApi/qwebviewaccessible_p.h 2013-08-25 20:04:54.000000000 +0200 +++ qtwebkit-opensource-src-5.1.1.fixed/Source/WebKit/qt/WidgetApi/qwebviewaccessible_p.h 2014-04-02 17:30:08.228405250 +0200 @@ -22,7 +22,7 @@ #include <qaccessible.h> #include <qaccessibleobject.h> -#if QT_VERSION >= QT_VERSION_CHECK(5, 1, 0) +#if QT_VERSION >= QT_VERSION_CHECK(5, 1, 0) && QT_VERSION < QT_VERSION_CHECK(5, 2, 0) #include <private/qaccessiblewidget_p.h> #else #include <qaccessiblewidget.h> Cheers, Erik On Wed, Mar 26, 2014 at 5:57 PM, Erik Botö <erik.boto@pelagicore.com> wrote: > On Wed, Mar 26, 2014 at 5:43 PM, Martin Jansa <martin.jansa@gmail.com> wrote: >> On Wed, Mar 26, 2014 at 01:38:14PM -0300, Otavio Salvador wrote: >>> Hello Erik, >>> >>> On Wed, Mar 26, 2014 at 1:06 PM, Erik Botö <erik.boto@pelagicore.com> wrote: >>> > I haven't tried the examples, but we can display e.g. google maps in a >>> > webview on imx6 (eglfs). I'm not on latest meta-qt5, but I think it >>> > should work there as well. >>> > >>> > QtWebProcess seems to require a certain pixelformat of the >>> > framebuffer. In order to get it displaying properly I pass fbpix=BGR32 >>> > on the kernel command line. I use a nitrogen6x with the 10" hannstar >>> > display so I basically do this in the u-boot-boundary-scripts package: >>> > >>> > diff -uNr git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt >>> > git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt >>> > --- git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt >>> > 2014-03-20 10:08:34.351756548 +0100 >>> > +++ git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt 2014-03-20 >>> > 10:10:00.711759080 +0100 >>> > @@ -15,7 +15,7 @@ >>> > >>> > i2c dev 2 >>> > if i2c probe 0x04 ; then >>> > - setenv bootargs $bootargs video=mxcfb${nextcon}:dev=ldb,LDB-XGA,if=RGB666 >>> > + setenv bootargs $bootargs video=mxcfb${nextcon}:dev=ldb,fbpix=BGR32 >>> > if test "0" -eq $nextcon; then >>> > setenv fbmem "fbmem=10M"; >>> > else >>> >>> Oh! >>> >>> > Also, make sure you set QT_QPA_PLATFORM=eglfs when you run your app, >>> > since using -platform eglfs won't propagate to the launched >>> > QtWebProcess. >>> >>> Martin, do you know if something related to this has been fixed in >>> last Qt5 releases? >> >> What version were you using in this test? > > This was qtwebkit-5.1.1. I'll start a build of meta-qt5 master to see > if 5.2.1 work ok for me. > > Cheers, > Erik > >> >> There were some changes for different fb formats in 5.2.1 (not really >> sure if really related to the issue you're seeing) and there is >> branch for 5.3.0-beta1 if you want to test it there. >> >> -- >> Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: meta-qt5 and WebKit2 examples? 2014-04-04 6:26 ` Erik Botö @ 2014-04-07 22:18 ` Julien Chastaing (b-swiss) 2014-04-08 4:59 ` Erik Botö 0 siblings, 1 reply; 19+ messages in thread From: Julien Chastaing (b-swiss) @ 2014-04-07 22:18 UTC (permalink / raw) To: Erik Botö, Martin Jansa Cc: meta-freescale@yoctoproject.org, Otavio Salvador Hi Erik, Are you able to play videos such as youtube or vimeo with your workaround ? I tried on an utilite pro but can't see such videos. Best Regards, Julien Chastaing Le 04.04.14 08:26, « Erik Botö » <erik.boto@pelagicore.com> a écrit : >Hi all, > >Ok, so I did another test. Qt 5.2.1 but using QtWebkit 5.1.1. This >works well for me on a nitrogen6x, and I'll probably use this as a >work-around for now. > >FYI, there's a thread on qt-dev about this, >http://lists.qt-project.org/pipermail/interest/2014-April/011807.html >. > >I had to do two minor backports in order to compile the older >qtwebkit, see below. I also saw that there were error building with >qtlocation, but I just disabled that since I'm not using it right now >anyway. It can probably be fixed as well though if you just look in to >it. > >diff -ur >qtwebkit-opensource-src-5.1.1/Source/ThirdParty/ANGLE/src/compiler/glslang >.y >qtwebkit-opensource-src-5.1.1.fixed/Source/ThirdParty/ANGLE/src/compiler/g >lslang.y >--- >qtwebkit-opensource-src-5.1.1/Source/ThirdParty/ANGLE/src/compiler/glslang >.y > 2013-08-25 20:04:43.000000000 +0200 >+++ >qtwebkit-opensource-src-5.1.1.fixed/Source/ThirdParty/ANGLE/src/compiler/g >lslang.y > 2014-04-02 15:25:54.436352726 +0200 >@@ -47,6 +47,7 @@ > %expect 1 /* One shift reduce conflict because of if | else */ > %pure-parser > %parse-param {TParseContext* context} >+%lex-param {YYLEX_PARAM} > > %union { > struct { > >diff -ur >qtwebkit-opensource-src-5.1.1/Source/WebKit/qt/WidgetApi/qwebviewaccessibl >e_p.h >qtwebkit-opensource-src-5.1.1.fixed/Source/WebKit/qt/WidgetApi/qwebviewacc >essible_p.h >--- >qtwebkit-opensource-src-5.1.1/Source/WebKit/qt/WidgetApi/qwebviewaccessibl >e_p.h > 2013-08-25 20:04:54.000000000 +0200 >+++ >qtwebkit-opensource-src-5.1.1.fixed/Source/WebKit/qt/WidgetApi/qwebviewacc >essible_p.h > 2014-04-02 17:30:08.228405250 +0200 >@@ -22,7 +22,7 @@ > > #include <qaccessible.h> > #include <qaccessibleobject.h> >-#if QT_VERSION >= QT_VERSION_CHECK(5, 1, 0) >+#if QT_VERSION >= QT_VERSION_CHECK(5, 1, 0) && QT_VERSION < >QT_VERSION_CHECK(5, 2, 0) > #include <private/qaccessiblewidget_p.h> > #else > #include <qaccessiblewidget.h> > >Cheers, >Erik > >On Wed, Mar 26, 2014 at 5:57 PM, Erik Botö <erik.boto@pelagicore.com> >wrote: >> On Wed, Mar 26, 2014 at 5:43 PM, Martin Jansa <martin.jansa@gmail.com> >>wrote: >>> On Wed, Mar 26, 2014 at 01:38:14PM -0300, Otavio Salvador wrote: >>>> Hello Erik, >>>> >>>> On Wed, Mar 26, 2014 at 1:06 PM, Erik Botö <erik.boto@pelagicore.com> >>>>wrote: >>>> > I haven't tried the examples, but we can display e.g. google maps >>>>in a >>>> > webview on imx6 (eglfs). I'm not on latest meta-qt5, but I think it >>>> > should work there as well. >>>> > >>>> > QtWebProcess seems to require a certain pixelformat of the >>>> > framebuffer. In order to get it displaying properly I pass >>>>fbpix=BGR32 >>>> > on the kernel command line. I use a nitrogen6x with the 10" hannstar >>>> > display so I basically do this in the u-boot-boundary-scripts >>>>package: >>>> > >>>> > diff -uNr git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt >>>> > git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt >>>> > --- git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt >>>> > 2014-03-20 10:08:34.351756548 +0100 >>>> > +++ git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt 2014-03-20 >>>> > 10:10:00.711759080 +0100 >>>> > @@ -15,7 +15,7 @@ >>>> > >>>> > i2c dev 2 >>>> > if i2c probe 0x04 ; then >>>> > - setenv bootargs $bootargs >>>>video=mxcfb${nextcon}:dev=ldb,LDB-XGA,if=RGB666 >>>> > + setenv bootargs $bootargs >>>>video=mxcfb${nextcon}:dev=ldb,fbpix=BGR32 >>>> > if test "0" -eq $nextcon; then >>>> > setenv fbmem "fbmem=10M"; >>>> > else >>>> >>>> Oh! >>>> >>>> > Also, make sure you set QT_QPA_PLATFORM=eglfs when you run your app, >>>> > since using -platform eglfs won't propagate to the launched >>>> > QtWebProcess. >>>> >>>> Martin, do you know if something related to this has been fixed in >>>> last Qt5 releases? >>> >>> What version were you using in this test? >> >> This was qtwebkit-5.1.1. I'll start a build of meta-qt5 master to see >> if 5.2.1 work ok for me. >> >> Cheers, >> Erik >> >>> >>> There were some changes for different fb formats in 5.2.1 (not really >>> sure if really related to the issue you're seeing) and there is >>> branch for 5.3.0-beta1 if you want to test it there. >>> >>> -- >>> Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com >-- >_______________________________________________ >meta-freescale mailing list >meta-freescale@yoctoproject.org >https://lists.yoctoproject.org/listinfo/meta-freescale ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: meta-qt5 and WebKit2 examples? 2014-04-07 22:18 ` Julien Chastaing (b-swiss) @ 2014-04-08 4:59 ` Erik Botö 0 siblings, 0 replies; 19+ messages in thread From: Erik Botö @ 2014-04-08 4:59 UTC (permalink / raw) To: Julien Chastaing (b-swiss) Cc: meta-freescale@yoctoproject.org, Martin Jansa, Otavio Salvador Hi, I can try it out. Just so I do a proper test, are there any codecs I need to make sure I have installed when testing? Cheers, Erik On Tue, Apr 8, 2014 at 12:18 AM, Julien Chastaing (b-swiss) <julienchastaing@b-swiss.com> wrote: > Hi Erik, > > Are you able to play videos such as youtube or vimeo with your workaround ? > > I tried on an utilite pro but can't see such videos. > > > Best Regards, > > > Julien Chastaing > > > > Le 04.04.14 08:26, « Erik Botö » <erik.boto@pelagicore.com> a écrit : > >>Hi all, >> >>Ok, so I did another test. Qt 5.2.1 but using QtWebkit 5.1.1. This >>works well for me on a nitrogen6x, and I'll probably use this as a >>work-around for now. >> >>FYI, there's a thread on qt-dev about this, >>http://lists.qt-project.org/pipermail/interest/2014-April/011807.html >>. >> >>I had to do two minor backports in order to compile the older >>qtwebkit, see below. I also saw that there were error building with >>qtlocation, but I just disabled that since I'm not using it right now >>anyway. It can probably be fixed as well though if you just look in to >>it. >> >>diff -ur >>qtwebkit-opensource-src-5.1.1/Source/ThirdParty/ANGLE/src/compiler/glslang >>.y >>qtwebkit-opensource-src-5.1.1.fixed/Source/ThirdParty/ANGLE/src/compiler/g >>lslang.y >>--- >>qtwebkit-opensource-src-5.1.1/Source/ThirdParty/ANGLE/src/compiler/glslang >>.y >> 2013-08-25 20:04:43.000000000 +0200 >>+++ >>qtwebkit-opensource-src-5.1.1.fixed/Source/ThirdParty/ANGLE/src/compiler/g >>lslang.y >> 2014-04-02 15:25:54.436352726 +0200 >>@@ -47,6 +47,7 @@ >> %expect 1 /* One shift reduce conflict because of if | else */ >> %pure-parser >> %parse-param {TParseContext* context} >>+%lex-param {YYLEX_PARAM} >> >> %union { >> struct { >> >>diff -ur >>qtwebkit-opensource-src-5.1.1/Source/WebKit/qt/WidgetApi/qwebviewaccessibl >>e_p.h >>qtwebkit-opensource-src-5.1.1.fixed/Source/WebKit/qt/WidgetApi/qwebviewacc >>essible_p.h >>--- >>qtwebkit-opensource-src-5.1.1/Source/WebKit/qt/WidgetApi/qwebviewaccessibl >>e_p.h >> 2013-08-25 20:04:54.000000000 +0200 >>+++ >>qtwebkit-opensource-src-5.1.1.fixed/Source/WebKit/qt/WidgetApi/qwebviewacc >>essible_p.h >> 2014-04-02 17:30:08.228405250 +0200 >>@@ -22,7 +22,7 @@ >> >> #include <qaccessible.h> >> #include <qaccessibleobject.h> >>-#if QT_VERSION >= QT_VERSION_CHECK(5, 1, 0) >>+#if QT_VERSION >= QT_VERSION_CHECK(5, 1, 0) && QT_VERSION < >>QT_VERSION_CHECK(5, 2, 0) >> #include <private/qaccessiblewidget_p.h> >> #else >> #include <qaccessiblewidget.h> >> >>Cheers, >>Erik >> >>On Wed, Mar 26, 2014 at 5:57 PM, Erik Botö <erik.boto@pelagicore.com> >>wrote: >>> On Wed, Mar 26, 2014 at 5:43 PM, Martin Jansa <martin.jansa@gmail.com> >>>wrote: >>>> On Wed, Mar 26, 2014 at 01:38:14PM -0300, Otavio Salvador wrote: >>>>> Hello Erik, >>>>> >>>>> On Wed, Mar 26, 2014 at 1:06 PM, Erik Botö <erik.boto@pelagicore.com> >>>>>wrote: >>>>> > I haven't tried the examples, but we can display e.g. google maps >>>>>in a >>>>> > webview on imx6 (eglfs). I'm not on latest meta-qt5, but I think it >>>>> > should work there as well. >>>>> > >>>>> > QtWebProcess seems to require a certain pixelformat of the >>>>> > framebuffer. In order to get it displaying properly I pass >>>>>fbpix=BGR32 >>>>> > on the kernel command line. I use a nitrogen6x with the 10" hannstar >>>>> > display so I basically do this in the u-boot-boundary-scripts >>>>>package: >>>>> > >>>>> > diff -uNr git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt >>>>> > git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt >>>>> > --- git.orig/board/boundary/nitrogen6x/6x_bootscript-yocto.txt >>>>> > 2014-03-20 10:08:34.351756548 +0100 >>>>> > +++ git/board/boundary/nitrogen6x/6x_bootscript-yocto.txt 2014-03-20 >>>>> > 10:10:00.711759080 +0100 >>>>> > @@ -15,7 +15,7 @@ >>>>> > >>>>> > i2c dev 2 >>>>> > if i2c probe 0x04 ; then >>>>> > - setenv bootargs $bootargs >>>>>video=mxcfb${nextcon}:dev=ldb,LDB-XGA,if=RGB666 >>>>> > + setenv bootargs $bootargs >>>>>video=mxcfb${nextcon}:dev=ldb,fbpix=BGR32 >>>>> > if test "0" -eq $nextcon; then >>>>> > setenv fbmem "fbmem=10M"; >>>>> > else >>>>> >>>>> Oh! >>>>> >>>>> > Also, make sure you set QT_QPA_PLATFORM=eglfs when you run your app, >>>>> > since using -platform eglfs won't propagate to the launched >>>>> > QtWebProcess. >>>>> >>>>> Martin, do you know if something related to this has been fixed in >>>>> last Qt5 releases? >>>> >>>> What version were you using in this test? >>> >>> This was qtwebkit-5.1.1. I'll start a build of meta-qt5 master to see >>> if 5.2.1 work ok for me. >>> >>> Cheers, >>> Erik >>> >>>> >>>> There were some changes for different fb formats in 5.2.1 (not really >>>> sure if really related to the issue you're seeing) and there is >>>> branch for 5.3.0-beta1 if you want to test it there. >>>> >>>> -- >>>> Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com >>-- >>_______________________________________________ >>meta-freescale mailing list >>meta-freescale@yoctoproject.org >>https://lists.yoctoproject.org/listinfo/meta-freescale > -- ============================================= Erik Botö Senior Software Engineer Pelagicore AB Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden Mobile: +46 (0)76 881 72 03 E-Mail: erik.boto@pelagicore.com ============================================= ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: meta-qt5 and WebKit2 examples? 2014-03-26 16:43 ` Martin Jansa 2014-03-26 16:57 ` Erik Botö @ 2014-03-28 19:53 ` Dmitriy B. 1 sibling, 0 replies; 19+ messages in thread From: Dmitriy B. @ 2014-03-28 19:53 UTC (permalink / raw) To: Martin Jansa; +Cc: meta-freescale@yoctoproject.org, Otavio Salvador [-- Attachment #1: Type: text/plain, Size: 921 bytes --] > > What version were you using in this test? > selfcompiled 5.2.2 out of yocto (debian rootfs). Users in this thread report exact same problems within yocto. In order to get it displaying properly I pass fbpix=BGR32 > on the kernel command line. But what if my display is a cheap RGB TTL and accepts RGB565 ipu setting? If I will select BGR32 color channels will be swapped. Also, if I remember correctly - I tried various bpps without success using HDMI output. What if this issue is connected with the eglconvenience problem that we have on imx6? How does WebKit2 part of Qt5 handle that? By default without patching, any Qt5 app will fail to load with X Visual ID mismatch error, this has a simple workaround - forcing Visual ID to 0, patch: https://github.com/Freescale/meta-fsl-arm/blob/master/qt5-layer/recipes-qt/qt5/qtbase/Force_egl_visual_ID_33.patch Best Regards, Dmitriy Beykun [-- Attachment #2: Type: text/html, Size: 1892 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
[parent not found: <<CAPhrY5OGUaDU4=7Znhgi6DDDqNRiAVYXajp-w9poQ_PbYWy0XA@mail.gmail.com>]
* Re: meta-qt5 and WebKit2 examples? [not found] <<CAPhrY5OGUaDU4=7Znhgi6DDDqNRiAVYXajp-w9poQ_PbYWy0XA@mail.gmail.com> @ 2014-03-26 7:54 ` Julien Chastaing (b-swiss) 2014-03-26 12:42 ` Otavio Salvador 0 siblings, 1 reply; 19+ messages in thread From: Julien Chastaing (b-swiss) @ 2014-03-26 7:54 UTC (permalink / raw) To: meta-freescale@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 237 bytes --] Hi, I have exactly the same problem with Qt 5.2.1 built for utilite pro using yocto (eglfs). Webkit2 seems to work but nothing is displayed. Any news about this would be very appreciated. Best Regards, Julien Chastaing [-- Attachment #2: Type: text/html, Size: 787 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: meta-qt5 and WebKit2 examples? 2014-03-26 7:54 ` Julien Chastaing (b-swiss) @ 2014-03-26 12:42 ` Otavio Salvador 0 siblings, 0 replies; 19+ messages in thread From: Otavio Salvador @ 2014-03-26 12:42 UTC (permalink / raw) To: Julien Chastaing (b-swiss); +Cc: meta-freescale@yoctoproject.org Hello, On Wed, Mar 26, 2014 at 4:54 AM, Julien Chastaing (b-swiss) <julienchastaing@b-swiss.com> wrote: > I have exactly the same problem with Qt 5.2.1 built for utilite pro using > yocto (eglfs). > > Webkit2 seems to work but nothing is displayed. > > Any news about this would be very appreciated. This is a known issue without a fix yet. If you can help to debug it, it would be great. -- 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 ^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2014-04-08 4:59 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-07 11:51 meta-qt5 and WebKit2 examples? BERTIN, NICOLAS (NICOLAS)
2014-03-07 13:31 ` Dmitriy B.
2014-03-07 14:29 ` BERTIN, NICOLAS (NICOLAS)
2014-03-07 14:29 ` Otavio Salvador
2014-03-07 14:42 ` Dmitriy B.
2014-03-26 16:06 ` Erik Botö
2014-03-26 16:38 ` Otavio Salvador
2014-03-26 16:43 ` Martin Jansa
2014-03-26 16:57 ` Erik Botö
2014-03-27 9:45 ` Julien Chastaing (b-swiss)
2014-03-27 14:14 ` Erik Botö
2014-03-27 14:39 ` Julien Chastaing (b-swiss)
2014-03-27 15:43 ` Ilya Smelykh
2014-04-04 6:26 ` Erik Botö
2014-04-07 22:18 ` Julien Chastaing (b-swiss)
2014-04-08 4:59 ` Erik Botö
2014-03-28 19:53 ` Dmitriy B.
[not found] <<CAPhrY5OGUaDU4=7Znhgi6DDDqNRiAVYXajp-w9poQ_PbYWy0XA@mail.gmail.com>
2014-03-26 7:54 ` Julien Chastaing (b-swiss)
2014-03-26 12:42 ` Otavio Salvador
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.