Welcome nuhuh xd,
I understand how frustrating it can be when your laptop is experiencing unusually low FPS in games despite having an RTX 4050, Intel Core i5 13th Gen processor, and 16 GB RAM, and that performance temporarily improves when repeatedly switching between windowed and fullscreen mode.
For now, please try these tests:
- Right-click the game's executable file (Minecraft Launcher or javaw.exe for Minecraft).
- Select Properties > Compatibility
- Check Disable fullscreen optimizations
- Select Change high DPI settings and check Override high DPI scaling behavior, then choose Application > OK
Then restart the game and test again.
If the problem remains:
- Open Settings > System > Display > Graphics
- Add the game if it is not already listed.
- Select the game > Options
- Choose High performance (the RTX 4050) and save.
I hope the steps above help you deal with your issue.
If the answer is helpful, please click "Yes". If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.