From jocelyn.turcotte at digia.com Mon May 5 12:50:10 2014 From: jocelyn.turcotte at digia.com (Jocelyn Turcotte) Date: Mon, 5 May 2014 12:50:10 +0200 Subject: [Qtwebengine] armv7, eglfs, qtwebenginewidgets, fancybrowser result in blank screen, and how to enable logging. In-Reply-To: References: Message-ID: <20140505105010.GB27989@poutine.it.local> Hello Rob, On Tue, Apr 29, 2014 at 09:36:08PM -0700, Rob Vogelaar wrote: > I completed an armv7 eglfs qtwebenegine build against the recent repo. > Below are my patches and notes. I am getting a blank screen (with a > functional mouse, and it did create a few files in /.local/, and an strace > indicates an attempt to http:get 'www.google.com' ). apitrace does not > indicate any gles2 from the chromium gpu command buffer, only gles2 I see > is from Qt (mouse cursor). > > - Do you have any debug suggestions based on the below output from running > fancybrowser? According to your output I would try to look at any call to QtShareGLContext::GetHandle and make sure that a valid GL context handle is handed to Chromium to setup context sharing. I never tried the new GL rendering for QWebEngineView with eglfs, you might get better result trying running the QtQuick version first. > - How do I enable logging? --enable-logging --v=1 does not seem to enable > logging. I never used --enable-logging, but --enable-gpu-service-logging was useful for me to print Chromium's GPU thread GL calls on stdout. > > thanks! > Rob > > 1) Qt-5.3.0-beta (+qglcontext patch from stable) ... > QSGContext::initialize: depth buffer support missing, expect rendering > errors > QSGContext::initialize: stencil buffer support missing, expect rendering > errors If you get this error then you probably don't have all the necessary patches that were merged into stable for widget GL rendering. Have a look at https://codereview.qt-project.org/#q,status:merged+owner:jocelyn.turcotte%2540digia.com+project:qt/qtbase,n,z Cheers, Jocelyn From revmh68 at gmail.com Tue May 6 09:08:49 2014 From: revmh68 at gmail.com (Rob Vogelaar) Date: Tue, 6 May 2014 00:08:49 -0700 Subject: [Qtwebengine] armv7, eglfs, qtwebenginewidgets, fancybrowser result in blank screen, and how to enable logging. In-Reply-To: <20140505105010.GB27989@poutine.it.local> References: <20140505105010.GB27989@poutine.it.local> Message-ID: Hello Jocelyn, I merged the patches for qwidget and qopenglwidget from stable, and added webkit/core text-rendering traces and sharecontext traces. This runs like the below, and further below with the --enable-gpu-service-logging. and further below is an attempt with quicknanobrowser. can you explain / prevent this error? : [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [GroupMarkerNotSet( crbug.com/242999)!:D443D131]cmd: kGetMultipleIntegervCHROMIUM ? thanks, Rob ./fancybrowser "http://www.google.com" [0506/004817:WARNING:resource_bundle.cc(280)] locale_file_path.empty() [0506/004817:WARNING:proxy_service.cc(890)] PAC support disabled because there is no system implementation QWidgetPrivate::shareContext() QSGContext::initialize: depth buffer support missing, expect rendering errors QSGContext::initialize: stencil buffer support missing, expect rendering errors QOpenGLWidget::resizeEvent() QOpenGLWidget::resizeEvent() QWidgetPrivate::shareContext() QWidgetPrivate::shareContext() QWidgetPrivate::shareContext() QWidgetPrivate::shareContext() QWidgetPrivate::shareContext() QWidgetPrivate::shareContext() QWidgetPrivate::shareContext() [0506/004818:WARNING:resource_bundle.cc(280)] locale_file_path.empty() RunNamedProcessTypeMain() [0]= [1]=utility [2]=renderer [3]=gpu-process QtShareGLContext::QtShareGLContext() eglfs QtShareGLContext::GetHandle():0x0004d5b8 QWidgetPrivate::shareContext() QWidgetPrivate::shareContext() [Images] [ ] [M] [ ] [Google+] [ ] [ ] [ ] [Search] [ ] [ ] [ ] [Thank you] [ to all the teachers on Earth.] [ ] [ ] [ ] [ ] [Sign in] [ ] [Preferences] [ - ] [Feedback] [ - ] [Help] [ ] [ View Google in:] [ Mobile | ] [Classic] [ ] [©] [Privacy] QWidgetPrivate::shareContext() QWidgetPrivate::shareContext() QWidgetPrivate::shareContext() QWidgetPrivate::shareContext() ^C ./fancybrowser "http://www.google.com" --enable-gpu-service-logging [0506/005306:WARNING:resource_bundle.cc(280)] locale_file_path.empty() [0506/005306:WARNING:proxy_service.cc(890)] PAC support disabled because there is no system implementation QWidgetPrivate::shareContext() QSGContext::initialize: depth buffer support missing, expect rendering errors QSGContext::initialize: stencil buffer support missing, expect rendering errors QOpenGLWidget::resizeEvent() QOpenGLWidget::resizeEvent() [0506/005307:WARNING:resource_bundle.cc(280)] locale_file_path.empty() RunNamedProcessTypeMain() [0]= [1]=utility [2]=renderer [3]=gpu-process QWidgetPrivate::shareContext() QWidgetPrivate::shareContext() QWidgetPrivate::shareContext() QWidgetPrivate::shareContext() QWidgetPrivate::shareContext() QWidgetPrivate::shareContext() QWidgetPrivate::shareContext() QtShareGLContext::QtShareGLContext() eglfs QtShareGLContext::GetHandle():0x0004d8c8 [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [GroupMarkerNotSet( crbug.com/242999)!:D443D131]cmd: kGetMultipleIntegervCHROMIUM [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [GroupMarkerNotSet( crbug.com/242999)!:D443D131]cmd: kGetShaderPrecisionFormat [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [GroupMarkerNotSet( crbug.com/242999)!:D443D131]cmd: kGetShaderPrecisionFormat [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [GroupMarkerNotSet( crbug.com/242999)!:D443D131]cmd: kGetShaderPrecisionFormat [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [GroupMarkerNotSet( crbug.com/242999)!:D443D131]cmd: kGetShaderPrecisionFormat [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [GroupMarkerNotSet( crbug.com/242999)!:D443D131]cmd: kGetShaderPrecisionFormat [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [GroupMarkerNotSet( crbug.com/242999)!:D443D131]cmd: kGetShaderPrecisionFormat [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [GroupMarkerNotSet( crbug.com/242999)!:D443D131]cmd: kGetShaderPrecisionFormat [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [GroupMarkerNotSet( crbug.com/242999)!:D443D131]cmd: kGetShaderPrecisionFormat [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [GroupMarkerNotSet( crbug.com/242999)!:D443D131]cmd: kGetShaderPrecisionFormat [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [GroupMarkerNotSet( crbug.com/242999)!:D443D131]cmd: kGetShaderPrecisionFormat [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [GroupMarkerNotSet( crbug.com/242999)!:D443D131]cmd: kGetShaderPrecisionFormat [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [GroupMarkerNotSet( crbug.com/242999)!:D443D131]cmd: kGetShaderPrecisionFormat [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [GroupMarkerNotSet( crbug.com/242999)!:D443D131]cmd: SetToken [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [GroupMarkerNotSet( crbug.com/242999)!:D443D131]cmd: kGetMultipleIntegervCHROMIUM [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [GroupMarkerNotSet( crbug.com/242999)!:D443D131]cmd: SetToken [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [GroupMarkerNotSet( crbug.com/242999)!:D443D131]cmd: SetBucketSize [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [GroupMarkerNotSet( crbug.com/242999)!:D443D131]cmd: SetBucketData [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [GroupMarkerNotSet( crbug.com/242999)!:D443D131]cmd: SetToken [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [GroupMarkerNotSet( crbug.com/242999)!:D443D131]cmd: kPushGroupMarkerEXT [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: SetBucketSize [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kGenTexturesImmediate [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kBindTexture [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kTexParameteri [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kTexParameteri [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kTexParameteri [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kTexParameteri [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kTexParameteri [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kBindTexture [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kTexImage2D [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kBindTexture [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kGenQueriesEXTImmediate [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kBeginQueryEXT [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kTexSubImage2D [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: SetToken [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kEndQueryEXT [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: SetToken [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kBindTexture [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kTexParameteri [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kTexParameteri [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kTexParameteri [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kTexParameteri [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kTexParameteri [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kBindTexture [Images] [ ] [M] [ ] [Google+] [ ] [ ] [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kTexImage2D [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kBindTexture [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kGenQueriesEXTImmediate [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kBeginQueryEXT [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kTexSubImage2D [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: SetToken [ ] [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kEndQueryEXT [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: SetToken [Search] [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kBindTexture [ ] [ ] [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kTexParameteri [ ] [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kTexParameteri [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kTexParameteri [Thank you] [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kTexParameteri [ to all the teachers on Earth.] [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kTexParameteri [ [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kBindTexture ] [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kTexImage2D [ ] [ ] [ ] [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kBindTexture [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kGenQueriesEXTImmediate [Sign in] [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kBeginQueryEXT [ ] [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [.RenderCompositor-0x6fbd8]cmd: kTexSubImage2D [Preferences] [ - ] export QML2_IMPORT_PATH=/nfs/qtwebengine/qml/ # export QML_IMPORT_TRACE=1 # ./quicknanobrowser QQmlImportDatabase::addImportPath: "/usr/local/Qt/qml" QQmlImportDatabase::addImportPath: "/nfs/qtwebengine/qml/" QQmlImportDatabase::addImportPath: "/nfs/qtwebengine/examples/webengine/quicknanobrowser" QQmlImports(qrc:/quickwindow.qml)::addLibraryImport: "QtQuick" 2.1 as "" QQmlImports(qrc:/quickwindow.qml)::importExtension: loaded "/usr/local/Qt/qml/QtQuick.2/qmldir" QQmlImportDatabase::registerPluginTypes: "QtQuick" from "/usr/local/Qt/qml/QtQuick.2" QQmlImports(qrc:/quickwindow.qml)::addLibraryImport: "QtQuick.Controls" 1.0 as "" QQmlImports(qrc:/quickwindow.qml)::importExtension: loaded "/usr/local/Qt/qml/QtQuick/Controls/qmldir" QQmlImportDatabase::registerPluginTypes: "QtQuick.Controls" from "/usr/local/Qt/qml/QtQuick/Controls" QQmlImports(qrc:/quickwindow.qml)::addLibraryImport: "QtQuick.Controls.Styles" 1.0 as "" QQmlImports(qrc:/quickwindow.qml)::importExtension: loaded "/usr/local/Qt/qml/QtQuick/Controls/Styles/qmldir" QQmlImports(qrc:/quickwindow.qml)::addLibraryImport: "QtQuick.Layouts" 1.0 as "" QQmlImports(qrc:/quickwindow.qml)::importExtension: loaded "/usr/local/Qt/qml/QtQuick/Layouts/qmldir" QQmlImportDatabase::registerPluginTypes: "QtQuick.Layouts" from "/usr/local/Qt/qml/QtQuick/Layouts" QQmlImports(qrc:/quickwindopgd = b6768000 [00000000] *pgd=3676f031, *pte=00000000, *ppte=00000000 Pid: 1395, comm: quicknanobrowse CPU: 0 Tainted: P (2.6.34 #8) PC is at 0x2bd48502 LR is at 0x746e6169 pc : [<2bd48502>] lr : [<746e6169>] psr: 400f0030 sp : 7e7ff588 ip : 00000000 fp : 7e7ff920 r10: 7e7ff8bc r9 : 7e7ff61c r8 : 00000008 r7 : 00000002 r6 : 00000000 r5 : 00000005 r4 : 0000000e r3 : 00000000 r2 : 00000000 r1 : 0000000f r0 : 2b20d100 Flags: nZcv IRQs on FIQs on Mode USER_32 ISA Thumb Segment user Control: 10c53c7d Table: 3676804a DAC: 00000015 w.qml)::addLibraryImport: "QtQuick.Window" 2.1 as "" QQmlImports(qrc:/quickwindow.qml)::importExtension: loaded "/usr/local/Qt/qml/QtQuick/Window.2/qmldir" QQmlImportDatabase::registerPluginTypes: "QtQuick.Window" from "/usr/local/Qt/qml/QtQuick/Window.2" QQmlImports(qrc:/quickwindow.qml)::addLibraryImport: "QtQuick.Controls.Private" 1.0 as "" QQmlImports(qrc:/quickwindow.qml)::importExtension: loaded "/usr/local/Qt/qml/QtQuick/Controls/Private/qmldir" QQmlApplicationEngine failed to load component qrc:/quickwindow.qml:42 module "QtWebEngine" is not installed ./fancybrowser www.html5test.com [0506/010307:WARNING:resource_bundle.cc(280)] locale_file_path.empty() [0506/010307:WARNING:proxy_service.cc(890)] PAC support disabled because there is no system implementation QWidgetPrivate::shareContext() QSGContext::initialize: depth buffer support missing, expect rendering errors QSGContext::initialize: stencil buffer support missing, expect rendering errors QOpenGLWidget::resizeEvent() QOpenGLWidget::resizeEvent() QWidgetPrivate::shareContext() QWidgetPrivate::shareContext() [0506/010308:WARNING:resource_bundle.cc(280)] locale_file_path.empty() RunNamedProcessTypeMain() [0]= [1]=utility [2]=renderer [3]=gpu-process QWidgetPrivate::shareContext() QWidgetPrivate::shareContext() QWidgetPrivate::shareContext() QWidgetPrivate::shareContext() QWidgetPrivate::shareContext() QtShareGLContext::QtShareGLContext() eglfs QtShareGLContext::GetHandle():0x0004d5b8 QWidgetPrivate::shareContext() QWidgetPrivate::shareContext() [0506/010310:INFO:CONSOLE(0)] "The 'options' directive has been replaced with 'unsafe-inline' and 'unsafe-eval' source expressions for the 'script-src' and 'style-src' directives. Please use those directives instead, as 'options' has no effect.", source: http://html5test.com/ (0) [0506/010310:INFO:CONSOLE(0)] "The 'X-WebKit-CSP' headers are no longer supported. Please consider using the canonical 'Content-Security-Policy' header instead.", source: (0) [HTML] [5] [test] [ ] [how well does your browser support HTML5?] [Your browser] [Other browsers] [Compare] [News] [Device Lab] [About the test] [à] [ ] [ ] [About HTML5test] [ The HTML5 test score is an indication of how well your browser supports the upcoming HTML5 standard and related specifications. Even though the specification isn't finalized yet, many features are already supported and all major browser manufacturers are making sure their browser is ready for the future. Find out which parts of HTML5 are already supported by your browser today and compare the results with other browsers. ] *** stack smashing detected ***: /usr/local/Qt/libexec/QtWebEngineProcess --type=renderer --enable-delegated-renderer --enable-threaded-compositing --no-sandbox --user-agent=Mozilla/5.0 (Unknown; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/0.1 Chrome/33.0.1750.149 Safari/537.36 --lang=en-US --enable-threaded-compositing --enable-delegated-renderer --enable-deadline-scheduling --disable-accelerated-video-decode --enable-software-compositing --channel=1399.1.720552992 terminated QWidgetPrivate::shareContext() On Mon, May 5, 2014 at 3:50 AM, Jocelyn Turcotte wrote: > Hello Rob, > > On Tue, Apr 29, 2014 at 09:36:08PM -0700, Rob Vogelaar wrote: > > I completed an armv7 eglfs qtwebenegine build against the recent repo. > > Below are my patches and notes. I am getting a blank screen (with a > > functional mouse, and it did create a few files in /.local/, and an > strace > > indicates an attempt to http:get 'www.google.com' ). apitrace does not > > indicate any gles2 from the chromium gpu command buffer, only gles2 I see > > is from Qt (mouse cursor). > > > > - Do you have any debug suggestions based on the below output from > running > > fancybrowser? > > According to your output I would try to look at any call to > QtShareGLContext::GetHandle and make sure that a valid GL context handle > is handed to Chromium to setup context sharing. > > I never tried the new GL rendering for QWebEngineView with eglfs, you > might get better result trying running the QtQuick version first. > > > - How do I enable logging? --enable-logging --v=1 does not seem to > enable > > logging. > > I never used --enable-logging, but --enable-gpu-service-logging was > useful for me to print Chromium's GPU thread GL calls on stdout. > > > > > thanks! > > Rob > > > > 1) Qt-5.3.0-beta (+qglcontext patch from stable) > ... > > QSGContext::initialize: depth buffer support missing, expect rendering > > errors > > QSGContext::initialize: stencil buffer support missing, expect rendering > > errors > > If you get this error then you probably don't have all the necessary > patches that were merged into stable for widget GL rendering. Have a look > at > > https://codereview.qt-project.org/#q,status:merged+owner:jocelyn.turcotte%2540digia.com+project:qt/qtbase,n,z > > Cheers, > Jocelyn > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Laszlo.Agocs at digia.com Tue May 6 11:00:11 2014 From: Laszlo.Agocs at digia.com (Agocs Laszlo) Date: Tue, 6 May 2014 09:00:11 +0000 Subject: [Qtwebengine] armv7, eglfs, qtwebenginewidgets, fancybrowser result in blank screen, and how to enable logging. In-Reply-To: References: <20140505105010.GB27989@poutine.it.local>, , Message-ID: Hi, The warnings QSGContext::initialize: depth buffer support missing, expect rendering errors QSGContext::initialize: stencil buffer support missing, expect rendering errors are only fixable by patching Qt itself with requesting depth and stencil in QOpenGLWidget since in 5.3 there is no way to set a format on the QOpenGLWidget that is used internally by webenginewidgets. (it will come in 5.4 when QOpenGLWidget becomes public and usable) Then again this is a minor issue and not the cause of the main problem. For the record I got something similar on iMX6 with eglfs: the Quick-based stuff is fine, but using widgets results in rendering black tiles only. Cheers, Laszlo ________________________________ From: qtwebengine-bounces+laszlo.agocs=digia.com at qt-project.org [qtwebengine-bounces+laszlo.agocs=digia.com at qt-project.org] on behalf of Rob Vogelaar [revmh68 at gmail.com] Sent: Tuesday, May 06, 2014 9:08 AM To: Turcotte Jocelyn Cc: qtwebengine at qt-project.org Subject: Re: [Qtwebengine] armv7, eglfs, qtwebenginewidgets, fancybrowser result in blank screen, and how to enable logging. Hello Jocelyn, I merged the patches for qwidget and qopenglwidget from stable, and added webkit/core text-rendering traces and sharecontext traces. This runs like the below, and further below with the --enable-gpu-service-logging. and further below is an attempt with quicknanobrowser. can you explain / prevent this error? : [0506/005307:ERROR:gles2_cmd_decoder.cc(3563)] [GroupMarkerNotSet(crbug.com/242999)!:D443D131]cmd: kGetMultipleIntegervCHROMIUM ? thanks, Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: From tyapkov at gmail.com Wed May 7 10:45:22 2014 From: tyapkov at gmail.com (=?UTF-8?B?0KLRj9C/0LrQvtCyINCQ0LvQtdC60YHQsNC90LTRgA==?=) Date: Wed, 7 May 2014 10:45:22 +0200 Subject: [Qtwebengine] help: build qt webengine quick-private qml-private missing Message-ID: Hi, Ubuntu 14.04, Qt 5.3.0, trying to build qtwebenginge gives me following: :-1: error: Unknown module(s) in QT_PRIVATE: quick-private qml-private Any suggestions about what to install or which steps to add? Thanks! Alexander -------------- next part -------------- An HTML attachment was scrubbed... URL: From jocelyn.turcotte at digia.com Wed May 7 11:30:01 2014 From: jocelyn.turcotte at digia.com (Jocelyn Turcotte) Date: Wed, 7 May 2014 11:30:01 +0200 Subject: [Qtwebengine] help: build qt webengine quick-private qml-private missing In-Reply-To: References: Message-ID: <20140507093001.GC27989@poutine.it.local> Hello, if you installed Qt 5.3.0 packages instead of building it yourself, Ubuntu seems to ship private headers and module definitions for Qt in -private-dev packages. So you could try installing qtdeclarative5-private-dev, if you have such package available for 5.3. Cheers, Jocelyn On Wed, May 07, 2014 at 10:45:22AM +0200, Тяпков Александр wrote: > Hi, > > Ubuntu 14.04, Qt 5.3.0, trying to build qtwebenginge gives me following: > > :-1: error: Unknown module(s) in QT_PRIVATE: quick-private qml-private > > Any suggestions about what to install or which steps to add? > > Thanks! > > Alexander > _______________________________________________ > QtWebEngine mailing list > QtWebEngine at qt-project.org > http://lists.qt-project.org/mailman/listinfo/qtwebengine From tyapkov at gmail.com Thu May 8 18:41:26 2014 From: tyapkov at gmail.com (=?UTF-8?B?0KLRj9C/0LrQvtCyINCQ0LvQtdC60YHQsNC90LTRgA==?=) Date: Thu, 8 May 2014 18:41:26 +0200 Subject: [Qtwebengine] help: build problem Message-ID: Hi, Today I have another problem with building QtWebengine. After building from QtCreator I have following error: [8551/8570] CXX obj/src/core/QtWebEngineCore.url_request_qrc_job_qt.o ... ../../../../qtwebengine/src/core/delegated_frame_node.cpp:522:68: error: invalid use of incomplete type 'class QSGRenderContext' QSGRectangleNode *rectangleNode = m_sgRenderContext->sceneGraphContext()->createRectangleNode(); ^ In file included from ../../../../qtwebengine/src/core/delegated_frame_node.cpp:51:0: ../../../../qtwebengine/src/core/delegated_frame_node.h:56:7: error: forward declaration of 'class QSGRenderContext' class QSGRenderContext; I have tried to build with Qt 5.1, 5.2, 5.3 but the result is the same. Can somebody help? Best regards, Alexander Tyapkov -------------- next part -------------- An HTML attachment was scrubbed... URL: From tyapkov at gmail.com Thu May 8 18:49:54 2014 From: tyapkov at gmail.com (=?UTF-8?B?0KLRj9C/0LrQvtCyINCQ0LvQtdC60YHQsNC90LTRgA==?=) Date: Thu, 8 May 2014 18:49:54 +0200 Subject: [Qtwebengine] help: build problem In-Reply-To: References: Message-ID: Sorry, the last compile lines were: ../../../../qtwebengine/src/core/content_browser_client_qt.cpp: In member function 'virtual void ShareGroupQtQuick::AboutToAddFirstContext()': ../../../../qtwebengine/src/core/content_browser_client_qt.cpp:255:36: error: 'sharedOpenGLContext' is not a member of 'QSGContext' QOpenGLContext *shareContext = QSGContext::sharedOpenGLContext(); ^ ninja: build stopped: subcommand failed. Best regards, Alexander Tyapkov 2014-05-08 18:41 GMT+02:00 Тяпков Александр : > Hi, > > Today I have another problem with building QtWebengine. After building > from QtCreator I have following error: > > [8551/8570] CXX obj/src/core/QtWebEngineCore.url_request_qrc_job_qt.o > > ... > > ../../../../qtwebengine/src/core/delegated_frame_node.cpp:522:68: error: > invalid use of incomplete type 'class QSGRenderContext' > > QSGRectangleNode *rectangleNode = > m_sgRenderContext->sceneGraphContext()->createRectangleNode(); > > ^ > > In file included from > ../../../../qtwebengine/src/core/delegated_frame_node.cpp:51:0: > > ../../../../qtwebengine/src/core/delegated_frame_node.h:56:7: error: > forward declaration of 'class QSGRenderContext' > > class QSGRenderContext; > > > I have tried to build with Qt 5.1, 5.2, 5.3 but the result is the same. > Can somebody help? > > > > Best regards, > > Alexander Tyapkov > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Sean.Donnelly at autodesk.com Thu May 8 19:04:56 2014 From: Sean.Donnelly at autodesk.com (Sean Donnelly) Date: Thu, 8 May 2014 17:04:56 +0000 Subject: [Qtwebengine] help: build problem In-Reply-To: References: Message-ID: <36709D0E0048114B8637722F8F913F011EFC2817@005-TK5MPN2-022.MGDADSK.autodesk.com> I was building on Windows with Qt 5.3 beta and also had this problem. I had to manually modify the .cpp file. I also had a problem with the redefinition of GLintptr which I had to manually fix. Sean From: qtwebengine-bounces+sean.donnelly=autodesk.com at qt-project.org [mailto:qtwebengine-bounces+sean.donnelly=autodesk.com at qt-project.org] On Behalf Of ?????? ????????? Sent: Thursday, May 08, 2014 12:50 PM To: qtwebengine at qt-project.org Subject: Re: [Qtwebengine] help: build problem Sorry, the last compile lines were: ../../../../qtwebengine/src/core/content_browser_client_qt.cpp: In member function 'virtual void ShareGroupQtQuick::AboutToAddFirstContext()': ../../../../qtwebengine/src/core/content_browser_client_qt.cpp:255:36: error: 'sharedOpenGLContext' is not a member of 'QSGContext' QOpenGLContext *shareContext = QSGContext::sharedOpenGLContext(); ^ ninja: build stopped: subcommand failed. Best regards, Alexander Tyapkov 2014-05-08 18:41 GMT+02:00 Тяпков Александр >: Hi, Today I have another problem with building QtWebengine. After building from QtCreator I have following error: [8551/8570] CXX obj/src/core/QtWebEngineCore.url_request_qrc_job_qt.o ... ../../../../qtwebengine/src/core/delegated_frame_node.cpp:522:68: error: invalid use of incomplete type 'class QSGRenderContext' QSGRectangleNode *rectangleNode = m_sgRenderContext->sceneGraphContext()->createRectangleNode(); ^ In file included from ../../../../qtwebengine/src/core/delegated_frame_node.cpp:51:0: ../../../../qtwebengine/src/core/delegated_frame_node.h:56:7: error: forward declaration of 'class QSGRenderContext' class QSGRenderContext; I have tried to build with Qt 5.1, 5.2, 5.3 but the result is the same. Can somebody help? Best regards, Alexander Tyapkov -------------- next part -------------- An HTML attachment was scrubbed... URL: From jocelyn.turcotte at digia.com Fri May 9 17:36:27 2014 From: jocelyn.turcotte at digia.com (Jocelyn Turcotte) Date: Fri, 9 May 2014 17:36:27 +0200 Subject: [Qtwebengine] help: build problem In-Reply-To: References: Message-ID: <20140509153627.GG27989@poutine.it.local> Hello, the first error should be fine if QSGRenderContext is found in the QtQuick/private/qsgcontext_p.h at the top, and the second error shouldn't happend with neither 5.2 or 5.3. So it seems to me that you might be using /usr/bin/qmake on your system, that is probably using Qt 5.1 instead of using the qmake of 5.3, and your include paths are following the wrong Qt package. Try running "which qmake" or "qmake --version". It should point to a Qt version 5.2 or 5.3. QtWebEngine won't build with Qt 5.1, and support for 5.2 will eventually also be removed. Cheers, Jocelyn On Thu, May 08, 2014 at 06:49:54PM +0200, Тяпков Александр wrote: > Sorry, the last compile lines were: > > > ../../../../qtwebengine/src/core/content_browser_client_qt.cpp: In member > function 'virtual void ShareGroupQtQuick::AboutToAddFirstContext()': > > ../../../../qtwebengine/src/core/content_browser_client_qt.cpp:255:36: > error: 'sharedOpenGLContext' is not a member of 'QSGContext' > > QOpenGLContext *shareContext = QSGContext::sharedOpenGLContext(); > > ^ > > ninja: build stopped: subcommand failed. > > > Best regards, > Alexander Tyapkov > > > 2014-05-08 18:41 GMT+02:00 Тяпков Александр : > > > Hi, > > > > Today I have another problem with building QtWebengine. After building > > from QtCreator I have following error: > > > > [8551/8570] CXX obj/src/core/QtWebEngineCore.url_request_qrc_job_qt.o > > > > ... > > > > ../../../../qtwebengine/src/core/delegated_frame_node.cpp:522:68: error: > > invalid use of incomplete type 'class QSGRenderContext' > > > > QSGRectangleNode *rectangleNode = > > m_sgRenderContext->sceneGraphContext()->createRectangleNode(); > > > > ^ > > > > In file included from > > ../../../../qtwebengine/src/core/delegated_frame_node.cpp:51:0: > > > > ../../../../qtwebengine/src/core/delegated_frame_node.h:56:7: error: > > forward declaration of 'class QSGRenderContext' > > > > class QSGRenderContext; > > > > > > I have tried to build with Qt 5.1, 5.2, 5.3 but the result is the same. > > Can somebody help? > > > > > > > > Best regards, > > > > Alexander Tyapkov > > > > > _______________________________________________ > QtWebEngine mailing list > QtWebEngine at qt-project.org > http://lists.qt-project.org/mailman/listinfo/qtwebengine From ararunprasad at gmail.com Wed May 28 21:04:00 2014 From: ararunprasad at gmail.com (Arunprasad Rajkumar) Date: Thu, 29 May 2014 00:34:00 +0530 Subject: [Qtwebengine] Is there any public API/Class specification available for QWebEngine? Message-ID: Hello Folks, Is there any public API/Class specification/document available for QtWebEngine as like QtWebkit?
-------------- next part -------------- An HTML attachment was scrubbed... URL: From vipet at tut.by Thu May 29 15:21:38 2014 From: vipet at tut.by (=?UTF-8?B?0JjQstCw0L3QvtCy0LjRhyDQktCw0YHQuNC70LjQuQ==?=) Date: Thu, 29 May 2014 16:21:38 +0300 Subject: [Qtwebengine] MacOS X build - 'file not found' errors (gyp issues?) Message-ID: Hi, I'm unsuccessfully trying to build QtWebEngine on MacOS X 10.9.3 (latest XCode 5, latest Qt 5.3), both QtWebEngine tech preview and master give similar 'file not found' errors. Below you can the one from building the tech preview. I tried python 2.6 and 2.7 for gyp (i have no experience with gyp) - nothing helped. build log: Mikalais-Mac-mini:QtWebEngine nick$ ~/Qt/5.3/clang_64/bin/qmake Mikalais-Mac-mini:QtWebEngine nick$ make cd src/ && ( test -e Makefile || /Users/nick/Qt/5.3/clang_64/bin/qmake /Users/nick/QtWebEngine/src/src.pro -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile cd core/ && ( test -e Makefile || /Users/nick/Qt/5.3/clang_64/bin/qmake /Users/nick/QtWebEngine/src/core/core.pro -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile ( test -e Makefile.core_gyp_generator || /Users/nick/Qt/5.3/clang_64/bin/qmake /Users/nick/QtWebEngine/src/core/ core_gyp_generator.pro -o Makefile.core_gyp_generator ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.core_gyp_generator /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.6 -Wall -W -fPIC -DQT_NO_KEYWORDS -DQ_FORWARD_DECLARE_OBJC_CLASS=QT_FORWARD_DECLARE_CLASS -DQTWEBENGINEPROCESS_NAME=\"\" -DNDEBUG -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_QUICK_LIB -DQT_QML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/Users/nick/Qt/5.3/clang_64/mkspecs/macx-clang -I. -I/Users/nick/Qt/5.3/clang_64/include -I/Users/nick/Qt/5.3/clang_64/lib/QtQuick.framework/Versions/5/Headers -I/Users/nick/Qt/5.3/clang_64/lib/QtQml.framework/Versions/5/Headers -I/Users/nick/Qt/5.3/clang_64/lib/QtNetwork.framework/Versions/5/Headers -I/Users/nick/Qt/5.3/clang_64/lib/QtGui.framework/Versions/5/Headers -I/Users/nick/Qt/5.3/clang_64/lib/QtCore.framework/Versions/5/Headers -I/Users/nick/Qt/5.3/clang_64/lib/QtQuick.framework/Versions/5/Headers/5.3.0 -I/Users/nick/Qt/5.3/clang_64/lib/QtQuick.framework/Versions/5/Headers/5.3.0/QtQuick -I/Users/nick/Qt/5.3/clang_64/lib/QtQml.framework/Versions/5/Headers/5.3.0 -I/Users/nick/Qt/5.3/clang_64/lib/QtQml.framework/Versions/5/Headers/5.3.0/QtQml -I/Users/nick/Qt/5.3/clang_64/lib/QtGui.framework/Versions/5/Headers/5.3.0 -I/Users/nick/Qt/5.3/clang_64/lib/QtGui.framework/Versions/5/Headers/5.3.0/QtGui -I/Users/nick/Qt/5.3/clang_64/lib/QtCore.framework/Versions/5/Headers/5.3.0 -I/Users/nick/Qt/5.3/clang_64/lib/QtCore.framework/Versions/5/Headers/5.3.0/QtCore -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AGL.framework/Headers -F/Users/nick/Qt/5.3/clang_64/lib -o backing_store_qt.o backing_store_qt.cpp In file included from backing_store_qt.cpp:42: *./backing_store_qt.h:45:10: **fatal error: * * 'content/browser/renderer_host/backing_store.h' file not found* #include "content/browser/renderer_host/backing_store.h" * ^* 1 error generated. make[3]: *** [backing_store_qt.o] Error 1 make[2]: *** [sub-core_gyp_generator-pro-make_first] Error 2 make[1]: *** [sub-core-make_first] Error 2 make: *** [sub-src-make_first] Error 2 -- best regards, Mikalai Arapau -------------- next part -------------- An HTML attachment was scrubbed... URL: