This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Problem with Present Windows in 4.5.2

Tags: None
(comma "," separated)
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS

Problem with Present Windows in 4.5.2

Fri Oct 08, 2010 11:52 pm
I upgraded to 4.5.2 yesterday, and today I noticed that Present Windows is broken. When activating the effect it first seems to work, but then everything slows down and the windows disappear (I only see the darkened backgrounds). Finally compositing is automatically disabled.

If I disable functionality checks I can see that the CPU shoots up to 100 % when using the effect. Just tried around now and noticed that disabling Direct Rendering makes it work as before. The Desktop Grid effect with Present Windows enabled always works, even with direct rendering.

Some more information:
Arch KDE 4.5.2 packages (vanilla)
Nvidia GeForce FX 5200 card with the nvidia-173xx-173.14.28 driver
Compositing type: OpenGL, Texture From Pixmap; XRender doesn't have this problem


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
On Trunk, using Intel graphics, this works without problems. Don't know if any changes were made between 4.5.2 and Trunk though.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
mgraesslin
KDE Developer
Posts
572
Karma
7
OS
There was a change between 4.5.1 and 4.5.2 which makes the Lanczos filter work on more graphics cards. Unfortunately it does not work on them. You have to add your graphics card to the magic blacklist :-(
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
mgraesslin wrote:There was a change between 4.5.1 and 4.5.2 which makes the Lanczos filter work on more graphics cards. Unfortunately it does not work on them. You have to add your graphics card to the magic blacklist :-(


How do I do that?


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
mgraesslin
KDE Developer
Posts
572
Karma
7
OS
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
Sweet, thanks for the link. In case anyone else encounters this, I did the following:
1. Run
Code: Select all
grep KWin::CompositingPrefs::detectDriverAndVersion ~/.xsession-errors

You'll see something like this:
Code: Select all
kwin(4876) KWin::CompositingPrefs::detectDriverAndVersion: GL vendor is "NVIDIA Corporation"
kwin(4876) KWin::CompositingPrefs::detectDriverAndVersion: GL renderer is "GeForce FX 5200/AGP/SSE2"
kwin(4876) KWin::CompositingPrefs::detectDriverAndVersion: GL version is "2.1.2 NVIDIA 173.14.28"
kwin(4876) KWin::CompositingPrefs::detectDriverAndVersion: Detected driver "nvidia" , version "173.14.28"


2. Open ~/.kde[4]/share/config/kwinrc in a text editor.
3. Under [Blacklist][Lanczos], I added
Code: Select all
NVIDIA=GeForce FX 5200/AGP/SSE2:-:2.1.2 NVIDIA 173.14.28

(The values are from the command in step 1.)
4. Restart KWin or logout and login again.

mgraesslin: Should I report it somewhere so it can be added by default, or are you aware of it now? Is this something that might be fixed in a newer driver version? (Note that I didn't downgrade as I wrote in my original post - it seems to be more troublesome than I thought.)


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
mgraesslin
KDE Developer
Posts
572
Karma
7
OS
I doubt that I will update the blacklist in a minor release and the blacklist ist designed to not blacklist new driver versions, so don't think that it's worth reporting it.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, sandyvee