I am playing on my laptop but I have it connected to a gaming monitor. I used to be able to play up to 1.17 until I tried using Badlion Client. I was not able to use BLC and decided to ditch the idea. I went back to using the Minecraft launcher and now I can only play Minecraft if I am using my laptop's screen.
Would MC-128302 happen to describe your issue? If not, please could you provide more information regarding this issue such as the exact error messages that you're receiving? Thanks 🙂