Unity crashing while watching youtube videos using chrome

Bug #1422163 reported by mikbini
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mesa
Invalid
Medium
Unity
Invalid
Undecided
Unassigned
unity (Ubuntu)
Invalid
Critical
Unassigned

Bug Description

I recently upgraded to ubuntu 14.10 and started experiencing repeatable unity crashes while watching youtube videos using current chrome. It doesn't always crash at the first attempt but most definitely it will crash sooner or later.

Once unity crashes it is respawn but again crashes immediately, the PC becomes unusable until I kill X from the console or reboot. From my .xsession-errors:

upstart: unity7 main process (9627) terminated with status 1
upstart: unity7 main process ended, respawning
upstart: unity7 main process (9998) terminated with status 1
upstart: unity7 main process ended, respawning
upstart: unity7 main process (10017) terminated with status 1
upstart: unity7 main process ended, respawning
upstart: unity7 main process (10041) terminated with status 1
upstart: unity7 main process ended, respawning
upstart: unity7 main process (10054) terminated with status 1
upstart: unity7 main process ended, respawning
[you got the point]

Unity support test results are not reassuring:

------------
$ /usr/lib/nux/unity_support_test -p
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: i965
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.5, 128 bits)
OpenGL version string: 3.0 Mesa 10.3.2

Not software rendered: no
Not blacklisted: yes
GLX fbconfig: yes
GLX texture from pixmap: yes
GL npot or rect textures: yes
GL vertex program: yes
GL fragment program: yes
GL vertex buffer object: yes
GL framebuffer object: yes
GL version is 1.4+: yes

Unity 3D supported: no
------------

[possibly related to https://bugs.freedesktop.org/show_bug.cgi?id=89146]

I never tried running unity_support_test before upgrading from 14.04 to 14.10, so I'm not sure if it looked better on 14.04 but definitely it didn't crash in this way. In my view this is a regression.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: unity 7.3.1+14.10.20141016-0ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-30.40-generic 3.16.7-ckt3
Uname: Linux 3.16.0-30-generic i686
NonfreeKernelModules: wl
ApportVersion: 2.14.7-0ubuntu8.1
Architecture: i386
CompizPlugins: [core,composite,opengl,decor,imgpng,resize,gnomecompat,snap,compiztoolbox,place,move,grid,vpswitch,regex,session,mousepoll,animation,unitymtgrabhandles,wall,workarounds,fade,expo,ezoom,scale,unityshell]
CurrentDesktop: Unity
Date: Sun Feb 15 20:12:09 2015
InstallationDate: Installed on 2010-03-20 (1793 days ago)
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100317.1)
SourcePackage: unity
UpgradeStatus: Upgraded to utopic on 2014-12-08 (68 days ago)

Revision history for this message
mikbini (mikbini) wrote :
Revision history for this message
mikbini (mikbini) wrote :

I re-submitted this using ubuntu-bug after apport-collect failed to add any info to Bug #1421960

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

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

Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
fernando biondi (fbiondip) wrote :

I'm using trusty 14.04.2 upgraded kernel but still affecting Unity performance, need to reboot every single time when I try to watch youtube videos

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

If this bug is the same as <https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/881526>, please subscribe me to this report using the panel from the right.

Changed in unity (Ubuntu):
importance: Undecided → Critical
Changed in unity:
status: New → Confirmed
Changed in unity (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
madbiologist (me-again) wrote :

Your system is running the llvmpipe graphics driver which shouldn't happen unless you are have very old graphics hardware. Please attach the output of lspci -vvnn and a copy of your bootdmesg.txt file.

mikbini (mikbini)
description: updated
Revision history for this message
mikbini (mikbini) wrote :

Attaching output of lspci -vvnn

Revision history for this message
mikbini (mikbini) wrote :

Adding bootstrap dmesg output

Revision history for this message
madbiologist (me-again) wrote :

Your graphics hardware is reasonably recent and I don't see any graphics errors in your bootdmesg file. I suggest that you file an upstream bug report at bugs.freedesktop.org
You can link that bug report to this bug report by clicking on "Also affects project" near the top of this page.

Revision history for this message
mikbini (mikbini) wrote :

I'll gladly do but can you please advise:

* what freedesktop project is this bug for
* what bug I report ? That something is picking up the wrong graphics driver [what's the "right" one BTW]?

Thanks,
Michele

Revision history for this message
madbiologist (me-again) wrote :

This bug would be in the Mesa project's Drivers/DRI/i965 component.

The bug to report would indeed be that the wrong graphics driver is being chosen. The llvmpipe driver is being chosen instead of the i965 driver. Attach the ouput of lspci -vvnn and a copy of your bootdmesg.txt file to the freedesktop bug report, along with the output of unity_support_test -p

Revision history for this message
In , mikbini (mikbini) wrote :

Created attachment 116207
Boot dmesg output

Hello,

on my old MacBook4,1, using Ubuntu 14.10, it seems that the llvmpipe driver is chosen instead of i965.

I'm attaching the boot dmesg output.

Revision history for this message
In , mikbini (mikbini) wrote :

Created attachment 116208
Output of lspci -vvnn

Adding also the output of lspci -vvnn

Revision history for this message
In , mikbini (mikbini) wrote :

Created attachment 116209
Output of unity_support_test -p

And of unity_support_test -p , in case you need it

Revision history for this message
In , Mattst88 (mattst88) wrote :

What makes you think it's using llvmpipe instead of i965? The unity_support_test output says:

> OpenGL vendor string: Intel Open Source Technology Center
> OpenGL renderer string: Mesa DRI Intel(R) 965GM x86/MMX/SSE2
> OpenGL version string: 2.1 Mesa 10.3.2

which shows the i965 driver in use.

Revision history for this message
In , mikbini (mikbini) wrote :

Created attachment 116210
Output for an older run of unity_support_test -p

Interesting.

I'm attaching the unity_support_test that made me (or rather a helpful guy on launchpad, see https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1422163) think that it was llvmpipe.

It was generated on on February. As far as my (limited) understanding goes it looked like the i965 driver failed to load for some unknown reason and llvmpipe was picked up as a fallback.

I re-generated the one I attached when I opened this ticket a few minutes ago, on the same hardware.

Likely something changed in between in ubuntu, you are right, it looks like the right driver is picked up now.

Sorry for the noise.

Revision history for this message
In , Mattst88 (mattst88) wrote :

Cool, thanks for confirming.

Revision history for this message
mikbini (mikbini) wrote :

Under the guidance of the freedesktop guys I re-run unity_support_test (see attachment) and the results are different now: it looks that i965 is indeed picked up:

OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) 965GM x86/MMX/SSE2
OpenGL version string: 2.1 Mesa 10.3.2

So, back to square one, as chrome still causes unity crashes while watching youtube videos...

Changed in mesa:
importance: Unknown → Medium
status: Unknown → Invalid
Revision history for this message
Will Cooke (willcooke) wrote :

Sorry folks, but as part of the bug clean up ahead of 16.04 I'm marking this as invalid because it affects an Ubuntu release which is now unsupported. If you can still recreate this bug in a supported release please do open a new bug and we can triage it for consideration in the 16.04 development cycle. Additional: I can't recreate this on 14.04 on my Intel based machine.

Changed in unity (Ubuntu):
status: Triaged → Invalid
Changed in unity:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.