When I replaced my old laptop a few months ago, I decided to take advantage of a very good deal on an HP “gaming” laptop specifically for the included GTX 1650 GPU. I am running the latest version of Ubuntu (currently 21.04) and the latest nvidia driver (I think 480 now?).
When I first got the laptop set up with Linux, I ran tests to see how much the GPU sped up the exporting of videos. What I found was that I got varying results depending on the resolution, frame rate, and quality settings. I no longer remember the details, but in some configurations, there was negligible speed up compared to the i5 processor in the laptop. In other configurations, using the hardware encoder gave 10-15% speed up - enough to be nice, but not so much as to be essential.
While I have generally been happy with the laptop, my testing made me decide that I would have done better to forgo the “gaming” bit, and instead gotten a laptop that is better suited for Linux - not that Ubuntu is not running well on the HP, but there are a few annoying odds and ends that don’t (yet) quite work the way they should - e.g., I can’t just close the lid and have it go into suspend mode; I have to click and select that before closing the lid. Minor annoyance, and if the GPU had really knocked my socks off, well worth it. As it is … my next laptop will not include a GPU, and will likely be a Dell or some other brand that is Linux-friendly.