← Back to team overview

desktop-packages team mailing list archive

[Bug 1307069] Re: gpu-manager causing long startup delays

 

-        snprintf(command, sizeof(command), "grep -q \"%s: module\" /var/log/syslog",
> +        snprintf(command, sizeof(command), "journalctl -p 4 -k -o cat --no-pager | grep -q \"%s: module\"",

Sorry to be blunt here, but this makes me weep, and this kind of code is
absolutely wrong. What on earth is this trying to do? A C program
calling system() on boot to grep the syslog/journal can't possibly be a
correct solution. If you merely want to check if a module is present/not
present, check if /sys/module/<name> exists/does not exist.

Please let's find a proper solution here.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ubuntu-drivers-common in Ubuntu.
https://bugs.launchpad.net/bugs/1307069

Title:
  gpu-manager causing long startup delays

Status in ubuntu-drivers-common package in Ubuntu:
  Triaged

Bug description:
  I have installing ubuntu 14.04 beta2 and i have update it to latest.
  My computer take 40 seconds for start up from displaying grub until
  displaying LightDM on my SSD. My ubuntu 12.04 only takes up 13 seconds
  for start up on the same SSD.

  reported as bug from question:
  #246899
  https://answers.launchpad.net/ubuntu/+question/246899

  Computer specification:
  Ati Mobility Radeon HD 5650 and using Mesa 10.2 from Oibaf's PPA (the start up time is same as default Gallium Mesa 10.1)
  Processors: Intel Core i5-460M (Arrandale)
  8 GB DDR3 RAM 1333 MHz
  Vendor : Acer Aspire 4745G

  running dmesg | less
  showing:
  intel ips 0000:00:1f.6: ME failed to update for more than 1s, likely hung (many rows)

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: grub2 2.02~beta2-9
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  NonfreeKernelModules: wl
  ApportVersion: 2.14.1-0ubuntu2
  Architecture: i386
  CurrentDesktop: Unity
  Date: Sun Apr 13 11:25:46 2014
  InstallationDate: Installed on 2014-04-07 (5 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Beta i386 (20140326)
  SourcePackage: grub2
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1307069/+subscriptions