Mir

mircommon: Failed to load module: /usr/lib/x86_64-linux-gnu/mir/server-platform/server-mesa-x11.so.4 (error was:/usr/lib/x86_64-linux-gnu/mir/server-platform/server-mesa-x11.so.4: undefined symbol: _ZN3mir6events10make_eventElNSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEEj16MirPointerActionjffff)

Bug #1491372 reported by dinamic on 2015-09-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
New
Undecided
Unassigned
mir (Ubuntu)
Undecided
Unassigned

Bug Description

mircommon: Failed to load module: /usr/lib/x86_64-linux-gnu/mir/server-platform/server-mesa-x11.so.4 (error was:/usr/lib/x86_64-linux-gnu/mir/server-platform/server-mesa-x11.so.4: undefined symbol: _ZN3mir6events10make_eventElNSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEEj16MirPointerActionjffff)

wily, nvidia, mir 0.15.0 but it's probably 0.15.1 (i don't trust mir version strings!!)

unity8 doesn't load i get a black screen

dinamic (dinamic6661) wrote :

unity8 log

dinamic (dinamic6661) wrote :
Download full text (3.5 KiB)

[1441193060.954283] mirplatform: Found graphics driver: mesa-kms
[1441193060.960759] mirplatform: Found graphics driver: dummy
qtmir.mir: MirServer created
QSocketNotifier: Can only be used with threads started with QThread
QSocketNotifier: Can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QIBusPlatformInputContext: invalid bus.
[1441193061.093976] mirserver: Starting
[1441193061.098075] mircommon: Loading modules from: /usr/lib/x86_64-linux-gnu/mir/server-platform
[1441193061.098489] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-mesa-kms.so.4
[1441193061.099023] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/input-stub.so
[1441193061.108795] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-mesa.so.1
[1441193061.120849] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/server-mesa-x11.so.4
[1441193061.122549] <WARNING> mircommon: Failed to load module: /usr/lib/x86_64-linux-gnu/mir/server-platform/server-mesa-x11.so.4 (error was:/usr/lib/x86_64-linux-gnu/mir/server-platform/server-mesa-x11.so.4: undefined symbol: _ZN3mir6events10make_eventElNSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEEj16MirPointerActionjffff)
[1441193061.123342] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-mesa-kms.so.3
[1441193061.125744] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-dummy.so
[1441193061.130779] mirplatform: Found graphics driver: mesa-kms
[1441193061.131467] mirplatform: Found graphics driver: dummy
[1441193061.132366] mirserver: Selected driver: mesa-kms (version 0.15.0)
ERROR: QMirServer - Mir failed to start
()
[1441194450.205234] mirplatform: Found graphics driver: mesa-kms
[1441194450.210372] mirplatform: Found graphics driver: dummy
qtmir.mir: MirServer created
QSocketNotifier: Can only be used with threads started with QThread
QSocketNotifier: Can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QIBusPlatformInputContext: invalid bus.
[1441194450.307584] mirserver: Starting
[1441194450.308222] mircommon: Loading modules from: /usr/lib/x86_64-linux-gnu/mir/server-platform
[1441194450.308446] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-mesa-kms.so.4
[1441194450.308625] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/input-stub.so
[1441194450.309266] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-mesa.so.1
[1441194450.311831] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/server-mesa-x11.so.4
[1441194450.312823] <WARNING> mircommon: Failed to load module: /usr/lib/x86_64-linux-gnu/mir/server-platform/server-mesa-x11.so.4 (error was:/usr/lib/x86_64-linux-gnu/mir/server-platform/server-mesa-x11.so.4: undefined symbol: _ZN3mir6events10make_eventElNSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEEj16MirPointerActionjffff)
[1441194450.313370] mircommon: Loading module: /usr/lib/x86_64-linu...

Read more...

dinamic (dinamic6661) wrote :
Alan Griffiths (alan-griffiths) wrote :

mir/server-platform/graphics-mesa-kms.so.4
...
mir/server-platform/graphics-mesa-kms.so.3

It appears there are two versions of mir-platform-graphics-mesa installed. It is quite reasonable (and ought to be safe) for the one of them that doesn't match the running libmirserver to fail loading.

You could try uninstalling the "wrong" driver modules in case that adds a clue.

dinamic (dinamic6661) wrote :

done :> same thing, black screen. oh well

[1441200516.496981] mirplatform: Found graphics driver: mesa-kms
[1441200516.498386] mirplatform: Found graphics driver: dummy
qtmir.mir: MirServer created
QSocketNotifier: Can only be used with threads started with QThread
QSocketNotifier: Can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
QIBusPlatformInputContext: invalid bus.
[1441200516.579964] mirserver: Starting
[1441200516.580700] mircommon: Loading modules from: /usr/lib/x86_64-linux-gnu/mir/server-platform
[1441200516.581320] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-mesa-kms.so.4
[1441200516.581411] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/input-stub.so
[1441200516.582132] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/server-mesa-x11.so.4
[1441200516.583664] <WARNING> mircommon: Failed to load module: /usr/lib/x86_64-linux-gnu/mir/server-platform/server-mesa-x11.so.4 (error was:/usr/lib/x86_64-linux-gnu/mir/server-platform/server-mesa-x11.so.4: undefined symbol: _ZN3mir6events10make_eventElNSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEEj16MirPointerActionjffff)
[1441200516.585041] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-dummy.so
[1441200516.586831] mirplatform: Found graphics driver: mesa-kms
[1441200516.589332] mirplatform: Found graphics driver: dummy
[1441200516.589527] mirserver: Selected driver: mesa-kms (version 0.15.0)

dinamic (dinamic6661) wrote :

btw.. mir works just fine, i can open a mir demo server and run gedit for ex.. works just fine. unity8 doesn't work

affects: mir → unity8
no longer affects: unity8
Daniel van Vugt (vanvugt) wrote :

The incorrect version string is known problem --> bug 1490367

Daniel van Vugt (vanvugt) wrote :

Hmm, you're the second or third person to report black screen with nouveau this week. We need to check that.

Also the <WARNING> looks like something for Mir team to investigate.

Daniel van Vugt (vanvugt) wrote :

I'm making this bug just about the symbol problem. If you continue to have black screen issues with nvidia we can deal with that in a separate bug.

affects: unity8 (Ubuntu) → mir (Ubuntu)
summary: - mircommon: Failed to load module
+ mircommon: Failed to load module: /usr/lib/x86_64-linux-gnu/mir/server-
+ platform/server-mesa-x11.so.4 (error was:/usr/lib/x86_64-linux-gnu/mir
+ /server-platform/server-mesa-x11.so.4: undefined symbol:
+ _ZN3mir6events10make_eventElNSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEEj16MirPointerActionjffff)
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1483469, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

Daniel van Vugt (vanvugt) wrote :

Yep this was a linkage bug in server-mesa-x11.so.4 during the Mir 0.15 series. It is fixed in Mir 0.16.

dinamic (dinamic6661) wrote :

oh, cool :P

Daniel van Vugt (vanvugt) wrote :

dinamic:

I have just tested Unity8+nvidia+wily and it seems to work for me. Installed via:
    sudo apt-get install unity8-desktop-session-mir
and then select Unity8 on the login screen.

Try updating your nvidia system and then:
Do you still get a black screen in Unity8?
Did you start Unity8 in the same way I did?
What Nvidia card/chip are you using? You can find out with:

   sudo grep GL /var/log/lightdm/unity-system-compositor.log

Launchpad Janitor (janitor) wrote :

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

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

Other bug subscribers