Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
Windows Operating Systems Software Programming IT Technology

Vista's Graphics To Be Moved Out of the Kernel 555

Tiberius_Fel writes "TechWorld is running an article saying that Vista's graphics will not be in the kernel. The goal is obviously to improve reliability, alongside the plan to make most drivers run in user mode." From the article: "The shift of the UI into user mode also helps to make the UI hardware independent - and has already allowed Microsoft to release beta code of the UI to provide developers with early experience. IT also helps make it less vulnerable to kernel mode malware that could take the system down or steal data. In broader terms, this makes Windows far more like Linux and Unix - and even the MacOS - where the graphics subsystem is a separate component, rather than being hard-wired into the OS kernel."
This discussion has been archived. No new comments can be posted.

Vista's Graphics To Be Moved Out of the Kernel

Comments Filter:
  • The Bloat Divides? (Score:4, Insightful)

    by ackthpt ( 218170 ) * on Friday December 16, 2005 @03:15PM (#14273541) Homepage Journal

    So this is like cell division. The bloat of Windows divides into the Kernel and UI pools.

    Taking this article into account [slashdot.org], it seems clear why the massive graphics card requirement. However, if this much is being pulled from the Kernel, then why still such a massive minimum RAM?

    "if you hold down ctrl+shift+alt and tap the backspace you can watch a video of steve wrecking a chair"

  • by ejoe_mac ( 560743 ) on Friday December 16, 2005 @03:16PM (#14273554)
    Who needs the overhead of a windowing GUI on a server?
  • by digitalgimpus ( 468277 ) on Friday December 16, 2005 @03:17PM (#14273565) Homepage
    You know when they market this you'll see it as

    New! - Microsoft's Exclusive Patented Technology allows for graphics outside the kernel, to provide higher stability.

    New! - Microsoft's Revolutionary Technology allows for graphics outside the kernel, to provide higher stability.

    Just wait.... they'll make it sound like a new concept. Rather than a copycat.
  • Reinventing Unix (Score:0, Insightful)

    by Anonymous Coward on Friday December 16, 2005 @03:17PM (#14273568)
    this makes Windows far more like Linux and Unix - and even the MacOS
    What's that saying about people being doomed to reinvent Unix?
  • Open GL Drivers? (Score:5, Insightful)

    by Gr8Apes ( 679165 ) on Friday December 16, 2005 @03:18PM (#14273575)
    So, does this mean that MS's stated goal of "deprecating" OpenGL in favor of DirectX is now irrelevant? If the graphics subsystem is outside the kernel, it can be replaced by another driver that does not make OpenGL play second fiddle to DirectX. Perhaps this is a good thing?
  • by CastrTroy ( 595695 ) on Friday December 16, 2005 @03:25PM (#14273645)
    No, people who use windows and therefore have to do everything with a GUI because their commandline sucks so much.
  • by SquadBoy ( 167263 ) on Friday December 16, 2005 @03:27PM (#14273662) Homepage Journal
    No. They get criticized for not doing features properly. My iBook with a lowly 1.33GHz proc, a mere gig of RAM, and nothing more than a ATI Mobility Radeon 9550 with 32 megs of video memory looks *stunning* and does things that from what we have seen so far Vista can only dream about.

    The simple fact is that it's possible to do great graphics, at least for a GUI, without needing a bloody supercomputer (Yes yes yes I *know*. I'm overstating for effect). Basically if they did these things properly they would see a lot of the hating go away.
  • by nmb3000 ( 741169 ) on Friday December 16, 2005 @03:30PM (#14273700) Journal
    Who needs the overhead of a windowing GUI on a server?

    Ah, yes. Just what we all want. Command-line administration of Active Directory and Exchange.

    Windows Server 2003's GUI overhead is extremely small in comparison to the other tasks it's performing. Besides, it's not a matter of being "scared" of a CLI, in fact pretty much all the Windows sysadmins I know (including myself) use the Windows command line on a regular basis. Believe it or not, but a GUI really can give a boost to speed and efficiency when it comes to server management, regardless of what the zealots here might say.
  • Obligitory: (Score:4, Insightful)

    by mrwiggly ( 34597 ) on Friday December 16, 2005 @03:30PM (#14273710)
    Those who fail to understand UNIX are doomed to reimplement it. Poorly
  • Redundant?
    ...or oxymoron [wikipedia.org]
  • by tralfaz2001 ( 652552 ) on Friday December 16, 2005 @03:38PM (#14273762)
    Without an altenate way to access the console what is the value except for server configurations. If X windows or OS X window server locks up I can always ssh in and restart things. On linux I can just use an alternate console. Would be great if OS X had something similar. If Vista doesn't have something similar than a graphics system lock up is almost the same as a BSOD. Maybe you will still be able to do a controlled shutdown through the power button.
  • by NCraig ( 773500 ) on Friday December 16, 2005 @03:38PM (#14273766)
    This is just priceless.

    Day in and day out, Microsoft takes a beating around here for putting too many irrelevant subsystems into their kernel.

    And then, when Microsoft makes a positive design change, they are attacked for HYPOTHETICAL marketing. You don't know how (or if) they'll market this.

    I can see it now: Bill Gates shows up at your front door, hands you a million dollars, and walks away. You run to your computer and submit the headline, "BILL GATES IS A TRESSPASSER."
  • by Necrotica ( 241109 ) <cspencer@nosPAM.lanlord.ca> on Friday December 16, 2005 @03:38PM (#14273767)
    Ah, yes. Just what we all want. Command-line administration of Active Directory and Exchange.

    Never used or seen Netware or used any UNIX, have you?

    There is no NEED for a GUI on the server. Keep the admin tools on the client! If you can't administer AD from your client, restart the AD Admin Service on the service.

    Admins should only physically touch servers when there is a hardware problem or network problem. If you are sitting on the console of your server using the GUI, I would suggest that you are not a very experienced sysadmin.
  • by spitzak ( 4019 ) on Friday December 16, 2005 @03:49PM (#14273842) Homepage
    You seem to be confused. Yes there is still a kernel thing that talks to the hardware. Even in non-kernel X there is something in the Linux kernel that grants this process access to certain hardware. However you have to realize that this thing is TINY compared to a graphics server. Likely the difference in size is three or four orders of magnitude. Assumming bugs are evenly spread (which is probably false, there are probably fewer bugs than that in the hardware-talking layer), what NT (and X) has done is move 99.99% of the bugs out of the kernel!
  • by keithmo ( 453716 ) on Friday December 16, 2005 @03:49PM (#14273843) Homepage
    • They haven't released Monad yet.
    • The graphics subsystem was in user-space for NT versions <= 3.51. It's not moving to user-space, it's moving back to user-space.
    • NTFS is a journaling filesystem.
    • Windows source code -- uh... don't hold your breath.
  • Re:YES a COPYCAT (Score:3, Insightful)

    by Glonk ( 103787 ) on Friday December 16, 2005 @03:52PM (#14273866) Homepage
    I don't understand what makes a copycat these days. How is something basics like running graphics in usermode something where people can be called "copycats" for doing? You can run it in kernelmode or usermode, it's not like switching it from one to the other is an incredible innovation and people would never come to on their own. Clearly they looked at X11 and thought "what a magnificient technology! Let us copy its architecture..." or not...

    There are design tradeoffs made in doing operating system design. Back when NT4.0 came out, Microsoft decided that the performance of the kernel-mode graphics system was superior to that of the user-mode graphics system. Now that the hardware is so much faster, there's virtually no difference in performance...so now they're moving it back into userland.

    I realize this is /., but come on guys...
  • by UOZaphod ( 31190 ) on Friday December 16, 2005 @03:55PM (#14273887)
    Didn't you hear? Microsoft bashing is guaranteed karma, man.

    Why would someone need to think of something original when they can just keep recycling the same old jokes over and over?

    I'm no MS fanboy myself, considering some of the mistakes they've made in the past. However, I'm disappointed with what passes for humor here sometimes.
  • by jleq ( 766550 ) <[jleq96] [at] [gmail.com]> on Friday December 16, 2005 @04:08PM (#14273982)
    Or how about sysadmins who like to be efficient? I use a mix of Linux and Windows in many cases; I am very capable of using a shell to administer a server when needed. Having a preference for GUI system administration doesn't make me any less of a system administrator. It makes me a more efficient one, and I see absolutely nothing wrong with that. The day that a good, unified system administration GUI is available for Linux (no, Webmin doesn't count) is the day that it will pose a much more serious threat to Microsoft. I, along with many others, am anxiously awaiting that day.
  • by Gulthek ( 12570 ) on Friday December 16, 2005 @04:09PM (#14273993) Homepage Journal
    Point: to make the GUI on windows servers optional.
  • by bnenning ( 58349 ) on Friday December 16, 2005 @04:12PM (#14274022)
    As I was thinking about this, I realized that this is like MS-DOS on steroids.

    Well yeah, in the same sense that Unix is DOS on steroids.

    I know this analogy is not entirely correct, but wasn't the point of Win9x that it put the gui INTO the kernel?

    No. The point of Win9x was to look like Mac OS. Moving the GUI into the kernel was a poorly thought out premature optimization. Microsoft is doing the right thing by changing that.
  • by spuzzzzzzz ( 807185 ) on Friday December 16, 2005 @04:14PM (#14274028) Homepage
    But the vast majority of driver code lives in userspace; the size of the kernel interface is much smaller and therefore easier to debug.

    Any bugs that exist in the kernel mode driver would yield the same problems in user mode. If a video driver incorrectly configures your graphics card, you're going to get a garbled display, period.

    I don't think we're too worried about garbled displays here. If you have a kernel mode driver, it can do whatever the hell it likes with the entire kernel address space. Even if it isn't malicious, a badly written kernel driver can cause all sorts of corruption all over the place.
  • by LordKaT ( 619540 ) on Friday December 16, 2005 @04:18PM (#14274069) Homepage Journal
    As far as gaming cheaters are concerned, it means almost nothing. The system hooks are still present and useable. The only thing that would stop cheaters are games that stop trusting the clients.
  • by Stonent1 ( 594886 ) <stonentNO@SPAMstonent.pointclark.net> on Friday December 16, 2005 @04:39PM (#14274250) Journal
    Yeah, before Linux was considered a threat by MS, performance was king and getting the most out of a 486 meant moving things like the UI into the kernel. Now that MS sees Linux as a threat stability is king.

    In fact, I'd like to see an ability in Vista Server to shut down the UI completely unless someone is actually using the system in an interactive mode.
  • by raftpeople ( 844215 ) on Friday December 16, 2005 @05:12PM (#14274675)
    Forgive me, but I am just stunned by these types of questions.

    If I said, "provide me an example of a situation where a GUI would be quicker/easier/fewer steps/less error prone/whatever compared to a command line interface, and I will give you $100", you don't think you could come up with even 1?

    I personally could fill a book of pro's for both GUI and command line.
  • by takis ( 14451 ) on Friday December 16, 2005 @05:19PM (#14274772) Homepage Journal
    TechWorld is running an article saying that Vista's graphics will not be in the kernel. The goal is obviously to improve reliability, alongside the plan to make most drivers run in user mode." ... In broader terms, this makes Windows far more like Linux and Unix - and even the MacOS - where the graphics subsystem is a separate component, rather than being hard-wired into the OS kernel."


    Yeah, running graphics drivers in kernel space is just plain ugly... Luckily for us Linux users, we can get full graphics acceleration by running the "userspace" NVIDIA kernel module ;-) Certainly increases stability!

    size /lib/modules/2.6.12-10-k7/volatile/nvidia.ko
          text data bss dec hex filename
    2476901 947920 6916 3431737 345d39

  • by kuzb ( 724081 ) on Friday December 16, 2005 @05:35PM (#14274972)
    The next obvious question would be: why doesn't X11 come properly configured with and get set up with good fonts to begin with? Why do we need to play this silly configuration game? You don't have to with every other major desktop-based operating system.
  • by RhettLivingston ( 544140 ) on Friday December 16, 2005 @06:10PM (#14275432) Journal
    is because enough high level graphics functionality is moving into and being required of the graphics hardware now that the performance loss on most machines will be acceptable. i.e. it is heavily tied to the hardware requirements Vista has added. If they couldn't do it without losing significant performance, they wouldn't. Performance sells before stability.
  • by TheNetAvenger ( 624455 ) on Friday December 16, 2005 @06:47PM (#14275877)
    NT borrowed heavily from DEC VMS, which if it were running on DOS would be like running VMS on top of RSTS.

    Just my two cents because I get sick of morons bloviating this crap...

    NT borrowed almost NOTHING from the VMS or *nix world. Culter was author of VMS and a brilliant *nix designer, but he also knew the shortcommings of both OS models. NT was designed specifically to be different and not be tied to a *nix or for that matter a VMS architecture.

    (In fact Cutler could have made NT a full *nix Windows, as Microsoft owned Xenix at the time, and was willing to go with whatever the Cutler team decided would create the next great OS architecture.)

    People can bitch about Windows and specfically Win32, but there is not a whole lof ot NT itself that is flawed or attackable in its design. It is still doing kernel and architectual concepts today that you cannot find any other consumer level OS. PERIOD.

    For graphics and sound to work best, commonly used objects are stored in memory, ideally most rapidly accessible by the chipset which makes use of it. If you can pre-load a graphics card with most of your GUI toolkit you can do some amazingly fast rendering.

    Ok, this partially true; however, the thing people seem to miss is that when Microsoft dropped Video to Ring0 with NT4 it was to improve video performance for games, specifically WinG and DirectDraw at the time. This was a major performance increase at the time because of the higher level GDI calls of Win32 that were mostly non-accelerated for gaming. ALso at the time 3D accelerated Video Cards were basically non-existent at the time, so machines didn't have a powerful GPU to utilize.

    And what this means by them moving the Video back up from Ring0 is of course more stability, so the new NVidia beta build doesn't make the Windows machine lock up when it shouldn't, as most graphic drivers are the root of 99% of all system lockups with Windows, since most users don't run MS certified drivers and are running the latest incarnations.

    Additionaly, with the new graphics subsystem concepts in Vista, having Video Drivers in Ring0 is far less important, as the entire WPF is designed to take advantage of the Video GPU from everything from off-screen buffering like OSX, to drawing the entire controls and 3D interfaces.

    In fact with the new WPF in Vista, the GPU can even be used to accelerate printing, and creation of XPS graphical/display documents.

    So there is no longer a need or reason for the small performance benefits by having the video in Ring0, since the GPU, even older GPUs by today's standards handle all the gaming and now even the new UI controls and 3D vecotoring of the UI.

    Basically MS is saying, we are moving to where the GPU will do its job, so we no longer have to compensate software rendering and no longer need Video drivers to have Ring0 access.

    Microsoft considered this move with WindowsXP, but with the driver changes needed and the UI still being GDI+ based for most applications, there was still a lot of software rendering taking place. It was only the games that it really didn't matter for as they were already doing DirectX and OpenGL for performance.

    My two cents....

    (And if you don't believe my post, please go look this stuff up - do your own reseach and not follow the rants of myself or other Slashdot Biases. - Truly, I don't profess to know everything, and my rant is short, you will probably learn more by looking up the stuff I talk about than just reading my or any post and believing it without the poster's personal basis).
  • bugs, not cycles (Score:3, Insightful)

    by nobodyman ( 90587 ) on Friday December 16, 2005 @07:09PM (#14276109) Homepage
    How many cycles the gui eats up is not the "big deal"

    The big deal is eliminating a potential source of crashes. Right now, a video driver bug can (and often does) bring down the entire system. By putting the gui in a user process you can (in theory) avoid all that. What's more, you get that addes stability Whether you decide to use the gui or not

Top Ten Things Overheard At The ANSI C Draft Committee Meetings: (5) All right, who's the wiseguy who stuck this trigraph stuff in here?

Working...