Bug 331237 - kwin_gles OpenGL errors with Nvidia proprietary driver
Summary: kwin_gles OpenGL errors with Nvidia proprietary driver
Status: RESOLVED DUPLICATE of bug 324478
Alias: None
Product: kwin
Classification: Plasma
Component: scene-opengl (show other bugs)
Version: 4.11.6
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-17 15:19 UTC by AnAkkk
Modified: 2015-01-14 08:19 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
kwin log (3.68 KB, text/x-log)
2014-02-17 15:20 UTC, AnAkkk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description AnAkkk 2014-02-17 15:19:48 UTC
Latest Nvidia 334.16 Beta driver has added support for 64bit EGL/OpenGL ES (32bit was already supported since some time). I decided to try with kwin_gles, but I am getting the following error on initialization:
kwin(11696) KWin::EglOnXBackend::init: eglPostSubBufferNV not supported, have to enable buffer preservation - which breaks v-sync and performance 

Then, it keeps spamming with the following error all the time:
kwin(11696) KWin::checkGLError: GL error ( PostPaint ):  "GL_INVALID_OPERATION" 

Everything seem to work fine, except maybe transparency which looks weird.

I don't seem to be the only one affected by this issue, see:
http://www.phoronix.com/forums/showthread.php?95219-NVIDIA-334-16-Beta-Supports-64-bit-EGL-OpenGL-ES&p=396360#post396360

Reproducible: Always
Comment 1 AnAkkk 2014-02-17 15:20:22 UTC
Created attachment 85195 [details]
kwin log
Comment 2 Thomas Lübking 2014-02-17 15:24:07 UTC
try disablong the blur effect - is that a custom installation or does arch meawhile provide nvidia EGL/GLES lib packages somewhere?
Comment 3 AnAkkk 2014-02-17 15:28:44 UTC
Indeed, disabling the blur effect stop the GL_INVALID_OPERATION errors.

No, arch doesn't provide EGL/GLES unfortunately. I had to use nvidia-full-beta-all from AUR, which doesn't provide EGL/GLES either otherwise it would conflict with the mesa package. Then, I just moved the needed EGL/GL libraries extracted from the Nvidia installer to the lib folder, and made the correct symlinks.
Comment 5 AnAkkk 2014-02-17 15:34:56 UTC
Is that different than the problem with the blur shader which fails to compile with mesa/nouveau driver?
Comment 6 Thomas Lübking 2014-02-17 15:36:26 UTC
Nope. Very same issue.
Comment 7 Martin Flöser 2015-01-14 08:19:32 UTC

*** This bug has been marked as a duplicate of bug 324478 ***