[ffe] unplugging an external monitor from laptop results in corrupted screen. Logging out fixes it.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xf86-video-intel |
Fix Released
|
Medium
|
|||
xserver-xorg-video-intel (Ubuntu) |
Fix Released
|
Medium
|
Chris J Arges |
Bug Description
[Impact]
With updated 13.04 beta, unplugging an external monitor from laptop results in corrupted screen. Logging out fixes it.
A screen capture looks normal (not like what the display is showing!).
Plugging an external monitor in does not produce any similar problem.
[Test Case]
1. On affected hardware, boot with an external monitor connected
2. Unplug the external monitor
Expected behavior: Normal screen
Actual behavior: Screen corruption
[Development Fix]
The fix for this issue is a cherrypick of an upstream patch with a minor change to make it apply to raring. (See comment #56)
The upstream patch is rather large (~228 lines), but half of that is simple code refactoring (moving some common code into functions, moving some functions earlier in their files so they can be referenced in other routines, etc.) For review purposes, a cleaned up (uncleaned up?) version of the patch is available in comment #59, which shows just the functional changes to the code.
[Regression Potential]
The patch originates from an upstream change that has not been part of a release yet, but has gone through upstream review and testing.
This patch primarily *adds* code, and most of that is cleanup code to clear graphics memory and free pointers, which should be quite safe. However, cleanup code can sometimes expose pre-existing bugs (e.g. freeing invalid pointers that otherwise would have been ignored). We don't expect that to happen, though.
A few while loops are added. It does not look like the code could get stuck in those loops, though.
Types of symptoms to look for include X server crashes, gpu lockups, and screen corruption, particularly associated with screen initialization, destruction, or resizing.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: xorg 1:7.7+1ubuntu4
ProcVersionSign
Uname: Linux 3.8.0-13-generic x86_64
.tmp.unity.
ApportVersion: 2.9.2-0ubuntu1
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: compiz
CompositorUnred
CompositorUnred
Date: Wed Mar 20 07:45:34 2013
DistUpgraded: Fresh install
DistroCodename: raring
DistroVariant: ubuntu
DkmsStatus: virtualbox, 4.2.8, 3.8.0-13-generic, x86_64: installed
ExtraDebuggingI
GraphicsCard:
Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02) (prog-if 00 [VGA controller])
Subsystem: Lenovo Device [17aa:21c1]
InstallationDate: Installed on 2013-03-18 (1 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130318)
MachineType: LENOVO 2901CTO
MarkForUpload: True
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/25/2012
dmi.bios.vendor: LENOVO
dmi.bios.version: 6UET69WW (1.49 )
dmi.board.name: 2901CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 2901CTO
dmi.product.
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.9~
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.42-0ubuntu2
version.
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Wed Mar 20 07:41:30 2013
xserver.configfile: default
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.13.3-0ubuntu2b1
xserver.
Related branches
affects: | xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu) |
tags: | added: dual-head |
Changed in xserver-xorg-video-intel (Ubuntu): | |
status: | New → Incomplete |
Changed in xserver-xorg-video-intel: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Changed in xserver-xorg-video-intel (Ubuntu): | |
assignee: | nobody → Chris J Arges (arges) |
importance: | Undecided → Medium |
Changed in xserver-xorg-video-intel: | |
importance: | Unknown → Medium |
status: | Unknown → Incomplete |
Changed in xserver-xorg-video-intel (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in xserver-xorg-video-intel: | |
status: | Incomplete → Fix Released |
Changed in xserver-xorg-video-intel (Ubuntu): | |
assignee: | Timo Aaltonen (tjaalton) → Chris J Arges (arges) |
description: | updated |
Created attachment 70128
broken background picture
When I suspend an undocked T61 with just LCD screen
and I make resume in docking station with attached 2nd
display over standard VGA docking port - I get
damaged background image.
Attaching bad picture grabbed after resume,
and also how it should actually look.
hw: T61, gma965 83365c7530ed544 b562cac478 server- Xorg-1. 13.0-7. fc19.x86_ 64
intel git: d2897cb0136ffec
xorg-x11-