I want to add that even if I have not seen for many years any problems with Xorg, on a wide variety of hardware, that does not mean that there are no problems with Linux.
In my opinion, the worst hardware problems in Linux are usually with Bluetooth or with audio.
I have not encountered yet hardware problems that could not be solved in Linux (unlike for Windows Enterprise, where I have met unsolvable problems).
Nevertheless, in the case of Bluetooth and of audio, I have encountered frequent cases when the default configurations would not work and when finding how to make the right configuration was highly convoluted and unintuitive, so many hours could be lost with that.
Even so, the difficulties of installing Linux versus Windows, Android or Mac OS are just a myth.
Most users see that Windows and the other commercial operating systems just work, because they have been preinstalled by professionals on their computers.
When you are the professional who must install Windows on a new computer and when that computer happens to be slightly non-standard, which is the case for most embedded computers, installing Windows is usually much more difficult than installing Linux.
I have encountered cases when I had to work a week to succeed in making Windows have an acceptable performance on a computer on which Linux just worked from a live USB stick, without any problems.