[Mesa reverted, not impacting quantal right now] [Quantal] [Intel Atom] Mesa 2012/09/07 updates broke it all

Bug #1047306 reported by Swâmi Petaramesh
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Mesa
Invalid
Medium
mesa (Ubuntu)
Fix Released
Critical
Timo Aaltonen
Quantal
Fix Released
Critical
Timo Aaltonen

Bug Description

I will immediately confirm this as it happens on 2 independent, different, Intel-Atom based netbooks after applying today's (2012/09/07) latest Quantal updates to Unity / Compiz / Xorg.

- Asus EeePC 1005PE running Quantal Beta 1 AMD64

- eMachines eM355 running Quantal Beta 1 32 bit i686

On both machines, LightDM login screen is OK, but as soon as logged in, I get a flickering, completely unusable display. Unity doesn't start (or starts and fails at the same time). No way to launch anything from there. I'm stuck.

That's critical.

( I could finally create this bug report by SSHing into one of the machines and forwarding X. I'm not sure whether it may or may not influence the data attached to this bug report...)

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: unity 6.4.0-0ubuntu4
ProcVersionSignature: Ubuntu 3.5.0-13.14-generic 3.5.3
Uname: Linux 3.5.0-13-generic x86_64
ApportVersion: 2.5.1-0ubuntu7
Architecture: amd64
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
Date: Fri Sep 7 13:42:45 2012
DistUpgraded: 2012-08-29 09:33:42,269 DEBUG enabling apt cron job
DistroCodename: quantal
DistroVariant: ubuntu
GraphicsCard:
 Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller [8086:a011] (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device [1043:83ac]
   Subsystem: ASUSTeK Computer Inc. Device [1043:83ac]
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MachineType: ASUSTeK Computer INC. 1005PE
ProcKernelCmdLine: BOOT_IMAGE=/UBUNTU/@boot/vmlinuz-3.5.0-13-generic root=/dev/mapper/VG1-BTR_POOL ro rootflags=subvol=UBUNTU/@ clocksource=hpet acpi_osi=Linux acpi_backlight=vendor eeepc_laptop.hotplug_disabled=1 quiet splash vt.handoff=7
SourcePackage: unity
UpgradeStatus: Upgraded to quantal on 2012-08-29 (9 days ago)
dmi.bios.date: 06/23/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1202
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: 1005P
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: x.xx
dmi.chassis.asset.tag: 0x00000000
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer INC.
dmi.chassis.version: x.x
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1202:bd06/23/2010:svnASUSTeKComputerINC.:pn1005PE:pvrx.x:rvnASUSTeKComputerINC.:rn1005P:rvrx.xx:cvnASUSTeKComputerINC.:ct10:cvrx.x:
dmi.product.name: 1005PE
dmi.product.version: x.x
dmi.sys.vendor: ASUSTeK Computer INC.
version.compiz: compiz 1:0.9.8.0-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.39-0ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.0~git20120903.e1673d20-0ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.0~git20120903.e1673d20-0ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.13.0-0ubuntu1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.99.99~git20120713.6ef1ad6a-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.20.6-0ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.1-4~ubuntu1

Related branches

CVE References

Revision history for this message
Swâmi Petaramesh (swami-petaramesh) wrote :
Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Swâmi Petaramesh (swami-petaramesh) wrote :

This bug is not fixed by using ppa:unity-team/staging as of today.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I confirm this bug on a 1015PE

tags: added: rls-q-incoming
Changed in unity (Ubuntu):
importance: Undecided → Critical
Revision history for this message
Swâmi Petaramesh (swami-petaramesh) wrote :

@Jean-Baptiste : So please click on "this affects me too" ;-)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Update history on the machine that broke. I kept the update from the 4th, and the machine has been rebooted multiple times since then. It broke after this morning updates.

summary: - [Quantal] [Intel Atom] Unity 2012/09/07 updates broke it all
+ [Quantal] [Intel Atom] Mesa 2012/09/07 updates broke it all
Revision history for this message
Omer Akram (om26er) wrote : Re: [Quantal] [Intel Atom] Mesa 2012/09/07 updates broke it all

That's probably an xorg update that broke it, since things were working quite fine with that version of Unity for me a few days ago.a

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

@Chris: seems that the only relevant update on that day is mesa, can you have a look to it? This intel chipset is not rare… ;)

affects: unity (Ubuntu) → mesa (Ubuntu)
Changed in mesa (Ubuntu):
assignee: nobody → Chris Halse Rogers (raof)
Changed in mesa (Ubuntu Quantal):
milestone: none → ubuntu-12.10-beta-2
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Packages from mesa that have been upgraded:
libglapi-mesa:i386 (9.0~git20120821.c1114c61-0ubuntu2, 9.0~git20120903.e1673d20-0ubuntu1)
libegl1-mesa:i386 (9.0~git20120821.c1114c61-0ubuntu2, 9.0~git20120903.e1673d20-0ubuntu1)
libegl1-mesa-drivers:i386 (9.0~git20120821.c1114c61-0ubuntu2, 9.0~git20120903.e1673d20-0ubuntu1)
libgl1-mesa-dri:i386 (9.0~git20120821.c1114c61-0ubuntu2, 9.0~git20120903.e1673d20-0ubuntu1)
libgl1-mesa-glx:i386 (9.0~git20120821.c1114c61-0ubuntu2, 9.0~git20120903.e1673d20-0ubuntu1)
libopenvg1-mesa:i386 (9.0~git20120821.c1114c61-0ubuntu2, 9.0~git20120903.e1673d20-0ubuntu1)

Revision history for this message
Swâmi Petaramesh (swami-petaramesh) wrote :

One of my 2 machines (eMachines eM355) had JUST been upgraded (started yesterday) from Precise to Quantal Beta1.

Upgraded, rebooted => Worked great

Applied latest set of today's (and possibly yesterday's) updates, rebooted => Failed, *cry*

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Timo won it as the uploader :)

Changed in mesa (Ubuntu Quantal):
assignee: Chris Halse Rogers (raof) → Timo Aaltonen (tjaalton)
Revision history for this message
Swâmi Petaramesh (swami-petaramesh) wrote :

In case it may help, here's the set of updates that broke it on both of my machines

Revision history for this message
Swâmi Petaramesh (swami-petaramesh) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Downgrading to mesa 9.0~git20120821.c1114c61-0ubuntu2 restores the system to a working state.

Revision history for this message
Swâmi Petaramesh (swami-petaramesh) wrote :

Would you mind giving the recipe ? ;-)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

- select your architecture under 'Builds' at https://launchpad.net/ubuntu/quantal/+source/mesa/9.0~git20120821.c1114c61-0ubuntu2
- download the mesa binary packages you upgrades before it broke
- switch to a console (CTRL+ALT+F1), cd to the directory where you downloaded the packages and run:
$ sudo dpkg -i *deb
- read what dpkg tells you and accept if you agree.

Revision history for this message
Swâmi Petaramesh (swami-petaramesh) wrote :

Confirming that installing :

libgl1-mesa-dri_9.0~git20120821.c1114c61-0ubuntu2_amd64.deb libglapi-mesa_9.0~git20120821.c1114c61-0ubuntu2_amd64.deb libgl1-mesa-dri_9.0~git20120821.c1114c61-0ubuntu2_i386.deb libglapi-mesa_9.0~git20120821.c1114c61-0ubuntu2_i386.deb libgl1-mesa-glx_9.0~git20120821.c1114c61-0ubuntu2_amd64.deb libglu1-mesa_9.0~git20120821.c1114c61-0ubuntu2_amd64.deb libgl1-mesa-glx_9.0~git20120821.c1114c61-0ubuntu2_i386.deb libglu1-mesa_9.0~git20120821.c1114c61-0ubuntu2_i386.deb

Gotten from : https://launchpad.net/ubuntu/+source/mesa/9.0~git20120821.c1114c61-0ubuntu2/+build/3747154 and https://launchpad.net/ubuntu/+source/mesa/9.0~git20120821.c1114c61-0ubuntu2/+build/3747157

using "dpkg -i *", fixed my EeePC 1005PE (AMD64 arch)

Installing the "dpkg -i *_i386.deb" only on the eMachines M355 (i686 arch) also fixed it.

Confirming that downgrading :

libgl1-mesa-dri_9.0~git20120821.c1114c61-0ubuntu2
libglapi-mesa_9.0~git20120821.c1114c61-0ubuntu2
libgl1-mesa-glx_9.0~git20120821.c1114c61-0ubuntu2
libglu1-mesa_9.0~git20120821.c1114c61-0ubuntu2

Fixed both of my 2 machines.

That's a strike ;-)

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

please test these packages (32bit packages)

http://koti.kapsi.fi/~tjaalton/lp1047306

Changed in mesa (Ubuntu Quantal):
status: Confirmed → Incomplete
Revision history for this message
Swâmi Petaramesh (swami-petaramesh) wrote :

No time for further tests today ; lost too many hours on this and now I have a big pile of urgent work to do...

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

mesa 9.0~git20120903.e1673d20-0ubuntu2 doesn't fix the issue

Changed in mesa (Ubuntu Quantal):
status: Incomplete → Confirmed
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

We choose to revert it for now

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mesa - 9.0~git20120903.e1673d20.is.git20120821.c1114c61-0ubuntu1

---------------
mesa (9.0~git20120903.e1673d20.is.git20120821.c1114c61-0ubuntu1) quantal; urgency=low

  * Revert to 9.0~git20120821.c1114c61-0ubuntu2, as it's causing some issues
    on netbook configs with no UI after reboot (LP: #1047306)
  * debian/patches/50-CVE-2012-2864.patch:
    add the CVE (samplers array overflow) fix to not reintroduce it
    with the revert
 -- Didier Roche <email address hidden> Fri, 07 Sep 2012 16:15:32 +0200

Changed in mesa (Ubuntu Quantal):
status: Confirmed → Fix Released
Revision history for this message
Jack Leigh (leighman) wrote :

Fixed for me

Revision history for this message
Swâmi Petaramesh (swami-petaramesh) wrote :

Can't test further updates for now, promised my squaw not to install any update on any computer till monday ;-) - Would run in serious trouble otherwise, unless I find a fix for my squaw as well ;-))

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

I'm looking for someone willing to 'bisect' the bad commit. I'd build a set of packages and then the tester would install the packages and report back if it works. This would take at most seven iterations (314 commits to bisect), but likely less.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

reopening since we need to actually fix this.

Jean-Baptiste helped to bisect this down to upstream commit c8a86f717f8e30204c615d06bcec159410ac06c5, thanks!

Changed in mesa (Ubuntu Quantal):
status: Fix Released → In Progress
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I tested the latest builds from http://kernel.ubuntu.com/~tjaalton/lp1047306/ (*~git20120903.e1673d20-0ubuntu2_i386.deb) and they work fine on an EeePC1015PE

Revision history for this message
In , Timo Aaltonen (tjaalton) wrote :

we've bisected a bug in i915_dri.so which was caused by this commit:

commit c8a86f717f8e30204c615d06bcec159410ac06c5
Author: Brian Paul <email address hidden>
Date: Fri Aug 31 08:33:31 2012 -0600

    mesa: move IS_NEGATIVE() and DIFFERENT_SIGNS() to macros.h

and it was discussed briefly on #intel-gfx:

< ickle> let me guess: GLboolean is a char
< ickle> yup.
< ickle> DIFFERENT_SIGNS() always return 0 as (unsigned char)(1<<31) == 0
< ickle> also note that fi_type isn't well defined when sizeof(int)!=4

the downstream bug is

https://bugs.launchpad.net/ubuntu/quantal/+source/mesa/+bug/1047306

causing unity/compiz segfaults with hw using the dri driver. Reverting just that commit was verified to work.

Changed in mesa:
importance: Unknown → Medium
status: Unknown → Confirmed
summary: - [Quantal] [Intel Atom] Mesa 2012/09/07 updates broke it all
+ [Mesa revert because of it, not impacting quantal right now] [Quantal]
+ [Intel Atom] Mesa 2012/09/07 updates broke it all
summary: - [Mesa revert because of it, not impacting quantal right now] [Quantal]
- [Intel Atom] Mesa 2012/09/07 updates broke it all
+ [Mesa reverted, not impacting quantal right now] [Quantal] [Intel Atom]
+ Mesa 2012/09/07 updates broke it all
Revision history for this message
Sascha (skbierm-deactivatedaccount) wrote :
Revision history for this message
Sascha (skbierm-deactivatedaccount) wrote :

Those two screenshotss show a flickering, that very often appears on windows. On 12.04.1 you would instead see a pulsating window while the process seems to not respond for a moment. On 12.10 you get instead a flickering transparent frame around the window, that also seems to remove a part of the panel.

Revision history for this message
Sascha (skbierm-deactivatedaccount) wrote :

The same happens with 3D graphics ... you get occasional effects of transparency

Revision history for this message
Sascha (skbierm-deactivatedaccount) wrote :

Wrong colors ...

Revision history for this message
Sascha (skbierm-deactivatedaccount) wrote :

... or flickering that you might see in one moment the 3D minecraft picture, while in the next moment all is black ... like on this screenshot.

Revision history for this message
František Zatloukal (zatloukal-frantisek) wrote :

I can confirm that minecraft textures are all gray or black. Same situation in some 3D games under wine (Battlefield series on BF2Engine for example).
Mesa 9.0 will be released soon, i hope they'll fix issues and regressions(compared to 8.0.4).

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Sascha, Frantisek: don't hijack bugs, file new ones instead.

Revision history for this message
In , Timo Aaltonen (tjaalton) wrote :

this bug was actually not in 9.0 but only master, we just had a hybrid branch due to either a mistaken merge from master right after 9.0 got branched, or it got branched from an earlier commit that we had pulled from master.

Either way, closing as fixed by f73ffacbf0c65ad.

*** This bug has been marked as a duplicate of bug 54365 ***

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mesa - 9.0~git20120917.7cfd42ce-0ubuntu1

---------------
mesa (9.0~git20120917.7cfd42ce-0ubuntu1) quantal; urgency=low

  * Merge from unreleased debian git. (LP: #1047306)
 -- Timo Aaltonen <email address hidden> Mon, 17 Sep 2012 13:24:35 +0300

Changed in mesa (Ubuntu Quantal):
status: In Progress → Fix Released
Changed in mesa:
status: Confirmed → Invalid
Revision history for this message
rngadam (rngadam) wrote :

I have 9.0~git20120917.7cfd42ce-0ubuntu1 installed on a Lenovo x220i with the same issues (unity won't start even if login screen ok, blue background). i915.

Revision history for this message
rngadam (rngadam) wrote :

Bug report (sorry, I'm browsing from my phone, can't type the URL)

Revision history for this message
rngadam (rngadam) wrote :

After login, the screen stays black (no menus) except for one temperature monitoring applet I've added.

After a bit longer, the crash dialog appears. Pressing report returns something to the effect that the bug already exist. I'm then pointed to:

https://bugs.launchpad.net/bugs/1053454

...but that page does not exist... It does open up a browser which enables me to type this.

I've attempted downgrading to mesa 8.0.2 by apt-get install <package>=<version> for each mesa package to no effect.

Revision history for this message
rngadam (rngadam) wrote :
To post a comment you must log in.