[intel] Bypass mode makes the cursor break up into horizontal line artefacts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Invalid
|
High
|
Unassigned | ||
xf86-video-intel |
New
|
Undecided
|
Chris Wilson | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
xorg-server (Ubuntu) |
Invalid
|
High
|
Chris Wilson | ||
xserver-xorg-video-intel (Ubuntu) |
Fix Released
|
High
|
Chris Wilson |
Bug Description
Mir's bypass mode makes the X cursor break up into horizontal line artefacts. I can see some pixels updating where the cursor should be, but not all of them.
There's a flickering ghost of where the mouse pointer was just a moment ago, comprised of small horizontal lines.
I've *heard* this is an intel-specific bug due to particular caching behaviour of intel graphics, triggered by bypass (but only seen when bypassing XMir surfaces, not other Mir surfaces).
WORKAROUND:
1. sudo -s
2. cd /usr/sbin
3. mv unity-system-
4. Now create a new file "unity-
---8<--
#!/bin/sh
export MIR_BYPASS=0
exec $0.bin $*
---8<--
5. chmod 755 unity-system-
Related branches
- Robert Ancell: Approve
- Kevin DuBois (community): Approve
- Alan Griffiths: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 287 lines (+111/-3)13 files modifiedinclude/platform/mir/graphics/buffer_ipc_packer.h (+1/-0)
include/shared/mir_toolkit/mir_native_buffer.h (+10/-1)
include/test/mir_test_doubles/mock_buffer_packer.h (+1/-0)
src/client/mir_surface.cpp (+1/-0)
src/server/frontend/protobuf_buffer_packer.cpp (+6/-0)
src/server/frontend/protobuf_buffer_packer.h (+1/-0)
src/server/graphics/gbm/gbm_buffer.cpp (+1/-0)
src/server/graphics/gbm/gbm_platform.cpp (+1/-0)
src/shared/protobuf/mir_protobuf.proto (+2/-1)
tests/acceptance-tests/test_client_library.cpp (+71/-0)
tests/mir_test_framework/testing_server_options.cpp (+12/-1)
tests/unit-tests/frontend/test_protobuf_buffer_packer.cpp (+2/-0)
tests/unit-tests/graphics/gbm/test_gbm_platform.cpp (+2/-0)
tags: | added: bypass |
Changed in xserver-xorg-video-intel (Ubuntu): | |
assignee: | nobody → Chris Wilson (ickle) |
status: | New → Confirmed |
status: | Confirmed → In Progress |
Changed in xmir: | |
status: | In Progress → Confirmed |
Changed in xserver-xorg-video-intel: | |
assignee: | nobody → Chris Wilson (ickle) |
Changed in xmir: | |
status: | Confirmed → Invalid |
Changed in xorg-server (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in xserver-xorg-video-intel (Ubuntu): | |
importance: | Undecided → High |
Changed in mir: | |
status: | Fix Committed → Invalid |
no longer affects: | mir (Ubuntu) |
Please be careful not to confuse this with bug 1216472. It will happen at the same time, unless you're using the workaround.