Launchpad has imported 16 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=41057.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2011-09-20T22:13:33+00:00 Bryce Harrington wrote: Forwarding this bug from Ubuntu reporter Chris Coulson: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/854986 [Problem] Output probing is traced to causing a multi-second delay during boot. Some experimentation by the reporter and others seeing same/similar issues show that by forcing off disconnected outputs, the boot speed is significantly improved. [Original Report] I've been looking at our session startup time this week, and I've got one of the big delays right down already (bug 854101). However, the next biggest offender is Xorg (when starting a 2d session) - there appears to be a ~5s delay between Xorg starting and the greeter loading. You can see this in the bootchart attached. Looking at the timestamps in my Xorg.0.log shows a pretty big delay just here: [ 15.583] (II) intel(0): Initializing HW Cursor [ 18.030] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message. 18 seconds matches up perfectly on the bootchart with the lightdm greeter starting. ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: xserver-xorg 1:7.6+7ubuntu7 ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4 Uname: Linux 3.0.0-11-generic x86_64 .tmp.unity.support.test.0: ApportVersion: 1.23-0ubuntu1 Architecture: amd64 CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,vpswitch,regex,snap,move,resize,gnomecompat,mousepoll,grid,place,imgpng,unitymtgrabhandles,animation,session,workarounds,wall,fade,scale,expo,ezoom,unityshell] CompositorRunning: None Date: Tue Sep 20 19:58:36 2011 DistUpgraded: Fresh install DistroCodename: oneiric DistroVariant: ubuntu ExtraDebuggingInterest: Yes, whatever it takes to get this fixed in Ubuntu GraphicsCard: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02) (prog-if 00 [VGA controller]) Subsystem: Dell Device [1028:040a] InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901) MachineType: Dell Inc. Latitude E6410 PccardctlIdent: Socket 0: no product info available PccardctlStatus: Socket 0: no card ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-11-generic root=UUID=b2e419c9-361b-45c5-8964-3ee8ca387122 ro quiet splash vt.handoff=7 SourcePackage: xorg UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 02/15/2011 dmi.bios.vendor: Dell Inc. dmi.bios.version: A07 dmi.board.name: 04373Y dmi.board.vendor: Dell Inc. dmi.board.version: A03 dmi.chassis.type: 9 dmi.chassis.vendor: Dell Inc. dmi.modalias: dmi:bvnDellInc.:bvrA07:bd02/15/2011:svnDellInc.:pnLatitudeE6410:pvr0001:rvnDellInc.:rn04373Y:rvrA03:cvnDellInc.:ct9:cvr: dmi.product.name: Latitude E6410 dmi.product.version: 0001 dmi.sys.vendor: Dell Inc. version.compiz: compiz 1:0.9.5.94+bzr20110919-0ubuntu1~ppa1 version.libdrm2: libdrm2 2.4.26-1ubuntu1 version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu7 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1 Reply at: https://bugs.launchpad.net/ubuntu-boot- speed/+bug/854986/comments/4 ------------------------------------------------------------------------ On 2011-09-20T22:15:23+00:00 Bryce Harrington wrote: Created attachment 51426 BootDmesg.txt Reply at: https://bugs.launchpad.net/ubuntu-boot- speed/+bug/854986/comments/5 ------------------------------------------------------------------------ On 2011-09-20T22:15:37+00:00 Bryce Harrington wrote: Created attachment 51427 CurrentDmesg.txt Reply at: https://bugs.launchpad.net/ubuntu-boot- speed/+bug/854986/comments/6 ------------------------------------------------------------------------ On 2011-09-20T22:17:02+00:00 Bryce Harrington wrote: Created attachment 51428 farnsworth-oneiric-20110920-9.png Reply at: https://bugs.launchpad.net/ubuntu-boot- speed/+bug/854986/comments/7 ------------------------------------------------------------------------ On 2011-09-20T22:17:17+00:00 Bryce Harrington wrote: Created attachment 51429 XorgLog.txt Reply at: https://bugs.launchpad.net/ubuntu-boot- speed/+bug/854986/comments/8 ------------------------------------------------------------------------ On 2011-09-20T22:17:30+00:00 Bryce Harrington wrote: Created attachment 51430 Xrandr.txt Reply at: https://bugs.launchpad.net/ubuntu-boot- speed/+bug/854986/comments/9 ------------------------------------------------------------------------ On 2011-09-20T22:37:21+00:00 Bryce Harrington wrote: I had Chris disable disconnected outputs via his /etc/X11/xorg.conf, which brought probing time from ~0.5s to ~0.13s, however it did not affect the Xorg startup time (still ~5sec). Then, having him connect an external monitor and disable eDP1 brought the startup time down to ~3.6 sec. <chrisccoulson> the other big delay seems to be here: <chrisccoulson> [ 11.508] drmOpenDevice: open result is 12, (OK) <chrisccoulson> [ 13.231] drmOpenByBusid: Searching for BusID pci:0000:00:02.0 Not sure what to make of that. Reply at: https://bugs.launchpad.net/ubuntu-boot- speed/+bug/854986/comments/11 ------------------------------------------------------------------------ On 2011-09-20T22:44:09+00:00 Bryce Harrington wrote: User says this is a recently purchased machine; the issue is not known to be a regression. At XDC, Keith Packard indicated that eDP was difficult to support; I'm assuming that's what's to blame here. Reply at: https://bugs.launchpad.net/ubuntu-boot- speed/+bug/854986/comments/12 ------------------------------------------------------------------------ On 2011-09-20T22:51:38+00:00 Chris Wilson wrote: Let's attack this one as being the slightly easy of the two, and hopefully should give some insight into the pair. Can we get an strace of X starting along with a perf report? Something like strace -t -o x.strace X -ac perf record -f -g -a X -ac && perf report | cat > x.perf And see if we capture any obvious clues. Reply at: https://bugs.launchpad.net/ubuntu-boot- speed/+bug/854986/comments/14 ------------------------------------------------------------------------ On 2011-09-20T22:57:25+00:00 Bryce Harrington wrote: We had Chris also test the kernel at http://kernel.ubuntu.com/~sarvatt/macbook-air/, which is keithp's reworking of eDP modesetting. This brought it down to ~2sec with eDP enabled, and also fixed a ~5sec modprobe. Reply at: https://bugs.launchpad.net/ubuntu-boot- speed/+bug/854986/comments/15 ------------------------------------------------------------------------ On 2011-09-20T23:12:53+00:00 Bryce Harrington wrote: <chrisccoulson> bryceh, ah, this is going to be fun. that drm delay only happens at startup, so i can't just run another xserver manually with strace :/ Reply at: https://bugs.launchpad.net/ubuntu-boot- speed/+bug/854986/comments/17 ------------------------------------------------------------------------ On 2011-09-20T23:28:58+00:00 Bryce Harrington wrote: Possibly this is a dupe of https://bugs.freedesktop.org/show_bug.cgi?id=39533#c67 ? Reply at: https://bugs.launchpad.net/ubuntu-boot- speed/+bug/854986/comments/18 ------------------------------------------------------------------------ On 2011-09-20T23:33:04+00:00 Bryce Harrington wrote: For reference, background on the boot speed analysis in general: https://wiki.ubuntu.com/DesktopTeam/11.10/BootSpeedAnalysis Reply at: https://bugs.launchpad.net/ubuntu-boot- speed/+bug/854986/comments/19 ------------------------------------------------------------------------ On 2011-09-21T08:35:06+00:00 Chris Wilson wrote: Ok, eDP has quite a few spurious and long delays that hopefully can be replaced with the shorter delays in the correct places that Keith is working on. I think having adding initcall_debug along with a builtin i915.ko will be most useful then. (That iirc gives the times of each function entry/exit.) Reply at: https://bugs.launchpad.net/ubuntu-boot- speed/+bug/854986/comments/20 ------------------------------------------------------------------------ On 2011-09-27T21:31:15+00:00 Eugeni Dodonov wrote: Also, perhaps it could be related to bug #41059 too? Could you please try with the patches attached to that bug? One of them should fix the problem directly in i915 driver. Another relies on more advanced bit testing carried out by i2c_algo_bit. Both has reduced the display detection delay greatly in my case - from over 4s to 0.366s in the worst case. Reply at: https://bugs.launchpad.net/ubuntu-boot- speed/+bug/854986/comments/23 ------------------------------------------------------------------------ On 2011-10-18T11:02:05+00:00 Eugeni Dodonov wrote: There was no feedback on my question :), but the patch in question which should fix both this and bug #41059 has landed into intel-gfx mailing list. Reply at: https://bugs.launchpad.net/ubuntu-boot- speed/+bug/854986/comments/25 ** Bug watch added: freedesktop.org Bugzilla #39533 https://bugs.freedesktop.org/show_bug.cgi?id=39533 -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/854986 Title: [eDP1] 5 second delay between Xorg starting and the greeter starting (Dell Latitude E6410) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-boot-speed/+bug/854986/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp