← Back to team overview

dx-packages team mailing list archive

[Bug 1191426] Re: logout is slow, profiling reveals lots of CPU time in nouveau_connector_detect

 

** Changed in: hundredpapercuts
     Assignee: Papercuts Ninjas (papercuts-ninja) => (unassigned)

** Changed in: hundredpapercuts
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1191426

Title:
  logout is slow, profiling reveals lots of CPU time in
  nouveau_connector_detect

Status in One Hundred Papercuts:
  Fix Released
Status in Unity:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “unity” package in Ubuntu:
  Fix Released
Status in “xserver-xorg-video-nouveau” package in Ubuntu:
  Invalid

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_connector_detect, called via the following:

  system_call_fastpath [48.98%]
   sys_ioctl [41.90%]
    do_vfs_ioctl [41.87%]
     drm_ioctl [41.47%]
      drm_mode_getconnector [34.14%]
       drm_helper_probe_single_connector_modes [34.14%]
        nouveau_connector_detect [28.84%]
        nouveau_connector_detect_lvds [3.83%]
        intel_crt_detect [1.48%]

  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/controlC1:  adam       1744 F.... pulseaudio
   /dev/snd/controlC0:  adam       1744 F.... pulseaudio
  CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
  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
  ExtraDebuggingInterest: Yes, including running git bisection searches
  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=UUID=97a27f76-3baf-42fe-b6fc-5bee91c831ca
  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
  NonfreeKernelModules: wl
  Package: xserver-xorg-video-nouveau 1:1.0.8-0ubuntu1
  PackageArchitecture: amd64
  ProcEnviron:
   TERM=linux
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB:
   0 nouveaufb
   1 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.9.0-6-generic root=UUID=3ca362e9-34d3-4c77-8a5a-07ecf66b8619 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.9.0-6.13-generic 3.9.6
  RelatedPackageVersions:
   linux-restricted-modules-3.9.0-6-generic N/A
   linux-backports-modules-3.9.0-6-generic  N/A
   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.00D3.B08.1208081132
  dmi.board.asset.tag: Base Board Asset Tag#
  dmi.board.name: Mac-4B7AC7E43945597E
  dmi.board.vendor: Apple Inc.
  dmi.board.version: MacBookPro9,1
  dmi.chassis.type: 10
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-4B7AC7E43945597E
  dmi.modalias: dmi:bvnAppleInc.:bvrMBP91.88Z.00D3.B08.1208081132:bd08/08/2012:svnAppleInc.:pnMacBookPro9,1:pvr1.0:rvnAppleInc.:rnMac-4B7AC7E43945597E:rvrMacBookPro9,1:cvnAppleInc.:ct10:cvrMac-4B7AC7E43945597E:
  dmi.product.name: MacBookPro9,1
  dmi.product.version: 1.0
  dmi.sys.vendor: Apple Inc.
  version.compiz: compiz 1:0.9.9~daily13.04.18.1~13.04-0ubuntu1
  version.ia32-libs: ia32-libs N/A
  version.libdrm2: libdrm2 2.4.45-2ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 9.1.3-0ubuntu2
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 9.1.3-0ubuntu2
  version.xserver-xorg-core: xserver-xorg-core 2:1.13.3-0ubuntu12
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu2b2
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.1.0-0ubuntu2
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.21.9-0ubuntu2
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.8-0ubuntu1
  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.video_driver: nouveau

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1191426/+subscriptions