Thanks for all that info. With that I was able to get to the bottom of
it pretty quickly:

Native Mir servers start fine (see unity-system-compositor.log in comment #4) 
but clients including the nested Untiy8 server fail to start:
   std::exception::what: Nested Mir Display Error: Failed to initialize EGL.: 
EGL_NOT_INITIALIZED (0x3001)

If you look at the EGL docs, this error means eglInitialize was given an
invalid display parameter. And that will happen if the version of Mesa
you're using lacks the egl-platform-mir.patch (lacks Mir support).

Turns out you're using a custom version of Mesa:  
11.3~git160422173900.e85bef8~w~padoka0 
which lacks Mir support. So of course Mir clients like the nested Unity8 server 
will fail to start.

Please remove your custom Mesa version 11.3~git160422173900.e85bef8~w~padoka0, 
and replace it with the Ubuntu-provided Mesa:
  https://launchpad.net/ubuntu/+source/mesa

And then you'll have no such problem.

** Changed in: mir
       Status: New => Invalid

** Changed in: mir (Ubuntu)
       Status: New => Invalid

** Changed in: unity8 (Ubuntu)
       Status: New => Invalid

** Changed in: unity8-desktop-session (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1584635

Title:
  Black screen after logging in to Unity 8 [std::exception::what: Nested
  Mir Display Error: Failed to initialize EGL.: EGL_NOT_INITIALIZED
  (0x3001)]

Status in Mir:
  Invalid
Status in mir package in Ubuntu:
  Invalid
Status in unity8 package in Ubuntu:
  Invalid
Status in unity8-desktop-session package in Ubuntu:
  Invalid

Bug description:
  I'm running 16.04 64-bit (upgraded from 15.10 which was upgraded from
  15.04) and followed mhall's tutorial here http://mhall119.com/2016/05
  /dogfooding-unity-8/

  The error in the log was: Failed to initialize EGL

  I have a mobile AMD GPU with open source drivers: Gallium 0.4 on AMD RV620
  Full unity 8 log here: http://paste.ubuntu.com/16581290/

  The comment suggesting $ sudo sysctl restart lightdm
  fails with
  sysctl: cannot stat /proc/sys/restart: No such file or directory
  sysctl: cannot stat /proc/sys/lightdm: No such file or directory

  Switching TTYs and back again doesn't help. I still have a completely
  black screen.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1584635/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to