on xenial help sign in
Deprecate usage of Mir's input resampling, instead opting for:
e3bace4Daniel van Vugt
data/unity8.conf+14−5
@@ -8,6 +8,15 @@ stop on desktop-end
8
8
9kill timeout 120
9kill timeout 120
10
10
11+#
12+# Ensure the shell always gets unthrottled touch events, so that applications
13+# who want full speed low-latency input can get it (LP: #1497105) and so that
14+# apps can use QML touch compression safely (the QML touch compression
15+# algorithm does not support nesting well - LP: #1486341, LP: #1556763 - so
16+# must be fed by the raw input event stream from Unity8).
17+#
18+env QML_NO_TOUCH_COMPRESSION=1
19+
11respawn
20respawn
12expect stop
21expect stop
13
22
@@ -45,11 +54,11 @@ pre-start script
45
54
46 initctl set-env --global MIR_SERVER_PROMPT_FILE=1
55 initctl set-env --global MIR_SERVER_PROMPT_FILE=1
47
56
48− # Disable Qt's stuttering 'touch compression' to fix scrolling smoothness
57+ #
49− # issues (LP: #1486341, LP: #1556763). As a bonus, this eliminates most of
58+ # Mir's input resampling is deprecated and going away soon. Turn it off
50− # the lag seen in the indicator panel pull-down (LP: #1488327) and also
59+ # so we don't get a surprise change in behaviour when that happens.
51− # reduces lag seen in apps:
60+ #
52− initctl set-env --global QML_NO_TOUCH_COMPRESSION=1
61+ initctl set-env --global MIR_CLIENT_INPUT_RATE=0
53
62
54 if [ "$XDG_SESSION_DESKTOP" = "ubuntu-touch" ]; then
63 if [ "$XDG_SESSION_DESKTOP" = "ubuntu-touch" ]; then
55 # On Ubuntu Touch, we currently use a trick where we auto-login the
64 # On Ubuntu Touch, we currently use a trick where we auto-login the