Grub doesn’t actually validate the parameters themselves, but the whole config, so you’ve pasted it into the wrong spot. It should go in the string that follows GRUB_CMDLINE_LINUX_DEFAULT.
If it still happens, could you post your grub config?
Also some people have had success setting the GPU to game mode in the BIOS too.