News for hackers. Stuff that matters.
Re:Arm Officially Supports Panfrost Open-Source Mali GPU Dri... by dtx1 on Friday September 18, 2020 @01:40PM (#24519662)
I still don't understand the reluctance to get their drivers into the mainline kernel under an open source license. They have nothing to lose and so much to gain. Any SBC, Phone, Notebook will be easier to sell if it can run a mainline kernel. Android Updates will become much less of a problem and just the sheer amount of free QA work in form of bugtracker items should be well worth the effort. I do hope nvidia starts to realize this aswell and makes their drivers less closed and annoying to use on linux.

I suspect the issue is a little bit of licensing and a lot of "management" and people that think that "proprietary" is a good thing.

Re:Arm Officially Supports Panfrost Open-Source Mali GPU Dri... by josteink on Friday September 18, 2020 @04:24PM (#24521511)
> Any SBC, Phone, Notebook will be easier to sell if it can run a mainline kernel.

I’m pretty sure that’s only a convincing argument to a very small market segment.

And I say that as someone who has bought a PinePhone.

Re:Arm Officially Supports Panfrost Open-Source Mali GPU Dri... by heavyset_go on Friday September 18, 2020 @04:43PM (#24521709)
Being able to run a mainline kernel means being able to receive updates indefinitely, and being able to run any Linux derivative that you want, not just Android.

When I recommend hardware, I recommend hardware that will have a long life. Lately, recommending phones and tablets has been tough, because only certain manufacturers and models guarantee software updates, and then only for a small window of time. After that, you're expected to upgrade even if your phone or tablet works perfectly fine.

Hardware that can run a mainline kernel might change that, however.

Re:Arm Officially Supports Panfrost Open-Source Mali GPU Dri... by ndesaulniers on Friday September 18, 2020 @08:32PM (#24523463)
> Being able to run a mainline kernel means being able to receive updates indefinitely

I wouldn't say indefinitely. Hardware that runs Linux today, mainline or not, is not guaranteed to continue to run newer kernel releases. Drivers and even whole architectures do get dropped from the tree, though they get reverted if anyone actually notices and still cares about such support.

While indefinite sounds nice, it turns out that indefinite support is not quite what people actually want in practice, even if they exclaim otherwise. Typically, because then they're responsible for maintenance, and the common response there is "no thanks."

I'm all for getting everything upstream though!

Re:Arm Officially Supports Panfrost Open-Source Mali GPU Dri... by heavyset_go on Saturday September 19, 2020 @01:14AM (#24525309)
> I wouldn't say indefinitely

I mean that indefinite updates are an ability enabled by being able to run a mainline kernel. Without a mainline kernel, there is no ability for someone to keep their hardware updated should they so choose. It's off the table entirely.

Re:Arm Officially Supports Panfrost Open-Source Mali GPU Dri... by ravi-delia on Friday September 18, 2020 @07:06PM (#24522725)
I'd say the real help would be in a new generation of cheap ARM servers. They're mostly impeded by how much variability there is in ARM processors, but having your drivers in the mainline kernel would make it far easier to sell to hardware manufacturers. I'm sure there's some incentive to keep these drivers closed source, but the potential business benefits go far beyond mobile devices.
Re:Arm Officially Supports Panfrost Open-Source Mali GPU Dri... by matheusmoreira on Friday September 18, 2020 @07:42PM (#24522968)
Mainlining a driver means it will be immediately available to users of a huge number of architectures. It will be improved by other Linux kernel contributors. It will never have binary compatibility problems with the kernel, letting users update their software in peace. Maintenance costs are significantly reduced since it is no longer necessary to keep up with a free software project that receives over 20 patches an hour.
Re:Arm Officially Supports Panfrost Open-Source Mali GPU Dri... by megous on Saturday September 19, 2020 @09:27AM (#24527271)
Maintaining drivers out of tree requires a few hours of testing and maybe some minor changes every two months (and that's only if you for some reason want to keep up with the main release cycle, and not just with LTS releases).

It certainly does not mean keeping up with 20 patches each hour.

People spend more time walking their dog during a week, than they would maintaining the out of tree driver every few months, if they changed to that as a hobby.

Re:Arm Officially Supports Panfrost Open-Source Mali GPU Dri... by hajile on Friday September 18, 2020 @04:56PM (#24521812)
I'd guess the market for cheap IoT devices running mainline Linux is pretty big.
Re:Arm Officially Supports Panfrost Open-Source Mali GPU Dri... by stefan_ on Friday September 18, 2020 @06:34PM (#24522513)
At this point, with Lima and Panfrost in the tree, there is no more opportunity for an official ARM driver to be merged. They are locked out.
Re:Arm Officially Supports Panfrost Open-Source Mali GPU Dri... by ComputerGuru on Friday September 18, 2020 @08:02PM (#24523131)
I don’t know what that is supposed to mean. Drivers get replaced wholesale by more worthy alternatives from time to time.
Re:Arm Officially Supports Panfrost Open-Source Mali GPU Dri... by shmerl on Friday September 18, 2020 @03:29PM (#24520939)
> I still don't understand the reluctance to get their drivers into the mainline kernel under an open source license.

It could be market manipulation. If you have an open driver, you can use the hardware any way you want. If the only well performing or functional driver is a blob, they can decide to charge you for using specific features. Like with some enterprise use cases and etc.

Re:Arm Officially Supports Panfrost Open-Source Mali GPU Dri... by londons_explore on Friday September 18, 2020 @03:36PM (#24521018)
Nvidia has done very well financially out of preventing use of consumer graphics cards being used in datacenters through licensing restrictions. An open source driver eats into that. And remember, Google/Amazon don't even need a complete working opensource driver - even a rough skeleton that reveals enough of the inner workings of the hardware is sufficient for them to build their own driver and save $Millions in licensing costs.
Re:Arm Officially Supports Panfrost Open-Source Mali GPU Dri... by shmerl on Friday September 18, 2020 @03:44PM (#24521107)
> Nvidia has done very well financially out of preventing use of consumer graphics cards being used in datacenters through licensing restrictions. An open source driver eats into that.

Yep, that's my guess exactly why they are such jerks and hinder Nouveau reclocking.

> And remember, Google/Amazon don't even need a complete working opensource driver

Google or Amazon don't need Nvidia. Google already went with AMD for Stadia, and they actually mentioned open driver as one of the major reasons.

Re:Arm Officially Supports Panfrost Open-Source Mali GPU Dri... by izacus on Saturday September 19, 2020 @07:37AM (#24526728)
> Google or Amazon don't need Nvidia. Google already went with AMD for Stadia, and they actually mentioned open driver as one of the major reasons.

This is complete nonsense - Stadia is a gaming platform, what does it have to do with compute power provided by nVidia's CUDA? Those are completely different, non-interchangeable, usecases provided by completely different products.

Re:Arm Officially Supports Panfrost Open-Source Mali GPU Dri... by shmerl on Sunday September 20, 2020 @09:43PM (#24538975)
Google and Amazon have more than enough resources to avoid CUDA altogether if they wanted to. Basically, they don't need Nvidia just because of their lock-in shenanigans and if open driver is something beneficial for them.
Re:Arm Officially Supports Panfrost Open-Source Mali GPU Dri... by ndesaulniers on Friday September 18, 2020 @08:34PM (#24523484)
> Google/Amazon don't even need a complete working opensource driver - even a rough skeleton that reveals enough of the inner workings of the hardware is sufficient for them to build their own driver and save $Millions in licensing costs.

Google builds their own Mali driver? That's news to me, and I work on Android's kernel team!

Re:Arm Officially Supports Panfrost Open-Source Mali GPU Dri... by devit on Friday September 18, 2020 @04:30PM (#24521586)
You can do that in hardware in most cases. Embed a unique serial number and only enable a feature if the driver passes a cryptographically signed message stating that the serial number has paid for the feature (and then sell the message data on your website).
Re:Arm Officially Supports Panfrost Open-Source Mali GPU Dri... by shmerl on Friday September 18, 2020 @04:47PM (#24521750)
They could, but it's a bigger hassle than slapping some artificial restriction on the blob.
Re:Arm Officially Supports Panfrost Open-Source Mali GPU Dri... by thrwway08930 on Saturday September 19, 2020 @04:48AM (#24526115)
It was almost exclusively out of fear of being sued by some troll for patent infringement.