[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kwin] [Bug 360033] Cannot enable compositing with OpenGL GLX
From:       m00nraker via KDE Bugzilla <bugzilla_noreply () kde ! org>
Date:       2016-03-19 22:11:04
Message-ID: bug-360033-17878-UJX5EQLfVs () http ! bugs ! kde ! org/
[Download RAW message or body]

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

--- Comment #35 from m00nraker <m00nraker@gmx.net> ---
Attention: Mistake detected
Thomas, I just have realized that I made a mistake in #comment14, injecting the
debug outputline (blacklist? ...). That caused that one debug output string
(blacklist? xx xx) is wrong. I don't know, if that is important. So I started
from scratch and applied all patches again. Here my summary:

1. I downloaded sourcecode from git to start from scratch

2. comment11: I applied "__gl_blacklist.diff"

   kwin_x11 --replace:
   kwin_core: ShaderManager self test failed
   kwin_core: Failed to initialize compositing, compositing disabled

3. comment14: injecting your debug output code into glxbackend.cpp
   Line: qDebug() << "blacklist?" << blacklistRobustness <<
hasGLExtension(QByteArrayLiteral("GLX_ARB_create_context"));

   kwin_x11 --replace output: 

   blacklist? false true (like before)
   kwin_core: ShaderManager self test failed
   kwin_core: Failed to initialize compositing, compositing disabled

4. comment18: downforcing the context

   export
KWIN_GL_EXT_BLACKLIST=GLX_ARB_create_context_robustness,GL_ARB_robustness,GL_EGL_robustness 
   kwin_x11 --replace output:

   blacklist? true true (like before)
   kwin_core: ShaderManager self test failed
   kwin_core: Failed to initialize compositing, compositing disabled

5. comment20: legacy context creation

   export KWIN_GL_EXT_BLACKLIST=GLX_ARB_create_context
   kwin_x11 --replace output:

###   blacklist? true false (THIS HAS CHANGED, compare with comment21) ####
   kwin_core: ShaderManager self test failed
   kwin_core: Failed to initialize compositing, compositing disabled

So the "blacklist? true false" output in step 5. is different from what I
posted in comment20 (legay context creation), because of my wrong injection of
the debug code from comment14.

Be aware, I started from scratch, but before step 1 I also applied your last
diff from comment34 (glReadPixels). Hope this doesn't matter.

6. Comment34: Last but not least the complete kwin_x11 --replace output
(without using "export KWIN_GL_EXT_BLACKLIST=..." in shell before):


kwin_x11 --replace

blacklist? false true
OpenGL vendor string:                   NVIDIA Corporation
OpenGL renderer string:                 GeForce Go 7950 GTX/PCIe/SSE2
OpenGL version string:                  2.1.2 NVIDIA 304.131
OpenGL shading language version string: 1.20 NVIDIA via Cg compiler
Driver:                                 NVIDIA
Driver version:                         304.131
GPU class:                              NV40/G70
OpenGL version:                         2.1.2
GLSL version:                           1.20
X server version:                       1.17.2
Linux kernel version:                   4.1.15
Requires strict binding:                no
GLSL shaders:                           limited
Texture NPOT support:                   yes
Virtual Machine:                        no
Pixel was QVector4D(0, 0, 0, 0) expected QVector4D(0, 1, 0, 1)
Pixel was QVector4D(0, 0, 0, 0) expected QVector4D(0, 1, 0, 1)
Pixel was QVector4D(0, 0, 0, 0) expected QVector4D(0, 1, 0, 1)
Pixel was QVector4D(0, 0, 0, 0) expected QVector4D(0, 1, 0, 1)
Pixel was QVector4D(0, 0, 0, 0) expected QVector4D(1, 0, 0, 1)
Pixel was QVector4D(0, 0, 0, 0) expected QVector4D(0, 1, 0, 1)
Pixel was QVector4D(0, 0, 0, 0) expected QVector4D(0, 0, 1, 1)
Pixel was QVector4D(0, 0, 0, 0) expected QVector4D(1, 1, 1, 1)
Pixel was QVector4D(0, 0, 0, 0) expected QVector4D(0.44882, 0.14882, 0.14882,
1)
Pixel was QVector4D(0, 0, 0, 0) expected QVector4D(0.50064, 0.80064, 0.50064,
1)
Pixel was QVector4D(0, 0, 0, 0) expected QVector4D(0.05054, 0.05054, 0.35054,
1)
Pixel was QVector4D(0, 0, 0, 0) expected QVector4D(1, 1, 1, 1)
Pixel was QVector4D(0, 0, 0, 0) expected QVector4D(0.3, 0, 0, 0.6)
Pixel was QVector4D(0, 0, 0, 0) expected QVector4D(0, 0.4, 0, 0.6)
Pixel was QVector4D(0, 0, 0, 0) expected QVector4D(0, 0, 0.5, 0.6)
Pixel was QVector4D(0, 0, 0, 0) expected QVector4D(0.3, 0.4, 0.5, 0.6)
Pixel was QVector4D(0, 0, 0, 0) expected QVector4D(0.134646, 0.044646,
0.044646, 0.6)
Pixel was QVector4D(0, 0, 0, 0) expected QVector4D(0.200256, 0.320256,
0.200256, 0.6)
Pixel was QVector4D(0, 0, 0, 0) expected QVector4D(0.02527, 0.02527, 0.17527,
0.6)
Pixel was QVector4D(0, 0, 0, 0) expected QVector4D(0.360172, 0.390172,
0.420172, 0.6)
kwin_core: ShaderManager self test failed
kwin_core: Failed to initialize compositing, compositing disabled
QXcbConnection: XCB error: 3 (BadWindow), sequence: 912, resource id: 579,
major code: 3 (GetWindowAttributes), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 913, resource id: 579,
major code: 14 (GetGeometry), minor code: 0

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic