"standalone" demos crash when running on X11
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Confirmed
|
Low
|
Cemil Azizoglu | ||
mir (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Much the same happens for all three (mir_demo_
$ bin/mir_
MIR_CLIENT_
MIR_SERVER_
LD_LIBRARY_
exec=bin/
[2016-03-17 17:07:28.206281] mirplatform: Found graphics driver: mir:android (version 0.21.0)
[2016-03-17 17:07:28.207053] mirplatform: Found graphics driver: mir:mesa-kms (version 0.21.0)
[2016-03-17 17:07:28.207915] mirplatform: Found graphics driver: mir:mesa-x11 (version 0.21.0)
[2016-03-17 17:07:28.208043] mirplatform: Found graphics driver: throw-on-creation (version 0.21.0)
[2016-03-17 17:07:28.208062] mirplatform: Found graphics driver: dummy (version 0.21.0)
[2016-03-17 17:07:28.208589] mircommon: Loading modules from: bin/../
[2016-03-17 17:07:28.208656] mircommon: Loading module: bin/../
[2016-03-17 17:07:28.209366] mircommon: Loading module: bin/../
[2016-03-17 17:07:28.209731] mircommon: Loading module: bin/../
[2016-03-17 17:07:28.209753] mircommon: Loading module: bin/../
[2016-03-17 17:07:28.212134] mircommon: Loading module: bin/../
[2016-03-17 17:07:28.213083] mircommon: Loading module: bin/../
[2016-03-17 17:07:28.213859] mircommon: Loading module: bin/../
[2016-03-17 17:07:28.216410] mirplatform: Found graphics driver: mir:android (version 0.21.0)
[2016-03-17 17:07:28.217152] mirplatform: Found graphics driver: mir:mesa-kms (version 0.21.0)
[2016-03-17 17:07:28.217720] mirplatform: Found graphics driver: mir:mesa-x11 (version 0.21.0)
[2016-03-17 17:07:28.217793] mirplatform: Found graphics driver: throw-on-creation (version 0.21.0)
[2016-03-17 17:07:28.217809] mirplatform: Found graphics driver: dummy (version 0.21.0)
[2016-03-17 17:07:28.218007] mirserver: Selected driver: mir:mesa-x11 (version 0.21.0)
[2016-03-17 17:07:28.225821] x11-display: EGL Version 1.4
[2016-03-17 17:07:28.225868] x11-display: 1 configs found
[2016-03-17 17:07:28.225876] x11-display: 1 visuals found
[2016-03-17 17:07:28.225891] x11-display: Pixel depth = 24
Segmentation fault (core dumped)
FAILED
Now, mir_demo_
Related branches
- Mir CI Bot: Needs Fixing (continuous-integration)
- Alan Griffiths: Approve
- Daniel van Vugt: Abstain
- Alexandros Frantzis (community): Approve
-
Diff: 1158 lines (+397/-414)15 files modifiedsrc/platforms/mesa/server/kms/display_buffer.cpp (+1/-1)
src/platforms/mesa/server/x11/graphics/CMakeLists.txt (+1/-2)
src/platforms/mesa/server/x11/graphics/display.cpp (+60/-127)
src/platforms/mesa/server/x11/graphics/display.h (+11/-48)
src/platforms/mesa/server/x11/graphics/display_buffer.cpp (+36/-18)
src/platforms/mesa/server/x11/graphics/display_buffer.h (+18/-9)
src/platforms/mesa/server/x11/graphics/display_group.cpp (+0/-47)
src/platforms/mesa/server/x11/graphics/display_group.h (+0/-52)
src/platforms/mesa/server/x11/graphics/egl_helper.cpp (+184/-0)
src/platforms/mesa/server/x11/graphics/egl_helper.h (+78/-0)
src/platforms/mesa/server/x11/graphics/gl_context.cpp (+0/-45)
src/platforms/mesa/server/x11/graphics/gl_context.h (+0/-52)
src/platforms/mesa/server/x11/graphics/platform.cpp (+1/-1)
tests/unit-tests/graphics/test_platform_prober.cpp (+3/-1)
tests/unit-tests/platforms/mesa/x11/test_display.cpp (+4/-11)
Changed in mir: | |
importance: | Undecided → Low |
description: | updated |
description: | updated |
tags: | added: mesa-x11 |
Changed in mir: | |
assignee: | nobody → Cemil Azizoglu (cemil-azizoglu) |
status: | New → In Progress |
milestone: | none → 0.25.0 |
Changed in mir: | |
milestone: | 0.25.0 → 0.26.0 |
Changed in mir: | |
milestone: | 0.26.0 → 1.0.0 |
Half fixed in lp:mir, although I'm not sure if that's a recent improvement...
mir_demo_ standalone_ render_ to_fb: Works on KMS but not X11 still (segfault). standalone_ render_ surfaces: Works on both KMS and X11. standalone_ render_ overlays: Crashes on KMS, and is just a blank window on X11.
mir_demo_
mir_demo_