Windows slow/stall/freeze when minimizing/restoring/etc in Unity 7 (14.04 and 14.10)

Bug #1314587 reported by David
176
This bug affects 56 people
Affects Status Importance Assigned to Milestone
Unity
Confirmed
Undecided
Unassigned
X.Org X server
Won't Fix
Medium
unity (Ubuntu)
Triaged
Critical
Unassigned
Nominated for Trusty by Alberto Salvia Novella

Bug Description

Steps to reproduce:

 * Minimize current window or alt-tab between windows
 * Reveal launcher to click on application
 * Click `Super` to bring up Dash
 * Hold `Super` to bring up Keyboard Shortcuts

What should happen:

Action completes smoothly and quickly.

What happens instead:

 * Action may be slow / animation jerky.
 * Action may stall (animation frozen on given frame, e.g. window partially minimized) - initiating another action cancels first action and second action may succeed (most often calling Guake with F12 seems to solve the issue)
 * Action may freeze - cursor no longer moves - a soft reboot (Alt+PrtScr+REISUB) usually works, otherwise a hard reboot

Notes:

 * Not application specific. Minimizing is reliably slow/stalls with minimizing Firefox (including 29, I do not have a lot of bookmarks) or Pidgin, but I use those programs more often.
 * I am using an Nvidia Optimus machine with the default Nouveau driver - no `nvidia-prime`, no Bumblebee. I temporarily installed the latest stable Nvidia driver (including `nvidia-prime`) and it made no difference.
 * I did not experience this issue on the same machine running 13.10 (with Bumblebee).
 * I am running Maximus.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xorg 1:7.7+1ubuntu8
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Wed Apr 30 12:53:15 2014
DistUpgraded: Fresh install
DistroCodename: trusty
DistroVariant: ubuntu
DkmsStatus: virtualbox, 4.3.10, 3.13.0-24-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GpuHangFrequency: Several times a day
GpuHangReproducibility: Occurs more often under certain circumstances
GpuHangStarted: Immediately after installing this version of Ubuntu
GraphicsCard:
 Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:04b6]
 NVIDIA Corporation GF108M [GeForce GT 525M] [10de:0df5] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:04b6]
InstallationDate: Installed on 2014-04-24 (5 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
MachineType: Dell Inc. Dell System XPS L502X
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic root=UUID=3a8fb3f3-1054-45a0-8ec0-0cbeba33da00 ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/25/2011
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A04
dmi.board.name: 0YR8NN
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnDellInc.:bvrA04:bd03/25/2011:svnDellInc.:pnDellSystemXPSL502X:pvr:rvnDellInc.:rn0YR8NN:rvrA00:cvnDellInc.:ct8:cvr0.1:
dmi.product.name: Dell System XPS L502X
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.11+14.04.20140409-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.52-1
version.libgl1-mesa-dri: libgl1-mesa-dri 10.1.0-4ubuntu5
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.1.0-4ubuntu5
version.xserver-xorg-core: xserver-xorg-core 2:1.15.1-0ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.3.0-1ubuntu3
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.910-0ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10-1ubuntu2
xserver.bootTime: Wed Apr 30 12:03:43 2014
xserver.configfile: default
xserver.errors:
 Failed to load module "nvidia" (module does not exist, 0)
 Failed to load module "nvidia" (module does not exist, 0)
 NOUVEAU(G0): [XvMC] Failed to initialize extension.
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id 8940
 vendor AUO
xserver.version: 2:1.15.1-0ubuntu2

Revision history for this message
David (lofidevops) wrote :
summary: - Windows slow/stall/freeze when minimizing/restoring/etc
+ Windows slow/stall/freeze when minimizing/restoring/etc in Unity 7 14.04
Revision history for this message
David (lofidevops) wrote : Re: Windows slow/stall/freeze when minimizing/restoring/etc in Unity 7 14.04

Issue still occurs when Maximus is not running.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity (Ubuntu):
status: New → Confirmed
Changed in xorg (Ubuntu):
status: New → Confirmed
Revision history for this message
David (lofidevops) wrote :

This issue seems to have improved, I presume with package updates since it was first reported. Animations are generally no longer jerky. Soft and hard reboot are generally no longer required. Keyboard Shortcuts appear/disappear smoothly. Remaining problems:

 * Opening the Dash almost never works. Certainly not the first time or after having other windows have been open for a while. It behaves almost as though we have switch to the Dash pane, but it hasn't been rendered. As a workaround, if I open Dash then trigger Guake, Dash appears (with Guake behind it).

 * Closing or minimising windows generally works, except for the last window. Closing or minimising the last window fails completely, or starts the minimise animation but then halts. Either way, despite the window remaining visible, it is no longer clickable.

Revision history for this message
Jaufré Aligé (jaufre) wrote :

I saw the same thing on one of my desktop machine. Just a few different :
No remains of windows but sometimes a windows refuses to close then mouse cursor slows down then, after some 10~12sec, all freezes. The dash usually opens but sometimes, have to open some other windows in front of it.

Config :

P8H77-M PRO
I5-3200

Bios :
1503
03/17/2014

Video :
GF104 | GTX460
proprietary driver nvidia-331

Revision history for this message
David (lofidevops) wrote :

Additional info: I had an issue with the cursor flickering that was solved by disabling a mysterious extra display on my (Optimus) system. This had no effect on this issue.

Revision history for this message
David (lofidevops) wrote :

Improvements:

 * Closing or minimising the last window has improved. The window usually disappears, however the global menu remains. Bringing up a hidden launcher in this situation sometimes fails.

Remaining problems:

 * Bringing up the Dash still fails most of the time.

Revision history for this message
David (lofidevops) wrote :

There seems to be an ibus problem with similar symptoms: https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/1276186 (added workaround there, but that workaround doesn't fix this issue).

Changed in unity:
status: New → Confirmed
Revision history for this message
Jason D. (tronman) wrote :

Still affecting me pretty severely, I have all software updates.

I'm using a Nvida Optimus card as well. Occurs with both Nouveau and Nvidia drivers, as reported. I'm using the Intel card with the Nvidia drivers.

Minimize freezes the system about 90% of the time. I have to drop to shell and reboot to get usable system back. Launching Dash freezes the system occasionally as well. As long as I only task switch and show desktop, I'm mostly okay, but it's very irritating. I also disabled all the animations with CompizConfig Settings, but it didn't help much.

Changed in xorg (Ubuntu):
importance: Undecided → Critical
Changed in unity (Ubuntu):
importance: Undecided → Critical
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Please:
1. Report this bug to <https://bugs.freedesktop.org/>.
2. Provide the new report URL here.
2. Set this bug status back to "confirmed".

Thank you.

Changed in unity (Ubuntu):
status: Confirmed → Incomplete
Changed in xorg (Ubuntu):
status: Confirmed → Incomplete
Changed in unity:
status: Confirmed → Incomplete
tags: added: asked-to-upstream
Revision history for this message
In , David (lofidevops) wrote :

Steps to reproduce:

 * Launch Unity desktop session
 * Minimize current window or alt-tab between windows
 * Reveal launcher to click on application
 * Click `Super` to bring up Dash
 * Hold `Super` to bring up Keyboard Shortcuts

What should happen:

Action completes smoothly and quickly.

What happens instead:

 * Action may be slow / animation jerky.
 * Action may stall (animation frozen on given frame, e.g. window partially minimized) - initiating another action cancels first action and second action may succeed (most often calling Guake with F12 seems to solve the issue)
 * Action may freeze - cursor no longer moves - a soft reboot (Alt+PrtScr+REISUB) usually works, otherwise a hard reboot

Notes:

This occurs on Ubuntu 14.04 and 14.10. See https://bugs.launchpad.net/bugs/1314587 for a downstream bug report. It was suggested there that an upstream report would be helpful.

I'm not sure which X.org component this applies to, if there is any additional info I can provide please let me know (also see downstream bug, linked above).

Revision history for this message
David (lofidevops) wrote :

Link to downstream bug report.

Changed in xorg-server:
importance: Undecided → Unknown
status: New → Unknown
Revision history for this message
David (lofidevops) wrote :

Created and linked to https://bugs.freedesktop.org/show_bug.cgi?id=89893 as suggested.

summary: - Windows slow/stall/freeze when minimizing/restoring/etc in Unity 7 14.04
+ Windows slow/stall/freeze when minimizing/restoring/etc in Unity 7
+ (14.04 and 14.10)
Changed in xorg-server:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

@ d❤vid seaward

Thank you.

Changed in unity:
status: Incomplete → Confirmed
Changed in unity (Ubuntu):
status: Incomplete → Triaged
Changed in xorg (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
In , Michel Dänzer (michel-daenzer) wrote :

Please attach the Xorg log file.

Revision history for this message
Juan Simón (simonbcn) wrote :

I use Ubuntu 14.04 64 bits with NVidia propietary drivers (downloaded from Nvidia website).
I have the same problem only when nautilus manages desktop. The workaround for me is "gsettings set org.gnome.desktop.background show-desktop-icons false".

Revision history for this message
In , David (lofidevops) wrote :

Created attachment 115741
Recent xorg log file

Revision history for this message
In , Ilia Mirkin (imirkin) wrote :

There is no mention of nouveau anywhere in here, indications of the other bug are that nouveau vs nvidia doesn't matter, and I see no indication of DRI_PRIME ever getting set. I believe this is miscategorized, it's unclear to me why this is in the fd.o bugtracker at all, sounds like some ubuntu thing.

Changed in xorg-server:
status: Confirmed → Won't Fix
Changed in xorg (Ubuntu):
assignee: nobody → Sushmita (sush-patil-mita)
Revision history for this message
Jaime Pérez (jaime-91) wrote :

I'm having a problem that perhaps is related:

#1527859

Revision history for this message
Alex (identityinvisible) wrote :

I'm also having this issue in Ubuntu 15.10, and can provide logs if needed.

penalvch (penalvch)
no longer affects: xorg (Ubuntu)
Revision history for this message
Martin Pecka (peci1) wrote :

Also related: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/952321 . That one's been 4 years old. Is there really no fix for such an old bug?

Revision history for this message
Luca Osvaldo Mastromatteo (lukycrociato) wrote :

I had this problem with ubuntu-gnome-default-settings installed, I've removed it.

Revision history for this message
Lenin (gagarin) wrote :

This bug still exists with 16.04

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1314587

tags: added: iso-testing
Revision history for this message
Jack Howarth (jwhowarth) wrote :

I see the same problem on Ubuntu 16.10 but using the Oracle virtualbox-5.1 packaging for 5.1.10 works perfectly after installing the dkms package and running /sbin/vboxconfig to generate the kernel modules.

Revision history for this message
Jack Howarth (jwhowarth) wrote :

Why is ubuntu bothering to duplicate the virtualbox packaging when Oracle appears to be both more current and supporting all of the Ubuntu releases in their own repo?

Revision history for this message
Rodrigo Azevedo (rodrigoams) wrote :

I have this problem after upgrading from Ubuntu 16.04 to Ubuntu 16.10

Revision history for this message
Lenin (gagarin) wrote :

Well I guess this bug will disappear with Unity (which will also disappear with 18.04).

Revision history for this message
Lenin (gagarin) wrote :

already 17.10 has gdm3, gnome...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.