There was a software which allows the user to edit per-executable nvidia settings and allows user to unlocks old applications to use the nvidia graphics instead of intel cpu. Can you give me names of software which does that?
found it myself, it's Nvidia Inspector, it can override nvidia optimus and force applications to nvidia GPU on all processes.
note: when I find answers to my own questions I often get downvotes, but whatever. somebody may look for it and it may be useful for someone in the future.