on xenial help sign in
Reinstate the touch performance/smoothness fix

(LP: #1486341, LP: #1556763). It never really went away, but someone accidentally moved it out of pre-start and into post-start where it has no effect. Fixes: #1556763 Approved by: Timo Jyrinki, Daniel d'Andrada

commit00f6d53cac4a846d263c10d43b911427f727ffbe authorDaniel van Vugt <daniel.van.vugt@canonical.com> dateWed 27 Apr 2016, 15:01 (10 years ago) parent1bf8bc0a96fa77
1 file changed+6−10
data/unity8.conf+6−10
data/unity8.conf+6−10
@@ -44,22 +44,18 @@ pre-start script
4444 fi
4545
4646 initctl set-env --global MIR_SERVER_PROMPT_FILE=1
47+
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
4753end script
4854
4955exec ${BINARY:-unity8} $ARGS
5056
5157post-start script
5258 initctl emit --no-wait indicator-services-start
53−
54− # Disable Qt's stuttering 'touch compression' to fix scrolling smoothness
55− # issues (LP: #1486341). As a bonus, this eliminates most of the
56− # lag seen in the indicator panel pull-down (LP: #1488327) and also
57− # reduces lag seen in apps:
58− initctl set-env --global QML_NO_TOUCH_COMPRESSION=1
59−
60− # For twice the fun and half the latency, try this (Warning: not all
61− # devices are fast enough to keep up smoothly yet)...
62− # initctl set-env MIR_SERVER_NBUFFERS=2
6359end script
6460
6561post-stop script