Bug 92523

Summary: [Quadro FX 370] Compiz freezes entire desktop.
Product: xorg Reporter: Carla sella <carla.sella>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Dmesg
none
Top screen shot n. 1
none
Top screen shot n. 2
none
dmesg screenshot
none
Dmesg during freeze none

Description Carla sella 2015-10-18 14:27:27 UTC
Created attachment 118962 [details]
Dmesg

I have already reported this issue on lauchpad: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1487553.

My Desktop freezes and Compiz process occupies 100% of CPU for a long while, if you wait 3-4 minutes  it will recover, but the issue is very annoying.


This is my hardware: https://gist.github.com/anonymous/3203c7c5a43a509c0f22.
I have Ubuntu Wily Werewolf (development branch) 15.10 installed.
Comment 1 Ilia Mirkin 2015-10-18 16:31:08 UTC
Does this happen without suspend/resume? If not, how is this different than bug #92522 which you filed earlier today?
Comment 2 Carla sella 2015-10-18 16:52:04 UTC
(In reply to Ilia Mirkin from comment #1)
> Does this happen without suspend/resume? If not, how is this different than
> bug #92522 which you filed earlier today?

Yes this happens without suspend/resume. While the other bug was a desktop freeze after resume from suspension, this happens using the desktop normally, it gets slow all of a sudden, freezes, I open terminal (CTRL+ALT+F1) and with the top command I can see compiz process  using 100% of CPU.

After like 3-4 minutes this process uses less CPU and desktop becomes usable again.
Comment 3 Ilia Mirkin 2015-10-18 16:52:59 UTC
Do the set_domain messages in dmesg coincide with the freezes?
Comment 4 Carla sella 2015-10-18 16:59:14 UTC
(In reply to Ilia Mirkin from comment #3)
> Do the set_domain messages in dmesg coincide with the freezes?

I will have to check this out, never noticed this before.
I will check this the next time my desktop gets freezed and let you know.
Comment 5 Ilia Mirkin 2015-10-20 05:20:37 UTC
Please give the patch at http://lists.freedesktop.org/archives/nouveau/2015-October/022732.html a shot -- it will hopefully help with the suspend/resume issues, and who knows -- perhaps even fix these -- you only have 256MB of vram, so similar situations will occur as with suspend/resume, with buffers getting swapped out.
Comment 6 Carla sella 2015-10-24 14:18:42 UTC
(In reply to Ilia Mirkin from comment #5)
> Please give the patch at
> http://lists.freedesktop.org/archives/nouveau/2015-October/022732.html a
> shot -- it will hopefully help with the suspend/resume issues, and who knows
> -- perhaps even fix these -- you only have 256MB of vram, so similar
> situations will occur as with suspend/resume, with buffers getting swapped
> out.



Ok I will give it a shot and let you know.
Meanwhile it has just happened again, I will attach two screenshots with top command and one with dmesg, just for you info.
Comment 7 Carla sella 2015-10-24 14:22:33 UTC
Created attachment 119169 [details]
Top screen shot n. 1

Top command while desktop is freezed with compiz process using 100% (more or less) CPU
Comment 8 Carla sella 2015-10-24 14:24:15 UTC
Created attachment 119170 [details]
Top screen shot n. 2
Comment 9 Carla sella 2015-10-24 14:26:44 UTC
Created attachment 119171 [details]
dmesg screenshot

Screenshot of dmesg output while desktop was freezed by compiz process at 100% (more or less).
Comment 10 Carla sella 2015-10-24 14:27:21 UTC
Created attachment 119172 [details]
Dmesg during freeze

Dmesg command launched during freeze.
Comment 11 Carla sella 2015-10-24 14:44:33 UTC
(In reply to Carla sella from comment #6)
> (In reply to Ilia Mirkin from comment #5)
> > Please give the patch at
> > http://lists.freedesktop.org/archives/nouveau/2015-October/022732.html a
> > shot -- it will hopefully help with the suspend/resume issues, and who knows
> > -- perhaps even fix these -- you only have 256MB of vram, so similar
> > situations will occur as with suspend/resume, with buffers getting swapped
> > out.
> 
> 
> 
> Ok I will give it a shot and let you know.
> Meanwhile it has just happened again, I will attach two screenshots with top
> command and one with dmesg, just for you info.



I am waiting for Ubuntu to have the 4.3-rc7 kernel and install it:


http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D

so it will be easier for me to test your patch.

I will let you know what happens.

Thanks.
Comment 12 Ilia Mirkin 2015-10-30 17:00:17 UTC
(In reply to Carla sella from comment #11)
> 
> I am waiting for Ubuntu to have the 4.3-rc7 kernel and install it:
> 
> 
> http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D
> 
> so it will be easier for me to test your patch.
> 
> I will let you know what happens.
> 
> Thanks.

You reported in bug 92504 that the suspend/resume issue was gone... is this one as well?
Comment 13 Carla sella 2015-10-30 20:10:17 UTC
(In reply to Ilia Mirkin from comment #12)
> (In reply to Carla sella from comment #11)
> > 
> > I am waiting for Ubuntu to have the 4.3-rc7 kernel and install it:
> > 
> > 
> > http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D
> > 
> > so it will be easier for me to test your patch.
> > 
> > I will let you know what happens.
> > 
> > Thanks.
> 
> You reported in bug 92504 that the suspend/resume issue was gone... is this
> one as well?


I was waiting some time before answering to see if this issue occurred, but it hasn't occurred since I installed Ubuntu 4.3.0-040300rc7-generic kernel, so I can affirm that the issue is solved.

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.