~vanvugt/compiz-core/lastMotionTime

  • Committer: Daniel van Vugt
  • Author(s): Alan Griffiths
  • Date: 2012-03-30 03:47:35 UTC
  • mfrom: (3071.1.16 arg-tmp1)
  • Revision ID: daniel.van.vugt@canonical.com-20120330034735-sinr1hf0wxx1kd5f
Avoid graphics corruption and hangs on compiz start-up by ensuring that
plugins don't get initialized, de-initialized and re-initialzed during
start-up. (LP: #963093) (LP: #963633)

The multiple init/fini/init calls occured when compiz was asked to load an
invalid plugin name. This occurred most recently as plugins "bailer" and
"detection" were left in some peoples' configs while the plugins themselves
no longer exist in the current compiz release.

The source of the graphics corruption and hangs has been found to be a
problem in the composite and/or opengl plugins. One or both of them are unsafe
to init/fini multiple times without a full compiz restart. So the root cause
is not exactly known yet. However composite and opengl are not alone; many
plugins have bugs with init/fini/init sequences, so it is valuable to fix
the start-up plugin ordering as this does.

Essentially this fix works by remembering which plugins don't exist at all
and putting them on a black list. Then subsequent updates check the blacklist
and know they should never include those failed plugins in testing whether
the active plugin lists have changed.

The final part of the fix is to remove a rendundant call to updatePlugins from
EventManager::init. It is not required as main tells PluginManager when to
load plugins on startup.

IMPORTANT NOTE FOR UBUNTU PACKAGING
In downstream ubuntu branches the DEFAULT_PLUGINS list in "debian/rules" also
causes multiple plugin loads on start-up and prevents this fix from working!
The solution is to change DEFAULT_PLUGINS to just "ccp".
Filename Latest Rev Last Changed Committer Comment Size
..
af.po 2398 14 years ago Guillaume Seguin Update translations 62.5 KB Diff Download File
ar.po 2398 14 years ago Guillaume Seguin Update translations 60.6 KB Diff Download File
as.po 2399 14 years ago Erkin Bahceci Fix charsets in some po files (cherry picked from 50.4 KB Diff Download File
be.po 2398 14 years ago Guillaume Seguin Update translations 52.9 KB Diff Download File
bg.po 2398 14 years ago Guillaume Seguin Update translations 98.8 KB Diff Download File
bn.po 2398 14 years ago Guillaume Seguin Update translations 119 KB Diff Download File
bn_IN.po 2398 14 years ago Guillaume Seguin Update translations 119 KB Diff Download File
bs.po 2398 14 years ago Guillaume Seguin Update translations 64.4 KB Diff Download File
ca.po 2398 14 years ago Guillaume Seguin Update translations 101 KB Diff Download File
ChangeLog 362 17 years ago David Reveman Add Swedish translation. 531 bytes Diff Download File
CMakeLists.txt 2652 13 years ago Sam Spilsbury Install translations into LC_MESSAGES instead of l 1.5 KB Diff Download File
cs.po 2398 14 years ago Guillaume Seguin Update translations 126 KB Diff Download File
cy.po 2398 14 years ago Guillaume Seguin Update translations 64.9 KB Diff Download File
da.po 2398 14 years ago Guillaume Seguin Update translations 98.4 KB Diff Download File
de.po 2398 14 years ago Guillaume Seguin Update translations 130 KB Diff Download File
el.po 2398 14 years ago Guillaume Seguin Update translations 113 KB Diff Download File
en_GB.po 2398 14 years ago Guillaume Seguin Update translations 73.3 KB Diff Download File
en_US.po 1961.1.1 15 years ago Jigish Gohil new translations and updates 53.8 KB Diff Download File
es.po 2398 14 years ago Guillaume Seguin Update translations 135 KB Diff Download File
et.po 2398 14 years ago Guillaume Seguin Update translations 74.7 KB Diff Download File
eu.po 2398 14 years ago Guillaume Seguin Update translations 84.1 KB Diff Download File
fa.po 2398 14 years ago Guillaume Seguin Update translations 50.9 KB Diff Download File
fi.po 2398 14 years ago Guillaume Seguin Update translations 136 KB Diff Download File
fr.po 2398 14 years ago Guillaume Seguin Update translations 91.8 KB Diff Download File
gl.po 2398 14 years ago Guillaume Seguin Update translations 89.2 KB Diff Download File
gu.po 2398 14 years ago Guillaume Seguin Update translations 114 KB Diff Download File
he.po 2398 14 years ago Guillaume Seguin Update translations 100 KB Diff Download File
hi.po 2398 14 years ago Guillaume Seguin Update translations 113 KB Diff Download File
hr.po 2398 14 years ago Guillaume Seguin Update translations 73.9 KB Diff Download File
hu.po 2398 14 years ago Guillaume Seguin Update translations 88.1 KB Diff Download File
id.po 2398 14 years ago Guillaume Seguin Update translations 62.7 KB Diff Download File
it.po 2398 14 years ago Guillaume Seguin Update translations 95.7 KB Diff Download File
ja.po 2398 14 years ago Guillaume Seguin Update translations 91.2 KB Diff Download File
ka.po 2398 14 years ago Guillaume Seguin Update translations 60.1 KB Diff Download File
km.po 2398 14 years ago Guillaume Seguin Update translations 86.8 KB Diff Download File
ko.po 2398 14 years ago Guillaume Seguin Update translations 85.4 KB Diff Download File
lo.po 2398 14 years ago Guillaume Seguin Update translations 60 KB Diff Download File
lt.po 2398 14 years ago Guillaume Seguin Update translations 75.5 KB Diff Download File
mk.po 2398 14 years ago Guillaume Seguin Update translations 60.6 KB Diff Download File
ml_IN.po 2399 14 years ago Erkin Bahceci Fix charsets in some po files (cherry picked from 60.2 KB Diff Download File
mr.po 1961.1.1 15 years ago Jigish Gohil new translations and updates 56.4 KB Diff Download File
nb.po 2398 14 years ago Guillaume Seguin Update translations 84.9 KB Diff Download File
nl.po 2398 14 years ago Guillaume Seguin Update translations 88.8 KB Diff Download File
or.po 2398 14 years ago Guillaume Seguin Update translations 122 KB Diff Download File
pa.po 2398 14 years ago Guillaume Seguin Update translations 111 KB Diff Download File
pl.po 2398 14 years ago Guillaume Seguin Update translations 100 KB Diff Download File
POTFILES.in 3006.1.1 12 years ago Gabor Kelemen Add missing files to POTFILES.in. LP: 780505 1 KB Diff Download File
pt.po 2398 14 years ago Guillaume Seguin Update translations 88.3 KB Diff Download File
pt_BR.po 2398 14 years ago Guillaume Seguin Update translations 86.7 KB Diff Download File
ro.po 2398 14 years ago Guillaume Seguin Update translations 89.3 KB Diff Download File
ru.po 2398 14 years ago Guillaume Seguin Update translations 108 KB Diff Download File
sk.po 2398 14 years ago Guillaume Seguin Update translations 86.9 KB Diff Download File
sl.po 2398 14 years ago Guillaume Seguin Update translations 76.7 KB Diff Download File
sr.po 2398 14 years ago Guillaume Seguin Update translations 82 KB Diff Download File
sv.po 2398 14 years ago Guillaume Seguin Update translations 84.7 KB Diff Download File
ta.po 2398 14 years ago Guillaume Seguin Update translations 61.1 KB Diff Download File
tr.po 2398 14 years ago Guillaume Seguin Update translations 94.5 KB Diff Download File
uk.po 2399 14 years ago Erkin Bahceci Fix charsets in some po files (cherry picked from 110 KB Diff Download File
vi.po 2398 14 years ago Guillaume Seguin Update translations 60.1 KB Diff Download File
xh.po 2398 14 years ago Guillaume Seguin Update translations 62.7 KB Diff Download File
zh_CN.po 2398 14 years ago Guillaume Seguin Update translations 118 KB Diff Download File
zh_TW.po 2398 14 years ago Guillaume Seguin Update translations 121 KB Diff Download File
zu.po 2398 14 years ago Guillaume Seguin Update translations 62.9 KB Diff Download File