Bug 16538

Summary: Slow resizing of windows in kwin from KDE4
Product: xorg Reporter: Sebastian Kuegler <sebas>
Component: Driver/nVidia (proprietary)Assignee: Aaron Plattner <aplattner>
Status: CLOSED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: alessandro.guido, duffeck, freedesktop, jlp.bugs, kostko, tiagomatos
Version: 7.3 (2007.09)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xrenderbenchmark with glyphcache enabled
none
xrenderbenchmark on ati x1300
none
xrenderbenchmark without glyphcache
none
xrenderbenchmark on a nvidia geforce 7050 / nforce 610i
none
i945 benchmark result
none
xrenderbenchmark on a nvidia GeForce 7600GT
none
xrenderbenchmark 9500M GS with 177.13 drivers
none
xrenderbenchmark on a nVidia Quadro FX 570M none

Description Sebastian Kuegler 2008-06-26 20:53:09 UTC
Resizing windows in general is very slow in KWin4 with the NVidia driver. It takes up to 5 seconds until the window is fully repainted. This is with compositing enabled and disabled. Enabling the glyphcache helps a bit, but it's still very sluggish.
http://bugs.kde.org/show_bug.cgi?id=160467

Also, switching virtual desktop takes a couple of seconds, depending on the number of windows. Activating a window can take up to one second as well. Should I file those lag issues as separate bug? On my notebook with an ATIx1300, this is all very snappy and smooth.

I'm using KDE's SVN trunk, those problems have been there for quite some time. KDE3 on the exact same machine is very snappy.

Hardware is 7600GS 512MB, dualhead 2*1280*1024. Driver version is 177.13, previous releases exhibit the same issues.

I've run Zack Rusin's xrenderbenchmark tool from http://people.freedesktop.org/~zack/xrenderbenchmark.tar.bz2 The tool shows that some operations are really fast, others take thousand times longer. Running the benchmark on my nvidia system takes ~13 minutes, on my ati one it takes less than 2.

I'm attaching 3 logs with this tool, two on the nvidia system (w/ & w/o glyphcache), one from the ati x1300 system for comparison.
Comment 1 Sebastian Kuegler 2008-06-26 20:53:59 UTC
Created attachment 17411 [details]
xrenderbenchmark with glyphcache enabled
Comment 2 Sebastian Kuegler 2008-06-26 20:54:38 UTC
Created attachment 17412 [details]
xrenderbenchmark on ati x1300
Comment 3 Sebastian Kuegler 2008-06-26 20:55:25 UTC
Created attachment 17413 [details]
xrenderbenchmark without glyphcache
Comment 4 Luke Parry 2008-06-27 00:10:28 UTC
Created attachment 17417 [details]
xrenderbenchmark on a nvidia geforce 7050 / nforce 610i
Comment 5 Fathi Boudra 2008-06-27 00:53:49 UTC
Created attachment 17421 [details]
i945 benchmark result

xrenderbenchmark on i945: each test is under 2 seconds ...
Comment 6 Markus 2008-06-27 03:49:30 UTC
Created attachment 17422 [details]
xrenderbenchmark on a nvidia GeForce 7600GT

Same problem as above - most tests take about 5 or 6 seconds which seems quite slow.
Comment 7 Sebastian Kuegler 2008-06-27 06:00:29 UTC
http://www.larsen-b.com/Article/290.html has more data and graphs comparing ati, intel and various nvidia chips. http://www.phoronix.com/forums/showthread.php?t=11044 has more users with the same problems. It also seems to affect Firefox3 and a couple of other applications.
Comment 8 luc bruant 2008-06-27 06:33:50 UTC
Created attachment 17427 [details]
xrenderbenchmark 9500M GS with 177.13 drivers

Scary to see how poorly my brand new (and supposedly not so bad) video card performs...

This test was performed on a laptop with :
CPU : Intel T7700
Mem : 3GB DDR2
GPU : 9500M GS 512Mb DDR (PCI express) with latest drivers (177.13)

No other apps overloaded the CPU and/or GPU noticeably (a couple of text editors opened, some music and a browser running).
Comment 9 André Duffeck 2008-07-04 02:49:10 UTC
Created attachment 17526 [details]
xrenderbenchmark on a nVidia Quadro FX 570M

seems I'm the new #1 with a xrenderbenchmark runtime of almost 24 minutes on my Quadro FX 570M :[
177.13 driver, also.
Comment 10 Sebastian Kuegler 2008-08-20 13:29:55 UTC
The 177.67 (BETA) driver fixes these problems for me, the new acceleration features need to be switched on as explained at http://www.nvnews.net/vbulletin/showthread.php?t=118088

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.