Massive performance hit after disabling VGA with -intel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
High
|
Alberto Milone | ||
Karmic |
Fix Released
|
High
|
Unassigned |
Bug Description
This is a tracking bug for an SRU proposal for Karmic.
This problem was reported in a private OEM bug report for Dell and has been solved by upstream.
Description:
drm/i915: Fix sync to vblank when VGA output is turned off
In current vblank-wait implementation, if we turn off VGA output,
drm_wait_vblank will still wait on the disabled pipe until timeout,
because vblank on the pipe is assumed be enabled. This would cause
slow system response on some system such as moblin.
Steps to reproduce:
The problem can be reproduced with modern Intel gpus such as i945, i965, etc. and affects only VGA connectors. Typing the following commands will enable and disable an external screen through VGA thus triggering the bug and causing a massive slowdown:
xrandr --output VGA1 --auto
xrandr --output VGA1 --off
The bug is a regression in the drm code.
The patch is in the drm-intel branch and in the linux-next branch. Here's a link to the commit in drm-intel:
http://
I have applied (and slightly adapted, as it didn't apply cleanly) and tested the attached patch successfully.
I deem it very important for both OEM projects and for the Ubuntu desktop that we include this patch in Karmic and Lucid ASAP.
Related branches
Changed in linux (Ubuntu): | |
assignee: | nobody → Alberto Milone (albertomilone) |
description: | updated |
description: | updated |
tags: | added: kernel-series-unknown |
tags: |
added: 2.6.32 karmic lucid removed: kernel-series-unknown |
The patch is applied to Karmic and sent to stable (as Lucid will require it as well). We need to check whether it arrives with some of the future stable updates to 2.6.32 before Lucid release.