Linux Gets Kernel-Based Modesetting
An anonymous reader writes "Next month when Fedora 9 is released it will be the first Linux distribution with support for kernel mode-setting, which is (surprisingly) a feature end-users should take note over. Kernel-based modesetting provides a flicker-free boot process, faster and more reliable VT switching, a Linux BSOD, and of most interest is much-improved suspend/resume support! The process of moving the modesetting code from the X.Org video driver into the Linux kernel isn't easy, but it should become official with the Linux 2.6.27 kernel, and the Intel video driver can already use this technology. Phoronix has a preview of kernel-based modesetting covering more of this new Linux feature accompanied by videos showing the dramatic improvements in virtual terminal switching."
Just what we need: a Linux BSOD!
Your ad here.
A BSOD? Lemme guess, that patch came from Novell, right?
Understanding the scope of the problem is the first step on the path to true panic.
It's about time, KGI was a patch to Linux many many years ago to enhance Linux graphics support just like combining this kernel modesetting with DRI (except that KGI had decent security measures designed in right from the start).
As usual the old guard says something like "Graphics isn't relevant" and holds back progress for years on end.
I've been trying it out since it became usable at all in the relevant git trees, with Intel driver of course - and it works wonders. Probably one of the best inventions after sliced bread. Well, seriously, it will definitely help the authors of graphics drivers, providing a unified framework for all modesetting kludges and simplify the actual drivers, especially direct rendering. AFAIK all the new Radeon drivers (those made with the specifications AMD released) will be using it, as well as DRI2, so not only Intel GMA users will benefit very soon.
This is Slashdot. Common sense is futile. You will be modded down.
I've tried contributing code, but they're stuck in a cathedral and won't acknowledge me.
I hear ya...I've better luck with the Debian Hurd project, give them a shot:
http://www.debian.org/ports/hurd/
If it's been a while, you might be pleasantly surprised: you can get a decent GNU/Hurd install going without too much trouble, there are things happening, development-wise (including possible "summer of code" participation) and so on.
Good luck.
"Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth
Does anybody have some insights on how this will affect those not using Linux kernels with this patch?
Are the *BSDs and commercial Unices planning on similar work? Will support for modesetting eventually be dropped from X drivers?
If I had a lot of money like google does then I would fund just enough work to keep the joke alive :D
----
Go canucks, habs, and sens!
Apple uses a hybrid kernel called XNU actually. http://en.wikipedia.org/wiki/XNU
MidnightBSD: The BSD for Everyone
Every time I've had X crash, it's brought me right back to the console, with no issues or problems.
But then, I don't use [xgk]dm, nor do I use DRI. This seems like a really Microsoft-like Bad Idea to me...
"I don't know, therefore Aliens" Wafflebox1
Because the kernel manages hardware resources. Modesetting and graphics memory management should be done by real drivers in the kernel, just like everything else. Right now, you basically have two driver frameworks managing the video hardware (and possibly more): the kernel's own framebuffer and the X.org drivers, which already have DRM shims in kernelspace. That is way too complicated and why anybody thinks having two drivers competing for a single piece of hardware is a good idea is beyond me. There is a segment of the Unix population that seems to think that anything that's been done for longer than, say, 10 years, is automatically correct and anybody who chooses to change things is automatically wrong. FWIW, Linux and the open source BSDs are the only Unices that have had X modesetting and basic video driver functionality OUTSIDE the kernel. The commercial Unices had special X drivers in the kernel, Mac OS X obviously has kernel mode graphics support, as does Windows, although it is partitioned off from the rest of the kernel to some degree. And which OS has the most problems with graphics drivers, crashes and lockups related to that? Linux...
BSOD here does not mean "Microsoft-style reliability".
Currently, if the kernel panic, and X is shown, the machine just locks up.
With kernel mode-setting, the kernel will be able to switch out of X and print panic to the screen. This is very helpful to developers, and for bug reports.
The downside is not decreased reliability, but that the normal user will panic too (and not just the kernel).
Of course, the more code we have in the kernel, the more reasons to oops, but that hardly happens on distribution kernels, as the bugs were mostly flushed out.
Then you don't have a recent ATI card. The free driver will hard crash my system when playing video through Xv (this is with an experimental driver pulled from the GIT tree), the proprietary driver will freeze the system on log-out (with K/GDM). An X11 error can easily take down Linux, even if you don't use DRI.
The final impediment removed to allow "the year of linux on the desktop".