org.kde.kwindowsystem: Loaded plugin "/usr/lib/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemKWaylandPlugin.so" for platform "wayland"Setting theme, package "default" ""Using Wayland-EGLWebEngine compiled with X11 support, however qpa backend is not xcb. This may fail.[1747:1773:0621/122546.567179:ERROR:gl_implementation.cc(246)] Failed to load /usr/bin/libGLESv2.so: Error loading shared library /usr/bin/libGLESv2.so: No such file or directoryqml: WebView completed.qml: Settings: QQuickWebEngineSettings(0x8f3ef0)qml: Current WebView is now : 0Using the 'wl-shell' shell integrationqml: Loading url: QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagateTextColor(QVariant,QVariant)QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagateBackgroundColor(QVariant,QVariant)QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagatePrimaryColor(QVariant,QVariant)QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagateAccentColor(QVariant,QVariant)QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagateTextColor(QVariant,QVariant)QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagateBackgroundColor(QVariant,QVariant)QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagatePrimaryColor(QVariant,QVariant)QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagateAccentColor(QVariant,QVariant)qml: url: https://duckduckgo.com/[1747:1773:0621/122548.050202:ERROR:gl_surface_qt.cpp(701)] Requested OpenGL implementation is not supported. Implementation: 0Received signal 11 SEGV_MAPERR 000000000006[end of stack trace]Calling _exit(1). Core file will not be generated.
I guess it is related also to the GPU driver.
I will try to package qtwebbrowser (http://doc.qt.io/QtWebBrowser/), hopping it will work better, so that we can have a touch friendly browser replacement on nexus 5.
Edited
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items
0
Link issues together to show that they're related.
Learn more.
Failed to load /usr/bin/libGLESv2.so: Error loading shared library /usr/bin/libGLESv2.so: No such file or directory
That file is part of mesa-dev (see package search) does it work when you install that package?
Usually, a dev package should not be required at runtime of such a program. Maybe the file is just a symlink (and we can patch the Angelfish browser to run without it), could you check if it is a symlink as well?
u: ""org.kde.kwindowsystem: Loaded plugin "/usr/lib/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemKWaylandPlugin.so" for platform "wayland"Setting theme, package "default" ""Using Wayland-EGLWebEngine compiled with X11 support, however qpa backend is not xcb. This may fail.qml: WebView completed.qml: Settings: QQuickWebEngineSettings(0x97b200)qml: Current WebView is now : 0[2086:2118:0917/092414.896150:ERROR:gl_surface_qt.cpp(507)] eglCreatePbufferSurface failed with error EGL_BAD_MATCHUsing the 'wl-shell' shell integrationqml: Loading url: QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagateTextColor(QVariant,QVariant)QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagateBackgroundColor(QVariant,QVariant)QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagatePrimaryColor(QVariant,QVariant)QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagateAccentColor(QVariant,QVariant)QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagateTextColor(QVariant,QVariant)QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagateBackgroundColor(QVariant,QVariant)QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagatePrimaryColor(QVariant,QVariant)QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagateAccentColor(QVariant,QVariant)qml: url: https://duckduckgo.com/[2086:2118:0917/092416.334310:ERROR:gl_surface_qt.cpp(507)] eglCreatePbufferSurface failed with error EGL_BAD_MATCHReceived signal 11 SEGV_MAPERR 000000000018[end of stack trace]Calling _exit(1). Core file will not be generated.
Maybe some opengl features are not implemented in the freedreno driver but required for angelfish?
Or maybe Qtwebengine was compiled with X11 instead of wayland?:
WebEngine compiled with X11 support, however qpa backend is not xcb. This may fail
According to this QtWebEngine does not have an actual Wayland port. Not sure if this is the cause. They also say that it should work with xwayland installed. I will also try starting the app directly under X11/Xwayland: "QT_QPA_PLATFORM=xcb angelfish".
According to this It might be a problem in mesa, although the fix is supposed to be committed since 2014, so I doubt we don't have this commit already included.
According to this it may be related to non-sported "Pbuffer surfaces" by graphic driver and it may be fixed in qt 5.11. So We would need to update qt in order for it to work, not sure how hard this would be.
I will also try starting the app directly under X11/Xwayland: "QT_QPA_PLATFORM=xcb angelfish".
Thanks for all the research! Looking forward to hearing if that works (if it does, we could export that variable by default like you already did it with the improved touch keyboard)
*It runs with this option! ("QT_QPA_PLATFORM=xcb angelfish")
*Zomming and grabing are very smooth and neat! (way better than midori)
Bad news:
*It crashes very very often (including at startup).
*The keyboard does not show up! (like in all X11 app I've tested now, maybe there is a parameter in xwayland?).
*The top bar is very small. There is maybe a problem with pixel ratio or fontsize with X11 Apps, because they all display very small. (Don't know if there is an option for that in XWayland)
So it is not usable for now.
Example of a session ending up with a crash:
u: "" org.kde.kwindowsystem: Loaded plugin "/usr/lib/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so" for platform "xcb" Setting theme, package "default" "" qml: WebView completed. qml: Settings: QQuickWebEngineSettings(0x951040) qml: Current WebView is now : 0 qml: Loading url: QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagateTextColor(QVariant,QVariant) QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagateBackgroundColor(QVariant,QVariant) QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagatePrimaryColor(QVariant,QVariant) QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagateAccentColor(QVariant,QVariant) QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagateTextColor(QVariant,QVariant) QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagateBackgroundColor(QVariant,QVariant) QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagatePrimaryColor(QVariant,QVariant) QMetaObject::invokeMethod: No such method Theme_QMLTYPE_2::__propagateAccentColor(QVariant,QVariant) qml: url: https://duckduckgo.com/ [1982:2011:0918/092157.515682:ERROR:nss_ocsp.cc(613)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com [1982:2011:0918/092157.515890:ERROR:nss_ocsp.cc(613)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com [1982:2011:0918/092157.516250:ERROR:nss_ocsp.cc(613)] No URLRequestContext for NSS HTTP handler. host: crl4.digicert.com [1982:2011:0918/092157.525211:ERROR:nss_ocsp.cc(613)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com [1982:2011:0918/092157.525408:ERROR:nss_ocsp.cc(613)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com [1982:2011:0918/092157.525662:ERROR:nss_ocsp.cc(613)] No URLRequestContext for NSS HTTP handler. host: crl4.digicert.com qml: url: https://duckduckgo.com/ Received signal 11 SEGV_MAPERR 000000000004 [end of stack trace] Calling _exit(1). Core file will not be generated.
Another possible end:
qml: url: https://duckduckgo.com/ Received signal 7 BUS_ADRALN 000000000021 [end of stack trace] Calling _exit(1). Core file will not be generated.
Ilya Bizyev verified that Angelfish works on wayland some weeks ago, but he used a Debian based image with Halium (https://twitter.com/IlyaBizyaev/status/1035860245476769792). I'll ask him if he used any special patches for QtWebEngine and reply here again.
@JBBgameich
Thank's a lot. It would be interesting to know which version of Debian he used, because testing has qt 5.11.1 while stable has qt 5.7.1. It sounds possible, given the links above, that qtwebengine works with Wayland only starting from qt 5.11 .
Ps: I also realize seeing his video that we are lacking keyboard icon that he has on the top left and corner (that's a shame it would be usefull with some apps).
Maybe we would need to build wayland support into qt5-qtwebengine? Currently, that package comes from alpine.
Nope, we have qt5-qtwebengine forked with Luna specific patches here. That said, it's $pkgrel is behind upstreams, so I guess Alpine's gets installed anyway. I've tried bumping our version but some of the patches don't want to apply anymore, I'm not sure how we ever got it too 5.10.x. Work in progress branch https://gitlab.postmarketos.org/postmarketos/pmaports/tree/fix/qt5-qtwebengine