(after ioctl to ffi.C.ioctl in framebuffer_linux.lua)
This should finish the work to make all globals to local variables. That allows LuaJIT to properly compile things by interning the references to the relevant parts (rather than looking up globals all the time which stops a trace).