Hi, While rework some code to enable LibVA on EGL on ChromiumOS, I've noticed some X errors happening when calling vaTerminate(). Attached is a patch trying to fix this. Cheers, - Lionel