Display corrupts and flashes when changing resolution on GMA X3000

Bug #949130 reported by cheebee9
58
This bug affects 10 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
High
Unassigned
Precise
Fix Released
High
Chris J Arges
Quantal
Fix Released
High
Unassigned

Bug Description

SRU Justification:

Impact:
Users with an Intel GMA X3000 graphics card experience display corruption when using Precise. This occurs when there is a resolution change.

Fix:
Commit c7bd4c25650704d4d065eb4ce2a122d2a80ce804 fixes this issue, and is currently in Quantal. Cherry-picking this patch causes the display to work properly even after extensive resolution changes.

Testcase:
Change resolution repeatedly using xrandr on a computer with the Intel GMA X3000 graphics card. Check for display corruption.

--

Hi,

changing the display resolution or refresh rate (the latter only with 'xrandr') causes irreversible screen crash. The screen is running, flashing, and I can't able to follow anything in this rush. Hard reset helps.

My experiences with Ubuntu 10.10 and 11.10 are good. Both systems can handle display resolution changes immaculately.

Configuration:
Ubuntu 12.04 beta 1

Intel® Core 2 Duo E4500
Intel® G965 / ICH8 Chipset
Intel® GMA X3000

Samsung SyncMaster 932GW, connected with standard VGA.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xorg 1:7.6+10ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-18.28-generic-pae 3.2.9
Uname: Linux 3.2.0-18-generic-pae i686
.tmp.unity.support.test.0:

ApportVersion: 1.94-0ubuntu2
Architecture: i386
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,place,move,session,regex,mousepoll,gnomecompat,imgpng,wall,resize,vpswitch,snap,grid,unitymtgrabhandles,animation,workarounds,expo,ezoom,fade,scale,unityshell]
CompositorRunning: compiz
CurrentDmesg: [ 31.104017] eth0: no IPv6 routers present
Date: Wed Mar 7 17:04:08 2012
DistUpgraded: Log time: 2012-03-07 16:54:15.961752
DistroCodename: precise
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 Intel Corporation 82G965 Integrated Graphics Controller [8086:29a2] (rev 02) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device [1043:81ea]
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120301)
MachineType: System manufacturer System Product Name
ProcEnviron:
 TERM=xterm
 LANG=hu_HU.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-18-generic-pae root=UUID=980a6430-fba9-4774-9156-7fe693e94b42 ro quiet splash vt.handoff=7
SourcePackage: xorg
UpgradeStatus: Upgraded to precise on 2012-03-07 (0 days ago)
dmi.bios.date: 05/22/2007
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0510
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5B-VM
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0510:bd05/22/2007:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5B-VM:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
version.compiz: compiz 1:0.9.7.0~bzr2995-0ubuntu5
version.libdrm2: libdrm2 2.4.30-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.1-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.1-0ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.99.901+git20120126-0ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2
---
.tmp.unity.support.test.0:

ApportVersion: 1.94-0ubuntu2
Architecture: i386
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,place,move,session,regex,mousepoll,gnomecompat,imgpng,wall,resize,vpswitch,snap,grid,unitymtgrabhandles,animation,workarounds,expo,ezoom,fade,scale,unityshell]
CompositorRunning: compiz
CurrentDmesg: [ 32.160035] eth0: no IPv6 routers present
DistUpgraded: Log time: 2012-03-07 16:54:15.961752
DistroCodename: precise
DistroRelease: Ubuntu 12.04
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 Intel Corporation 82G965 Integrated Graphics Controller [8086:29a2] (rev 02) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device [1043:81ea]
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120301)
MachineType: System manufacturer System Product Name
Package: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
PackageArchitecture: i386
ProcEnviron:
 TERM=xterm
 LANG=hu_HU.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-18-generic-pae root=UUID=980a6430-fba9-4774-9156-7fe693e94b42 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.2.0-18.28-generic-pae 3.2.9
Tags: precise ubuntu regression reproducible compiz-0.9
Uname: Linux 3.2.0-18-generic-pae i686
UpgradeStatus: Upgraded to precise on 2012-03-07 (4 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 05/22/2007
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0510
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5B-VM
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0510:bd05/22/2007:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5B-VM:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
version.compiz: compiz 1:0.9.7.0~bzr2995-0ubuntu5
version.libdrm2: libdrm2 2.4.30-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.1-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.1-0ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.99.901+git20120126-0ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote :
description: updated
Timo Aaltonen (tjaalton)
affects: xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
bugbot (bugbot)
tags: added: crash
tags: added: resolution
Revision history for this message
Bryce Harrington (bryce) wrote :

Please collect a full backtrace on this crash - see http://wiki.ubuntu.com/X/Backtracing for guidance.

Changed in xserver-xorg-video-intel (Ubuntu):
importance: Undecided → High
status: New → Incomplete
Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote : BootDmesg.txt

apport information

tags: added: apport-collected reproducible
description: updated
Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote : BootLog.gz

apport information

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote : Dependencies.txt

apport information

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote : DpkgLog.txt

apport information

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote : GconfCompiz.txt

apport information

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote : LightdmLog.txt

apport information

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote : Lspci.txt

apport information

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote : Lsusb.txt

apport information

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote : MonitorsUser.xml.txt

apport information

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote : ProcInterrupts.txt

apport information

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote : ProcModules.txt

apport information

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote : UdevDb.txt

apport information

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote : UdevLog.txt

apport information

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote : UnitySupportTest.txt

apport information

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote : XorgLog.txt

apport information

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote : XorgLogOld.txt

apport information

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote : Xrandr.txt

apport information

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote : xdpyinfo.txt

apport information

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote : Re: Display crashes, when changing resolution on GMA X3000

I think this is some kind of driver-problem, so I can't make it trackable automatically with Apport. I does an "apport-collect" again for the "xserver-xorg-video-intel" package, and I made a video from this bug:

http://youtu.be/UuL9zjaGakM

It seems, the system is working along the bug, and responding to the mouse. But its really hard to find anything on the screen, just like the shutdown menu.

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

Ah, that's not really a 'crash'

summary: - Display crashes, when changing resolution on GMA X3000
+ Display corrupts and flashes when changing resolution on GMA X3000
Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → New
Revision history for this message
Bryce Harrington (bryce) wrote :

You mentioned in the description that you reproduced it using xrandr; please provide the command line you used to reproduce it there.

Enable modesetting debugging; one way to do this is run 'sudo xdiagnose', it's the first checkbox. Reboot, reproduce the bug, and then collect 'sudo dmesg > dmesg.txt' and attach here.

Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Incomplete
Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote :

New:

In the description (the latter only with 'xrandr') I used 'xrandr' from the Ubuntu Startup, to set the refresh rate in every login. This can cause problem, like the Display Properties panel and the resolution changing with it also.

BUT:

If I use 'xrandr' from the terminal, the resolution/refresh rate changing works without problems (only minor GUI bugs, like disappearing top panels, etc...).

Attachments below.

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

Thanks, what was the exact xrandr command line that you used in these cases?

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote :

Startup:
xrandr -r 75

Terminal (test):
xrandr -s 1280x960 -r 60

bugbot (bugbot)
tags: added: corruption
Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote :

This bug also exists In the final release of Ubuntu 12.04.

Revision history for this message
candtalan (aeclist) wrote :

I raised a bug which I think is a duplicate of this bug. Mine is #993405 and is now marked as a duplicate of this bug.
In my machine (details at my bug entry) the display got impossible and I was considering a reinstall, but I then remembered I had used nomodeset successfully on other old machines.

I used nomodeset and it worked! :-)

This is in a machine in which the 12.04 desktop 32 bit live cd worked fine! even apparently using 3D also. However, after install, I think 3D was no longer available, and although the default high resolution of the display worked ok, the user wanted a lower res (!) and it was after choosing lower res that the display really screwed up, and there was no going back (doh!)
At least I could not find a way.
But use of nomodeset in the boot string (grub menu visible, press e, and add nomodeset in appropriate place)
and then making the change permanent /etc/default/grub (add nomodeset appropriately, and then update-grub)
all worked.
So although for me this bug was a complete show stopper, the nomodeset workaround means I now have no more problem.

Revision history for this message
Julián Landerreche (maniqui) wrote :

On Xubuntu 12.04, screen crashed exactly like shown on this video: http://www.youtube.com/watch?v=UuL9zjaGakM&feature=youtu.be.
It only happened _after_ I logged out & tried to log in from login screen.
It didn't happened right after booting, where user is logged in automatically (without prompting user for password).

A similar solution to the one suggested by candtalan (just above this post) worked for me:

In a terminal type

sudo nano /etc/default/grub
find the line

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

change it to

GRUB_CMDLINE_LINUX_DEFAULT="i915.modeset=0 quiet splash"

Type CTRL O to write the file Type CTRL X to exit
Then type

sudo update-grub
-----
Taken from here:
http://askubuntu.com/a/37679/72828

Revision history for this message
Arm_ (honeypot0164) wrote :

same problem.
addition to occur during the change of resolution, occasionally also occurs at log-in

Revision history for this message
helpdeskdan (helpdeskdan-gmail) wrote :

Exact same problem as on youtube video, workaround of i915.modeset is effective but not desirable as refresh rate is no longer configurable.

Many thanks to CheeBee9 and Julián Landerreche for posting the video and solution of problem. Also, thank you for assigning high importance to this bug.

Revision history for this message
Arm_ (honeypot0164) wrote :

workaround of i915.modeset is effective, but disable gnome-shell and 3D acceleration

when it happens, I lose even the virtual console (ctrl + F1, Ctrl + F2, etc ...), so it is impossible to work on computers.
To avoid the hardware reset I have to log in and issue the command to reboot without seeing.

I might try to login via ssh from another machine, but once you do not know what to watch. What might be useful to developers?

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote :

Problem already exists in the 12.04.1 update.

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote :

NEWS:

Problem looks like solved in 12.10 Beta 2!

Tried out all of the resolutions and changing refresh rate with 'xrandr' done successfully!

Revision history for this message
Chris J Arges (arges) wrote :

This fix is present in Quantal and not in Precise. Working on the backport of a patch for Precise.

Changed in xserver-xorg-video-intel (Ubuntu):
assignee: nobody → Chris J Arges (christopherarges)
status: Confirmed → In Progress
affects: xserver-xorg-video-intel (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
assignee: Chris J Arges (christopherarges) → nobody
assignee: nobody → Chris J Arges (christopherarges)
Changed in linux (Ubuntu Precise):
assignee: nobody → Chris J Arges (christopherarges)
Changed in linux (Ubuntu):
assignee: Chris J Arges (christopherarges) → nobody
Changed in linux (Ubuntu Precise):
importance: Undecided → High
Changed in linux (Ubuntu):
status: In Progress → Fix Released
Changed in linux (Ubuntu Precise):
status: New → In Progress
Revision history for this message
Chris J Arges (arges) wrote :

Can somebody verify that the following kernel fixes the issue:
http://people.canonical.com/~arges/lp949130/
Thanks

Chris J Arges (arges)
description: updated
Revision history for this message
Chris J Arges (arges) wrote :

I have verified this with someone who could reproduce this issue.

Revision history for this message
cheebee9 (cheebee9-deactivatedaccount) wrote :

I installed the kernel you attached and working perfectly on a fresh install of 12.04 LTS.

Tim Gardner (timg-tpi)
Changed in linux (Ubuntu Precise):
status: In Progress → Fix Committed
Revision history for this message
Luis Henriques (henrix) wrote :

This bug is awaiting verification that the kernel for Precise in -proposed solves the problem (3.2.0-33.52). Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-precise' to 'verification-done-precise'.

If verification is not done by one week from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-precise
Revision history for this message
Eric Williams (eric-canonical) wrote :

Tested under Precise, issue resolved.

Thanks,
Eric

tags: added: verification-done-precise
removed: verification-needed-precise
Revision history for this message
Arm_ (honeypot0164) wrote :

now it works. Thank you!

Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (9.1 KiB)

This bug was fixed in the package linux - 3.2.0-33.52

---------------
linux (3.2.0-33.52) precise-proposed; urgency=low

  [Luis Henriques]

  * Release Tracking Bug
    - LP: #1067666

  [ Andy Whitcroft ]

  * [Config] add fs/udf to linux-image to support DVD/CD formats in virtual
    instances
    - LP: #1066921

  [ James M Leddy ]

  * SAUCE: input: fix weird issue of synaptics psmouse sync lost after
    resume
    - LP: #717970

  [ Paolo Pisati ]

  * [SRU] [Config] enable TIDSPBRIDGE for omap arm[el|hf] flavours
    - LP: #1058022

  [ Sarveshwar Bandi ]

  * SAUCE: bridge: Pull ip header into skb->data before looking into ip
    header.
    - LP: #1065150

  [ Upstream Kernel Changes ]

  * Revert "drm/radeon: rework pll selection (v3)"
    - LP: #1065047
  * sched: Fix migration thread runtime bogosity
    - LP: #1057593
  * Bluetooth: Add support for Sony Vaio T-Series
    - LP: #1054307
  * drm/radeon: properly handle mc_stop/mc_resume on evergreen+ (v2)
    - LP: #1058303
  * Bluetooth: Use USB_VENDOR_AND_INTERFACE() for Broadcom devices
    - LP: #1058303
  * Bluetooth: Add USB_VENDOR_AND_INTERFACE_INFO() for Broadcom/Foxconn
    - LP: #1030233, #1058303
  * target: Fix ->data_length re-assignment bug with SCSI overflow
    - LP: #1065047
  * ASoC: samsung dma - Don't indicate support for pause/resume.
    - LP: #1065047
  * fs/proc: fix potential unregister_sysctl_table hang
    - LP: #1065047
  * mm/ia64: fix a memory block size bug
    - LP: #1065047
  * nbd: clear waiting_queue on shutdown
    - LP: #1065047
  * drivers/rtc/rtc-twl.c: ensure all interrupts are disabled during probe
    - LP: #1065047
  * mm/page_alloc: fix the page address of higher page's buddy calculation
    - LP: #1065047
  * memory hotplug: fix section info double registration bug
    - LP: #1065047
  * cciss: fix handling of protocol error
    - LP: #1065047
  * vfs: dcache: use DCACHE_DENTRY_KILLED instead of DCACHE_DISCONNECTED in
    d_kill()
    - LP: #1065047
  * workqueue: reimplement work_on_cpu() using system_wq
    - LP: #1065047
  * cpufreq/powernow-k8: workqueue user shouldn't migrate the kworker to
    another CPU
    - LP: #1065047
  * sched: Fix ancient race in do_exit()
    - LP: #1065047
  * hpwdt: Fix kdump issue in hpwdt
    - LP: #1065047
  * rtlwifi: rtl8192ce: Log message that B_CUT device may not work
    - LP: #1065047
  * brcmfmac: fix big endian bug in i-scan.
    - LP: #1065047
  * brcmfmac: Fix big endian host configuration data.
    - LP: #1065047
  * dmaengine: at_hdmac: fix comment in atc_prep_slave_sg()
    - LP: #1065047
  * dmaengine: at_hdmac: check that each sg data length is non-null
    - LP: #1065047
  * ARM: 7532/1: decompressor: reset SCTLR.TRE for VMSA ARMv7 cores
    - LP: #1065047
  * drm/i915: Reduce a pin-leak BUG into a WARN
    - LP: #1065047
  * bnx2i: Fixed NULL ptr deference for 1G bnx2 Linux iSCSI offload
    - LP: #1065047
  * mpt2sas: Fix for issue - Unable to boot from the drive connected to HBA
    - LP: #1065047
  * hwmon: (ads7871) Add 'name' sysfs attribute
    - LP: #1065047
  * DMA: PL330: Check the pointer returned by kzalloc
    - LP: #1065047
  * hpsa: fix handling of protocol error
    -...

Read more...

Changed in linux (Ubuntu Precise):
status: Fix Committed → Fix Released
Revision history for this message
helpdeskdan (helpdeskdan-gmail) wrote :

It works - Thank you!

To post a comment you must log in.