Bug 368249 - No Desktop and invisible widgets/windows after login
Summary: No Desktop and invisible widgets/windows after login
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: git master
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-04 22:17 UTC by DonMartio
Modified: 2016-09-08 21:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DonMartio 2016-09-04 22:17:16 UTC
After login the greeter stays as background (including the login dialog).
I could see the shadow of the taskbar and the context menu. The only program i could start (and see) using krunner (invisible) is systemsettings. I tried different composite settings but that changes nothing.
My Card is a GeForce GTX 970 and i'm using the nvidia-drivers-367.44 (the latests). But
the problem was the same with nvidia-drivers-367.18, nvidia-drivers-364.19 and nvidia-drivers-364.15. 

I found this in my .xsession-errors
OpenGL vendor string:
OpenGL renderer string:
OpenGL version string:
OpenGL shading language version string:
Driver:                                 Unknown
Driver version:                         32552.63153.3224
GPU class:                              Unknown
OpenGL version:                         0.0
GLSL version:                           0.0
X server version:                       1.18.4
Linux kernel version:                   4.7.2
Requires strict binding:                yes
GLSL shaders:                           yes
Texture NPOT support:                   no
Virtual Machine:                        no
kwin_core: Failed to initialize compositing, compositing disabled

Is there anything i can try to get the source of this error.

Reproducible: Always
Comment 1 Martin Flöser 2016-09-05 09:58:13 UTC
This looks like your driver installation failed. The OpenGL version fails to be detected at all. This explains why it does not work anywhere where OpenGL is used.
Comment 2 DonMartio 2016-09-05 17:18:42 UTC
Hi, thanks for the reply. 
The driver works with xfce4. Steam works also.
eglinfo:
EGL API version: 1.4
EGL vendor string: NVIDIA
EGL version string: 1.4
EGL client APIs: OpenGL_ES OpenGL
...
glxinfo:
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
...
Comment 3 Martin Flöser 2016-09-06 06:06:11 UTC
As you can see from the output glx does not return any valid information, but egl does. Please trust me when I tell you that your driver is broken (I have experience in that). It is completely irrelevant whether Xfce or Steam works, the driver is broken.
Comment 4 DonMartio 2016-09-07 19:40:26 UTC
Thanks, 

you where right regarding the output in the .xsession-errors. I recompiled the driver without a useflag which changed some libGL prio and now get the expected output:

OpenGL vendor string:                   NVIDIA Corporation
OpenGL renderer string:                 GeForce GTX 970/PCIe/SSE2
OpenGL version string:                  OpenGL ES 3.2 NVIDIA 367.44
OpenGL shading language version string: OpenGL ES GLSL ES 3.20
Driver:                                 NVIDIA
Driver version:                         367.44
GPU class:                              Unknown
OpenGL version:                         3.2
GLSL version:                           3.20
X server version:                       1.18.4
Linux kernel version:                   4.7.2
Requires strict binding:                no
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no

But the problem remains. All Windows invisible (with a slight shadow). 
I'll investigate further.

Thanks so far.
Comment 5 Martin Flöser 2016-09-07 20:26:04 UTC
You are still using OpenGL ES for KWin on NVIDIA. This won't work.
Comment 6 DonMartio 2016-09-08 21:02:09 UTC
Hi again, this was the hint i was looking for.
Had to recompile a lot of stuff but now plasma5 is up and running.
Thank you very much.