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

List:       kwin
Subject:    Re: Huge problems with kwin from trunk
From:       "Tim Beaulen" <tbscope () gmail ! com>
Date:       2007-07-09 19:35:13
Message-ID: dd1e9b170707091235n6179df52ma6df1324e87acf57 () mail ! gmail ! com
[Download RAW message or body]

I added some debug messages like you said:

kwin: kwin : path /home/kde4-devel/kde/inst/lib/kde4/kwin3_oxy.so for kwin3_oxy
kwin: Extensions: shape: 0x11 composite: 0x3 render: 0xa fixes: 0x40
kwin: OpenGL compositing
kwin: --- DEBUG --- [bool KWin::SceneOpenGL::initBuffer()]
kwin: --- DEBUG --- XSync set to false!
kwin: --- DEBUG --- [bool KWin::Workspace::createOverlay()]
kwin: --- DEBUG --- XSync set to false!
kwin: --- DEBUG --- [bool KWin::Workspace::createOverlay()]  ---
XCompositeGetOverlayWindow (line 340) [display = 0x8057588 ,
rootWindow = 389]
kwin: --- DEBUG --- [bool KWin::Workspace::createOverlay()]  ---
XCompositeGetOverlayWindow (line 342) [overlay = 394]
kwin: --- DEBUG --- [bool KWin::SceneOpenGL::initBuffer()]  ---
XCreateWindow (line 322)
kwin: --- DEBUG --- [display = 0x8057588 , overlayWindow = 394,
displayWidth = 1440, displayHeight = 900, appDepth = 32, InputOutput =
1, visual = 0x805f3b0 , CWColormap = 8192, attrs = 0xbfaa9830 ]
kwin: --- DEBUG --- [bool KWin::SceneOpenGL::initBuffer()]  ---
XCreateWindow (line 325) [buffer = 35651604]
kwin: --- DEBUG --- [bool KWin::SceneOpenGL::initBuffer()]  ---
glXCreateWindow (line 327)
kwin: --- DEBUG --- [display = 0x8057588 , fbcbuffer = 0xf6 , buffer = 35651604]
kwin: --- DEBUG --- [bool KWin::SceneOpenGL::initBuffer()]  ---
glXCreateWindow (line 329) [glxbuffer = 35651605]
kwin: X_CreateWindow(0x18a): BadMatch (invalid parameter attributes)
kwin: XRender compositing
kwin: --- DEBUG --- [bool KWin::Workspace::createOverlay()]
kwin: --- DEBUG --- XSync set to false!
kwin: --- DEBUG --- [bool KWin::Workspace::createOverlay()]  ---
XCompositeGetOverlayWindow (line 340) [display = 0x8057588 ,
rootWindow = 389]
kwin: --- DEBUG --- [bool KWin::Workspace::createOverlay()]  ---
XCompositeGetOverlayWindow (line 342) [overlay = 394]
kwin: <unknown>(0x2200019): BadMatch (invalid parameter attributes)
kwin: Refresh rate 60Hz
kdecore (KSycoca): Trying to open ksycoca from
/home/kde4-devel/.kde4/cache-localhost/ksycoca4
kio (KTrader): query for serviceType KWin/Effect : returning 33 offers
kutils (KPluginInfo): [virtual void KPluginInfo::load(const KConfigGroup&)]
...

On 7/9/07, Philip Falkner <philip.falkner@gmail.com> wrote:
> On Sunday 08 July 2007 05:28:14 Tim Beaulen wrote:
> > Recently I'm having lots of problems with kwin from trunk.
> >
> > A month or two ago all worked perfect. Compositing worked via opengl,
> > kwin and plasma ran very fast. Then some changes were made and I saw
> > lots of artifacts (black boxes) and redrawing problems. Then some
> > other changes were made and now nothing works anymore.
> >
> > If kwin runs, it's unaccelerated and extremely slow. After playing
> > with the options to turn on translucency I have two problems:
> > - the screen doesn't freeze but it's extremely slow
> > - the screen freezes and the only thing I can do is reboot.
> >
> > I attached a log of debug messages that might be interesting.
> >
> > Does anyone else have these problems?
>
> No problems like that here.
>
> From the log you provided, kwin is falling back to XRender mode after OpenGL
> fails.  That could be the reason for being "extremely slow", as XRender is
> no
> speed daemon.
>
> From the log, it reads as though kwin has trouble setting up the display
> buffer, which would explain a fullscreen "freeze".  If you've been compiling
> this yourself, could you try to track down exactly which line is failing?
> In
> OpenGL mode it complains of a X_CreateWindow failure, so try adding
>   XSync( display(), false );
>   kDebug() << "test1" << endl;
> in functions like initBuffer() in scene_opengl.cpp, and createOverlay() in
> composite.cpp, especially just before and after XCompositeGetOverlayWindow,
> XCreateWindow, and glXCreateWindow.
>
> --
> Philip Falkner
> _______________________________________________
> Kwin mailing list
> Kwin@kde.org
> https://mail.kde.org/mailman/listinfo/kwin
>


-- 
BT Tools
http://bttools.blogspot.com/
_______________________________________________
Kwin mailing list
Kwin@kde.org
https://mail.kde.org/mailman/listinfo/kwin
[prev in list] [next in list] [prev in thread] [next in thread] 

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