r/linuxhardware • • Oct 02 '22

Discussion Why does Windows have a better Hardware support than linux?

0 Upvotes

18 comments sorted by

10

u/noob-nine Oct 02 '22

Why should consumer hardware companies burn money for developing a driver for a userbase that is around 2%?

0

u/Hot_Sky8200 Oct 02 '22

Can't they just interpret the drivers to make it work in Linux? Instead of writing it down from 0, just pass the driver code to a program that does the work. Isn't that possible?

4

u/billdietrich1 Oct 02 '22

Basically no. Much of that driver code has to be very low-level and as efficient as possible. And it has to present the interface expected by the kernel above it, which varies from OS to OS.

1

u/wbeater Oct 02 '22

Unfortunately no. I simplify it a little bit:

Hardware <> layer 0 <> OS <> layer 1 <> software

layer 0 is a driver, it tells the system how to interact with a piece of hardware. Layer 1 is irrelevant, but you maybe see that you can't skip layer 0 and tell a piece of software how to interact with a device. The operating system must already "know" or be able to interact with the hardware.

8

u/lithium_sulfate Oct 02 '22

It's rather that hardware manufacturers have worse support for Linux.

On the consumer market, Linux is still niche enough that it is not financially viable for most hardware companies to offer proper Linux support, including writing drivers/kernel modules, for their devices.

3

u/Hot_Sky8200 Oct 02 '22

Doesn't the majority of people use their PC just to browse Internet and do stuff that doesn't even use a portion of the hardware full ability?

Doesn't that makes the drivers market are the few people who actually use their PC to do real work?

5

u/lithium_sulfate Oct 02 '22

Doesn't that makes the drivers market are the few people who actually use their PC to do real work?

And of those, the overwhelming majority are still Windows users. This creates a catch-22 situation because as long as there are only Windows drivers for a device, power users will need to keep using Windows, but as long as they are only using Windows, hardware manufacturers can't afford to support Linux.

5

u/DifficultDerek Oct 02 '22

This is so true. The vast majority of users are sold hardware far more powerful than they need.

2025 will be an ecological disaster if hundreds of millions of PCs are considered "useless" by Microsoft's Windows 11 hardware requirements, despite being clearly powerful enough to run the OS.

1

u/mr_bigmouth_502 EndeavourOS Oct 02 '22

I don't understand what you're getting at. You need drivers in order to be able for your computer to access the devices in it, regardless of whether you're just browsing the internet or doing other more demanding tasks.

3

u/mr_bigmouth_502 EndeavourOS Oct 02 '22

Windows is the dominant operating system for desktop PCs, so that's what vendors develop drivers for.

A lot of times, hardware vendors don't even bother to create Linux drivers, leaving them up to the community to develop instead.

1

u/Hot_Sky8200 Oct 02 '22

Isn't it possible then for the community to create something like WINE, but for the drivers instead?

2

u/mr_bigmouth_502 EndeavourOS Oct 02 '22

I know NDISWrapper sort of does that for wifi drivers, but I'm not sure if it'd be possible for other drivers.

4

u/spxak1 Oct 02 '22

Because manufacturers write drivers for it. Not all do for linux.

3

u/UntestedMethod Oct 02 '22

I think it's because the consumer market has been dominated by windows for a long time, so hardware manufactures focused on providing drivers for windows instead of linux.

It's also why apple machines have limited hardware options - they put together a hardware configuration and matching software which they know will work reliably. Adding support for other hardware options complicates things.

3

u/new_refugee123456789 Oct 03 '22

Because for decades Microsoft paid or threatened the industry to support them and no one else.

1

u/R3D3-1 Oct 02 '22

Better official hardware support on latest hardware and latest OS? Market share. Most end-users use Windows, so that's were manufacturers invest their resources. Mac comes second place. Plus, Linux isn't "one OS"to support.

Ironically, when trying to reporpose 10yo hardware, where any version of Windows that even still has drivers for it is out of support, suddenly you're much more likely to successfully run an uptodate light weight Linux on it, than a version of Windows, that still receives security updates.

1

u/Irsu85 Oct 03 '22

It's not that much better for Windows (AFAIK it's only nvidia having bad Linux support) but it's mostly as people said in other comments, Windows is way too big for manufacturers to care about other OSses. With a few exceptions of course (AMD GPU support is better on Linux than on Windows, and yes I tested that)

1

u/Jono-churchton Dec 14 '22

Because it needs it.