2 ways for patching nvidia mode