[Bug 1157678] Re: [ffe] unplugging an external monitor from laptop results in corrupted screen. Logging out fixes it.
I confirm that the patch fixes the issue for me. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1157678] Re: [ffe] unplugging an external monitor from laptop results in corrupted screen. Logging out fixes it.
It arrived in raring updates and works on my system. Thank you. Same here, thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1157678] Re: [ffe] unplugging an external monitor from laptop results in corrupted screen. Logging out fixes it.
It arrived in raring updates and works on my system. Thank you. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1157678] Re: [ffe] unplugging an external monitor from laptop results in corrupted screen. Logging out fixes it.
I happened to reproduce this myself while testing another bug, so if you don't mind I'll just steal the bug :) committed the patch to my local git tree, will push later today. ** Changed in: xserver-xorg-video-intel (Ubuntu) Assignee: Chris J Arges (arges) = Timo Aaltonen (tjaalton) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1157678] Re: [ffe] unplugging an external monitor from laptop results in corrupted screen. Logging out fixes it.
** Changed in: xserver-xorg-video-intel (Ubuntu) Assignee: Timo Aaltonen (tjaalton) = Chris J Arges (arges) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1157678] Re: [ffe] unplugging an external monitor from laptop results in corrupted screen. Logging out fixes it.
The original patch is large due to some code refactoring. Here is a more minimal patch that just shows the functional changes without the refactoring. You can see the patch: a) Adds a routine to check the scanout size b) Adds code to cleanup the large_inactive and scanout lists in a couple places c) Loops the check for pending events ** Patch added: sna-flush-scanout-cache-after-resizing.patch https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1157678/+attachment/3648585/+files/sna-flush-scanout-cache-after-resizing.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1157678] Re: [ffe] unplugging an external monitor from laptop results in corrupted screen. Logging out fixes it.
** 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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1157678 Title: [ffe] unplugging an external monitor from
[Bug 1157678] Re: [ffe] unplugging an external monitor from laptop results in corrupted screen. Logging out fixes it.
I just accepted xserver-xorg-video-intel, but put a britney block in place for it. It looks like a good, but not essential for release fix. If there's no opportunity to copy it in, then it can be an SRU. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1157678] Re: [ffe] unplugging an external monitor from laptop results in corrupted screen. Logging out fixes it.
Now that the package is built in raring-proposed, could someone who is experiencing the problem verify that the update solves the problem (like we would do for an SRU)? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1157678] Re: [ffe] unplugging an external monitor from laptop results in corrupted screen. Logging out fixes it.
I've installed the package and it fixes the issue! I used the original xrandr command I used to reproduce the issue as well as plugged in and out the external VGA connector. I also suspended my laptop and repeated the tests. One note, the changelog should say [ Chris Wilson], instead of my name since he's the author of the patch. I merly produced the initial backport, and Bryce cleaned up and produced the final backport. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1157678] Re: [ffe] unplugging an external monitor from laptop results in corrupted screen. Logging out fixes it.
Thanks for verifying. I've unblocked it so it will go into raring. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1157678] Re: [ffe] unplugging an external monitor from laptop results in corrupted screen. Logging out fixes it.
This bug was fixed in the package xserver-xorg-video-intel - 2:2.21.6-0ubuntu4 --- xserver-xorg-video-intel (2:2.21.6-0ubuntu4) raring-proposed; urgency=low [Chris Arges] * Add sna-flush-scanout-cache-after-resizing.patch: Flush the scanout cache after resizing the display. Fixes a problem that occurs e.g. when unplugging an external display, suspend/resume, etc. by ensuring the scanout cache is properly sized. (LP: #1157678) -- Bryce Harrington br...@ubuntu.com Fri, 19 Apr 2013 11:12:14 -0700 ** Changed in: xserver-xorg-video-intel (Ubuntu) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1157678] Re: [ffe] unplugging an external monitor from laptop results in corrupted screen. Logging out fixes it.
** Changed in: xserver-xorg-video-intel Status: Incomplete = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1157678] Re: [ffe] unplugging an external monitor from laptop results in corrupted screen. Logging out fixes it.
** Changed in: xserver-xorg-video-intel (Ubuntu) Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1157678] Re: [ffe] unplugging an external monitor from laptop results in corrupted screen. Logging out fixes it.
The attachment 0001-sna-Flush-the-scanout-cache-after-resizing-the- displ.patch seems to be a patch. If it isn't, please remove the patch flag from the attachment, remove the patch tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs