[prev in list] [next in list] [prev in thread] [next in thread]
List: kwin
Subject: Re: GetFBConfigs
From: Rivo Laks <rivolaks () hot ! ee>
Date: 2007-01-27 13:09:35
Message-ID: 200701271509.35855.rivolaks () hot ! ee
[Download RAW message or body]
Ühel kenal päeval (laupäev 27 jaanuar 2007) kirjutas Philip Falkner:
> Largely lifted from compiz, here's some code which should select decent
> configs for both the buffer and the drawables. It works here with all
> three modes, even though it chooses different configs than does current
> svn. From what I've gathered about nvidia/fglrx, this should work there
> too (fingers crossed).
>
> It tries to get minimal stencil/depth buffers for the drawables, and
> maximal for the main buffer. I'm not convinced about sorting by caveat; it
> works around a problem in fallback mode for me, but otherwise provides
> little/no benefit or disadvantage.
>
> Please test; I'm hoping this might get tfp working for you, Rivo.
Yeah, TFP works now! Thanks a lot!
However, it often makes kwin crash when opening new window. Here's the end of
the debug log:
kwin: Activation,
compared:KWinInternal::Client(0x83db148) :1671677425:1671675677:true
kwin: <unknown>(0x1800d61): 184
kwin: [void KWinInternal::SceneOpenGL::Window::createVertexGrid(int,
int)] 'Ark': Resized vertex grid from 0 quads (minreso: -1x-1) to 4 quads
(minreso: 0x0)
kwin: <unknown>(0x1800e88): BadPixmap (invalid Pixmap parameter)
kwin: <unknown>(0x1800e88): GLXBadDrawable
kwin: ERROR: [void KWinInternal::SceneOpenGL::Window::findTextureTarget()]
texture target is 0, supports_npot: true
kwin: /mnt/homes/home/rivo/build/KDE/kdebase/workspace/kwin/scene_opengl.cpp:925:
void KWinInternal::SceneOpenGL::Window::findTextureTarget(): Assertion
`false' failed.
KCrash: crashing... crashRecursionCounter = 2
Weird is that it only crashes in certain cases, not always. E.g. it crashes
when opening first Ark window, but if an Ark window is already there and I
open second (or third or forth, etc) one, it works fine. It always crashes
when opening Speedcrunch window.
I added the debug line which shows that target is 0. I have no idea why it's
0, maybe you know better. Or maybe it's just a bug in NVidia drivers...
Rivo
_______________________________________________
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