From kde-bugs-dist Sat Jan 31 23:54:01 2015 From: =?UTF-8?Q?Thomas=20L=C3=BCbking=20?= Date: Sat, 31 Jan 2015 23:54:01 +0000 To: kde-bugs-dist Subject: [kwin] [Bug 343551] Kwin hangs, stops drawing the screen and starts using 100% cpu inside nvidia-glc Message-Id: X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=142274845121161 https://bugs.kde.org/show_bug.cgi?id=3D343551 Thomas L=C3=BCbking changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|crash |normal Flags| |NVIDIA+ --- Comment #17 from Thomas L=C3=BCbking --- Ok, let's be more explicit on our needs ;-) loki:/src/KDE4/kwin/> git diff scene_opengl.cpp diff --git a/scene_opengl.cpp b/scene_opengl.cpp index 7584dd5..08256be 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -120,6 +120,8 @@ SyncObject::SyncObject() SyncObject::~SyncObject() { +// if (m_state =3D=3D Waiting) + glFinish(); xcb_sync_destroy_fence(connection(), m_fence); glDeleteSync(m_sync); @@ -412,6 +414,7 @@ SceneOpenGL::~SceneOpenGL() // do cleanup after initBuffer() SceneOpenGL::EffectFrame::cleanup(); if (init_ok) { + m_backend->makeCurrent(); delete m_syncManager; // backend might be still needed for a different scene --=20 You are receiving this mail because: You are watching all bug changes.=