[q35] gnome-terminal slow to start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xserver-xorg-video-intel (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: xorg
Starting up gnome-terminal is slow (around half a second), even when hot-starting, while it was immediate in 10.04.
I did some strace-ing (logs attached below) and the culprit is a 400ms long read() on the X socket. I file this bug in xorg because it's probably caused by the intel Q35 (GMA3100) driver which is known to be particularly broken in maverick in dual screen setups (missing secondary screen #619663, regular freezes #628556, various graphical corruptions, ...)
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: xorg 1:7.5+6ubuntu3
ProcVersionSign
Uname: Linux 2.6.35-25-generic x86_64
Architecture: amd64
DRM.card0.DVI.D.1:
status: connected
enabled: enabled
dpms: On
modes: 1680x1050 1280x1024 1280x1024 1152x864 1024x768 1024x768 800x600 800x600 640x480 640x480 720x400
edid-base64: AP/////
DRM.card0.VGA.1:
status: connected
enabled: enabled
dpms: On
modes: 1680x1050 1280x1024 1280x1024 1152x864 1024x768 1024x768 800x600 800x600 640x480 640x480 720x400
edid-base64: AP/////
Date: Mon Feb 7 15:43:07 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: Hewlett-Packard HP Compaq dc7800 Small Form Factor
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: xorg
Symptom: display
dmi.bios.date: 07/18/2007
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 786F1 v01.04
dmi.board.
dmi.board.name: 0AA8h
dmi.board.vendor: Hewlett-Packard
dmi.chassis.
dmi.chassis.type: 4
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-
dmi.product.name: HP Compaq dc7800 Small Form Factor
dmi.sys.vendor: Hewlett-Packard
glxinfo: Error: [Errno 2] No such file or directory
system:
distro: Ubuntu
codename: maverick
architecture: x86_64
kernel: 2.6.35-25-generic
[lspci]
00:02.0 VGA compatible controller [0300]: Intel Corporation 82Q35 Express Integrated Graphics Controller [8086:29b2] (rev 02) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device [103c:2818]
affects: | xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu) |
description: | updated |
Changed in xserver-xorg-video-intel (Ubuntu): | |
status: | New → Incomplete |
summary: |
- gnome-terminal slow to start + [q35] gnome-terminal slow to start |
Interesting lines in strace log :
0.000130 poll([{fd=3, events= POLLIN| POLLOUT} ], 1, -1) = 1 ([{fd=3, revents=POLLOUT}]) 0\0\0\0\ 0c\3\300\ 5\0\0\0\ 0\0\0\0\ 0\0\0\0\ 0\0\0\0\ 0\0\0\0\ 0", 4096) = 32 POLLIN| POLLOUT} ], 1, -1) = 1 ([{fd=3, revents=POLLOUT}]) 0\0\0\0\ 0c\3\300\ 5\0\0\0\ 0\0\0\0\ 0\0\0\0\ 0\0\0\0\ 0\0\0\0\ 0", 4096) = 32
0.000062 writev(3, [{"+\0\1\0", 4}, {NULL, 0}, {"", 0}], 3) = 4
0.000048 poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
0.398729 read(3, "\1\2}\
0.000058 read(3, 0xfb47f4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
0.000057 poll([{fd=3, events=
0.000036 writev(3, [{"+\0\1\0", 4}, {NULL, 0}, {"", 0}], 3) = 4
0.000042 poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
0.000061 read(3, "\1\2~\
0.000041 read(3, 0xfb47f4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
the first read() is very long ... the #3 fd is the X socket as can be seen above in the log.