on xenial help sign in
Disable Qt's stuttering 'touch compression' to fix scrolling smoothness
cf16384Daniel van Vugt
data/unity8.conf+10
@@ -46,6 +46,16 @@ pre-start script
46 initctl set-env --global MIR_SERVER_PROMPT_FILE=1
46 initctl set-env --global MIR_SERVER_PROMPT_FILE=1
47
47
48 initctl emit --no-wait indicator-services-start
48 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
49end script
59end script
50
60
51exec ${BINARY:-unity8} $ARGS
61exec ${BINARY:-unity8} $ARGS