Did you open up Task Manager (ctrl shift esc) and notice minecraft is using integrated graphics? Or from the F3 scren?
For me all pre-existing tutorials didn't work/were outdated, and NVidia Control Panel seems to no longer open.
Ideally going to Graphics Settings should have this option https://cdn.discordapp.com/attachments/703437968634937344/869613353520234556/minecraft-not-using-gpu-4.png but I did not have this option. I only had "Desktop app" and "Browse" or "Microsoft Store App".