vbetool should not be called on -intel when KMS is in use

Bug #372480 reported by Bryce Harrington
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
Fix Released
High
Unassigned
pm-utils (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: acpi-support

jbarnes reports that vbetool can cause weird register resets on certain Intel graphics chipsets.

<jbarnes> bryce: more evidence of vbetool fail
 bryce: running it will cause interrupts to break on some machines, leading to rendering hangs
<jbarnes> bryce: fdo bug 20896
<ubottu> Freedesktop bug 20896 in DRM/Intel "[GM965 KMS] X does not draw untill mouse is moved. Probably IRQ problems" [Major,New] http://bugzilla.freedesktop.org/show_bug.cgi?id=20896
<bryce> ah yes, acpi-support calls vbetool
 ./resume.d/55-screen.sh: vbetool dpms on
 ./resume.d/15-video-post.sh: vbetool post
 ./suspend.d/90-framebuffer-stop.sh: vbetool dpms off
<jbarnes> I don't think all vbioses do it
 also it mainly affects kms apparently
 due to the ordering of irq enable
<jbarnes> symptoms would have been "all rendering stops"
 mouse movement or some other interrupt source may have allowed it to continue
 but that's config dependent I think

So it sounds like the calls to vbetool ought to be conditionalized such that they are not used if KMS is enabled and the system has an -intel graphics card.

Revision history for this message
Bryce Harrington (bryce) wrote :

Setting to High importance with milestone since this is a KMS-related issue, which should probably be investigated for Karmic.

Changed in acpi-support (Ubuntu):
importance: Undecided → High
milestone: none → karmic-alpha-1
Revision history for this message
Steve Langasek (vorlon) wrote :

In karmic, acpi-support no longer ships its own suspend/resume handling at all, so this must already be fixed.

Changed in acpi-support (Ubuntu):
status: New → Fix Released
Revision history for this message
Carey Underwood (cwillu) wrote :

pm-utils still makes calls out to vbetool

chmod -x `which vbetool` unbroke my suspend after enabling kms.

Revision history for this message
Carey Underwood (cwillu) wrote :

Disregard: correlation did not imply causation :(

Changed in pm-utils (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.