i915: screen goes white, red, green or blue during suspend/resume or hibernation

Bug #302421 reported by Colin Ian King
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Low
Colin Ian King
Hardy
Fix Released
Low
Colin Ian King

Bug Description

Hardy kernel: i915 driver does not save/restore the AR and CR registers (AR14 in particular), and the screen goes white, red, green or blue during suspend/resume or hibernate cycles.

This is fixed with upstream commit 39273b58a409cd6d65c9732bdca00bacd1626672 (which flips the ARX register into index mode before restoring the AR registers) and commit a59e122a67b88925944d3bbf33d15229cf0fc3de (fix an off-by one save/restore index bug for the AR and CR registers)

Changed in linux:
assignee: nobody → colin-king
milestone: none → ubuntu-8.04.2
Revision history for this message
Colin Ian King (colin-king) wrote :

Hardy SRU justification:

Impact: i915 video driver: screen goes white, red, green or blue during
suspend/resume or hibernation

Fix: Backport upstream commits 39273b58a409cd6d65c9732bdca00bacd1626672
and a59e122a67b88925944d3bbf33d152

These commits fix flips the ARX register into index mode before
restoring the AR registers fix an off-by one save/restore index bug for
the AR and CR registers.

Testcase: Without the attached patch, the screen occasionally goes
completely white, red, green or blue during suspend/resume and
hibernate. With patch the problem does not occur.

Changed in linux:
importance: Undecided → Low
status: New → Fix Committed
Steve Langasek (vorlon)
Changed in linux:
assignee: nobody → colin-king
importance: Undecided → Low
status: New → Incomplete
status: Incomplete → In Progress
milestone: ubuntu-8.04.2 → none
Revision history for this message
Steve Langasek (vorlon) wrote :

Accepted into hardy-proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in linux:
status: In Progress → Fix Committed
Revision history for this message
Danilo Piazzalunga (danilopiazza) wrote :

I tried performing several hibernate/resume cycles on my machine. The screen used to go white some of the time; now the problem appears to be fixed.

I will perform more testing and report if anything still goes wrong.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

These patches are already available in the 2.6.28-11.42 Jaunty kernel so I'm setting the actively developed linux task to Fix Released. For Hardy the kernel with these patches is still in hardy-proposed so I'll leave the Hardy nomination at Fix Committed. Thanks.

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (5.1 KiB)

This bug was fixed in the package linux - 2.6.24-24.53

---------------
linux (2.6.24-24.53) hardy-proposed; urgency=low

  [Stefan Bader]

  * Rebuild of 2.6.24-24.51 with 2.6.24-23.52 security patches applied.

linux (2.6.24-24.51) hardy-proposed; urgency=low

  [Alessio Igor Bogani]

  * rt: Updated PREEMPT_RT support to rt27
    - LP: #324275

  [Steve Beattie]

  * fix apparmor memory leak on deleted file ops
    - LP: #329489

  [Upstream Kernel Changes]

  * KVM: MMU: Add locking around kvm_mmu_slot_remove_write_access()
    - LP: #335097, #333409
  * serial: 8250: fix shared interrupts issues with SMP and RT kernels
    - LP: #280821
  * 8250.c: port.lock is irq-safe
    - LP: #280821
  * ACPI: Clear WAK_STS on resume
    - LP: #251338

linux (2.6.24-24.50) hardy-proposed; urgency=low

  [Alok Kataria]

  * x86: add X86_FEATURE_HYPERVISOR feature bit
    - LP: #319945
  * x86: add a synthetic TSC_RELIABLE feature bit
    - LP: #319945
  * x86: vmware: look for DMI string in the product serial key
    - LP: #319945
  * x86: Hypervisor detection and get tsc_freq from hypervisor
    - LP: #319945
  * x86: Use the synthetic TSC_RELIABLE bit to workaround virtualization
    anomalies.
    - LP: #319945
  * x86: Skip verification by the watchdog for TSC clocksource.
    - LP: #319945
  * x86: Mark TSC synchronized on VMware.
    - LP: #319945

  [Colin Ian King]

  * SAUCE: Bluetooth USB: fix kernel panic during suspend while streaming
    audio to bluetooth headset
    - LP: #331106

  [James Troup]

  * XEN: Enable architecture specific get_unmapped_area_topdown
    - LP: #237724

  [Stefan Bader]

  * Xen: Fix FTBS after Vmware TSC updates.
    - LP: #319945

  [Upstream Kernel Changes]

  * r8169: fix RxMissed register access
    - LP: #324760
  * r8169: Tx performance tweak helper
    - LP: #326891
  * r8169: use pci_find_capability for the PCI-E features
    - LP: #326891
  * r8169: add 8168/8101 registers description
    - LP: #326891
  * r8169: add hw start helpers for the 8168 and the 8101
    - LP: #326891
  * r8169: additional 8101 and 8102 support
    - LP: #326891
  * Fix memory corruption in console selection
    - LP: #329007

linux (2.6.24-23.52) hardy-security; urgency=low

  [Stefan Bader]
  * rt: Fix FTBS caused by shm changes
    - CVE-2009-0859

  [Steve Beattie]

  * fix apparmor memory leak on deleted file ops
    - LP: #329489

  [Upstream Kernel Changes]

  * NFS: Remove the buggy lock-if-signalled case from do_setlk()
    - CVE-2008-4307
  * sctp: Avoid memory overflow while FWD-TSN chunk is received with bad
    stream ID
    - CVE-2009-0065
  * net: 4 bytes kernel memory disclosure in SO_BSDCOMPAT gsopt try #2
    - CVE-2009-0676
  * sparc: Fix mremap address range validation.
    - CVE-2008-6107
  * copy_process: fix CLONE_PARENT && parent_exec_id interaction
    - CVE-2009-0028
  * security: introduce missing kfree
    - CVE-2009-0031
  * eCryptfs: check readlink result was not an error before using it
    - CVE-2009-0269
  * dell_rbu: use scnprintf() instead of less secure sprintf()
    - CVE-2009-0322
  * drivers/net/skfp: if !capable(CAP_NET_ADMIN): inverted logic
    - CVE-2009-0675
  * Ext4: Fix online res...

Read more...

Changed in linux (Ubuntu Hardy):
status: Fix Committed → Fix Released
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.