| Summary: | kwin_x11 does not paint windows, uses 100% CPU in OpenGL mode, under NVidia Legacy driver 304, GeForce 7025 / nForce 630a | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | sombragris |
| Component: | compositing | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | major | CC: | adloconwy+kdebug |
| Priority: | NOR | ||
| Version First Reported In: | 5.2.0.1 | ||
| Target Milestone: | --- | ||
| Platform: | Slackware | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
sombragris
2015-02-04 13:57:15 UTC
please try KWIN_EXPLICIT_SYNC=0 kwin_x11 --replace & to confirm the duplicate. *** This bug has been marked as a duplicate of bug 343551 *** Trying KWIN_EXPLICIT_SYNC=0 kwin_x11 --replace & and got the following results: a) With XRender: No change. b) With OpenGL 3.1: limited desktop effects, some rendering artifacts (metallic grey on transparent surfaces, etc), but otherwise it works. c) With OpenGL 2.0: Works, all desktop effects function, rather slow but OK. b) and c) were observed with GLX as rendering interface. Thank you for the suggestion. How can I enable this so kwin would start this way every time by default? adding a file ~/.config/plasma-workspace/env/kwin.sh with the content
#!/bin/sh
export KWIN_EXPLICIT_SYNC=0
should do.
Don't forget to make is executable
chmod +x ~/.config/plasma-workspace/env/kwin.sh
NOTICE:
that I don't know whether this path will change in future (the startkde script has some unspecific comment about this)
Nvidia does not support egl on X11 atm (and I doubt the legacy driver ever will)
Speed could be driven by misdetected triple buffering support, bug #343184
Thank you Thomas! This bug still seems to exist in Plasma 5.3 on Arch Linux. |