[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 252817] KWin crashes on intel/mesa glClear(GL_COLOR_BUFFER_BIT)
From:       Alexander <alex3255 () mail ! ru>
Date:       2011-01-27 19:48:51
Message-ID: 20110127194851.5F6567BF52 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=252817


Alexander <alex3255@mail.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alex3255@mail.ru




--- Comment #11 from Alexander <alex3255 mail ru>  2011-01-27 20:48:49 ---
I spend two days for debug this issue. Mesa function glXSwapBuffers is buggy
for i945 and i965. This function is used just once in kwin in scene_opengl.cpp,
flushBuffer(...) {
....
 if( mask & PAINT_SCREEN_REGION ) { do region updating}
 else { // do fullscreen updating
  waitSync();
  glXSwapBuffers( display(), glxbuffer ); 
 }
}

I changed glXSwapBuffers( display(), glxbuffer ) with 
glXCopySubBuffer( display(), glxbuffer, 0, 0, displayWidth(), displayHeight());
and the bug disappeared for me. Please test it.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic