Xmir (DRI2 mode) crashes when launching chromium
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | xorg-server (Ubuntu) |
High
|
Daniel van Vugt | ||
Bug Description
I've installed xserver-xorg-xmir, unity8-
The one thing that doesn't is trying to launch chromium. Doing so takes down the xmir session entirely. Looking at the log file, I see:
(==) Log file: "/var/log/
(==) Using system config directory "/usr/share/
Driver needs flags 0, incompatible with nested, deleting.
Driver needs flags 0, incompatible with nested, deleting.
Driver needs flags 1, incompatible with nested, deleting.
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace
(EE) 1: /usr/bin/X (0x7fd0fe8f0000
(EE) 2: /lib/x86_
(EE) 3: /usr/lib/
(EE) 4: /usr/lib/
(EE) 5: /usr/bin/X (0x7fd0fe8f0000
(EE) 6: /usr/bin/X (DRI2CopyRegion
(EE) 7: /usr/bin/X (0x7fd0fe8f0000
(EE) 8: /usr/bin/X (0x7fd0fe8f0000
(EE) 9: /usr/bin/X (0x7fd0fe8f0000
(EE) 10: /lib/x86_
(EE) 11: /usr/bin/X (0x7fd0fe8f0000
(EE)
(EE) Segmentation fault at address 0xffffffffffffff00
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://
for help.
(EE) Please also check the log file at "/var/log/
(EE)
(II) AIGLX: Suspending AIGLX clients for VT switch
(EE) Server terminated with error (1). Closing log file.
| Rick Harris (rickfharris) wrote : | #2 |
Same here, also using the Intel driver but happens in Vivid using Unity7.
It appears any GL application in a Mir session will hard crash the session back to lightdm greeter.
Am able to reproduce the same crash by using 'glxgears'.
| Rick Harris (rickfharris) wrote : | #3 |
BTW, the chromium crash is worked around by disabling hardware acceleration in chromium's settings.
| Rick Harris (rickfharris) wrote : | #4 |
Full backtrace of crash.
Seems also to be related to bug #1450581
| no longer affects: | xmir |
| tags: | added: xmir |
| Daniel van Vugt (vanvugt) wrote : | #5 |
XMir 1.0 (the old Xorg extension) is now deprecated and is not being maintained or fixed. It is replaced by the new 'Xmir' binary (package 'xmir') introduced in Ubuntu 15.10 wily.
Is there any way to reproduce this bug without the old Xmir?
| Changed in xorg-server (Ubuntu): | |
| status: | Confirmed → Incomplete |
| Daniel van Vugt (vanvugt) wrote : | #6 |
Confirmed even with trunk Xmir... Although Xmir doesn't crash it does show errors with Chromium:
Focus: unfocused
chromium-browser --type=gpu-process --channel=
[DRI2] DRI2SwapBuffers: driver failed to schedule swap
Looks like maybe Chromium is confused and trying to speak native Mir and X/GLX simultaneously..?
| Daniel van Vugt (vanvugt) wrote : | #7 |
Sorry the problem is indeed just pure Xmir. The above error comes from xmir-dri2.c
| Changed in xorg-server (Ubuntu): | |
| status: | Incomplete → Confirmed |
| importance: | Undecided → High |
| summary: |
- xmir crashes when launching chromium + Xmir (DRI2 mode) crashes when launching chromium |
| Daniel van Vugt (vanvugt) wrote : | #8 |
Workaround: Use software mode:
Xmir -sw -damage
| Changed in xorg-server (Ubuntu): | |
| assignee: | nobody → Daniel van Vugt (vanvugt) |
| Daniel van Vugt (vanvugt) wrote : | #9 |
Sorry, I got my bugs confused.
This crash seems to have been fixed as I've done some major reworking of Xmir (trunk) over the past couple of months. Including improved stability.
However I still see some visual bugs unique to Chromium. Will log them separately.
| Changed in xorg-server (Ubuntu): | |
| status: | Confirmed → Fix Committed |
| Daniel van Vugt (vanvugt) wrote : | #10 |
The remaining issue has moved to bug 1510025.
| Daniel van Vugt (vanvugt) wrote : | #11 |
xorg-server (2:1.17.3-2ubuntu2) xenial; urgency=medium
| Changed in xorg-server (Ubuntu): | |
| status: | Fix Committed → Fix Released |


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