News for hackers. Stuff that matters.
Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by rhencke on Wednesday August 15, 2018 @12:34PM (#17767349)
I believe one of the reasons Linux continues to be successful today is _because_ they keep the drivers in mainline _without_ a stable API.

It is a key motivator to ensure drivers remain available and supported well into the future of Linux.

Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by pjmlp on Wednesday August 15, 2018 @12:43PM (#17767444)
Which given the way legacy AMD drivers story has been handled on Ubuntu, it is quite far from actually being so.

My Asus Netbook no longer gets all the acceleration options that it used to have pre 16.04.

Linux is successful because it is a free beer UNIX clone.

Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by monocasa on Wednesday August 15, 2018 @12:55PM (#17767571)
You still have the source to the old drivers. It's just not a priority for others to support anymore, but you have the means to go add that support yourself, or pay a third party to do it for you.

Contrast with when windows changed the video driver architecture in Vista, and the only option you had was to pound sand.

Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by bunderbunder on Wednesday August 15, 2018 @01:04PM (#17767679)
Seems like a pretty easy cost/benefit analysis to me:

I can either spend thousands of dollars worth of my time on updating the driver, or I can pay someone else thousands of dollars to do it. Or I can spend a fraction of that on a new video card.

Seems like the only solution for Vista users is the only solution I'd ever have gone with, anyway.

Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by monocasa on Wednesday August 15, 2018 @01:30PM (#17767929)
Sure the cost/benefit works out the same for you (which is why no one has done the work), but that's different from the full set of options available to you in both cases.
Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by bunderbunder on Wednesday August 15, 2018 @02:36PM (#17768535)
How expansive do we want to be about what the full set of options is, though?

I tend to fall on the side of the root poster - if having a stable driver API means Linux gets more commercial driver support, then that's the one that has the highest cost/benefit in my book.

In practical terms, being able to hack on open-source drivers isn't particularly useful to me, but having an easier user experience with Linux on the desktop (and, more generally, having Linux on the desktop be something more than an also-ran) would benefit me immensely.

Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by pjmlp on Wednesday August 15, 2018 @01:00PM (#17767628)
I skipped Vista, however my XP drivers were fully supported on the upgrade to 7.
Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by iforgotpassword on Wednesday August 15, 2018 @01:23PM (#17767864)
Some xp drivers work on 7, most don't. Also unlike user space, you cannot run 32 bit drivers on 64 bit windows, so unless you were running 32 bit win7 you needed 64 bit xp drivers, which were rare. Are you sure you explicitly installed xp drivers and didn't just happen to have hardware where windows shipped matching drivers or could download them from the windows driver database? (Or downloaded an installer bundle from the manufacturer's website that just contained drivers for all supported platforms..)
Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by core-questions on Wednesday August 15, 2018 @12:44PM (#17767456)
Womp womp. Most of those netbooks are unusably slow anyhow, and were when they were brand new too. Run an older kernel on there and call it a day.
Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by pjmlp on Wednesday August 15, 2018 @12:46PM (#17767478)
Sorry but a DirectX 11 class dual core APU is good enough for general purpose gaming.

And runnig legacy kernels? No thanks.

Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by monocasa on Wednesday August 15, 2018 @01:33PM (#17767953)
Which GPU is it specifically?
Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by pjmlp on Wednesday August 15, 2018 @02:22PM (#17768427)
AMD Fusion Brazos APU, Radeon HD 6250
Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by monocasa on Wednesday August 15, 2018 @03:16PM (#17768862)
Certainly looks supported by /dev/radeon, just not /dev/amdgpu.
Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by pjmlp on Wednesday August 15, 2018 @03:33PM (#17769002)
I didn't said it wasn't supported, I said:

> My Asus Netbook no longer gets all the acceleration options that it used to have pre 16.04.

Which holds true, because /dev/radeon no longer offers hardware video decoding support it once did unless I force enable it, and even then it usually leads to random X crashes when watching videos.

And then there is this,

"For one, AMD users can’t use applications that require OpenGL 4.3 or later without the fglrx/Catalyst drivers."

https://www.omgubuntu.co.uk/2016/03/ubuntu-drops-amd-catalys...

Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by monocasa on Wednesday August 15, 2018 @04:33PM (#17769497)
OK, that calls out X.org as the reason why the drivers aren't being supported rather than Linux. You can use fglrx with newer kernels just fine, it's just that user space went out of it's way to break support.

I really fail to see how that has anything to do with Linux's unstable kernel driver API.

Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by AnIdiotOnTheNet on Thursday August 16, 2018 @07:40AM (#17773753)
> OK, that calls out X.org as the reason why the drivers aren't being supported rather than Linux.

Ah, the Linux evangelist blame-game. It's a big advantage of a system being so haphazardly thrown together from separately developed components. Start by blaming the choice of distro, end up at "Linux is just a kernel".

Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by monocasa on Thursday August 16, 2018 @03:13PM (#17777654)
I mean, I feel like that's valid in the context of this discussion. That being 'Linux's unstable driver API designed to push drivers as source into mainline causes ISVs headaches'.

How does that apply here when Linux didn't change and you can still use the same kernel driver, but some other component decided to not work with the driver anymore?

Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by pjmlp on Wednesday August 15, 2018 @04:46PM (#17769619)
Given that the radeon driver doesn't provide the same feature set as fglrx used to provide, with the same stability, it is surely a driver issue.
Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by monocasa on Wednesday August 15, 2018 @04:55PM (#17769701)
... a brand new, mainline kernel will run fglrx just fine. It's user space (specifically the x srever) that decided to break fglrx. So how is that the fault of the kernel's unstable API again?
Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by pjmlp on Wednesday August 15, 2018 @06:25PM (#17770285)
Graphics drivers run on the kernel.
Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by monocasa on Wednesday August 15, 2018 @06:57PM (#17770471)
I mean, everything runs on the kernel... but I assume you meant in the kernel.

Graphics drivers are split into three main pieces these days.

1) Kernel space that mainly sets up the GPU's MMU, and adds a context to the GPU's hardware thread scheduler. There'll be some modesetting too, but that piece is really simple (and fglrx never used the main kernel API for that anyway, so it doesn't really matter if it was stable or not. But it actually was pretty stable over the time frame we're talking about).

This piece still works fine on fglrx with a modern kernel.

2) A userspace component that lives with the window manager setting up the actual display output, and accelerating compositing. Stuff like EGL works by making IPC calls to this layer.

This is the piece that broke in your case, and only because the x server decided to change.

3) Another piece that runs in userspace and is ultimately what gets called by graphics APIs and is linked into every process making graphics calls. This is the vast majority of the driver.

Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by nasoieu on Wednesday August 15, 2018 @12:59PM (#17767609)
Linux on the desktop would have succeeded with a stable driver API. Having hardware with closed source drivers supported could have being a walk in the park for OEMs. Bad 3D, wireless, etc. support is what killed Linux. OEMs would have probably made more and better drivers if they didn't have to make changes to them every few months or go through the effort of releasing and mainlining the source.
Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by btilly on Wednesday August 15, 2018 @01:13PM (#17767765)
This is your opinion. The opinion of informed observers who are actually doing the work is the opposite - OEMs produce buggy, incomplete drivers and don't care to fix the bugs. In fact, given the choice, they don't want to allow anyone else to dig into their drivers because doing so can only lead to embarrassment. Plus exploits that are discovered are likely to be cross-platform exploits.

Any operating system that wishes stability therefore has to put barriers between themselves and the driver. And, preferably, should use drivers that they can audit themselves rather than trusting OEMs.

As an example of this outside of the open source world, the biggest reason why Windows used to have a reputation for BSODs is that they were dependent on third party drivers. Windows made it harder for third parties to take down their OS, shipped tools to audit drivers for bugs, and forced OEMs to clean up their act. (Which they didn't do voluntarily.)

Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by hinkley on Thursday August 16, 2018 @02:39AM (#17772438)
Three words:

Creative Fucking Labs.

Someone told me back then that the sound blaster drivers were responsible for more crashes than the next several causes combined, so I started watching and I’ll be damned if I didn’t see the same thing.

Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by renox on Thursday August 16, 2018 @07:00AM (#17773574)
If I remember well, there was a sound card which talked on the PCI bus after it should have stopped talking, these kind of bugs can break any OS, microkernel or not..
Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by nasoieu on Wednesday August 15, 2018 @01:20PM (#17767834)
It's better to have buggy, incomplete drivers than no drivers at all.
Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by Dylan16807 on Thursday August 16, 2018 @03:07AM (#17772555)
If you control the desktops and take strong measures to stop horribly-buggy drivers from working, 95% of manufacturers will fix the drivers because they want to sell the product.

In that tradeoff, I'll easily pick the marginally smaller market with vastly better drivers.

Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by iforgotpassword on Wednesday August 15, 2018 @01:28PM (#17767908)
This is your opinion. I prefer using hardware with stable drivers, working reliably.
Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by jonny_eh on Wednesday August 15, 2018 @02:39PM (#17768562)
That's why I use a Mac. Seems like a good solution is to have the OS and HW manufacturer to be one and the same.
Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by rleigh on Wednesday August 15, 2018 @03:21PM (#17768909)
On the flip side, there are vastly fewer drivers. I can plug a random USB device into a Linux system and the chances are it just works. Same with Windows, though it might require the driver installing first. MacOS might not have any driver at all.
Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by nasoieu on Wednesday August 15, 2018 @03:08PM (#17768803)
That's not what I said. Would you rather have no hardware or hardware that BSODs once a month?
Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by btilly on Wednesday August 15, 2018 @03:38PM (#17769035)
That's a false dilemma.

The actual choice is whether to have limited hardware choices or hardware that crashes regularly. Put that way, it is obvious to me that limited hardware is the right answer.

Why? Because what I care about is having a system that works well for me. Limited choices are fine as long as I can determine in advance whether the system that I'm considering will work. (I usually can.) So now my choice boils down to, "Do I want to be able to buy a reliable system, or be forced to put up with a buggy one?"

Put that way, who wants to be forced to put up with bugs?

Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by AnIdiotOnTheNet on Thursday August 16, 2018 @07:42AM (#17773761)
> Linux on the desktop would have succeeded with a stable driver API.

I doubt it. Linux desktop's problems run far, far deeper than that one questionable choice.

Re:The Jury Is In: Monolithic OS Design Is Flawed [pdf] by agumonkey on Wednesday August 15, 2018 @01:09PM (#17767733)
So we should have two numbers, actual kernel, whole tree.

I am quite convinced that if they kept it that way it was because some unplanned property caused worse driver status with an API; too many delays, improper usage I don't know.

If there's no solid reason, then I'd be happy to have split codebases.