on xenial help sign in
Disable Qt's stuttering 'touch compression' to fix scrolling smoothness

Fixes (LP: #1486341). As a bonus, this eliminates most of the lag seen in the indicator panel pull-down (LP: #1488327) and also reduces lag seen in apps. Fixes: #1486341, #1488327 Approved by: Michał Sawicz, Daniel d'Andrada

commitcf16384e9e300528d11b6fc302bea6e29b474278 authorDaniel van Vugt <daniel.van.vugt@canonical.com> dateWed 21 Oct 2015, 11:51 (11 years ago) parentf79facf4d68f4f
1 file changed+10
data/unity8.conf+10
data/unity8.conf+10
@@ -46,6 +46,16 @@ pre-start script
4646 initctl set-env --global MIR_SERVER_PROMPT_FILE=1
4747
4848 initctl emit --no-wait indicator-services-start
49+
50+ # Disable Qt's stuttering 'touch compression' to fix scrolling smoothness
51+ # issues (LP: #1486341). As a bonus, this eliminates most of the
52+ # lag seen in the indicator panel pull-down (LP: #1488327) and also
53+ # reduces lag seen in apps:
54+ initctl set-env --global QML_NO_TOUCH_COMPRESSION=1
55+
56+ # For twice the fun and half the latency, try this (Warning: not all
57+ # devices are fast enough to keep up smoothly yet)...
58+ # initctl set-env MIR_SERVER_NBUFFERS=2
4959end script
5060
5161exec ${BINARY:-unity8} $ARGS