by billconan · 11y ago · 0 comments
What operating system are you on? Did you install the proprietary drivers by hand?
Given what you've said, my guess is that you're on the proprietary driver but it isn't being recompiled properly.
see for example:
https://devtalk.nvidia.com/default/topic/790089/linux/nvidia...
http://askubuntu.com/questions/372686/after-installing-nvidi...
I analyse the problem and present a hacky work-around in this post: http://vxlabs.com/2015/02/05/solving-the-ubuntu-14-04-nvidia...
I'm pretty content to just play 100% of games in windows, given that it's about 15 second reboot time with an SSD & windows 8--but I'll be very happy if we ever get full linux support on all games.
This means that any third-party driver that is not included in the mainline kernel source is effectively broken either via API or ABI almost every kernel update.
So it's not specifically a proprietary driver issue since even third-party open source drivers that are not in the mainline kernel break too.
Yes, nVidia could choose to open up their driver and contribute it in a way that it was included in the mainline kernel and therefore breakages would happen far less often. But ultimately, the real problem is the API/ABI instability on Linux.
With the above said, as others have mentioned, it shouldn't generally break every update if you have dkms, etc. setup properly.
So no, the kernel will never have a stale^Wstable ABI for drivers (as opposed to userspace). Out of tree modules are a bug; pick hardware that doesn't need them. Graphics are one of the last areas where some of the widely used hardware still doesn't have FOSS drivers; just about everything else works with in-tree drivers.
And the stability issues aren't just with keeping the drivers up to date. Users who run the nVidia proprietary driver regularly report crashes and stability issues.
ABI stability is not a feature, it's a bug. It means you
can't fix the kernel and every driver in it, and you have
to keep legacy interfaces around.
Sorry, but I strongly disagree and that's a factually, anecdotally, and objectively incorrect statement. OS X, Windows, AIX, and Solaris all manage to provide stable interfaces for drivers while still evolving the underlying implementation significantly. So clearly, it can be done.A properly designed API/ABI allows evolution of the implementation while retaining compatibility through interface.
Out of tree modules are a bug; pick hardware that
doesn't need them.
The idea that the Linux kernel should or can contain all support for all hardware ever is an ideological pursuit at best. And the stability issues aren't just with keeping the
drivers up to date. Users who run the nVidia proprietary
driver regularly report crashes and stability issues.
And people still report stability and crash issues with mainline kernel drivers too, just perhaps less frequently, so that's really an orthogonal concern. Quality of implementation is not an argument I would want to use against good architectural software practices such as having a stable API/ABI. I'm also quite familiar with the argument that "if the source is open, people can fix it and make it better!" -- I think the recent OpenSSL problems have proven that just because the source is open doesn't mean anyone is fixing problems there.Regardless, the real losers here are the users; I don't frankly care about the proprietary vs. not arguments and holding up some ideological standard as the ultimate goal seems like it's missing the point -- computers are just tools, and we should spending more time on improving the usability of them for users not fighting ideological wars.
Fine.
> and that's a factually, anecdotally, and objectively incorrect statement.
No, your anecdotes do not constitute facts or objectivity. More importantly, I'm not the person you would have to convince, and the people who would need to be convinced consider this argument over and done with long ago.
> OS X, Windows, AIX, and Solaris all manage to provide stable interfaces for drivers while still evolving the underlying implementation significantly. So clearly, it can be done.
By accumulating a massive amount of cruft that they can never remove. Yes, it's possible; it's also possible to run the old kernel in an emulation layer to run older drivers, but that doesn't make it a good idea. (Though that'd probably still be a better idea than attempting to support the old in-kernel APIs in a newer kernel.)
And incidentally, if you need kernel ABI stability, you can also go run RHEL, which backports changes from newer kernels while maintaining in-kernel ABI stability for out-of-tree drivers, within a given major release. So for the support lifetime of that RHEL release, you can count on ABI stability.
> The idea that the Linux kernel should or can contain all support for all hardware ever is an ideological pursuit at best.
And, in practice, a shockingly successful one. There's very little mainstream hardware left that the kernel doesn't have in-tree support for. (No, that's not an invitation to enumerate the remaining exceptions.) And even for a fair bit of nVidia hardware there's the reverse-engineered nouveau driver, which is good enough for desktop environments and light gaming on the hardware it supports.
However, for a production-quality Linux system, it makes more sense to select hardware with in-tree drivers.
> And people still report stability and crash issues with mainline kernel drivers too, just perhaps less frequently, so that's really an orthogonal concern.
I never suggested it was related; I'm arguing that there are good reasons to not use the nVidia drivers other than that they're out-of-tree and proprietary, namely that they're notoriously crashy.