Hello community,
here is the log from the commit of package libqt5-qtwebengine for
openSUSE:Factory checked in at 2017-11-04 10:22:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqt5-qtwebengine (Old)
and /work/SRC/openSUSE:Factory/.libqt5-qtwebengine.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libqt5-qtwebengine"
Sat Nov 4 10:22:36 2017 rev:26 rq:537940 version:5.9.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/libqt5-qtwebengine/libqt5-qtwebengine.changes
2017-10-23 16:20:50.163837323 +0200
+++
/work/SRC/openSUSE:Factory/.libqt5-qtwebengine.new/libqt5-qtwebengine.changes
2017-11-04 10:22:38.609393943 +0100
@@ -1,0 +2,6 @@
+Tue Oct 31 16:49:12 UTC 2017 - [email protected]
+
+- Restore working version of
+ disable-gpu-when-using-nouveau-boo-1005323.diff
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ disable-gpu-when-using-nouveau-boo-1005323.diff ++++++
--- /var/tmp/diff_new_pack.gghtqF/_old 2017-11-04 10:22:44.745170890 +0100
+++ /var/tmp/diff_new_pack.gghtqF/_new 2017-11-04 10:22:44.745170890 +0100
@@ -50,3 +50,30 @@
} // namespace
namespace QtWebEngineCore {
+@@ -366,6 +400,17 @@ WebEngineContext::WebEngineContext()
+
+ const char *glType = 0;
+ #ifndef QT_NO_OPENGL
++ bool disableGpu = qEnvironmentVariableIsSet("QT_WEBENGINE_DISABLE_GPU");
++
++ if (!qEnvironmentVariableIsSet("QT_WEBENGINE_DISABLE_NOUVEAU_WORKAROUND")
&& openGLVendor() == QStringLiteral("nouveau"))
++ {
++ qWarning() << "Nouveau openGL driver detected. Qt WebEngine will
disable usage of the GPU.\n"
++ "Note: you can set the
QT_WEBENGINE_DISABLE_NOUVEAU_WORKAROUND\n"
++ "environment variable before running this application,
but this is \n"
++ "not recommended since this usually causes applications
to crash as\n"
++ "Nouveau openGL drivers don't support multithreaded
rendering";
++ disableGpu = true;
++ }
+
+ bool tryGL =
+ !usingANGLE()
+@@ -377,7 +422,7 @@ WebEngineContext::WebEngineContext()
+ || enableWebGLSoftwareRendering
+ #endif
+ )
+- && !usingQtQuick2DRenderer();
++ && !usingQtQuick2DRenderer() && !disableGpu;
+
+ if (tryGL) {
+ if (qt_gl_global_share_context() &&
qt_gl_global_share_context()->isValid()) {