** Description changed:

+ [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
  ProcVersionSignature: Ubuntu 3.8.0-13.23-generic 3.8.3
  Uname: Linux 3.8.0-13-generic x86_64
  .tmp.unity.support.test.0:
-  
+ 
  ApportVersion: 2.9.2-0ubuntu1
  Architecture: amd64
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: compiz
  CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
  CompositorUnredirectFSW: true
  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
  ExtraDebuggingInterest: Yes, if not too technical
  GraphicsCard:
-  Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] 
(rev 02) (prog-if 00 [VGA controller])
-    Subsystem: Lenovo Device [17aa:21c1]
+  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=/boot/vmlinuz-3.8.0-13-generic 
root=UUID=fcf8343d-2c1d-4f25-ab52-876891045ee9 ro quiet splash vt.handoff=7
  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.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: 
dmi:bvnLENOVO:bvr6UET69WW(1.49):bd04/25/2012:svnLENOVO:pn2901CTO:pvrThinkPadT410s:rvnLENOVO:rn2901CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 2901CTO
  dmi.product.version: ThinkPad T410s
  dmi.sys.vendor: LENOVO
  version.compiz: compiz 1:0.9.9~daily13.03.08-0ubuntu1
  version.ia32-libs: ia32-libs N/A
  version.libdrm2: libdrm2 2.4.42-0ubuntu2
  version.libgl1-mesa-dri: libgl1-mesa-dri 9.0.3-0ubuntu1
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 9.0.3-0ubuntu1
  version.xserver-xorg-core: xserver-xorg-core 2:1.13.3-0ubuntu2b1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu2b2
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.1.0-0ubuntu1b1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.21.4-0ubuntu1b1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:1.0.6-0ubuntu3b1
  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.video_driver: intel

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-intel in Ubuntu.
https://bugs.launchpad.net/bugs/1157678

Title:
  [ffe] unplugging an external monitor from laptop results in corrupted
  screen.  Logging out fixes it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/1157678/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to