[regression] compiz crashes after Mesa upgrade

Bug #1735594 reported by Falk Bay on 2017-12-01
430
This bug affects 106 people
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
Undecided
Timo Aaltonen
Xenial
Undecided
Unassigned
Artful
Undecided
Unassigned

Bug Description

[Impact]
When I use the Unity session I automatically get logged out under these conditions:

    When I hover with my mouse over any icon of the sidebar.
    When I press the alt key.
    When I press the super key.

running dmesg after this unwanted logout happens I get following information:

compiz[10616]: segfault at 0 ip 00007fbca309feeb sp 00007fff5f59a4d0 error 4 in i965_dri.so[7fbca2af6000+7e4000]

This is caused by a mesa upgrade, which added a patch for bug #1727401. The crasher is reproduced on:
- gen4 / gen5 Intel
- if using modesetting X driver, like when xserver-xorg-video-intel is not installed, or the HWE stack is installed (xserver-xorg-core-hwe-16.04 defaults to modesetting)

[Test case]
Log in to Unity, open the dash or try to log out etc. Compiz shouldn't crash.

[Regression potential]
The backported patches need to be tested, here for regressions and on 1727401 that they fix the original bug (again).

Best to test on a wide array of Intel HW:
gen4 (965GM/GM45/G45)
gen5 (Ironlake)
gen6 (Sandy Bridge)
gen7 (Bay Trail, Ivy Bridge, Haswell)
gen8 (Braswell, Broadwell)
gen9 (Apollo Lake, Skylake, Gemini Lake, Kaby Lake, Coffee Lake)

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nux (Ubuntu):
status: New → Confirmed
aleandro (aleandrodasilva) wrote :

Ubuntu 17.10

When I use the Unity session I automatically get logged out ot I get a crash of unity under this condition:

    When I hover with my mouse over the sidebar

I can use the top bar without problems instead. I upgraded to latest packages today.

Falk Bay (falkartis) wrote :

I edited the bug description to be more precise about what makes it happen.

description: updated
Falk Bay (falkartis) on 2017-12-07
affects: nux (Ubuntu) → compiz (Ubuntu)
Keri Alleyne (keri.alleyne) wrote :

Sorry about the cross posting but these may be potentially related bug reports:

https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1741303
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1741447

Falk Bay (falkartis) wrote :

Yes, the symptoms seem to be the same.

uwer@netic.de (uwer) wrote :

I have almost the same behavior with 16.04.3. It doesn't log me out but restarts Unity.
Freshly installed 16.04.3 runs normally. After installing updates Unity crashes exactly like in the OP. Same compiz segfault at 0 ip (...) error 4 in i965_dri.so (...) with slightly different addresses.

In low graphics mode it is a bit better but not completely gone.

As for hovering over the sidebar, it takes a half a second before Unity crashes, I suspect it happens when it tries to show the tooltip.

uwer@netic.de (uwer) wrote :

On 16.04.3 I used Synaptic to narrow down the packages that seem to cause the crash.
I installed packages, made not of them and rebooted to see if I could reproduce the problem.

The last four packages that were left over before the issue could be reproduced were:
libegl1-mesa 17.2.4-0ubuntu1~16.04.2
libgbm1 17.2.4-0ubuntu1~16.04.2
libgl1-mesa-dri 17.2.4-0ubuntu1~16.04.2
libwayland-egl1-mesa 17.2.4-0ubuntu1~16.04.2

These depend on each other, so I could not drill down further.
After installing these and rebooting, Unity crashed again.

uwer@netic.de (uwer) wrote :

*made _note_ of them*

1 comments hidden view all 111 comments
Timo Aaltonen (tjaalton) wrote :

Bug misfiled, would've been useful to know about it a month ago :/

If you are able to build the package from ppa:ubuntu-x-swat/updates then that would be great. PPA builders are offline for days now because of SPECTRE.

affects: compiz (Ubuntu) → mesa (Ubuntu)
Changed in mesa (Ubuntu):
assignee: nobody → Timo Aaltonen (tjaalton)
Timo Aaltonen (tjaalton) wrote :

and could you run 'lspci -vnn | grep VGA' and tell what it says

uwer@netic.de (uwer) wrote :

thor@norb:~$ lspci -vnn |grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07) (prog-if 00 [VGA controller])

thor@norb:~$ sudo lshw
[sudo] Passwort für thor:
norb
    Beschreibung: Notebook
    Produkt: 2847DGG
    Hersteller: LENOVO
    Version: ThinkPad SL510

On an almost identical laptop, that was setup with 16.04.1 or 16.04.2 (Don't remember) and has the 17.2.4-0ubuntu1~16.04.2 packages, the problem does not occur:
uwer@janeway:~$ lspci -vnn |grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07) (prog-if 00 [VGA controller])

uwer@janeway:~$ sudo lshw
janeway
    Beschreibung: Notebook
    Produkt: 28477MG
    Hersteller: LENOVO
    Version: ThinkPad SL510

Timo Aaltonen (tjaalton) wrote :

huh, what kernel does those have?

Timo Aaltonen (tjaalton) wrote :

mesa 17.2.8 is now available for amd64 at
https://aaltoset.kapsi.fi/mesa-17.2.8/17.10 (/16.04)

you can try installing libgl1-mesa-dri and other pkgs it needs manually, this is not an apt repo.

uwer@netic.de (uwer) wrote :

Kernels:

thor@norb:~$ uname -r
4.10.0-42-generic

uwer@janeway:~$ uname -r
4.4.0-104-generic

Timo Aaltonen (tjaalton) wrote :

try 4.13, 4.10 is from the zesty stack and is EOL in a week

scuba (scubuntu) wrote :

I'm afraid this Bug has affected some of my installs too. My workaround for now is to activate "discreet graphics" in BIOS.

no longer affects: mesa
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mesa (Ubuntu Artful):
status: New → Confirmed
Changed in mesa (Ubuntu Xenial):
status: New → Confirmed
1 comments hidden view all 111 comments
Timo Aaltonen (tjaalton) wrote :

I'm not able to reproduce this on a GM965 (2a02), tried on 4.4 & 4.10...

Tomas (sei-mai-neim-egen) wrote :

Timo Aaltonen (tjaalton) wrote 1 hour ago: #21
I'm not able to reproduce this on a GM965 (2a02), tried on 4.4 & 4.10...

-------

Are You on Ubuntu 16.04 ???

Timo Aaltonen (tjaalton) wrote :

of course

you can test ppa:paulo-miguel-dias/pkppa if mesa 17.3.1 fixes this for you too, as it did on 1741447

Robert Rojas (roberthrojasq) wrote :

This issue seems to affect Blender.
Blender fails to start, with the crash log being the following:

# backtrace
blender(BLI_system_backtrace+0x20) [0x1a6c8e0]
blender() [0x107a525]
/lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7f47797c04b0]
/usr/lib/x86_64-linux-gnu/dri/i965_dri.so(+0x5ddc16) [0x7f47650f0c16]
/usr/lib/x86_64-linux-gnu/dri/i965_dri.so(+0x5df30e) [0x7f47650f230e]
/usr/lib/x86_64-linux-gnu/dri/i965_dri.so(+0x5d1468) [0x7f47650e4468]
/usr/lib/x86_64-linux-gnu/dri/i965_dri.so(+0x5d2345) [0x7f47650e5345]
/usr/lib/x86_64-linux-gnu/dri/i965_dri.so(+0x3f34da) [0x7f4764f064da]
/usr/lib/x86_64-linux-gnu/dri/i965_dri.so(+0x3f3ddd) [0x7f4764f06ddd]
/usr/lib/x86_64-linux-gnu/dri/i965_dri.so(+0x42a333) [0x7f4764f3d333]
/usr/lib/x86_64-linux-gnu/dri/i965_dri.so(+0x17812e) [0x7f4764c8b12e]
/usr/lib/x86_64-linux-gnu/dri/i965_dri.so(+0x17dda3) [0x7f4764c90da3]
blender() [0x107e11d]
blender(wm_draw_update+0x3fe) [0x107f7ae]
blender(WM_main+0x28) [0x107b118]
blender(main+0x3f8) [0x1018bd8]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f47797ab830]
blender() [0x107747e]

Timo Aaltonen (tjaalton) wrote :

uwer: which xserver versions do these machines have? apt-cache policy xserver-xorg-core

And do both have xserver-xorg-video-intel(-hwe-16.04) installed? One theory is that only machines installed with full HWE stack are affected, those do not have -intel installed but use the modesetting X driver (as intended).

Timo Aaltonen (tjaalton) wrote :

touché, after removing -intel I'm able to reproduce this \o/

Jaime Cruz (jaime-cruz) wrote :

xserver-xorg-core:
  Installed: (none)
  Candidate: 2:1.18.4-0ubuntu0.7
  Version table:
     2:1.18.4-0ubuntu0.7 500
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
     2:1.18.4-0ubuntu0.2 0
        100 /var/lib/dpkg/status
     2:1.18.3-1ubuntu2 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

Timo Aaltonen (tjaalton) wrote :

The culprit is a patch added for bug 1727401, it needs to be replaced with a larger set of backports from 17.3...

Timo Aaltonen (tjaalton) on 2018-01-09
summary: - ubuntu automatically logs out when hovering sidebar
+ [regression] compiz crashes when hovering over sidebar
Timo Aaltonen (tjaalton) on 2018-01-09
description: updated
Timo Aaltonen (tjaalton) on 2018-01-09
summary: - [regression] compiz crashes when hovering over sidebar
+ [regression] compiz crashes after Mesa upgrade
Timo Aaltonen (tjaalton) wrote :

PPA builders are unfortunately still offline because of SPECTRE :(

One quick workaround for this issue is to downgrade to stock 16.04 xserver and install x-x-v-intel:

sudo apt install --install-recommends xserver-xorg xserver-xorg-video-all xserver-xorg-input-all xserver-xorg-video-intel

that should do it.. it'll remove a bunch of packages named -hwe-16.04 and replace them with the stock packages.

Timo Aaltonen (tjaalton) wrote :

this is a more complete command to install stock hwe stack on 16.04

sudo apt install --install-recommends xserver-xorg xserver-xorg-core xserver-xorg-video-all xserver-xorg-input-all xserver-xorg-video-intel xserver-xorg-video-qxl

ewa (ewa2u) wrote :

hi, I executed your command - the problem is always here...

The command from comment #30 has resolved this for me after a reboot. Thank you Timo.

ewa (ewa2u) wrote :

after reboot the problem is steel here. I'm on ubuntu 16.04 on Acer Aspire 7715Z.
I executed the command #30 twice and rebooted twice too.
uname -a gives acer 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

I experienced the same problem on Acer Aspire 7715 and the Timo's solution solved it. Thank you.

ewa (ewa2u) wrote :

sudo apt-get update
then
sudo apt-get upgrade -y
then
Timo's solution resolved the problem, but introduced another one:
programs launcher doesn't respect the choice of workspace and it's impossible to go from one program to another through launcher - must select a workspace where the program is.

uwer@netic.de (uwer) wrote :

timo: Sorry for the delay.

uwer@janeway:~$ apt-cache policy xserver-xorg-core
xserver-xorg-core:
  Installiert: 2:1.18.4-0ubuntu0.7
  Installationskandidat: 2:1.18.4-0ubuntu0.7
  Versionstabelle:
 *** 2:1.18.4-0ubuntu0.7 500
        500 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2:1.18.3-1ubuntu2 500
        500 http://de.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
Has xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1.2
No -hwe

thor@norb:~$ uname -a
Linux norb 4.13.0-26-generic #29~16.04.2-Ubuntu SMP Tue Jan 9 22:00:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

thor@norb:~$ apt-cache policy xserver-xorg-core
xserver-xorg-core:
  Installiert: (keine)
  Installationskandidat: 2:1.18.4-0ubuntu0.7
  Versionstabelle:
     2:1.18.4-0ubuntu0.7 500
        500 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
     2:1.18.3-1ubuntu2 500
        500 http://de.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
Has xserver-xorg-video-intel-hwe-16.04 2:2.99.917+git20170309-0ubuntu1~16.04.1

Phil Norisez (norisezp) wrote :

How about withdrawing the update that causes this until fixed? Or, publishing some kind of advisory that doesn't require searching many threads to find???

Phil Norisez (norisezp) wrote :

This bug needs fixed for the following:

7.6 GiB Intel® Core™ i5 CPU M 480 @ 2.67GHz × 4 Intel® Ironlake Mobile 64-bit

Sorry I didn't add a comment elsewhere; not enough "Reputation Points" GAH!~

Timo Aaltonen (tjaalton) wrote :

There's no way to withdraw an update other than by dropping the offending patch, but since I already have a replacement available we should test that instead.

And now that the PPA builds are finally back, please test this one on xenial:

sudo apt-add-repository ppa:tjaalton/ppa && apt update && apt upgrade

but if you have the padoka ppa enabled, it needs to be removed first:

sudo ppa-purge ppa:paulo-miguel-dias/pkppa

and if you installed stock xenial xorg stack, reinstall -hwe-16.04 by:

sudo apt install --install-recommeds xserver-xorg-hwe-16.04

remember to reboot or at least log out after installing the new mesa from my ppa

Emmanuel Grumbach (egrumbach) wrote :

Testing....

Changed in mesa (Ubuntu):
status: Confirmed → Fix Committed
Changed in mesa (Ubuntu Artful):
status: Confirmed → Fix Committed
tags: added: verification-needed verification-needed-artful
Changed in mesa (Ubuntu Xenial):
status: Confirmed → Fix Committed
tags: added: verification-needed-xenial
Nelijuc (nelijuc) on 2018-01-12
tags: added: verification-done-xenial
removed: verification-needed-xenial
Timo Aaltonen (tjaalton) on 2018-01-13
tags: added: verification-needed-xenial
removed: verification-done-xenial
tags: added: verification-done verification-done-artful verification-done-xenial
removed: verification-needed verification-needed-artful verification-needed-xenial
31 comments hidden view all 111 comments
uwer@netic.de (uwer) wrote :

libgl1-mesa-dri 17.2.4-0ubuntu1~16.04.4 fixed the issue on my Thinkpad SL510

thor@norb:~$ sudo lshw
norb
    Beschreibung: Notebook
    Produkt: 2847DGG
    Hersteller: LENOVO
    Version: ThinkPad SL510
...
     *-cpu
          Beschreibung: CPU
          Produkt: Intel(R) Core(TM)2 Duo CPU T6670 @ 2.20GHz
          Hersteller: Intel Corp.
          Physische ID: 4
...
        *-display:0
             Beschreibung: VGA compatible controller
             Produkt: Mobile 4 Series Chipset Integrated Graphics Controller
             Hersteller: Intel Corporation
             Physische ID: 2
             Bus-Informationen: pci@0000:00:02.0
             Version: 07
             Breite: 64 bits
             Takt: 33MHz
             Fähigkeiten: msi pm vga_controller bus_master cap_list rom
             Konfiguration: driver=i915 latency=0
             Ressourcen: irq:16 memory:f2400000-f27fffff memory:d0000000-dfffffff ioport:1800(Größe=8) memory:c0000-dffff

Leo Gerard (lerardgeo) wrote :

Proposed update fixed the issue, thanks.

product: Mobile 4 Series Chipset Integrated Graphics Controller
vendor: Intel Corporation

$ apt policy libgl1-mesa-dri
libgl1-mesa-dri:
  Installed: 17.2.4-0ubuntu1~16.04.4
  Candidate: 17.2.4-0ubuntu1~16.04.4
  Version table:
 *** 17.2.4-0ubuntu1~16.04.4 400
        400 http://fr.archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     17.2.4-0ubuntu1~16.04.2 500
        500 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
     11.2.0-1ubuntu2 500
        500 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

a_b_j_q (a-q) wrote :

Running an Acer Aspire 5332 with 16.04 pretty much a fresh install from last week.

The patch did fix the problem, eventually, but on the first boot none of the X clients connected to the display, so all I had was a mouse pointer.

logged in via Alt-F1 console and ran an Xterm with :0 DISPLAY env var, but that didn't connect (although it showed no errors on stderr).

Then rebooted once more, and it all started working OK.

So - if it doesn't work first time, you might want to try another reboot.

P.S. love all the "dependency" problems above - NOT - oh for the good old days where libraries had fixed API's and you could mix and match different version.

Johanna (johannad) wrote :

16.04.03 64 bits
Intel® Pentium(R) Dual CPU T2390 @ 1.86GHz × 2
ASUS Notebook X51L

I followed these instructions to install libgl1-mesa-dri/xenial-proposed step by step: https://askubuntu.com/questions/992571/gui-unity-crashing-in-16-04-lts-after-updates-2018-01-04-compiz-segfaults
and it failed...

Installing stock hwe stack on 16.04 worked for me (#30). Thanks a lot!

I couldn't use my sidebar. When I hovered with my mouse over the sidebar or clicked on one of the icons everything disappeared except for the background picture and then the windows and sidebar came back immediately but no program was opened. I also could not reboot/shutdown/logout using the graphic menu.

Olivier Philippe (ophilippe) wrote :

It's good for me with the package "libgl1-mesa-dri", thank you.

msi PR601/VR603
Intel(R) Pentium(R) Dual CPU T3200 @ 2.00GHz
VGA compatible controller; Mobile 4 Series Chipset Integrated Graphics Controller

https://askubuntu.com/questions/992571/gui-unity-crashing-in-16-04-lts-after-updates-2018-01-04-compiz-segfaults

$ apt policy libgl1-mesa-dri
libgl1-mesa-dri:
  Installé : 17.2.4-0ubuntu1~16.04.4
  Candidat : 17.2.4-0ubuntu1~16.04.4
 Table de version :
 *** 17.2.4-0ubuntu1~16.04.4 400
        400 http://archive.ubuntu.com/ubuntu xenial-proposed/main i386 Packages
        100 /var/lib/dpkg/status
     17.2.4-0ubuntu1~16.04.2 500
        500 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
     11.2.0-1ubuntu2 500
        500 http://fr.archive.ubuntu.com/ubuntu xenial/main i386 Packages

Ram (ram-dahal) wrote :

I was having the same flickering desktop problem. I followed the first part of the instructions from

https://askubuntu.com/questions/992571/gui-unity-crashing-in-16-04-lts-after-updates-2018-01-04-compiz-segfaults

and the problem is solved. Thank you.

Carl McLaughlin (c1150) wrote :

I had the same issue.

I found https://askubuntu.com/questions/992571/gui-unity-crashing-in-16-04-lts-after-updates-2018-01-04-compiz-segfaults
first and followed the directions there. It resolved my problem.

Jaime Cruz (jaime-cruz) wrote :

Installed the updated package from "Proposed" and that has resolved the issue. Thanks.

Luca Marocco (marluc) wrote :

The proposed fix works on my machine. Thanks.

Ubuntu 16.04; Processor: Intel® Core™ i5 CPU M 540 @ 2.53GHz × 4; Graphics: Intel® Ironlake Mobile

description: Laptop
    product: Latitude E4310
    vendor: Dell Inc.
    version: 0001
    serial: G4N8XN1
    width: 64 bits
    capabilities: smbios-2.6 dmi-2.6 vsyscall32
    configuration: boot=normal chassis=laptop uuid=44454C4C-3400-104E-8038-C7C04F584E31
  *-core
       description: Motherboard
       product: 012JJ4
       vendor: Dell Inc.
       physical id: 0
       version: A01
     *-firmware
          description: BIOS
          vendor: Dell Inc.
          physical id: 0
          version: A15
          date: 05/12/2017
          size: 64KiB
          capacity: 960KiB
*-display
             description: VGA compatible controller
             product: Core Processor Integrated Graphics Controller
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 02
             width: 64 bits
             clock: 33MHz
             capabilities: msi pm vga_controller bus_master cap_list rom
             configuration: driver=i915 latency=0

maport (akfypzn-zjp2-nw2wga2) wrote :

Proposed fix fixed it for me (Lenovo 3000 N200). Many thanks.

Original error was:

compiz[1519]: segfault at 0 ip 00007f54d91a2986 sp 00007ffd58273a20 error 4 in i965_dri.so[7f54d8bca000+82d000]

Machine details:

$ sudo lshws

    description: Notebook
    product: 0769EUG (Lenovo)
    vendor: LENOVO
    version: 3000 N200
    width: 64 bits
    capabilities: smbios-2.4 dmi-2.4 vsyscall32
    configuration: boot=oem-specific chassis=notebook family=Lenovo sku=Lenovo
     *-cpu
          description: CPU
          product: Intel(R) Core(TM)2 Duo CPU T5750 @ 2.00GHz
          vendor: Intel Corp.
          physical id: 4
          bus info: cpu@0
          version: CPU Version
          slot: U2E1
          size: 1634MHz
          capacity: 4096MHz
          width: 64 bits
          capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm pti dtherm cpufreq
     *-pci
          description: Host bridge
          product: Mobile PM965/GM965/GL960 Memory Controller Hub
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 0c
          width: 32 bits
          clock: 33MHz
        *-display:0
             description: VGA compatible controller
             product: Mobile GM965/GL960 Integrated Graphics Controller (primary)
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 0c
             width: 64 bits
             clock: 33MHz
             capabilities: msi pm vga_controller bus_master cap_list rom
             configuration: driver=i915 latency=0
             resources: irq:16 memory:fc000000-fc0fffff memory:d0000000-dfffffff ioport:1800(size=8) memory:c0000-dffff

$ apt policy install libgl1-mesa-dri

libgl1-mesa-dri:
  Installed: 17.2.4-0ubuntu1~16.04.4
  Candidate: 17.2.4-0ubuntu1~16.04.4
  Version table:
 *** 17.2.4-0ubuntu1~16.04.4 400
        400 http://gb.archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     17.2.4-0ubuntu1~16.04.2 500
        500 http://gb.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
     11.2.0-1ubuntu2 500
        500 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

Proposed fixed this bug on my Dell Vostro 1015

description: Portable Computer
    product: Vostro 1015
    vendor: Dell Inc.
    serial: 9KKDQQ1
    width: 64 bits
    capabilities: smbios-2.4 dmi-2.4 vsyscall32
    configuration: boot=normal chassis=portable uuid=44454C4C-4B00-104B-8044-B9C04F515131

*-cpu
          description: CPU
          product: Intel(R) Core(TM)2 Duo CPU T6670 @ 2.20GHz
          vendor: Intel Corp.
          physical id: 400
          bus info: cpu@0
          slot: Microprocessor
          size: 918MHz
          capacity: 2201MHz
          width: 64 bits

*-display:0
             description: VGA compatible controller
             product: Mobile 4 Series Chipset Integrated Graphics Controller
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 07
             width: 64 bits
             clock: 33MHz
             capabilities: msi pm vga_controller bus_master cap_list rom
             configuration: driver=i915 latency=0
             resources: irq:16 memory:f6c00000-f6ffffff memory:e0000000-efffffff ioport:efe8(size=8) memory:c0000-dffff
        *-display:1 UNCLAIMED
             description: Display controller
             product: Mobile 4 Series Chipset Integrated Graphics Controller
             vendor: Intel Corporation
             physical id: 2.1
             bus info: pci@0000:00:02.1
             version: 07
             width: 64 bits
             clock: 33MHz
             capabilities: pm bus_master cap_list
             configuration: latency=0
             resources: memory:f6b00000-f6bfffff

libgl1-mesa-dri:
  Installed: 17.2.4-0ubuntu1~16.04.4
  Candidate: 17.2.4-0ubuntu1~16.04.4
  Version table:
 *** 17.2.4-0ubuntu1~16.04.4 100
        100 /var/lib/dpkg/status
     17.2.4-0ubuntu1~16.04.2 500
        500 http://do.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
     11.2.0-1ubuntu2 500
        500 http://do.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

          clock: 200MHz
          capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm pti tpr_shadow vnmi flexpriority dtherm ida cpufreq
          configuration: cores=2 enabledcores=2 threads=2

*-pci
          description: Host bridge
          product: Mobile 4 Series Chipset Memory Controller Hub
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 07
          width: 32 bits
          clock: 33MHz

Arjan (arjanv01) wrote :

Proposed fix worked on my old vaio too.

Error: compiz[3077]: segfault at 0 ip 00007f97f3aeb986 sp 00007ffc3be748f0 error 4 in i965_dri.so[7f97f3513000+82d000]

Machine (redacted lshw):

vaio
    description: Notebook
    product: VGN-NR498E (N/A)
    vendor: Sony Corporation
    version: C3LRAYYV
    serial: 28274739-3013909
    width: 64 bits
    capabilities: smbios-2.4 dmi-2.4 vsyscall32
    configuration: boot=normal chassis=notebook family=N/A sku=N/A uuid=546EF640-2B7E-11DD-80F1-001A80F59ED6
  *-core
       description: Motherboard
       product: VAIO
       vendor: Sony Corporation
       physical id: 0
       version: N/A
       serial: N/A
       slot: ��@
     *-firmware
          description: BIOS
          vendor: Phoenix Technologies LTD
          physical id: 0
          version: R2060J9
          date: 02/28/2008
          size: 101KiB
          capacity: 960KiB
          capabilities: pci pnp upgrade shadowing escd cdboot bootselect edd int9keyboard int10video acpi usb agp smartbattery biosbootspecification netboot
     *-cpu
          description: CPU
          product: Intel(R) Core(TM)2 Duo CPU T5750 @ 2.00GHz
          vendor: Intel Corp.
          physical id: 4
          bus info: cpu@0
          version: Intel(R) Core(TM)2 Duo CPU T5750 @ 2.00GHz
          serial: N/A
          slot: N/A
          size: 1995MHz
          capacity: 2GHz
          width: 64 bits
          clock: 167MHz
     *-pci
          description: Host bridge
          product: Mobile PM965/GM965/GL960 Memory Controller Hub
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 0c
          width: 32 bits
          clock: 33MHz
        *-display:0
             description: VGA compatible controller
             product: Mobile GM965/GL960 Integrated Graphics Controller (primary)
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 0c
             width: 64 bits
             clock: 33MHz
             capabilities: msi pm vga_controller bus_master cap_list rom
             configuration: driver=i915 latency=0
             resources: irq:16 memory:fc000000-fc0fffff memory:d0000000-dfffffff ioport:1800(size=8) memory:c0000-dffff

$ apt policy libgl1-mesa-dri
libgl1-mesa-dri:
  Installed: 17.2.4-0ubuntu1~16.04.4
  Candidate: 17.2.4-0ubuntu1~16.04.4
  Version table:
 *** 17.2.4-0ubuntu1~16.04.4 400
        400 http://us.archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     17.2.4-0ubuntu1~16.04.2 500
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
     11.2.0-1ubuntu2 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

thanks!

François (ronfr) wrote :

Proposed fix worked on my Dell Vostro 220.

    description: Ordinateur de Bureau
    produit: Vostro 220 Series
    fabriquant: Dell Inc.
    numéro de série: DVJPQH1
    bits: 64 bits
    fonctionnalités: smbios-2.5 dmi-2.5 vsyscall32
    configuration: boot=normal chassis=desktop uuid=44454C4C-5600-104A-8050-C4C04F514831
  *-core
       description: Carte mère
       produit: 0P301D
       fabriquant: Dell Inc.
       identifiant matériel: 0
       version: A00
       numéro de série: ..CN7360489701MO.
     *-firmware
          description: BIOS
          fabriquant: Dell Inc.
          identifiant matériel: 0
          version: 1.3.0
          date: 06/22/2010
          taille: 64KiB
          capacité: 960KiB
          fonctionnalités: isa pci pnp apm upgrade shadowing escd cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb ls120boot zipboot biosbootspecification
     *-cpu
          description: CPU
          produit: Intel(R) Pentium(R) Dual CPU E2200 @ 2.20GHz
          fabriquant: Intel Corp.
          identifiant matériel: 4
          information bus: cpu@0
          version: Intel(R) Pentium(R) Dual CPU E2200 @ 2.20GHz
          numéro de série: To Be Filled By O.E.M.
          emplacement: Socket 775
          taille: 1226MHz
          capacité: 2200MHz
          bits: 64 bits
          horloge: 200MHz
          fonctionnalités: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm pti dtherm cpufreq
          configuration: cores=2 enabledcores=2 threads=2
     *-pci
          description: Host bridge
          produit: 4 Series Chipset DRAM Controller
          fabriquant: Intel Corporation
          identifiant matériel: 100
          information bus: pci@0000:00:00.0
          version: 03
          bits: 32 bits
          horloge: 33MHz
        *-display:0
             description: VGA compatible controller
             produit: 4 Series Chipset Integrated Graphics Controller
             fabriquant: Intel Corporation
             identifiant matériel: 2
             information bus: pci@0000:00:02.0
             version: 03
             bits: 64 bits
             horloge: 33MHz
             fonctionnalités: msi pm vga_controller bus_master cap_list rom
             configuration: driver=i915 latency=0
             ressources: irq:16 mémoire:fe400000-fe7fffff mémoire:d0000000-dfffffff portE/S:dc00(taille=8) mémoire:c0000-dffff

Thanks!

Lewie McDogs (dogsmclewie) wrote :
Download full text (3.7 KiB)

Proposed fixed the issue of compiz crashing on my machine (Dell Latitude e5410). Thanks for that. But there is now an issue with video playback on VLC media player (ver 2.2.2-5ubuntu0.16.04.4). The video hangs every few seconds. It is only an issue with VLC though as video playback works fine on other media apps. Tried reinstalling VLC and it still doesn't work.

I was wondering if others are experiencing the same thing?

    description: Laptop
    product: Latitude E5410
    vendor: Dell Inc.
    version: 0001
    serial: G6YN7N1
    width: 64 bits
    capabilities: smbios-2.6 dmi-2.6 vsyscall32
    configuration: boot=normal chassis=laptop uuid=44454C4C-3600-1059-804E-C7C04F374E31
  *-core
       description: Motherboard
       product: 00K2MH
       vendor: Dell Inc.
       physical id: 0
       version: A00
       serial: /G6YN7N1/CN7016609G00N3/
     *-firmware
          description: BIOS
          vendor: Dell Inc.
          physical id: 0
          version: A15
          date: 07/11/2013
          size: 64KiB
          capacity: 960KiB
          capabilities: pci upgrade shadowing escd cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb ls120boot zipboot biosbootspecification
     *-cpu
          description: CPU
          product: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz
          vendor: Intel Corp.
          physical id: 4
          bus info: cpu@0
          version: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GH
          serial: To Be Filled By O.E.M.
          slot: CPU 1
          size: 1631MHz
          capacity: 4GHz
          width: 64 bits
          clock: 533MHz
          capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm pti tpr_shadow vnmi flexpriority ept vpid dtherm ida arat cpufreq
          configuration: cores=2 enabledcores=1 threads=2
        *-cache:0
             description: L1 cache
             physical id: 5
             slot: L1-Cache
             size: 32KiB
             capacity: 32KiB
             capabilities: internal write-back unified
             configuration: level=1
        *-cache:1
             description: L2 cache
             physical id: 6
             slot: L2-Cache
             size: 512KiB
             capacity: 512KiB
             capabilities: internal varies unified
             configuration: level=2
        *-cache:2
             description: L3 cache
             physical id: 7
             slot: L3-Cache
             size: 3MiB
             capacity: 3MiB
             capabilities: internal varies unified
             configuration: level=3
     *-memory
          description: System Memory
          physical id: 19
          slot: System board or motherboard
          size: 4GiB
        *-bank:0
             description: SODIMM DDR3 Synchronous 1067 MHz...

Read more...

Andrei (andreic) wrote :

When will this be available in the main repositories?

Robert Rojas (roberthrojasq) wrote :

Proposed fixed the crash in compiz and blender, but introduces graphical glitches (at least) in blender 2.79 (from the official website), and in the packages
tumiki-fighters and torus-trooper.

It looks like a wireframe being drawn on top of some elements on the screen.

Comments #30 and #35 resolved this for me after a reboot. Thanks.

Renato Bispo (rensilbis) wrote :

I'm running Ubuntu 16.04.3, my Unity was crashing in a similar way as it was originally described in this bug. Installing libgl1-mesa-dri/xenial-proposed fixed the issue. However, today, I tried to install Steam and it failed, at least partially, because the system is not being able to install libgl1-mesa-dri:i386 and libgl1-mesa-glx:i386. This seems to be related to the installation of libgl1-mesa-dri/xenial-proposed.

These are the messages I see in the terminal when trying to open Steam for the first time:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libegl1-mesa : Depends: libgl1-mesa-dri (= 17.2.4-0ubuntu1~16.04.4) but it is not going to be installed
 libgnome-desktop-3-12 : Depends: libgtk-3-0 (>= 3.9.10) but it is not going to be installed
 libqt5svg5 : Depends: libqt5widgets5 (>= 5.3.0) but it is not going to be installed
 qtdeclarative5-ubuntu-ui-toolkit-plugin : Depends: qml-module-ubuntu-components
                                           Depends: qml-module-ubuntu-performancemetrics
                                           Depends: qml-module-ubuntu-test but it is not going to be installed
 ubuntu-system-settings : Depends: libubuntuoneauth-2.0-0 (>= 13.08) but it is not going to be installed
                          Depends: powerd (>= 0.15) but it is not going to be installed or
                                   gnome-settings-daemon but it is not going to be installed
                          Depends: qml-module-qtmultimedia or
                                   qml-module-qtmultimedia-gles but it is not going to be installed
                          Depends: qtdeclarative5-ubuntu-content1 but it is not going to be installed
                          Recommends: ubuntu-system-settings-online-accounts but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Colin Sindle (csindle) wrote :

Please revert my above status change (which was done in error).

Changed in mesa (Ubuntu Xenial):
status: Fix Committed → Fix Released
Daniel Daza (dfdazac) wrote :

Proposed fixed on my Dell laptop as well.

product: Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz
vendor: Intel Corp.

libgl1-mesa-dri:
  Installed: 17.2.4-0ubuntu1~16.04.4
  Candidate: 17.2.4-0ubuntu1~16.04.4
  Version table:
 *** 17.2.4-0ubuntu1~16.04.4 100
        100 /var/lib/dpkg/status
     17.2.4-0ubuntu1~16.04.2 500
        500 http://nl.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
     11.2.0-1ubuntu2 500
        500 http://nl.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

Falk Bay (falkartis) wrote :

I installed the libgl1-mesa-dri package from the paulo-miguel-dias repository, now everything seems to work fine, unity desktop. I haven't tried blender.

apt policy libgl1-mesa-dri
libgl1-mesa-dri:
  Instal·lat: 1:17.3.1-1~a~padoka0
  Candidat: 1:17.3.1-1~a~padoka0
  Taula de versió:
 *** 1:17.3.1-1~a~padoka0 500
        500 http://ppa.launchpad.net/paulo-miguel-dias/pkppa/ubuntu artful/main amd64 Packages
        100 /var/lib/dpkg/status
     17.2.4-0ubuntu1~17.10.2 500
        500 http://es.archive.ubuntu.com/ubuntu artful-proposed/main amd64 Packages
     17.2.2-0ubuntu1 500
        500 http://es.archive.ubuntu.com/ubuntu artful/main amd64 Packages

Timo Aaltonen (tjaalton) wrote :

the fix has _not_ landed in xenial-updates, never close a SRU bug manually..

Changed in mesa (Ubuntu Xenial):
status: Fix Released → Fix Committed
Changed in mesa (Ubuntu Xenial):
status: Fix Committed → Fix Released
Laurent Gibergues (loranger12) wrote :

Proposed (comments #39) fixed the crash in blender 2.7x on my Dell Vostro 3700.
Thanks a lot !

Robie Basak (racb) on 2018-01-16
tags: added: regression-update
Timo Aaltonen (tjaalton) wrote :

What did I say about changing the bug status? Don't touch it!

Changed in mesa (Ubuntu Xenial):
status: Fix Released → Fix Committed
Emmanuel Grumbach (egrumbach) wrote :

Somehow I can't repro the bug although I removed all the ppa / proposed repositories. Maybe I need to add them again and purge them to make sure I removed the packages and not only the pointer to the repository?

So - I was under the impression that the fix did make it to xenial-updates (although I haven't touched the the tags / bug status :))

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mesa - 17.2.4-0ubuntu1~17.10.2

---------------
mesa (17.2.4-0ubuntu1~17.10.2) artful; urgency=medium

  * i965-disable-l3-cache-alloc-for-ext-buffers.diff:
    - Replaced with five backported commits from upstream
      (LP: #1727401, #1735594)

mesa (17.2.4-0ubuntu1~17.10.1) artful; urgency=medium

  * Backport to artful.
  * vulkan-mir.patch: Dropped, breaks radeon vulkan driver. (LP:
    #1720890)

mesa (17.2.4-0ubuntu1) bionic; urgency=medium

  * New upstream bugfix release. (LP: #1727390)
  * i965-disable-l3-cache-alloc-for-ext-buffers.diff: Fix corruption
    running windowed 3D apps on dGPU. (LP: #1727401)

 -- Timo Aaltonen <email address hidden> Tue, 09 Jan 2018 15:28:48 +0200

Changed in mesa (Ubuntu Artful):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for mesa 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 regressions.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mesa - 17.2.4-0ubuntu1~16.04.4

---------------
mesa (17.2.4-0ubuntu1~16.04.4) xenial; urgency=medium

  * control: Relax mesa-opencl-icd dependency on libclc. (LP: #1743018)

mesa (17.2.4-0ubuntu1~16.04.3) xenial; urgency=medium

  * i965-disable-l3-cache-alloc-for-ext-buffers.diff:
    - Replaced with five backported commits from upstream
      (LP: #1727401, #1735594)

 -- Timo Aaltonen <email address hidden> Sat, 13 Jan 2018 09:06:08 +0200

Changed in mesa (Ubuntu Xenial):
status: Fix Committed → Fix Released
laurel (mtnlaurel) wrote :

My Unity Launcher now works after installing the January 17, 2018 update from the Software Updater(gnome-software).

I'm a newbie so I wasn't able to use the fixes noted in the other comments but after the install, I clicked on the side panel and the Dash, File Manager, Chromium browser and the suite of Libre Office tools all worked. The Launcher seems stable and doesn't flicker off and then on. Also I can go to the wheel at the top right and shutdown the computer now.

I have a Toshiba Satellite M645 (2011)
Intel Core i5 CPU, 64 bit OS
Ubuntu 16.04.3 LTS

THANK YOU, Timo and all who tested this fix. I appreciate all the work. The good outcome of this, for me, was that I learned to use terminal commands rather quickly! I now really appreciate the GUI interface.

Another problem occurred : serious inconsistencies in the i-node table causing a crash and a grub-rescue error. Eventually I reverted to ISO release. Maybe later, I'll try the release 16.04.4...

Material : Acer Aspire 7715Z Ubuntu 16.04 LTS (double boot with Windows 10).

Peter Ooms (ptro) wrote :

FYI: solved.

Experienced multiple: segfault at 0 ip 00007f4fd1d77c16 sp 00007ffd50554da0 error 4 in i965_dri.so (deleted)[7f4fd179a000+82d000]
 Looks to be related to display: Related to Driver for Intel Skylake Integrated Graphics Chipset

My System:
    description: Desktop Computer
    product: OptiPlex 380
    vendor: Dell Inc.
    serial: XXXXXX
    width: 64 bits
    capabilities: smbios-2.5 dmi-2.5 vsyscall32
  *-core
       description: Motherboard
       product: 0HN7XN
       vendor: Dell Inc.
       physical id: 0
       version: A01
       serial: ..xxxxxxxxxxxx.

After update: $ sudo apt update && sudo apt upgrade -y
Things back to normal.

Although a month has passed since 17 Jan 2018, this compiz segfault surface up today on 21 February 12:20 pm GMT +8 on my lenovo T400. I am sorry if i have necroposted now, but this bug is annoying and i seek all of your kind assistance.

Details are:

$sudo lshw -c video
 *-display
       description: VGA compatible controller
       product: RV620/M82 [Mobility Radeon HD 3450/3470]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:01:00.0
       version: 00
       width: 32 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
       configuration: driver=radeon latency=0
       resources: irq:30 memory:d0000000-dfffffff ioport:2000(size=256) memory:cfff0000-cfffffff memory:cff00000-cff1ffff

$lsb_release -a
LSB Version: core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial

$apt policy xserver-xorg-core
xserver-xorg-core:
  Installed: 2:1.18.4-0ubuntu0.7
  Candidate: 2:1.18.4-0ubuntu0.7
  Version table:
 *** 2:1.18.4-0ubuntu0.7 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2:1.18.3-1ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages

$apt policy libgl1-mesa-dri
libgl1-mesa-dri:
  Installed: 17.2.8-0ubuntu0~16.04.1
  Candidate: 17.2.8-0ubuntu0~16.04.1
  Version table:
 *** 17.2.8-0ubuntu0~16.04.1 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     11.2.0-1ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages

$dmesg | grep compiz
compiz: segfault at 38 ip 00007f98dd4ac240 sp 00007ffc01ba0410 error 4 in libmove.so[7f98dd4a1000+15000]

From what i have read above about ppa purge and adding ppa/proposed, does it still apply to my system?

Update: running 'unity' seems to make it work for now.

Timo Aaltonen (tjaalton) on 2018-03-01
Changed in mesa (Ubuntu):
status: Fix Committed → Fix Released
Carwin Zimmermann (carwinz) wrote :

I installed updates today and now have the same problem. After login, I see the desktop but no dash, no launcher, no alt tab, etc.

Running:
* ubuntu 16:04
* 4.4.0-116-generic
* xserver-xorg-core: 2:1.18.4-0ubuntu0.7
* libegl1-mesa:amd64/xenial-updates 17.2.8-0ubuntu0~16.04.1 uptodate

feferd (dusan-fefer) wrote :

exact same problem with my HP EliteBook

running ubuntu 16.04

1. $sudo lshw -c video
[sudo] password for user:
  *-display
       description: VGA compatible controller
       product: Whistler [Radeon HD 6730M/6770M/7690M XT]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:01:00.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
       configuration: driver=radeon latency=0
       resources: irq:40 memory:c0000000-cfffffff memory:d4400000-d441ffff ioport:4000(size=256) memory:d4440000-d445ffff

2. $lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial

3. $apt policy xserver-xorg-core
xserver-xorg-core:
  Installed: 2:1.18.4-0ubuntu0.7
  Candidate: 2:1.18.4-0ubuntu0.7
  Version table:
 *** 2:1.18.4-0ubuntu0.7 500
        500 http://ubuntu.unitedcolo.de/ubuntu xenial-updates/main amd64 Packages
        500 http://ubuntu.unitedcolo.de/ubuntu xenial-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2:1.18.3-1ubuntu2 500
        500 http://ubuntu.unitedcolo.de/ubuntu xenial/main amd64 Packages

4. $apt policy libgl1-mesa-dri
libgl1-mesa-dri:
  Installed: 17.2.8-0ubuntu0~16.04.1
  Candidate: 17.2.8-0ubuntu0~16.04.1
  Version table:
 *** 17.2.8-0ubuntu0~16.04.1 500
        500 http://ubuntu.unitedcolo.de/ubuntu xenial-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     11.2.0-1ubuntu2 500
        500 http://ubuntu.unitedcolo.de/ubuntu xenial/main amd64 Packages

when i run unity i get

$unity
compizconfig - Info: Backend : gsettings
compizconfig - Info: Integration : true
compizconfig - Info: Profile : unity-lowgfx

(process:5239): GLib-GIO-WARNING **: g_settings_set_value: value for key 'visual-bell-type' in schema 'org.gnome.desktop.wm.preferences' is outside of valid range
Switched to profile 'unity' (for environment 'ubuntu')
compizconfig - Info: Backend : gsettings
compizconfig - Info: Integration : true
compizconfig - Info: Profile : unity
unity-panel-service stop/waiting
unity-panel-service start/running, process 5269
start: Job failed to start

i'm clueless what to do

thx

Janghou (janghou) wrote :

I seems the bug returned in March. After not rebooting my laptop for 10 days, unity doesn't start and the same segfault in libcompizconfig.

My original bug-report: 1741447

https://askubuntu.com/questions/992571/gui-unity-crashing-in-16-04-lts-after-updates-2018-01-04-compiz-segfaults
See Workaround 3 on the askubuntu page.

For me returning to low graphics mode seems the best workaround for now. It works fine now, so the bug has mutated a bit

Janghou (janghou) wrote :

Error message in syslog:
kernel: [ 69.465455] compiz-config-p[2198]: segfault at 0 ip 00007f3779876d6f sp 00007fff80d63300 error 4 in libcompizconfig.so.0.0.0[7f377984e000+52000]

It's not in compiz but in compiz-config. Symptoms are nearly the same.

Janghou (janghou) wrote :

Although the March problems have the same symptoms, I feel it is another bug in libcompizconfig.
Filed:
Bug #1758009

Mark (mark-delta-echo) wrote :

This is an amazing bug trail! A lot has been done and @Timo, thanks for the work so far.
I have an update that might help.

I have 2 laptops, a ASUS and a Lenovo. They both had the issue.
I did a reinstall of Ubuntu 16.04 on the Lenovo keeping the home folder. First I had the "no launcher problem" again but after update and reboot it suddenly worked. The the ASUS laptop got the same issue. I have now 2 laptops one working and one not, with the same software but apparently different settings. I saw the status being set to "Fix released" and assumed that just update+upgrade would bring in the fix.

My versions are on both computers:

$uname -a
  4.4.0-116-generic

$apt policy libgl1-mesa-dri
libgl1-mesa-dri:
  Installed: 17.2.8-0ubuntu0~16.04.1
  Candidate: 17.2.8-0ubuntu0~16.04.1

$apt policy xserver-xorg-core
xserver-xorg-core:
  Installed: 2:1.18.4-0ubuntu0.7
  Candidate: 2:1.18.4-0ubuntu0.7

The not working laptop (ASUS) was switched from the NVIDIA driver to the X.org X server just before the trouble started.

There is an odd way of bypassing this bug:

Go to the background image and right click and select: "Change Desktop image"
You don't want to do this but select: "All Settings".
Select: "User accounts". Create a new user. In my case the guest user. (standard, non admin)

At least in my case I can use the newly created user WITHOUT ANY PROBLEMS.
The newly created user can see and use the launcher. In this way I can at least use the computer.
At least it is a temporary fix.

The I started looking for differences between my normal user and the new guest user.
It is possible to ctrl-alt to a different tty and log in as a different user.
Some config must different and make sense but hard to compare and I do not know where to look.
So far I only found that the .Xauthority file of both is different. The have the MIT-MAGIC-COOKIE setting with different settings. Removing the .Xauthority file will have the file recreated but does not help in fixing the problem.

Please let me know how I can compare both users and where to look.

Mark (mark-delta-echo) wrote :

I have found a solution that at least worked for me.
I do not claim that this is the absolute end-solution for this problem and it would like Timo to have a look on it to confirm that this is the way to go.

As I mentioned above is the guest user working without any problems.
What differs between my not working user and the guest user might cause the problem.
So I started comparing and found that ~/.cache/compizconfig-1/core.pb is only 82 bytes while the same file for guest contains 4237 bytes. My original core.pb is nearly empty.

What I did was the following:

- first make a backup of ~/.cache/compizconfig-1/core.pb You can now always revert the change
- su root
- copy core.pb to your own home dir to ~/.cache/compizconfig-1/core.pb
- chmod the file to your user
- reboot

All went working again. I can use the unity launcher again. Perfect!

It is clear to me that is not the entire solution. The file might have been corrupted by an update and might be corrupted again. So the fix needs to correct the damaging part and also load the correct config. At least I have found a temporary solution and I'm very happy with it because I can use my computer again. I was forced to use Windows and that was no fun.

Cheers, Mark

Displaying first 40 and last 40 comments. View all 111 comments or add a comment.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers