supertux 2 can't start with SDL_VIDEODRIVER=mir [Couldn't initialize SDL: Failed to connect to the mir server]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Incomplete
|
High
|
Stephen M. Webb | ||
Mir |
Invalid
|
Undecided
|
Unassigned | ||
libsdl2 (Ubuntu) |
Incomplete
|
High
|
Brandon Schaefer | ||
supertux (Ubuntu) |
Incomplete
|
High
|
Unassigned | ||
unity8 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
17.04 / unity8 session
from what i understand this is an SDL2 app and should work on unity8, it did before
$ journalctl --user-unit ubuntu-
-- Logs begin at Sat 2017-02-04 14:24:38 EET, end at Sat 2017-02-04 14:55:01 EET. --
Feb 04 14:53:00 pixel-desktop systemd[3969]: Starting ubuntu-
Feb 04 14:53:01 pixel-desktop supertux2[8395]: [2017-02-04 14:53:01.377093] <ERROR> MirConnectionAPI: Caught exception at client library boundary (in mir_connection_
Feb 04 14:53:01 pixel-desktop supertux2[8395]: Dynamic exception type: boost::
Feb 04 14:53:01 pixel-desktop supertux2[8395]: std::exception:
Feb 04 14:53:01 pixel-desktop supertux2[8395]: [boost:
Feb 04 14:53:01 pixel-desktop supertux2[8395]: [FATAL] /build/
Feb 04 14:53:01 pixel-desktop systemd[3969]: ubuntu-
Feb 04 14:53:01 pixel-desktop systemd[3969]: Failed to start ubuntu-
Feb 04 14:53:01 pixel-desktop systemd[3969]: ubuntu-
Feb 04 14:53:01 pixel-desktop systemd[3969]: ubuntu-
description: | updated |
Changed in canonical-devices-system-image: | |
milestone: | none → u8c-1 |
Changed in canonical-devices-system-image: | |
milestone: | u8c-1 → u8c-2 |
dinamic, you are a star...
Unfortunately I can think of a few reasons why this might happen.
1. Unity8 server died (although you would have noticed)
2. Apparmour problems
3. Fullscreen apps may crash the server in Mir 0.26.0 (bug 1661508)
And worse, when I try to test supertux under Mir right now it fails for a 4th reason:
$ mirrun /usr/games/ supertux2 supertux- LmXSob/ supertux- 0.5.1/src/ supertux/ main.cpp: 510 Unexpected exception: Couldn't initialize SDL: Failed to connect to the mir server: Failed to connect to server socket: No such file or directory
[FATAL] /build/
Which sounds like a known issue with non-root users not being able to auto-discover the Mir socket path. However then running it as root also fails (SDL crashes trying to use X11).
I can't tell where the cause of this bug is. Might also be in SDL.