[Bug 861061] Re: compiz 3d performance regression

2011-11-01 Thread Daniel van Vugt
Compiz has a Benchmark plugin in the compiz-plugins-extra package. However in my experience it is grossly inaccurate and does not represent the current frame rate that compiz is actually achieving. The frame rate that compiz tries to use is determined by the Composite settings: Detect Refresh Rate

[Bug 861061] Re: compiz 3d performance regression

2011-11-01 Thread Rocko
I'm now getting 50-52fps. Still no rhyme nor reason to this! Is there a way I can get any useful debugging output, eg to see what compiz is treating as the frame rate or where it is waiting for something before drawing to the screen? I've turned off both ccsm flags that say 'Sync to VBlank' but su

[Bug 861061] Re: compiz 3d performance regression

2011-11-01 Thread Daniel van Vugt
@Chauncellor, it sounds like your nvidia system simply has the wrong frame rate. Please check your nvidia control panel to verify DynamicTwinView is indeed turned off. Please also try Detect Refresh Rate = off, and set the correct Refresh Rate manually in CCSM. Failing all that, if you continue to

[Bug 861061] Re: compiz 3d performance regression

2011-11-01 Thread Chauncellor
@vanvugt: I suspect that some of the aforementioned 'workaround' plugin options have fixed the issue with my intel i915 laptop card but none of these workarounds have worked on my nvidia card. Still really terrible window dragging. :/ -- You received this bug notification because you are a member

[Bug 861061] Re: compiz 3d performance regression

2011-11-01 Thread Scott Deagan
I may have spoken too soon. The performance issues have returned, even using the Compiz workarounds. It first started occurring when I setup my email account in Thunderbird 7 and started synchronizing. Then I noticed it when I was streaming a HD video from my NAS drive. Now it's the same as it was

[Bug 861061] Re: compiz 3d performance regression

2011-10-31 Thread Rocko
I reverted to the oneiric compiz drivers (thanks for the script, btw) and rebooted and now I get 40-45fps in glxspheres. But not yet 59fps. If I redirect the glxspheres window (I suspect it means unredirect) via Extra WM Actions, it can manage 59fps (it could before when it was only doing 30fps no

[Bug 861061] Re: compiz 3d performance regression

2011-10-31 Thread Rocko
I tried turning detect frame rate off and setting the frame rate manually to 120 (my monitors both report 59.9 or 60 Hz refresh), but it hasn't helped. Sync to VBlank doesn't help the glxspheres framerate either. It really is most odd, because up until yesterday it would quite happily run at 59.x f

[Bug 861061] Re: compiz 3d performance regression

2011-10-30 Thread Daniel van Vugt
FYI, on my Sandybridge graphics using "Force full screen redraws (buffer swap) on repaint", I found graphics were most smooth if I also disable "Sync To VBlank". That also disables the fix from my PPA, so you don't really need the PPA unless you have ATI/AMD graphics. Also, the Intel graphics are

[Bug 861061] Re: compiz 3d performance regression

2011-10-30 Thread Daniel van Vugt
Rocko, that "unsightly tearing" is bug 880707. As for your ongoing framerate problems, I suspect a major factor is compiz starting to draw each frame at an inappropriate time, like very close to the start of the monitor's vertical refresh. I think the fix for that in future will be to enhance c

[Bug 861061] Re: compiz 3d performance regression

2011-10-30 Thread Rocko
Enabling "Force full screen redraws (buffer swap) on repaint" makes moving windows better for me, too - it stops unsightly tearing occurring around the window border during the move. I've now got the 3d-performance degradation bug persistently, ie competely reproducibly between reboots. So it sure

[Bug 861061] Re: compiz 3d performance regression

2011-10-30 Thread Daniel van Vugt
Enabling "Force full screen redraws (buffer swap) on repaint" has made a world of difference to me. It works well without my PPA, but works even better (even smoother) with my PPA. Thanks for the pointer Scott. You made my day. -- You received this bug notification because you are a member of U

[Bug 861061] Re: compiz 3d performance regression

2011-10-30 Thread Daniel van Vugt
@Chauncellor, your log suggests you *might* have a leak-related slowdown. But the leak is not rapid enough to be sure. Please try the suggestion in comment #40. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net

[Bug 861061] Re: compiz 3d performance regression

2011-10-30 Thread Daniel van Vugt
Well spotted Scott. I hadn't looked at the Workarounds section for a very time and didn't know it had syncing options. I suggest you will get the best performance using the workaround option "Force full screen redraws (buffer swap) on repaint", but if will perform well ONLY if you have ppa:vanvugt

[Bug 861061] Re: compiz 3d performance regression

2011-10-30 Thread Rocko
And in fact a full system reboot hasn't helped, either. glxspheres is running at 30-40fps. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861061 Title: compiz 3d performance regression To manage not

[Bug 861061] Re: compiz 3d performance regression

2011-10-30 Thread Rocko
I have reproduced the problem with the PPA version of compiz. It was *much* harder to reproduce it with the PPA version, though. I think it might be related to memory stress - my system ran out of RAM and was using swap heavily, glxspheres dropped to around 40fps, and compiz was only reported as u

[Bug 861061] Re: compiz 3d performance regression

2011-10-30 Thread Scott Deagan
I think I have found a solution to this. On my Sony Vaio VPCF11S1E running an nVidia 330M, I did this: 1. Start CompizConfig Settings Manager. 2. Type in "workaround" in the filter text box. 3. Tick "Fix screen updates in XGL with fglrx". 4. Tick "Force synchronization between X and GLX". I have

[Bug 861061] Re: compiz 3d performance regression

2011-10-30 Thread Chauncellor
** Attachment added: "log.txt" https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/861061/+attachment/2579449/+files/log.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861061 Title: compiz

[Bug 861061] Re: compiz 3d performance regression

2011-10-30 Thread Chauncellor
I was away from the affected machine for the weekend. I've gotten it to the point of intolerability. I'll upload the log I made. beginning: 746556 176164 end: 878552 255664 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.

[Bug 861061] Re: compiz 3d performance regression

2011-10-27 Thread Scott Deagan
I installed the 285 and 290 (beta) drivers, but the problem persists in 11.10. I did a fresh install (and applied all updates) to Ubuntu 11.04 and no longer suffer from this problem. I'm going to stick to 11.04 for the time being. Hope this problem is solved soon as 11.10 is fantastic (other than

[Bug 861061] Re: compiz 3d performance regression

2011-10-26 Thread Chauncellor
I've set a cron job to log ps auxw every hour. It hasn't gotten to intolerable proportions yet, so I'll wait until reporting that. However, I have noticed the VSZ and RSS columns moving upward. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to U

[Bug 861061] Re: compiz 3d performance regression

2011-10-26 Thread Daniel van Vugt
I believe the jerky window moving problem is a bug in unity-window- decorator. That's my suspicion anyway. I noticed the same bug, but it too vanished mysteriously after a while and hasn't come back for many days. Someone has probably already logged that bug elsewhere if you care to dig deep enoug

[Bug 861061] Re: compiz 3d performance regression

2011-10-26 Thread Rocko
OK, I'll keep testing the PPA version for a while first. With the PPA version, I did encounter the 'jerky' animation while moving windows problem again, ie where you move the mouse but the window only moves every twenty pixels or so of mouse movement (and sometimes it will freeze and wait until yo

[Bug 861061] Re: compiz 3d performance regression

2011-10-25 Thread Daniel van Vugt
If you ever want to revert to the original compiz version, you could try a script like the one I use. Something like this: sudo apt-get install compiz/oneiric compiz-core/oneiric compiz- gnome/oneiric compiz-plugins/oneiric libdecoration0/oneiric libdecoration0-dev/oneiric -- You received this b

[Bug 861061] Re: compiz 3d performance regression

2011-10-25 Thread Daniel van Vugt
Rocko, after you have established the bug has gone away, please try reverting to the original version of compiz and see if it comes back. If it does come back reliably without my PPA fix then it will be safe to mark this as a duplicate of bug 763005. -- You received this bug notification because

[Bug 861061] Re: compiz 3d performance regression

2011-10-25 Thread Rocko
Almost a day later the PPA version of compiz is still performing nicely even after a few suspend/resume cycles (this is on an Intel GPU). I haven't noticed any UI slowdowns and the slowest that glxspheres has shown is 58fps. There have been a couple of issues, which may not be related: * Unity cr

[Bug 861061] Re: compiz 3d performance regression

2011-10-25 Thread Rocko
I have some more observations: 1. I tried gnome-shell for a day, and at one point glxspheres was suffering in performance, but not as badly as under compiz. The animation was periodically freezing for a half second - it would then report one (say) 40fps reading, and then immediately jump back to 5

[Bug 861061] Re: compiz 3d performance regression

2011-10-25 Thread Daniel van Vugt
@Chauncellor, I'm not sure if this is the right bug for you, but I can't suggest a more appropriate one either. Certainly the reporter of this bug describes similar performance degradation to yours. Video performance bugs are very messy. Unless there is an easy switch or workaround to try then mos

[Bug 861061] Re: compiz 3d performance regression

2011-10-24 Thread Chauncellor
I'll do that. Is this the correct bug report to go on? There are so many bug reports that I'm not sure which one to really post to. Performance is just fine at first but becomes unbearable after many hours. And this is on a higher-end machine (gtx 560, 8 gb ram, etc.) -- You received this bug not

[Bug 861061] Re: compiz 3d performance regression

2011-10-24 Thread Daniel van Vugt
Performance degrading slowly over time could be a resource leak of some sort. If you find performance gets worse over time, try noting how much memory compiz is using when you first log in and compare it to when performance has degraded. You can get the memory usage from: ps auxw | grep compiz

[Bug 861061] Re: compiz 3d performance regression

2011-10-24 Thread Chauncellor
I added the ppa and have been using it for a few days. I have observed that there is no performance boost from my desktop effects. Actual gaming, I don't know. I have also tried all vsync fiddling, triple buffering settings, etc. etc. Long story short: Performance is awesome after boot. Just dand

[Bug 861061] Re: compiz 3d performance regression

2011-10-24 Thread Daniel van Vugt
I think it is worth trying the fix I proposed for bug 763005. Even if you don't have the symptoms of that bug, you will in theory still get a compiz performance boost from the fix. Whether or not the improvement is noticeable for you remains to be seen. You can try the fix by adding ppa:vanvugt/co

[Bug 861061] Re: compiz 3d performance regression

2011-10-23 Thread Rocko
And compiz is currently at version 0.9.6+bzr20110929-0ubuntu5. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861061 Title: compiz 3d performance regression To manage notifications about this bug go

[Bug 861061] Re: compiz 3d performance regression

2011-10-23 Thread Rocko
Here's Xorg.0.log for the currently slow-running system. TripleBuffers is turned off, but SwapBuffers wait is enabled. ** Attachment added: "Xorg.0.log" https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/861061/+attachment/2568086/+files/Xorg.0.log -- You received this bug notification be

[Bug 861061] Re: compiz 3d performance regression

2011-10-23 Thread Rocko
Intel here: Bug #763005 isn't a problem (the animation is fast and smooth whether or not glxspheres shows low frame rates) and Option "TripleBuffer" "false" (with or without sync to vblank) doesn't fix it. The low frame rates aren't consistent. Often (well, usually) immediately after X starts, glx

[Bug 861061] Re: compiz 3d performance regression

2011-10-22 Thread Chauncellor
Nvidia here. All workarounds in bug 92599 did not work. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861061 Title: compiz 3d performance regression To manage notifications about this bug go to: ht

[Bug 861061] Re: compiz 3d performance regression

2011-10-20 Thread Daniel van Vugt
AMD/ATI and Intel users: Please check if you have bug 763005 before thinking you have this one. NVIDIA users: Please try the workaround in bug 92599 first. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bug

[Bug 861061] Re: compiz 3d performance regression

2011-10-20 Thread Daniel van Vugt
You will probably also need to turn off "Sync To VBlank" in compiz before you can test if TripleBuffer=false is fixing the problem. To turn off "Sync To VBlank", please install the package "compizconfig- settings-manager", run "ccsm" and turn it off in the OpenGL section. -- You received this bu

[Bug 861061] Re: compiz 3d performance regression

2011-10-20 Thread Daniel van Vugt
Thank you for taking the time to report this bug and helping to make Ubuntu better. As these performance issues are often specific to a graphics driver, we should initially focus on the graphics hardware this bug was reported on: Intel Corporation 2nd Generation Core Processor Family Integrated G

[Bug 861061] Re: compiz 3d performance regression

2011-10-20 Thread Scott Deagan
I'm glad I found this post. I'm experiencing the same problem on three different machines running Ubuntu 11.10: 1. a Sony Vaio VPC F11S1E (GeForce GT330M), 2. a generic AMD A8 Fusion box with a GeForce GTX460, and 3. an iMac (2009 model) with a GeForce 9400. The symptoms are: from start, things

[Bug 861061] Re: compiz 3d performance regression

2011-10-15 Thread Rocko
I already have "unredirect fullscreen windows" checked (but I don't think should affect glxspheres in any case since it isn't a fullscreen window). After a complete system reboot I can sometimes get ~60 fps in glxspheres. But it gradually (or some cases, suddenly) regresses. I have noticed that w

[Bug 861061] Re: compiz 3d performance regression

2011-10-15 Thread Bernd Robertz
Same here about performance in 3D applications like games or 3D-accel-programs. What helped out a good way was to activate the "unredirect fullscreen windows" checkbox in CCSM under "Composite". Since that I can run glxsphere in good stable rates, I also can play OilRush in average FPS. Before th

[Bug 861061] Re: compiz 3d performance regression

2011-10-13 Thread Rocko
I had to run "unity --reset" to fix a bug in the way it was handling windows, and now the performance is back to being woeful. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861061 Title: compiz 3d p

[Bug 861061] Re: compiz 3d performance regression

2011-10-05 Thread Loris Zinsou
Same here, good performance right after startup, but it slows down (probably after suspend and resume, or VT switch, or when a game exits). I might have to run some more tests, to identify precisely what causes performance drop. -- You received this bug notification because you are a member of Ub

[Bug 861061] Re: compiz 3d performance regression

2011-09-30 Thread Rocko
Or at least it's mostly fixed. Immediately after logging in, I get 59.x fps in glxspheres: after unity crashes and restarts, I might get 30-35 fps again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/8

[Bug 861061] Re: compiz 3d performance regression

2011-09-29 Thread Rocko
After my system updated to compiz 1:0.9.6+bzr20110929-0ubuntu1 and unity 4.20.0-0ubuntu1 I'm now getting just under 60 fps with glxspheres again on my Intel chipset (and 110 fps on the nvidia chipset), so for me it is fixed now. -- You received this bug notification because you are a member of Ub

[Bug 861061] Re: compiz 3d performance regression

2011-09-29 Thread Loris Zinsou
I disabled DynamicTwinView in the Xorg configuration file, disabled Compiz refresh rate detection, and i did set it manually to the real refresh rate (60fps). The bug is still not fixed : I'm still getting half the fps i have in Gnome Shell and Unity 2D. On my nvidia 8400m GS GPU, that makes al

[Bug 861061] Re: compiz 3d performance regression

2011-09-29 Thread Rocko
Yes indeed, and moreover the problem is due to a very recent change in compiz. I only discovered glxspheres a couple of weeks ago, and when I first ran it I was getting 59.xxx fps with the (beta 1) Oneiric version of compiz. -- You received this bug notification because you are a member of Ubuntu

[Bug 861061] Re: compiz 3d performance regression

2011-09-29 Thread estama
Yes indeed, that setting doesn't make a difference for me too. I have also tried a number of other solutions (like changing SwapbuffersWait in xorg.conf) that also didn't work. Based on the above, IMHO, i believe that the problem is something that changed inside compiz between Ubuntu 11.04 and 11.

[Bug 861061] Re: compiz 3d performance regression

2011-09-28 Thread Rocko
I looked at #763005, and that bug indicates it's a problem in compiz's sync-to-vblank implementation. Changing that setting makes no appreciable difference for me, though. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.la

[Bug 861061] Re: compiz 3d performance regression

2011-09-28 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: compiz (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861061 Title: comp

[Bug 861061] Re: compiz 3d performance regression

2011-09-28 Thread estama
I also see exactly the same behavior with Oneiric's Compiz and Radeon HD 3200 (AMD 780G chipset's integrated graphics). Compiz is a lot slower/laggier than it was in 11.04. Testing with glxgears (leaving the glxgears window in its default size) on latest Ubuntu 11.10: Compiz is at around 33-42 FP

[Bug 861061] Re: compiz 3d performance regression

2011-09-27 Thread Rocko
** Description changed: - A recent update to compiz in oneiric has had a big import on 3d + A recent update to compiz in oneiric has had a big impact on 3d performance. The desktop feels more sluggish, and the glxspheres benchmark indicates about half the performance compared to metacity and