logout is slow, profiling reveals lots of CPU time in nouveau_connector_detect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
One Hundred Papercuts |
Fix Released
|
Medium
|
Unassigned | ||
Unity |
Fix Released
|
Medium
|
Unassigned | ||
linux (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
unity (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
xserver-xorg-video-nouveau (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
I'm running Ubuntu 13.10 (Saucy) on a MacbookPro9,1, which has both an Nvidia GeForce GT 650M and an integrated Intel HD Graphics 4000 controller. I boot with EFI and use the Nouveau driver.
On this machine logging out is slow, taking maybe 10 seconds or so. 'top' shows that the X server process uses lots of CPU during logout. I ran sysprof and it attributes much of the CPU time to nouveau_
system_
sys_ioctl [41.90%]
do_vfs_ioctl [41.87%]
drm_ioctl [41.47%]
drm_
drm_
nouveau_
nouveau_
intel_
The percentages above are of the total CPU time used in the shutdown sequence, so I think several seconds of time is being spent in the path above. That doesn't seem right.
---
ApportVersion: 2.10.2-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CompizPlugins: No value set for `/apps/
DistUpgraded: Fresh install
DistroCodename: saucy
DistroRelease: Ubuntu 13.10
DistroVariant: ubuntu
DkmsStatus:
bcmwl, 6.30.223.30+bdcom, 3.9.0-4-generic, x86_64: installed
bcmwl, 6.30.223.30+bdcom, 3.9.0-5-generic, x86_64: installed
bcmwl, 6.30.223.30+bdcom, 3.9.0-6-generic, x86_64: installed
ExtraDebuggingI
GraphicsCard:
Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
Subsystem: Apple Inc. Device [106b:00fb]
NVIDIA Corporation GK107M [GeForce GT 650M Mac Edition] [10de:0fd5] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Apple Inc. Device [106b:00fc]
HibernationDevice: RESUME=
InstallationDate: Installed on 2013-06-10 (5 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130609)
MachineType: Apple Inc. MacBookPro9,1
MarkForUpload: True
NonfreeKernelMo
Package: xserver-
PackageArchitec
ProcEnviron:
TERM=linux
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB:
0 nouveaufb
1 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.109
Tags: saucy saucy ubuntu reproducible
Uname: Linux 3.9.0-6-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 08/08/2012
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP91.88Z.
dmi.board.
dmi.board.name: Mac-4B7AC7E4394
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookPro9,1
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAppleInc
dmi.product.name: MacBookPro9,1
dmi.product.
dmi.sys.vendor: Apple Inc.
version.compiz: compiz 1:0.9.9~
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.45-2ubuntu1
version.
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Sat Jun 15 20:09:48 2013
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)
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.13.3-0ubuntu12
xserver.
Changed in unity: | |
status: | New → Confirmed |
Changed in xserver-xorg-video-nouveau (Ubuntu): | |
importance: | Undecided → Medium |
affects: | unity → ubuntu |
affects: | ubuntu → unity (Ubuntu) |
Changed in unity (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → Medium |
Changed in linux (Ubuntu): | |
status: | Triaged → Invalid |
Changed in xserver-xorg-video-nouveau (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in hundredpapercuts: | |
status: | New → Confirmed |
assignee: | nobody → Paper Cuts Ninja (papercuts-ninja) |
Changed in unity: | |
importance: | Undecided → Medium |
status: | New → Fix Released |
Changed in hundredpapercuts: | |
assignee: | Papercuts Ninjas (papercuts-ninja) → nobody |
importance: | Undecided → Medium |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1191426
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.