UI freeze for up to 10sec when maximizing window
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Invalid
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
unity (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Maximizing a terminal window often takes up to 10 seconds on my system. During this time the mouse cursor can move but the UI is otherwise unresponsive.
To reproduce:
1) Launch a terminal window, e.g. via Ctrl-Alt-T
2) Click the maximize button in the terminal window
Expected results:
Terminal window does fullscreen instantly
Actual results:
Terminal window stays at the original size for up to 10 seconds. During this time no UI elements work (can't switch to a new window, the launcher is unresponsive, etc). The terminal window is eventually drawn full-screen.
This is reproducible about 75% of the time I try to maximize a terminal window. I haven't seen the problem affect windows in other applications. If maximizing a window does not produce the delay, un-maximizing it then re-maximizing it often causes the delay to appear.
This is a recent regression - I believe the freeze/delay was not present in Unity 6.8.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: unity 6.8.0-0ubuntu2
ProcVersionSign
Uname: Linux 3.5.0-17-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 304.43 Sun Aug 19 20:14:03 PDT 2012
GCC version: gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
.proc.driver.
Your system is not currently configured to drive a VGA console
on the primary VGA device. The NVIDIA Linux graphics driver
requires the use of a text-mode VGA console. Use of other console
drivers including, but not limited to, vesafb, may result in
corruption and stability problems, and is not supported.
.tmp.unity.
ApportVersion: 2.6.1-0ubuntu3
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: compiz
Date: Mon Oct 22 10:01:45 2012
DistUpgraded: 2012-08-07 11:19:37,876 DEBUG enabling apt cron job
DistributionCha
DistroCodename: quantal
DistroVariant: ubuntu
DkmsStatus:
nvidia-current, 304.43, 3.5.0-17-generic, x86_64: installed
virtualbox, 4.1.18, 3.5.0-14-generic, x86_64: installed
virtualbox, 4.1.18, 3.5.0-15-generic, x86_64: installed
virtualbox, 4.1.18, 3.5.0-16-generic, x86_64: installed
virtualbox, 4.1.18, 3.5.0-17-generic, x86_64: installed
GraphicsCard:
NVIDIA Corporation G84 [GeForce 8600M GT] [10de:0407] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Apple Inc. Device [106b:00a0]
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
JockeyStatus:
kmod:nvidia_
kmod:nvidia_
kmod:nvidia_
kmod:nvidia_
kmod:nvidia_173 - NVIDIA binary Xorg driver, kernel module and VDPAU library (Proprietary, Disabled, Not in use)
MachineType: Apple Inc. MacBookPro3,1
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: unity
UpgradeStatus: Upgraded to quantal on 2012-08-07 (75 days ago)
dmi.bios.date: 03/05/08
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP31.88Z.
dmi.board.
dmi.board.name: Mac-F4238BC8
dmi.board.vendor: Apple Inc.
dmi.board.version: PVT
dmi.chassis.
dmi.chassis.type: 2
dmi.chassis.vendor: Apple Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAppleInc
dmi.product.name: MacBookPro3,1
dmi.product.
dmi.sys.vendor: Apple Inc.
version.compiz: compiz 1:0.9.8.4-0ubuntu3
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.39-0ubuntu1
version.
version.
version.
version.
version.
version.
version.
version.
version.
Changed in unity: | |
status: | New → Confirmed |
I sampled a few call stacks of the slowdown using gdb. It looks like the system is spending a lot of time in the NVIDIA driver, called from libpixman-1-0's fetch_and_ convert_ pixel. I've attached a representative stack trace from GDB, with pixman debug symbols.