Granted, I've always had these kinds of issues with new laptops, especially when it came to proprietary nvidia or AMD graphics (before AMDGPU) and I agree it's improved a lot, but I still need to tell people that there's caveats with some (especially newer) laptops.
At the end of 2021 I got an EliteBook 845 g8 (Zen 3) that worked completely fine out of the box on Linux (Arch with up-to-date kernel). Every last bit of kit worked perfectly. Bluetooth, IR webcam, fingerprint sensor, light sensor, mute LEDs, etc. On Windows, to this day, the webcam isn't recognized because of some USB chip along the line. There's also a lot of lag when adjusting the display backlight, for some reason.
I also have its cousin, an EB 840 g8 (intel 11th gen). A few days ago I installed Win11 22h2 on it. I was lucky to have had an external mouse, since neither the touchpad nor the track point could be used for setup. And it absolutely needs the latest Intel GPU drivers to correctly output 4k@60 through its HP dock (DP pass-thtough, not DisplayLink). On Linux, the same display setup has worked well since day one. But the mute LEDs are still broken.
Both laptops don't come with integrated wired network, so I have an HP USB dongle (Realtek chip). This works quite well on Linux. On Windows, it initially works well, but then, for some reason, Windows figures it needs to update the driver. Then it gains some interesting failure modes, where from the terminal I can do whatever I want, but Edge keeps thinking the connection is lost.
I have used Linux on many laptops and I never had problems with the video outputs, but most of them had NVIDIA GPUs and a few used the integrated Intel GPU. I have no recent experience with AMD GPUs on laptops.
I do not normally use Ubuntu, so that might matter, but when I bought a Dell Precision, it came with Ubuntu preinstalled and it worked fine until I wiped Ubuntu and I installed another Linux distribution.
I used once a Lenovo on which I had to waste a couple of days until I made the GPU work properly in Linux, because it was an NVIDIA Optimus switchable GPU, but even on that laptop there were no problems with the video outputs, but only with the OpenGL acceleration, until it was configured in the right way.