News for hackers. Stuff that matters.
Re:Fuchsia overview by catern on Saturday May 30, 2020 @05:29PM (#23364922)
>Fuchsia aims to provide drivers with a binary-stable interface. In the future, drivers compiled for one version of Fuchsia will continue to work in future versions of Fuchsia without needing to be modified or even recompiled. This approach means that Fuchsia devices will be able to update to newer versions of Fuchsia seamlessly while keeping their existing drivers.

This is a massive step back for open source. The fact that Linux doesn't have a binary-compatible driver interface is a good thing: It means hardware vendors have a very strong incentive to get their drivers upstream into the kernel. And indeed, on servers and laptops and desktop machines, this has largely happened. But on mobile platforms, with Android, it has not happened. For various reasons, but nothing fundamental.

We would all benefit if Android hardware drivers were upstreamed. This would allow for a much more competitive, and higher quality, software and hardware ecosystem on mobile platforms.

But Fuschia is going in the exact opposite direction: It makes it possible to build proprietary drivers. It's for this reason that I hope Fuschia is not successful. We already have a high quality kernel: Linux. If Fuschia is "not a science experiment", but instead intended to use proven ideas, then any improvement that could be added to Fuschia could be added to Linux. We don't need a new operating system whose only advantage is that it's easier to write proprietary drivers.

Re:Fuchsia overview by ptomato on Saturday May 30, 2020 @05:47PM (#23365061)
> For various reasons, but nothing fundamental.

"Hardware vendors being unwilling to make the drivers they write open source" is a pretty fundamental reason.

Which is worse, a phone where you can't update kernel because of the closed drivers or a phone where you can update the kernel, with closed drivers? I don't think that realistically there's a third option. The open source community is not, for example, going to make their own high performance gpus.

Re:Fuchsia overview by cycloptic on Saturday May 30, 2020 @06:13PM (#23365247)
I would not say that is a fundamental reason. They have been willing to do it when the proper incentives are there. The incentive to keeping it closed source is primarily part of a strategy to sabotage their competitors, which I hope is not a behavior that anyone here is complicit in. Please don't work for hardware companies that do this, there are plenty of companies out there that know how to spend their money in other ways.

>Which is worse, a phone where you can't update kernel because of the closed drivers or a phone where you can update the kernel, with closed drivers?

Neither of those are good options because even in the second case, there are still vast swaths of code that upstream is not going to touch out of fear of breaking things, the end result being that you still get stuck with unfixable kernel and driver bugs.

>The open source community is not, for example, going to make their own high performance gpus.

The open source community includes a lot of companies. The high-performance GPU companies are welcome to join this community any time they like.

Re:Fuchsia overview by fluffy87 on Sunday May 31, 2020 @04:50AM (#23368197)
This claim is wrong. It’s not about sabotaging competitors, it’s about being afraid that your competitors would steal your IP they gives you an advantage.

Every Nvidia and Intel competitor (AMD) is probably already reverse engineering their binary drivers and binary libraries trying to steal their IP, so Intel and Nvidia’s fears are imo justified.

If NVIDIA or Intel could easily protect their open source code from being stolen from AMD, the story would be different. But you can’t prevent somebody from reading even GPL code, being “inspired” by it, and writing something different enough that does the same thing with the same ideas. Like just look at the LLVM project were people look at what GCC code does every now and then for “inspiration”.

Re:Fuchsia overview by AsyncAwait on Sunday May 31, 2020 @05:31AM (#23368332)
> Every Nvidia and Intel competitor (AMD) is probably already reverse engineering their binary drivers and binary libraries trying to steal their IP, so Intel and Nvidia’s fears are imo justified. If NVIDIA or Intel could easily protect their open source code from being stolen from AMD, the story would be different.

Intel's GPU drivers are free software, they even contribute them themselves, same goes for AMD.

I think NVIDIA's different because they have the Apple mentality of them being the real innovators, (regardless of fact) and building their internal culture on secrecy, closeness even to other teams within the company etc. I think they consider it as part of their 'coolness factor', together with the CEO being on stage dressed like a rock star from the 80s.

The fact that they benefit from Linux massively and that having an open driver would win them massive goodwill is not directly measurable in terms of their balance sheet, at least in the short term, plus it would remove some of the secrecy.

Re:Fuchsia overview by pjmlp on Sunday May 31, 2020 @06:06AM (#23368457)
They do so by using different teams, and their open source variants always lag behind what their closed source drivers are capable of doing across Windows, Apple and game consoles.
Re:Fuchsia overview by AsyncAwait on Sunday May 31, 2020 @06:17AM (#23368501)
The drivers are decent enough nonetheless. I think having an open driver done by a different team and maybe a bit less optimized is still preferable to not having an official open driver at all.
Re:Fuchsia overview by pjmlp on Sunday May 31, 2020 @06:36AM (#23368598)
I used to enjoy my OpenGL 4.1 driver on Radeon HD 6250, which was still short of OpenGL 4.4/DX 11 on Windows, but still quite ok I guess, all it does now with open source drivers is OpenGL 3.3.

So no that isn't decent enough, and I only keep it like this, because it is just a little travel laptop that I keep on using until it eventually dies.

Re:Fuchsia overview by AsyncAwait on Sunday May 31, 2020 @06:46AM (#23368637)
Why even mention a fairly ancient GPU when AMD has really only gotten their act together fairly recently with amdgpu, but that supports Vulkan as I would expect.

I don't get this constant obsession with mentioning how 8 years ago this and this on Linux sucked. Yes, it did, things improved considerably since then.

If you're only willing to run Linux on ancient, underpowered hardware and then complain about the experience, be my guest, but I think you'd be better served by a Mac.

There's a whole class of people who run Linux on shitty little laptops and then compare the experience to their brand new iMac. I guess somewhere there's still the mentality that since one's not paying for Linux, it's not for my serious hardware, only second hand.

As much as I'd have liked for AMD to get their shit together sooner, I am glad they eventually did and are improving amdgpu at a decent speed.

Re:Fuchsia overview by pjmlp on Sunday May 31, 2020 @07:16AM (#23368780)
That was just one example, I can provide more up to date ones as well.

Indeed, that is why this Linux laptop is the surviving one that still runs Linux on bare metal, everywhere else I just VMs, if at all.

Re:Fuchsia overview by 0-_-0 on Sunday May 31, 2020 @07:07AM (#23368737)
Having worked for a GPU company, it's not even about stealing IP. It's about giving ammo to your competitors for suing you. If you publish the source code to your drivers then let's say Nvidia can read through them and find a few similarities in your hardware to something they have patented, and then sue you for IP infringement. They can't do this without some evidence that there might be a similarity, but weak evidence is enough. So they basically send you a set of 100 patents that they say you violate, and then it's your job to spend your legal resources to show how you don't violate those patents. It might be easy to show this for say 90 of those patents, but there can be a few which require considerable work, and if you're a small company you don't have the resources to fight off lawsuits all the time. So open sourcing your drivers opens you up to a lot of potential attacks, with very little upside. More specifically, it opens up the companies that buy GPU IP from you to attacks. Nvidia on the other hand has the resources to keep throwing accusations at you and see what sticks and force you to burn cash on legal resources.
Re:Fuchsia overview by dontblink on Saturday May 30, 2020 @07:58PM (#23365950)
That is an assumption. I think the simpler case is it's more work and exposes potential security vulnerabilities they don't care to patch or maintain. Function > all.
Re:Fuchsia overview by _ph_ on Sunday May 31, 2020 @09:17AM (#23369392)
The incentive to keeping it closed source is primarily part of a strategy to sabotage their competitors, which I hope is not a behavior that anyone here is complicit in.

I can't figure out what you mean by "sabotage their competitors". The term sabotage indicates that they are performing actions to actively harm their competitors, how is that related to keeping your source, which cointains your IP, private?

The open source community includes a lot of companies. The high-performance GPU companies are welcome to join this community any time they like.

It is nice to hear that they are welcome :p. Which they would even feel more so, if there were actual incentives being offered rather than trying to make their life artificial difficult.

Re:Fuchsia overview by lain-dono on Saturday May 30, 2020 @07:28PM (#23365770)
> The open source community is not, for example, going to make their own high performance gpus.

I think we should lower the entry threshold first. The open source and free GPU project was the first thing that came to my mind when I saw http://llhd.io/. After all, one of the main problems with OpenHardware projects is the closed FPGA ecosystem.

Re:Fuchsia overview by sam_bristow on Saturday May 30, 2020 @11:13PM (#23366853)
It's pretty amazing how far the open source FPGA tooling has come in the last few years. I'd even go so far as to say some parts of the open source ecosystem have surpassed the commercial tools.

Still a long way to go of course, but I'm pretty positive about the direction things are heading.

Re:Fuchsia overview by snazz on Saturday May 30, 2020 @06:05PM (#23365185)
Plus, better isolation between driver code and other kernel code (which Fuchsia seems to bring; correct me if I'm wrong) would be good for everyone, since you can be relatively assured that running vendor-provided driver blobs is safe.
Re:Fuchsia overview by zozbot234 on Saturday May 30, 2020 @06:12PM (#23365241)
"Isolation" of driver code that can talk to on-SoC hardware is just not very meaningful. You can only have real driver isolation if it's enforced on the hardware side via some IOMMU mechanism (or by keeping the hardware isolated on the USB bus, etc.), otherwise you're just adding pointless overhead for no real benefit.
Re:Fuchsia overview by goodthenandnow on Tuesday June 09, 2020 @06:59PM (#23471898)
Re:Fuchsia overview by entha_saava on Saturday May 30, 2020 @10:01PM (#23366574)
I didn't get it. Don't we want, for example, wifi driver not to be able to access and corrupt (due to some bug) GPU driver's memory?
Re:Fuchsia overview by exged on Saturday May 30, 2020 @11:52PM (#23367040)
It's desirable, but typically hardware devices have DMA-capable buses that can read / write to arbitrary physical memory. So a buggy or malicious WiFi driver may be able to use the WiFi DMA hardware to write into the GPU driver's memory, and no pure software mechanism can stop it from doing so.

IOMMUs solve this problem by giving hardware devices their own virtual address spaces.

Re:Fuchsia overview by michaelmrose on Saturday May 30, 2020 @11:05PM (#23366822)
Does this actually happen?
Re:Fuchsia overview by gigatexal on Sunday May 31, 2020 @12:16AM (#23367130)
I’m sure it does when used to exploit devices.
Re:Fuchsia overview by naasking on Sunday May 31, 2020 @12:19AM (#23367152)
> Which is worse, a phone where you can't update kernel because of the closed drivers or a phone where you can update the kernel, with closed drivers? I don't think that realistically there's a third option

A phone in which the kernel never needs to be updated, like with the seL4 microkernel.

Re:Fuchsia overview by terminalcommand on Sunday May 31, 2020 @06:22AM (#23368527)
Most BIOS are also closed source. If I used a microkernel primitive enough not to require changes, I could live with not updating the kernel unless there is a security bug.

A third solution could be to require device manufacturers to share their source code with a trusted third party (such as google/certification authority). This third party will make sure that the driver does not include any harmful code and provide signed binaries. Binaries could also be updated for newer versions that way, even if the original manufacturer loses interest/goes bankrupt. If the IP gets stolen, the device manufacturer could sue this third party, therefore business people will also feel secure.

It is not ideal, but I could be able to live with this solution.

Re:Fuchsia overview by NOGDP on Saturday May 30, 2020 @08:41PM (#23366184)
> The open source community is not, for example, going to make their own high performance gpus.

Of course it will.

Re:Fuchsia overview by VikingCoder on Saturday May 30, 2020 @09:18PM (#23366375)
The first GPU came out twenty one years ago. Why on Earth do you think all of a sudden we're going to get something we've never gotten before?
Re:Fuchsia overview by pabs3 on Saturday May 30, 2020 @10:53PM (#23366758)
Re:Fuchsia overview by sharpneli on Saturday May 30, 2020 @11:26PM (#23366917)
Doesn’t look that good to me. The Vortex is not a GPU. They call it GPGPU, meant purely for running OpenCL kernels, doesn’t have a graphics pipeline at all, which is kinda important part of a GPU.
Re:Fuchsia overview by liuliu on Sunday May 31, 2020 @12:14AM (#23367120)
I am not so sure about that. GPU has been slowly moving away from having a fixed graphics pipline at all in the past a few years. See the recent Nanite technology from Unreal 5: http://c0de517e.blogspot.com/2020/05/some-thoughts-on-unreal...
Re:Fuchsia overview by sharpneli on Sunday May 31, 2020 @02:15AM (#23367617)
They use compute shaders for triangles that cover 1 pixel as rasterization always does 2x2 due to derivative calculations etc so there is overhead. For larger triangles they do go trough the rasterization pipeline as usual because it is so much faster.

Another crucial thing is texture mapper. That thing is really fast and usable even in the compute pipeline. Image support is (was?) largely optional in OpenCL.

Also I remember the last time people talked about this. PS3 was not originally supposed to have a GPU at all because the Cell processor was so powerful. In the end they had to ram in an actual GPU. While the Cell was just fine for vertex processing it did choke terribly in rasterization due to lack of TMU and dedicated HW rasterizer.

EDIT: I also want to emphasize the difference of target markets. On AMD one can go to the Nanite path for some of the rasterization. One must remember that it is a non battery powered device.

Memory bandwidth is really power hungry. For mobile, the likely target market for the Vortex and similar, one really wants to do tile based rendering. Ideally the way IMG does it. Even though theoretical flops of modern mobile GPU’s is higher than some old discrete ones their memory bandwidths are way lower, so no running Crysis on modern mobile even though flops would indicate it would match a good discrete GPU back in the days.

Re:Fuchsia overview by sparkie on Sunday May 31, 2020 @03:22AM (#23367870)
Re:Fuchsia overview by NOGDP on Sunday May 31, 2020 @11:59AM (#23370361)
> The first GPU came out twenty one years ago. Why on Earth do you think all of a sudden we're going to get something we've never gotten before?

'21 years ago we got a new thing. Why on Earth do you think we're going to get something new ever again?'

Re:Fuchsia overview by NOGDP on Saturday May 30, 2020 @11:28PM (#23366928)
I think people are missing the sarcasm... at least I hope that's sarcasm.
Re:Fuchsia overview by VikingCoder on Sunday May 31, 2020 @02:08AM (#23367585)
It's not at all sarcasm. What's different now?
Re:Fuchsia overview by NOGDP on Sunday May 31, 2020 @11:57AM (#23370355)
Wait, you really don't see the contradiction between your first and second sentences?

'21 years ago we got yet another new thing. What makes you think we'll ever get a new thing again?'

Seriously?

Re:Fuchsia overview by 0-_-0 on Sunday May 31, 2020 @07:28AM (#23368840)
Expired patents
Re:Fuchsia overview by VikingCoder on Sunday May 31, 2020 @10:57AM (#23369953)
Sorry, walk me through this. There was a competitive field of GPUs. Somehow the companies were able to produce hardware. Are you saying that someone controlled the defining patents, and all of the competitors were forced to license from them?

Citation needed.

Re:Fuchsia overview by 0-_-0 on Sunday May 31, 2020 @01:28PM (#23371008)
Currently the GPU market consists of companies that have been working on GPUs for decades. Companies that are starting right now have failed to design GPUs. This includes very big players, like Intel, Apple and Huawei. This is likely because all the important ways to produce GPUs have been patented, and there's only so many ways to create an efficient GPU. Even if you try to create your own GPU by poaching engineers from existing GPU companies (like Apple tried), those engieers are only familiar with methods that were already patented and you have no way around this even if you have Apple's tremendous resources to throw at the problem. So the only way to create an open source GPU is to use patents that already expired. Such a GPU might be 15-20 years behind current technology, but that's still a GPU.
Re:Fuchsia overview by cameronbrown on Saturday May 30, 2020 @07:25PM (#23365754)
I really want to agree with you, and in principle, it would be far better for hardware manufacturers to upstream their drivers. In practice this hasn't happened and will never happen, because there's no incentive to support hardware no longer making money (a chip is only sold once, after all).

I think the mounting cost of e-waste is a far bigger deal. Think of the unimaginable amount of carbon impact from the millions of trashed Android phones out there. Do we really want to continue down this path, until there's billions of obsolete machines sitting in landfills (there probably already is)? Updatability can save devices for much longer, and now people are upgrading less often, there's a huge opportunity for impact there.

Disclosure: I work for Google, but not on the Android OS or Fuchsia.

Re:Fuchsia overview by dahfizz on Saturday May 30, 2020 @11:35PM (#23366959)
> Updatability can save devices for much longer

I'm skeptical of this. People buy new phones because they are faster, or because they did update and the new version of the OS is very slow on old hardware. People buy new hardware because they want new hardware.

Most non-tech people I know actively avoid updating their phones because it's annoying. They will ignore the notifications and choose older software over the inconvenience of updating and rebooting their phone.

Re:Fuchsia overview by terminalcommand on Sunday May 31, 2020 @06:31AM (#23368573)
Hardware has its limits of course, but sometimes if you can’t upgrade your OS, you can’t install apps. You’ll be stuck with a screen saying “This application requires IOS X and higher”. When that frequently happens, you are forced to upgrade your phone, even if you’re content with the hardware.

Avoiding updates and ignoring notifications could stem from a different reasons. People may not want to take the time and maintain their phones. I consider myself a techy person, but I also put off updating my phone, taking good care of it, upgrading it. I also dread tidying up my room, getting a hair cut, shopping for clothes, eating healthy, sleeping well etc. It could be a personality trait.

Avoidance conserves energy :)

Re:Fuchsia overview by uluyol on Saturday May 30, 2020 @07:23PM (#23365737)
Once upon a time, Linux had terrible support for laptop hardware. Remember ndiswrapper? That thing you used to get Windows wifi drivers working on Linux. Or how about when ATI (AMD) provided only the most buggy drivers. How about printers?

These days Linux has better hardware support (imo) than Windows. Solving it for laptops was about creating the right incentives for hardware manufacturers. It can happen for mobile too.

Re:Fuchsia overview by zaat on Saturday May 30, 2020 @08:10PM (#23366014)
I wouldn't say Linux has better hardware support than Windows. When your hardware is properly recognized and supported by Linux than yeah, I do feel it operates much better, more stable and have more knobs. However, not all hardware works at all.

For example, as of now, the hardware sensors on my x590 board are not recognized.

LED control is not a thing, even on most old/established boards (you can argue if LEDs are nice or ugly, but if they are there I want to control them).

Even enterpriseish devices, like Lenovo's X1 laptops, that are CERTIFIED by both Red Hat and Ubuntu, have limited hardware support at best. Fingerprint scanners on 3 year old models are still not recognized, and there seems to be zero will from synaptic to ever support it. Sleep states were terrible for a long long time, finally fixed in a fashion that requires different firmware for optimal sleep performance on Windows or another one for Linux.

So no, my experience is that still hardware vendors are not giving me as a Linux user the support and value for the good money I pay for their products. Obviously they don't deliver the expected level of support any reasonable consumer would expect, and most probably won't deliver it in the future either, since they get away with it so easily.

Re:Fuchsia overview by zozbot234 on Saturday May 30, 2020 @08:48PM (#23366218)
3 year old hardware is still very new by Linux standards. Especially wrt. hardware classes for which a unified support framework has yet to be provided, including RGB LED's and fingerprint scanners. The sleep performance thing is an interesting example, since the whole issue was caused by hardware OEM's deprecating the old ACPI "sleep" state and deciding that OS's should manage standby states entirely on their own - this too will require a lot of really hard work to be supported properly across zillions of devices.
Re:Fuchsia overview by zaat on Sunday May 31, 2020 @11:48AM (#23370281)
> 3 year old hardware is still very new by Linux standards

I agree, and hence my claim - Linux have excellent support for the hardware it supports, but in general it is not lagging behind Windows in that dimension due to restricted access to required information.

Re:Fuchsia overview by thayne on Sunday May 31, 2020 @12:15AM (#23367126)
I'm torn on the subject of a binary-stable driver interface. The idealist in me likes that it forces vendors to open source their driver code, but the pragmatist in me knows that some vendors (like a certain graphics card manufacturer in the desktop and server world) probably never will open source their drivers, and if they do, they may not be as high of quality as the proprietary version for other OSes. I wonder if there is some middle ground. Also, even with open source drivers, the lack of stability has downsides, such as requiring you to recompile all drivers whenever the kernel updates. Maybe where a subset of the ABI is stable, so it's possible to build driver binaries that work across kernel versions, but there is still some incentive for keeping drivers open source?

> any improvement that could be added to Fuschia could be added to Linux

This is not necessarily true. Some things certainly. But linux is constrained by keeping a backwards compatible user-space interface, and being mostly posix-compliant. For example, fuchsia doesn't have fork or exec (it has a single spawn function/syscall instead). Linux could add a new spawn syscall, but has to keep fork, clone, execv, etc. forever. And even if most new code moves to use the new syscall, the complexity around the old ones will be around forever.

Re:Fuchsia overview by CJefferson on Saturday May 30, 2020 @05:48PM (#23365066)
While I understand why you want open source drivers, the situation hasnt improved for 10 years, and this is one of the major reasons many phones end up not getting Android updates, which makes Google/Android look bad.
Re:Fuchsia overview by est31 on Saturday May 30, 2020 @06:07PM (#23365196)
> the situation hasnt improved for 10 years

But it has.

* I remember having major issues with printer drivers on Linux 10 years ago. Nowadays thanks to IPP support I don't need any drivers any more. I had to help my dad with installing a windows driver while on my Linux laptop it just worked.

* My Laptop from 13 years ago didn't have free network drivers. I had to jump through hoops to install them. Now they are all free.

* AMD has started maintaining really good open source driver support for their GPUs

* Even for Android there is improvement, with e.g. free Mali drivers being built. It's slow and not enough, but improvement.

Re:Fuchsia overview by rohan1024 on Sunday May 31, 2020 @01:59AM (#23367554)
> the situation hasn't improved for 10 years

I believe its meant in context of Android.

Re:Fuchsia overview by pjmlp on Sunday May 31, 2020 @03:14AM (#23367837)
> AMD has started maintaining really good open source driver support for their GPUs

Still waiting for them to reach parity for my laptop GPU, it used to be OpenGL 4.1 with hardware video decoding, nowadays I just get OpenGL 3.3 with the open source driver, the antithesis of really good.

Re:Fuchsia overview by bgorman on Sunday May 31, 2020 @02:48AM (#23367737)
I believe the situation is a bit better now that there are LTS releases of the Linux kernel.
Re:Fuchsia overview by combatentropy on Sunday May 31, 2020 @12:27AM (#23367180)
> any improvement that could be added to Fuschia could be added to Linux

Not easily. If Linux has gone down a path far enough, it may be hard to reverse, especially if it is of fundamental design. For example, the separation of kernel space and user space is different. I am not an operating system engineer, but I would bet that certain things would be hard to change --- deep structural decisions mentioned in the article, like:

- the kernel primitives are exposed to applications as object-capabilities

- applications can interact only with the objects to which they have been granted access explicitly

- applications interact with each other and the system using message passing

> use proven ideas

I would say in the realm of software there are still competing ideas, even if you narrow it to the subset of ideas that are good (secure, maintainable, fast, etc.). Linux chose some good ideas, but if you want to try out different ones, you may have to start from a clean slate.

Re:Fuchsia overview by goodthenandnow on Tuesday June 09, 2020 @07:48PM (#23472282)
There is also de fact that the concepts/model of Zircon's kernel API and Linux one are diferent and in some cases mutually incosistent if implemented in the same kernel
Re:Fuchsia overview by netdur on Saturday May 30, 2020 @06:04PM (#23365171)
sorry but that's just naive idealism, my wife has android flagship, a Samsung s10, she will receive one more year of updates, then she will be on her own, my daughter has iPhone 6S, this old device will receive iOS 14 soon.

my wife do not care about updates, she will not hesitate a second to get iPhone once she knows her social media or pictures is not safe on her android device, this is the issue Android have and Fuchsia have to fix.

Re:Fuchsia overview by plerpin on Saturday May 30, 2020 @07:09PM (#23365659)
I'm pretty sure Qualcomm not giving a shit about supporting their SoC is why my Android watches were practically EOL'd within months.
Re:Fuchsia overview by zozbot234 on Saturday May 30, 2020 @07:19PM (#23365715)
Not sure how Fuchsia is supposed to solve this. If you can port those Qualcomm SoC drivers to the fixed Fuchsia interface, you could just as easily port them to the mainline Linux kernel and submit them upstream.
Re:Fuchsia overview by plerpin on Saturday May 30, 2020 @07:32PM (#23365795)
"Easily"? Some things can only be shipped as binary blobs. For example, you won't get open source audio drivers that support patent-encumbered codecs like Dolby Atmos.

Windows has a stable binary ABI which means that my drivers don't go stale when Microsoft pushes out a minor rev to the NT kernel. Windows does its updates and my peripherals [mostly] work just fine.

Re:Fuchsia overview by StreamBright on Sunday May 31, 2020 @03:00AM (#23367784)
Exactly. It is kind of funny how IT people look through their tech glass and think that the rest of the world (99.9999%) does the same. Nobody cares about software, everybody cares about user experience. Linux proved the point that having unstable driver interface has nothing to do with the success of the platform.
Re:Fuchsia overview by goodthenandnow on Tuesday June 09, 2020 @07:53PM (#23472335)
I think that if you consider success for the average user, Android has proved it, not the Linux kernel.
Re:Fuchsia overview by Leherenn on Sunday May 31, 2020 @06:06AM (#23368458)
Note that it will only get one more major Android version, but Samsung provides 4 years of security updates, so she still has 3 more years before she's on her own.

Certainly not as good as Apple, but I believe that's the best you can find in Android land.

Re:Fuchsia overview by VikingCoder on Saturday May 30, 2020 @09:36PM (#23366468)
I think your take on this is very wrong.

An open source driver written once will work for all future versions of Fuschia. Right? That reduces the effort for open source developers enormously.

Most security flaws come in above the driver level. Right? Being able to update the OS, despite the hardware manufacturer's laziness, is a huge boon for everyone.

Fuschia is open source. Drivers written for one Fuschia (say, the one Google controls) should work for another Fuschia (say, the one you and your friend forked.) Right? That's a huge win for you.

Whatever incentives you have imagined that hardware manufacturers have, time has proven those incentives don't work. It's far better to take as much control away from them as possible. They will do the minimum amount of work necessary (write new drivers). Then we can all exploit the hardware + driver + Fuschia system.

It has always, and will always, be possible to build propriety drivers. This is minimizing the blast radius of them never being updated, as much as possible.

For these reasons and more, we should all hope Fuschia is successful.

The Android developers who have tried to live on top of Linux are sick of the problems that Linux brings them. Fuschia is an open source direct response to those limitations. It's stunning to me that you would wish them to fail.

"then any improvement that could be added to Fuschia could be added to Linux". Explain to me why we still have BSD? Not all problems are solved by Linux. The sooner you accept that, the better off we will all be.

It's like you're wishing Clang would die, because we can always just improve GCC. That's demonstrably false. Just like saying everything good in Fuschia can be added to Linux. No, it can't.

"We don't need a new operating system whose only advantage is that it's easier to write proprietary drivers."

Wait, if it's easier to write propriety drivers, doesn't that lower the barrier to making low-cost phones? Well, Christ, sign me up. Do you have any idea how many billion people have a low-cost smart phone as their first computing device? If we lower the cost even more, that will broaden the reach even more.

Do you seriously not get that the other major phone OS is completely closed source? Maybe put a little faith in the people who have developed the most successful competing operating system that's open source?

Re:Fuchsia overview by josephcsible on Saturday May 30, 2020 @09:37PM (#23366474)
> An open source driver

Lost you already. Since Fuchsia uses a pushover license instead of a copyleft license, the vendors' drivers aren't going to be open source. Look how many companies today don't open-source their Linux drivers, and they're breaking the law by not doing so. It's going to be so much worse when there's "nothing" wrong with keeping them proprietary.

Re:Fuchsia overview by a1369209993 on Sunday May 31, 2020 @01:04AM (#23367333)
> Since Fuchsia uses a pushover license instead of a copyleft license [emph. add.]

This is great term for it, thank you.

Re:Fuchsia overview by josephcsible on Sunday May 31, 2020 @02:32AM (#23367689)
I can't claim credit for coming up with it: that honor goes to RMS and the FSF. See https://www.gnu.org/licenses/license-compatibility.html and https://www.gnu.org/licenses/license-recommendations.html#sm...
Re:Fuchsia overview by a1369209993 on Sunday May 31, 2020 @04:31AM (#23368125)
Huh; I've actually read both of those before and not noticed that, so still thanks for bringing it to my attention, although now I feel a bit bad about my own reading comprehension.
Re:Fuchsia overview by VikingCoder on Saturday May 30, 2020 @10:26PM (#23366656)
However hard it is to produce an open source driver, that's how hard it is. Sometimes the hardware vendors do it. Sometimes dedicated developers produce an open source, clean room driver.

So, when an open source driver exists, Fuschia will make it useful for a long time.

Re:Fuchsia overview by michaelmrose on Saturday May 30, 2020 @11:11PM (#23366843)
With linux they are required to release some version of their driver even if its for an old kernel. Without any source it will be hard to produce a driver ever. Look at nvidia cards which still have shit drivers after how many years?

Further its entirely possible for a device to require signed drivers and their is even a security incentive to doing so. They don't have to ever let you have your own drivers for their hardware.

Re:Fuchsia overview by VikingCoder on Sunday May 31, 2020 @01:24AM (#23367409)
There exists hardware that you are screwed by. How is that Fuschia's fault? How is that anyone in the open source operating system world's fault? Given the fact that some hardware is completely impenetrable, why would someone wish harm upon Fuschia?
Re:Fuchsia overview by michaelmrose on Sunday May 31, 2020 @02:15AM (#23367614)
A multi billion dollar company doesn't need you to shield its efforts from criticism. You have somehow anthropomorphized an OS project and are treating it like a frail animal in need of your protection. It's composed of actual adults who presumably can read critical comments without coming to "harm".

Hardware running software that is either proprietary or based on permissively licensed software is everywhere. It's usually impractical or impossible to run your own software on such devices. There is no particular reason to trust Google any more than any other big company. Corporate persons judged by the moral standards one would apply to people are nearly always bad people even wherein most of the people therein are OK to good. Trusting them beyond their own self interest is nearly always a mistake.

Re:Fuchsia overview by VikingCoder on Sunday May 31, 2020 @02:38AM (#23367709)
No, I mean, you are blaming one project, Fuschia, for something no project can fix.

Therefore, your criticism is completely without merit, and should be ignored entirely.

1) Fuschia doesn't have a property. (It doesn't compel hardware vendors to provide open source drivers.)

2) No other operating system can possibly have that property either.

3) Therefore Fuschia should die, to help one of those other operating systems succeed.

Do you not see the flaw in this argument?

Re:Fuchsia overview by michaelmrose on Sunday May 31, 2020 @02:50AM (#23367743)
As the owners of the platform Google logically they COULD require all oems to ship open drivers as a condition of using the software. My criticism lays out legitimate concerns as a potential user to a potential user. I don't think it has to have an actionable solution by a third party to be valid. It merely has to connect with objective reality and have a well supported line of reasoning. If you are looking for an actionable item I suggest waiting and seeing how open the platform is and not investing development time or dollars in it if its even less so than android.

As an alternative I suggest you look at actual Linux devices even if they are objectively worse if they are more open.

Re:Fuchsia overview by josephcsible on Sunday May 31, 2020 @02:44AM (#23367728)
Fuchsia could have fixed it by being copyleft licensed. That doesn't preclude in any way having a stable interface for drivers.
Re:Fuchsia overview by VikingCoder on Sunday May 31, 2020 @02:48AM (#23367736)
Hardware vendors are under no obligation to use Fuschia. Therefore, you have still not compelled hardware vendors to provide open source drivers.

Linux has not compelled Nvidia to produce good OpenGL drivers.

No, really, walk me through this.

Re:Fuchsia overview by michaelmrose on Sunday May 31, 2020 @03:06AM (#23367800)
Nvidia actually DOES have good OpenGL drivers that are unfortunately proprietary. AMD GPU drivers have been getting progressively better to where they represent a valid alternative for gaming. Intel GPU drivers have long been good enough for general use.

I think the principal is that if Google had licensed Fuchsia in such a way as to require release of source code to kernel modules that companies would rightly fear being sued for violating the copyright of a mega corp like google in a way that GPL violators don't fear say the free software foundation.

Re:Fuchsia overview by joshuamorton on Sunday May 31, 2020 @04:14AM (#23368056)
> Nvidia actually DOES have good OpenGL drivers that are unfortunately proprietary.

I think this proves GP's point.

Re:Fuchsia overview by michaelmrose on Sunday May 31, 2020 @05:06AM (#23368252)
The year is 2027 and you have in your hand the 2025 model of the Samsung Galaxy Note 17 and you really wish you could run some snappy new version of the OS Samsung released for the galaxy note 19 but even though hardware wise they are really quite similar there is something in the proprietary bits that just doesn't seem to work but lacking the source you are forced to give up.

You wonder if you can install a new android or other Linux based OS can be installed on your hardware unfortunately no gpu drivers exist for Linux so again you are forced to give up. The only software you can run is the official software from your OEM. In theory the OS you run is open source but if anyone who isn't a major OEM builds an alternative version it works as expected without proprietary bits and binaries signed by the manufacturer your device wont talk to your email provider, your bank, netflix, spotify. Instead of free as in beer or free as in libre its free as in bullcrap.

The point is without the onus being on OEMs to provide source for their drivers people have only as many options as OEM's opt to give them.

Re:Fuchsia overview by joshuamorton on Sunday May 31, 2020 @06:02AM (#23368443)
NVidia has no incentive to provide good opengl drivers for Linux, today despite it being GPL.

Creating a new OS, that is also GPL will not encourage Nvidia more to do the thing they already aren't doing.

Re:Fuchsia overview by nmcain on Monday June 01, 2020 @12:53AM (#23375554)
As a developer of a Fuchsia fork, I couldn't agree more. Unfortunately, not all components are opensource ATM, (like the khadas VIM2 bootloader), but at least they are available.
Re:Fuchsia overview by VikingCoder on Monday June 01, 2020 @12:40PM (#23380459)
Can you tell us more about the goals of your fork?

I'd love to see a list of the problems you have with Fuschia or how Fuschia is being managed. Maybe as a new top-level post on HN?

Re:Fuchsia overview by ReactiveJelly on Saturday May 30, 2020 @06:01PM (#23365148)
It's a negotiation, and the hardware vendors seem to be 100% happy stepping away from the table and letting old hardware suffer.

They have a lot more leverage than we FOSS supporters do.

Re:Fuchsia overview by AnthonyMouse on Saturday May 30, 2020 @08:20PM (#23366064)
What this is really about is Qualcomm. They have inadequate competition and that allows them to abuse everybody else.

In a competitive market, open source drivers win. Look at the desktop market -- nearly everything is open source, and the biggest holdout is nVidia, because for a while there nobody was challenging them on performance. Now that AMD has competitive GPUs again, not only does that provide a competitive option with open source drivers, nVidia is now losing market share to them.

OEMs don't really like proprietary drivers. They're a pain. Whenever new driver versions come out, it becomes the OEM's problem to test and distribute them instead of having the Linux kernel team deal with that hassle. The open source drivers also generally have fewer bugs (because anybody can fix them), which leads to fewer support calls and more satisfied customers who make repeat purchases.

And customers naturally prefer hardware with longer hardware support, when it's available.

What we need is more competition for Qualcomm. Google could do that if they wanted to -- throw some money at making competing phone chips. Apple does it, why can't they? And then publish open source drivers and sell the chips to anybody.

We also have AMD as a dark horse now. The Ryzen 4000 series goes down to 10 watts -- it's so power efficient you could squeeze it into an Android tablet as-is (and then be a lot faster than most tablets), and it wouldn't take much on AMD's part to do something that could work in a phone. Android is an open source system with apps that run on the JVM, so the architectural difference shouldn't matter much.

Or we could get the antitrust authorities to stop letting Qualcomm buy every competitor that springs up, which they've been doing for years.

But you solve the competition problem and you get open source drivers. Along with all the other benefits of real competition.

Re:Fuchsia overview by zozbot234 on Saturday May 30, 2020 @09:50PM (#23366531)
Qualcomm has plenty of competitors. Mediatek, Allwinner, Samsung, Broadcom etc. They all have the exact same issues wrt. driver support: they do the minimum work required to bring up their board with one heavily-patched kernel version, and that's it. Allwinner now has quite decent support from the mainline kernel, but only because of 3rd-party efforts. It's not just Qualcomm: these problems are shared by every embedded SoC to date, with very limited exceptions.
Re:Fuchsia overview by AnthonyMouse on Sunday May 31, 2020 @02:15PM (#23371393)
The existence of other ARM SoCs doesn't mean they're competitive enough at the high end for the advantage of open source drivers to be the determining factor.

Meanwhile the low end is more sensitive to price than quality, so competition there pushes things towards things cut costs rather than things that improve the experience, or even things that reduce long term costs at the expense of short term costs.

Re:Fuchsia overview by mkl on Saturday May 30, 2020 @11:55PM (#23367049)
> Android is an open source system with apps that run on the JVM, so the architectural difference shouldn't matter much.

Android apps run on ART, not the JVM (different bytecode, similar idea): https://en.wikipedia.org/wiki/Android_Runtime

Many apps have native code as well, and Intel put a lot of time and money into automatic binary translation some years ago to make such apps work on x86 Android: https://www.anandtech.com/show/5770/lava-xolo-x900-review-th...

AMD might be able to build on that, but it was probably specific to Intel's mobile CPUs of the time (which didn't really succeed), and I don't know what's happened since.

Re:Fuchsia overview by BiteCode_dev on Sunday May 31, 2020 @06:12AM (#23368480)
I'm a strong FOSS proponent, most of my software is released under MIT, I use Linux daily and help others to use open source as much as I can.

And yet I find this idea total BS.

The reason I could even migrate to Linux when I was a teen was compatibility. It's because free softwares (VLC, Firefox, OOo...) were ported to Windows, a proprietary plateform, so that I could then feel at home later on Linux. And I made a definitive switch thanks to Ubuntu, because it made using most hardware easy, by accepting to use proprietary drivers when required.

Strong arming the industry into Libre never worked. The GPL is one of the least popular licences for this very reason. I, myself, never uses it.

Representing close source as evil doesn't work either.

It's like being vegetarian (which I am) and guilt triping people about meat. It's completly counter productive.

The result we got is that the year of Linux on the desktop never happened, because playing on Linux is hard, because the last cool gadget doesn't work, because you have to carefully chose your laptop to be sure it will work with it (E.G: my XPS 2-in-1 webcam doesn't work on Linux).

It also adds a lot of work to the kernel devs to try to keep up with the outter world, but they have a limited bandwith.

So Linux BT still sucks (even more than regular BT). Wifi is still not on part with the XP on other OS. Batter life is abysmal (I'm dual booting, and the difference is X2).

All for an ideal we never reached anyway.

Help and encouraging for FOSS makes a better world.

Being pushy about it hurts us.

Re:Fuchsia overview by ryukafalz on Sunday May 31, 2020 @08:11AM (#23369029)
I disagree. For starters, strong arming the industry has worked in a number of cases; this has been covered in a few other comment threads so I won't retread them too much here, but the state of free drivers on Linux is significantly better than it was just a few years ago.

More broadly though: what kind of world do you want to live in? A world where it's easy for companies to create new proprietary software, or a world where it's easy for the users to shape their computing experience?

Look around you, at the consumer devices you own. Can you name one that's: 1) aimed at consumers (i.e. not a dev board, Raspberry Pis and such don't count here) and 2) that you have most or all of the source code to?

Look, if your goal is just "make better software" in general, maybe permissive open source has been a success. But if your goal is to increase practical user freedom, it's been an abject failure. It's just helped companies to make proprietary software more cheaply. And sure, there's some interesting technology that comes out of that for developers, but in the vast majority of cases the users don't see the benefits! Surveillance capitalism marches on, bolstered by the free labor of the community.

This is why I've been so disheartened that parts of the community have turned so anti-copyleft recently. In a world of permissively licensed software, the incentives are stacked against free software for end users. In a world of GPL'd software, you can release your code as GPL too, or you can pay more to write it all yourself.

Re:Fuchsia overview by BiteCode_dev on Sunday May 31, 2020 @08:35AM (#23369167)
> the state of free drivers on Linux is significantly better than it was just a few years ago.

Of course, but I think you can thank phones, the internet and the economy of scale for that. Not strong arming.

You will always find examples of times where something worked. But each one I can see 10 examples of companies that said "nope" during one of my mission.

> what kind of world do you want to live in? A world where it's easy for companies to create new proprietary software, or a world where it's easy for the users to shape their computing experience?

It's a false dichotomy. It's not us vs them.

There is no them. It's just all us.

> Surveillance capitalism marches on, bolstered by the free labor of the community.

That's a sociological problem, you won't solve that with software. Or licences.

For that you need to get into politics or business.

> This is why I've been so disheartened that parts of the community have turned so anti-copyleft recently.

I haven't see that at all. Open source has never been so popular. Creative common as well.

What I do see is a complexification of software, that requires more and more resources, which the FOSS world has a hard time to keep up with.

What I do see is a mass of people comming to software that don't care at all about those topics, but only about usability, which the FOSS world has a hard time to keep up with.

I'm glad VLC didn't decide that they couldn't read DVD, or OOo read .doc because there were proprietary formats, otherwise they wouldn't have been the popular softwares of today.

Today LibreOffice is replacing MS office in many administrations and schools. The alternative would have been Google doc.

You think making Linux more restrictive would have forced industrials to be more conciliant?

No, they would just have used more proprietary softwares. The entire stack if necessary, and we would never have had Linux on mobile. Instead, we would have had a black box.

The open source mouvement is not "free to everyone to use and modify, except the ones that don't contribute and profit from it".

That would be a very bitter point of reaction, not positive action.

Re:Fuchsia overview by ryukafalz on Sunday May 31, 2020 @09:22AM (#23369419)
>There is no them. It's just all us.

In many contexts I would agree, but not here. Say I buy a device, and people discover later that it has surveillance code in it. Why can I not just remove it myself? Who do I need to talk to? The developer of that proprietary code. That's "them."

>That's a sociological problem, you won't solve that with software. Or licences.

>For that you need to get into politics or business.

There are many different angles you can take to approach a problem. One of which is politics, sure: we could outlaw software that surveils its users without consent. That's one approach. But a technical approach is also valid: if all software were free, do you really think users would just accept big tech companies surveilling them? Don't you think we'd have people removing the tracking code, and telling their friends how to do the same?

And by the way, one of the things we see over and over again from the business world is that incentives matter. No, I don't think all companies would have freed their code if the GPL were prevalent, but if it's significantly easier to make their code free than it is to make it proprietary, certainly more of them would. Just look at the state of Linux drivers on x86: how many of them are free these days, and how many of them are proprietary? There are a few high-profile proprietary drivers, but by and large most of them are free. That's meaningful progress! How many of your drivers are free on Windows?

>I haven't see that at all. Open source has never been so popular. Creative common as well.

"Open source" has had a surge in popularity, sure, but its current popularity has more to do with corporate interests than an interest in user freedom - which, of course, was why the term was coined in the first place. As a percentage of that software, the use of copyleft licenses has declined in recent years.

>I'm glad VLC didn't decide that they couldn't read DVD, or OOo read .doc because there were proprietary formats, otherwise they wouldn't have been the popular softwares of today.

Of course supporting existing proprietary formats for the purposes of drawing users to free software is a good thing! I just don't think we should be contributing to the development of more proprietary software. VLC and LibreOffice are both extremely valuable free software projects. (And by the way, they're both copyleft - OpenOffice isn't, but most development has shifted to LibreOffice these days.)

>The open source mouvement is not "free to everyone to use and modify, except the ones that don't contribute and profit from it".

Of course not! Anyone is free to use and modify any free software, including copyleft software. But I think copyleft is a valuable tool to help us build a software commons.

Re:Fuchsia overview by pjmlp on Sunday May 31, 2020 @03:08AM (#23367812)
Everyone is having their go at this, blame younger generations for fighting GPL, while favouring other license models.

GPL is the only reason Linux still exits, not for long though, when even Linux Foundation has decided to go with something else for IoT, namely Zephyr, which is neither Linux based, nor under GPL license.

In about 20 years we will be back at shareware and public domain, enjoy what is left while it lasts.

It doesn't matter if Fucschia is a success, Android is already like this, since Project Treble, Linux drivers are "legacy" drivers on Android, all new drivers use a microkernel approach with Android IPC, basically how Fuschia drivers work.

Re:Fuchsia overview by ahartmetz on Sunday May 31, 2020 @03:14AM (#23367834)
The Linux Foundation has a misleading name: it's essentially the Megacorporations Linux User Group. It wants whatever its member companies want. It does not really want to promote Linux or, say, enforce the GPL.
Re:Fuchsia overview by pjmlp on Sunday May 31, 2020 @03:37AM (#23367933)
Indeed, and while I am mostly a user of commercial software, I appreciate the work that Stallman and FSF have placed on the GPL.

Whatever non-copyleft licenses allow for, it was already available via public domain and shareware like licenses.

Yes, GPL makes is very hard for certain kinds of business models like games or desktop software in general, however when people complain about its existence, most seem to blind to the fact that they only have Linux and GCC because of GPL, and clang wasn't around until 2007.

Had it not been for them, and most likely all commercial UNIXes would still be around.

Re:Fuchsia overview by henearkr on Sunday May 31, 2020 @08:04AM (#23368991)
I agree with what you said, however what is even more adding to the confusion is that the Linux Foundation is Linus Torvalds' employer...
Re:Fuchsia overview by ahartmetz on Monday June 01, 2020 @08:45AM (#23377837)
I left that out to avoid opening a can of worms, but yeah...

If I was Linus, I might also avoid raising a stink because the Linux foundation does a few things that need to be done, and the damage it is doing might be less bad than what happens after discrediting it.

Re:Fuchsia overview by rwmj on Sunday May 31, 2020 @06:10AM (#23368474)
I guess that Linux will quickly get an "NDISwrapper" equivalent that can run Fuchsia binary blobs. We'll all be a little bit worse off as a result, but with mostly working peripherals.
Re:Fuchsia overview by sanxiyn on Saturday May 30, 2020 @11:20PM (#23366887)
> We already have a high quality kernel: Linux.

Linux is full of security bugs. It is ludicrous to suggest Linux is high quality. OpenBSD, maybe. Not Linux.

Re:Fuchsia overview by gregkh on Sunday May 31, 2020 @02:44AM (#23367729)
Citation needed :)

Seriously, all software has bugs, how do you judge the quality of an operating system that is not finished?

Re:Fuchsia overview by pjmlp on Sunday May 31, 2020 @03:18AM (#23367857)
Re:Fuchsia overview by _ph_ on Sunday May 31, 2020 @09:12AM (#23369361)
The fact that Linux doesn't have a binary-compatible driver interface is a good thing: It means hardware vendors have a very strong incentive to get their drivers upstream into the kernel.

I think it is a horrible thing and a reason to deter hardware vendors from supporting Linux at all. Even with the best intentions and open source drivers, it adds maintenance burdons to the hardware manufacturers. And some hardware vendors cannot go open source at all, as they might have licensed other code to implement their drivers or have other valid concerns not to open up their drivers entirely, like for IP protection.

Re:Fuchsia overview by fluffy87 on Sunday May 31, 2020 @04:42AM (#23368161)
This has only happened on Linux for commodity hardware. But Nvidia and others (hpc interconnects, routers,...) usually ship their own proprietary drivers, or even Linux forks.
Re:Fuchsia overview by StreamBright on Sunday May 31, 2020 @02:56AM (#23367763)
I would say this is one of their biggest advantage over Linux.

>> This would allow for a much more competitive, and higher quality, software, and hardware ecosystem on mobile platforms.

I have no idea why you think that. Any proof? How would you measure it?

>> It makes it possible to build proprietary drivers

End users do not care about opensource vs closed source, they care about the user experience. Based on your thesis, Linux would be the best operating system with the most market share out there because it features everything you say, yet it has a negligible share on desktop. Empirically proving your thesis being wrong.

Re:Fuchsia overview by kbumsik on Sunday May 31, 2020 @01:11AM (#23367366)
> It makes it possible to build proprietary drivers.

Even worse, Fuchsia aims to be BSD License, not GPL. Fuchsia is a complete disaster for hobby OS makers.

Re:Fuchsia overview by pjmlp on Sunday May 31, 2020 @03:21AM (#23367861)
Apparently everyone is unhappy with GPL.

In a couple of years the same people will understand why it exists in first place.

I guess they are having fun running FreeBSD on their PS4s, thanks to Sony, hence why they aren't paying attention.

Re:Fuchsia overview by tbodt on Sunday May 31, 2020 @11:49AM (#23370291)
*Fuchsia
Re:Fuchsia overview by damnyou on Saturday May 30, 2020 @05:50PM (#23365079)
A big reason why Fuchsia exists is governance — Google wants to make a kernel that it controls. Linux cannot provide that advantage unless Google forks it.