on xenial help sign in
Deprecate usage of Mir's input resampling, instead opting for:

Shell: Raw native input events Apps: Qt's built-in touch compression input resampling algorithm, and other toolkits are expected to provide their own. This fixes LP: #1497105 nicely, allowing apps to receive the full-speed input stream (if they ask their toolkit to give it to them). As an added bonus this also eliminates the 0-16.9ms (average 8.4ms) of input lag that apps under Unity8 would experience. We do still have the problem of output lag making everything still look laggy but I am working to eliminate that soon in Mir 0.26.0.

commit7426875eed71507ed8c21012c2f6910519e99527 authorDaniel van Vugt <daniel.van.vugt@canonical.com> dateFri 6 Jan 2017, 18:08 (10 years ago) parent5d924f5
1 file changed+5−5
data/unity8.conf+5−5
data/unity8.conf+5−5
@@ -45,11 +45,11 @@ pre-start script
4545
4646 initctl set-env --global MIR_SERVER_PROMPT_FILE=1
4747
48− # Disable Qt's stuttering 'touch compression' to fix scrolling smoothness
49− # issues (LP: #1486341, LP: #1556763). As a bonus, this eliminates most of
50− # the lag seen in the indicator panel pull-down (LP: #1488327) and also
51− # reduces lag seen in apps:
52− initctl set-env --global QML_NO_TOUCH_COMPRESSION=1
48+ #
49+ # Mir's input resampling is deprecated and going away soon. Turn it off
50+ # so we don't get a surprise change in behaviour when that happens.
51+ #
52+ initctl set-env --global MIR_CLIENT_INPUT_RATE=0
5353
5454 # Workaround for text not rendering correctly
5555 initctl set-env --global QT_ENABLE_GLYPH_CACHE_WORKAROUND=1