4 ms·
Another legitimate question could be: Why care whether the driver is open source? Just consider the driver as part of the black box that is the product. The ve
by amelius 10y ago
Another legitimate question could be:
Why care whether the driver is open source? Just consider the driver as part of the black box that is the product. The vendor will provide you with a blob of binary code that you can invoke. This binary code can be the same on Windows and Linux. Of course, a driver has to interact with the kernel, but the required glue logic can be maintained separately.
Edit: Of course, the driver should be run inside a controlled environment (e.g. a sandbox), but this arguably holds for all drivers, even open-source ones.
- dandelion_lover 10y agoClosed source means you do not know what your computer is doing. It means you are not the one who rules your computer. https://web.archive.org/web/20160930051146/http://www.theregister.co.uk/2016/09/23/capcom_street_fighter_v/ https://web.archive.org/web/20160930051146/http://www.thereg... "Capcom's Street Fighter V update installed a driver that can be used as a backdoor by any application installed on a Windows computer." (via https://www.gnu.org/philosophy/proprietary-back-doors.html https://www.gnu.org/philosophy/proprietary-back-doors.html)
- khedoros1 10y agoI think their point is that you can say the same about closed hardware. And since you're already putting a black-box hardware component into the system (with its own black-box firmware, as well), how much more harmful is it to have a closed driver?
- dandelion_lover 10y agoSecurity is not a boolean: secure/insecure. It is the price to own you. It is higher with free drivers. https://en.wikipedia.org/wiki/Defense_in_depth_%28computing%29 https://en.wikipedia.org/wiki/Defense_in_depth_%28computing%...
- amelius 10y agoSecurity is why drivers should run inside a sandbox, even if they are open-source.
- dandelion_lover 10y agoI totally agree. But open-source drivers running in a sandbox are even more secure than proprietary ones in a sandbox, which is the essence of the defense in depth.
- dandelion_lover 10y ago>with its own black-box firmware, as well Of course, the firmware should be open, too.
- bwat49 10y agoProprietary drivers are a huge pain in the ass on linux
- eropple 10y agoI think open-source drivers are a net good, but proprietary drivers are a pain because of ABI instability more than anything else. Linux could improve on this. I get why they don't, and I don't have an opinion positive or negative on their stance because I don't use desktop Linux anymore--but this is not just a driver-vendor thing.
- 5ilv3r 10y agoNo it's an ecosystem thing. Linux distro upstreams are source compatible but not binary compatible. You can compile any combination of applications and libraries together, but you cannot expect a compiled binary from a completely different environment to work in your environment. It's just a coincidence that major linux distributions are similar enough to USUALLY be binary compatible with eachother. What an open graphics driver would allow, for example, is the use of a busybox and ulibc ultra-compact linux environment to be a tiny control node to command the much more powerful GPU. That just can't happen right now with binary only drivers that expect to live on a very specific binary stack. If you change the stack, you lose everything.
- eropple 10y agoSo I've read your post a few times, and I'm pretty confused. What exactly does this have to do with my post? What does uclibc have to do with kernel ABIs?
- 5ilv3r 10y agoThe ABI is not portable. Good code is portable. A static ABI is a stupid goal. Nvidia is stupid for relying on it. IMHO
- 10y ago
- thomastjeffery 10y agoThis is what AMDGPU-PRO attempts to do. It's still incompatible and buggy. When a driver is closed source, the only people who can fix bugs, keep the driver updated, patch security holes, implement new APIs like Wayland, Vulkan, OpenGL extensions, etc. are the employees of the company who owns the driver. Was it important for AMD to make old ATI cards work with newer versions of Xorg? With Wayland? With Windows? AMD certainly didn't think so. Since the existing driver was proprietary, those that did care had to implement another driver from scratch! Open source drivers exist for practically every video card, and have for decades. The problem is that they all suck except those that were supported by the manufacturer in the first place.
- thomastjeffery 10y ago> the driver should be run inside a controlled environment That literally cannot work. The driver is the program that does interaction with hardware. Unless you mean to put your computer inside a literal box and fill it with sand, which is just hard on those fans.
- monocasa 10y agoThere's a lot of work being done to use IO-MMUs for user space drivers to allow safe hardware access even with DMA.
- sedachv 10y ago> Why care whether the driver is open source? I can't believe I am reading garbage like this on a forum called "Hacker News." Richard Stallman literally started the Free Software movement because the driver to the Xerox 9700 laster printer was closed source. Please read Steven Levy's Hackers and Sam William's Free as in Freedom. Asking "why care whether the driver is open source" to me as a hacker is like asking "why care whether you are a slave?"
- amelius 10y agoI can understand the sentiment, but could you provide some real arguments? I suspect you didn't read my entire comment.