https://bugs.kde.org/show_bug.cgi?id=360033

--- Comment #14 from Thomas Lübking <thomas.luebk...@gmail.com> ---
(In reply to m00nraker from comment #12)

> Ok, I followed these steps to create a plasma build environment:
> https://community.kde.org/Plasma/Building

Ewww... you don't have to build all of KDE/Plasma

git clone kde:kwin.git
cd kwin
git checkout Plasma/5.5
mkdir build
cd build
ccmake -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix`
[adjust stuff to your likings through fancy curses UI, press "c"onfigure and
"g"enerate, then "q"uit]
make && sudo make install


> After compiling and finishing all steps from the tutorial I restarted and
> logged into plasma desktop.

Let's assume you installed kwin overriding the actual installation (/usr?) ...

> Compositing via. OpenGL2/GLX is still NOT WORKING with this patch. Tell me,
> if u need any further information.

the next thing to try would be to downforce robustness externally:
export
KWIN_GL_EXT_BLACKLIST=GLX_ARB_create_context_robustness,GL_ARB_robustness,GL_EGL_robustness
kwin_x11 --replace &

to see whether the robust context (and the function resolution) is the
troublemaker here at all.


To have an indicator on whether you're running the patched version at all, you
might want to add this patch in addition:

diff --git a/glxbackend.cpp b/glxbackend.cpp
index 1e519c3..53ccd62 100644
--- a/glxbackend.cpp
+++ b/glxbackend.cpp
@@ -322,6 +322,7 @@ bool GlxBackend::initRenderingContext()
         return false;
     }

+    qDebug() << "blacklist?" << blacklistRobustness <<
hasGLExtension(QByteArrayLiteral("GLX_ARB_create_context"));
     if (blacklistRobustness) {
         QList<QByteArray> blacklist =
qgetenv("KWIN_GL_EXT_BLACKLIST").split(',');
         blacklist << QByteArrayLiteral("GL_ARB_robustness") <<
QByteArrayLiteral("GL_EXT_robustness");



-----------------

it should print
    blacklist? true true
if the original assumption is somehow correct.

If it's more like
    blacklist? false true
creating the robust context actually worked

And in case of
    blacklist? false false
this means the robust context wasn't even considered (but not blacklisted
either, so we *might* still resolve the wrong functions - it does however not
match your glxinfo)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to