Compositing stopped working lately. Not sure if it was after upgrading the nvidia proprietary drivers or kwin. I am on openSuse leap 42.1 with the KF5 repos enabled. It seems the driver is not recognized. qdbus org.kde.KWin /Compositor org.kde.kwin.Compositing.resume OpenGL vendor string: OpenGL renderer string: OpenGL version string: OpenGL shading language version string: Driver: Unknown Driver version: 0.0 GPU class: Unknown OpenGL version: 0.0 GLSL version: 0.0 X server version: 1.17.2 Linux kernel version: 4.1.34 Requires strict binding: yes GLSL shaders: yes Texture NPOT support: no Virtual Machine: no kwin_core: Failed to initialize compositing, compositing disabled glxinfo seems to know about the driver name of display: :0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: NVIDIA Corporation server glx version string: 1.4
Can you please attach the full output of glxinfo
Created attachment 101953 [details] glxinfo output
very weird. For whatever reason we fail to read things like glGetString. But the reading of the extensions seems to work. E.g. GLSL shaders is detected. Which would indicate that some gl calls work. I think I have seen something like that before. Could it be that you try to use EGL instead of GLX? Could you please attach your ~/.config/kwinrc?
Created attachment 101981 [details] kwinrc
hmm, kwinrc has the line GLPlatformInterface=egl that looks wrong
I removed that line and it started working again. Martin, you are the man! :) Thanks a LOT
Great. I mark as upstream as it's a problem of NVIDIA+EGL
Thanks for the solution. Can confirm that during one of the upgrades this string (GLPlatformInterface=egl) appeared in ~/.config/kwinrc for some reason. After removal of that line, openGL composing is back to work!