Bug 709536

Summary: Slow Desktop Animations & UI Freezes
Product: [Fedora] Fedora Reporter: Onyeibo Oku <twohotis>
Component: xorg-x11-drv-nouveauAssignee: Ben Skeggs <bskeggs>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 15CC: airlied, ajax, bskeggs, code933k, covex, robatino
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-07 15:36:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
requested logs
none
gnome-terminal with new mesa none

Description Onyeibo Oku 2011-05-31 22:58:24 UTC
Description of problem:
The Desktop UI animations play in terrible slow-motion (pinned dialogues take 4-5secs to be ready for user input)

Version-Release number of selected component (if applicable):
xorg-x11-drv-nouveau-0.0.16-24.20110324git8378443.fc15.x86_64

How reproducible:
Consistent in two linux boxes

Steps to Reproduce:
1. Install Fedora 15 and update to latest kernel
2. Go to 'Overview' mode and grab a window (as if to place it into a new workspace)
3. Try dragging one of the the Windows (stubs). 
  
Actual results:
In mine, the cursor leaves the window behind while it takes 4-7secs for the window to catch up or refresh.  The Workspace docker also animates in similar manner

Expected results:
Animations in sync with Cursor and no waiting for pinned-dialogs

Additional info:
Video Card = nvidia GeForce 7200 GS

Comment 1 Ben Skeggs 2011-05-31 23:30:28 UTC
Yes, this was expected on some nv30/nv40 chipsets for the moment unfortunately.  Can you post your dmesg log here so I can take a look, may be able to help at least partially still.

Comment 2 Onyeibo Oku 2011-06-01 16:26:03 UTC
Created attachment 502317 [details]
requested logs

/var/log/messages and /var/log/Xorg.0.log

Comment 3 Ben Skeggs 2011-06-01 23:46:44 UTC
Okay.  The only immediate thing I can suggest that might help is to append "nouveau.perflvl_wr=7777 nouveau.perflvl=0" to your kernel boot options.

NVIDIA GPUs generally start up in a low(er) power state by default.  The above options will enable the use of nouveau's power management code, and instruct nouveau to clock your GPU up to its full speed.

The code is not stable everywhere yet, hence not done by default, so use at your own risk..  If it makes your card unstable, you just need to remove the options again.

Let me know how you go!

Comment 4 Onyeibo Oku 2011-06-02 03:23:02 UTC
(In reply to comment #3)

> The code is not stable everywhere yet, hence not done by default, so use at
> your own risk..  If it makes your card unstable, you just need to remove the
> options again.

If you don't mean frying/overheating my GPU then I'm good.  I can live with a few glitches and quirks.  Hope NV40(GS72) can now handle the demands of the likes of WoP (http://en.wikipedia.org/wiki/World_of_Padman) as I plan to host a LAN session as part of Fedora Release Party soon.

> Let me know how you go!

Sure.

Comment 5 Ben Skeggs 2011-06-02 03:40:22 UTC
(In reply to comment #4)
> (In reply to comment #3)
> 
> > The code is not stable everywhere yet, hence not done by default, so use at
> > your own risk..  If it makes your card unstable, you just need to remove the
> > options again.
> 
> If you don't mean frying/overheating my GPU then I'm good.  I can live with a
> few glitches and quirks.
It's possible.  Though, I haven't heard of anyone doing it yet..  Glitches are far more likely if something goes wrong.  But, standard "use at own risk" disclaimer applies here still.

>  Hope NV40(GS72) can now handle the demands of the
> likes of WoP (http://en.wikipedia.org/wiki/World_of_Padman) as I plan to host a
> LAN session as part of Fedora Release Party soon.
> 
> > Let me know how you go!
> 
> Sure.

Disabling gnome-shell will get you more performance also, if necessary.  Unfortunately the g-s devs didn't bother to disable compositing of fullscreen windows like compiz/kde do, so, you get some additional overhead from that.

Comment 6 Onyeibo Oku 2011-06-02 03:53:13 UTC
(In reply to comment #3)

> Let me know how you go!
Same story.  No significant difference.

(In reply to comment #5)
> Disabling gnome-shell will get you more performance also, if necessary. 
> Unfortunately the g-s devs didn't bother to disable compositing of fullscreen
> windows like compiz/kde do, so, you get some additional overhead from that.
Interesting.  I hope there is a workaround for that omission (something that doesn't imply switching to KDE or Unity DE)

Comment 7 Adam Pribyl 2011-06-25 20:09:31 UTC
I have the same problem on Geforce 7500 LE and nouveau. All animations and fade out/in are terribly slow. Firefox scrolling slow. Makes g-s unusable.

BTW: nvidia proprietary driver causes g-s to freeze. I am out of luck here. Have to use KDE for now.

Comment 8 Ben Skeggs 2011-06-26 00:00:58 UTC
Give this mesa build a go: http://koji.fedoraproject.org/koji/buildinfo?buildID=250343

Comment 9 Adam Pribyl 2011-06-27 19:35:01 UTC
This looks much better, thanks. But before final judgment, I'll have to use it for some time. I had a feeling, that the performance was getting worse with time with previous version... anyway thanks again. This is improvement for me.

Comment 10 Adam Pribyl 2011-07-02 11:04:58 UTC
Created attachment 510986 [details]
gnome-terminal with new mesa

I am here again - this is how gnome-terminal and Midnight Commander look with this version of mesa. The colors are more or less somewhat too orange. To be more specific - the tab upper border has to be blue, while it is orange. The mc color should be also blue, but is orange. Other applications seems to be OK. Just gnome-terminal shows this.

I tried to downgrade the mesa and with distribution version 0.11 colors are OK, using again 0.15, the colors are wrong again. Therefore I assume this is a problem with 0.15 version of mesa I downloaded from koji.

Comment 11 Adam Pribyl 2011-07-24 08:11:21 UTC
As now mesa 7.11-0.16 is in stable, I can confirm the slowness and freezes are fixed for nVidia Corporation G72 [GeForce 7500 LE] = NVIDIA NV46, but the problem with the colors remain. The only way to fix this is to go back to 7.11-0.11. I was trying to find what can get wrong with gnome-terminal and new mesa but did not found anything. I have a confirmation from other users in our community too.

Symptoms are that gnome-terminal has orange instead of blue tabs, and all blueish colors tend to go orange. So far I did not found any other application affected.

I may create a new bug for that.

Comment 12 Adam Pribyl 2011-08-11 20:37:11 UTC
With 7.11-1 color problems are gone. Thanks. I think this bug may be closed.

Comment 13 Mario GarcĂ­a H. 2011-12-06 15:42:46 UTC
I had the same problem with radeon driver. Please check out whether using an older kernel solves this sluggishness for you. I went from 3.2 (awful performance in all areas) to 3.1.1 and the system is _usable_ once again.

Mesa version in my system is 7.12-0.5 (Fedora 17, unoficial as far as I know)

Comment 14 Onyeibo Oku 2011-12-10 03:30:15 UTC
Performance seems fairly stable and predictable now.  I still see quirks and jerks in transitions and animations especially on my nvidia-GeForce7200-GS machines.  Is there any chance that this will improve in the near future? Are there tweaks that can boost performance?

Comment 15 Fedora End Of Life 2012-08-07 15:36:06 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping