Longhorn's Windows Graphics Foundation Examined 399
Matt J writes "Dave Salvator at ExtremeTech goes over some of the graphics designs for Longhorn. 'David Blythe of the DirectX development team gave a very interesting talk about the upcoming 3D graphics architecture in Longhorn, the next major revision of Windows. Called Windows Graphics Foundation (WGF), this new architecture will usher in some major changes to how 3D graphics operations get handled by Longhorn. These changes extend well beyond Longhorn's Avalon technology, which will render the Windows Desktop using a GPU's 3D graphics processing power rather than the traditional 2D blitter. WGF will instead define the core 3D operations themselves.'"
Windowing (Score:5, Insightful)
An intelligent GUI would be settable to any virtual resilution, with elements that are fully scalable, from icons to "system" fonts. This is an inevitable feature on the desktop, and I wonder if any proposals are in the works.
Re:Windowing (Score:2, Insightful)
Stepping Ahead (Score:2)
If there were more people aware of what usability this would create for the end-user, and how much simpler it would be to design graphic interfaces for the coders, I think people would jump on board. And there are sooo many talented OS developers, so it doesn't seem impossible that GNU/Linux could leapfrog MS in a field that they are only matched (beaten?) by Apple's int
It's called Y-Windows (Score:3, Informative)
If people want to beat Microsoft with this technology, Y is the place to go and help out.
Re:It's called Y-Windows (Score:2)
Remember, scalable bitmaps and alpha blending are already fully available on Mac (natively) and Win (with add-ons [stardock.com]).
Re:It's called Y-Windows (Score:5, Informative)
It's native in Windows, as well, since Windows 2000. Just because you need a separate application to enable it in apps that don't specifically support the Windows 2000+-specific extensions doesn't mean it's not native to the system. See the alpha-blended fade-in/out effects on menus, for example. Microsoft simply chose to go with an understated application (and yet still gets blasted for "annoying" menu animations), while Apple went over the top.
Re:It's called Y-Windows (Score:3, Interesting)
Anyway, when Windows 2000 was released, there was only one graphic driver that supported the menu effects in hardware (Matrox). Which is probably why they've been fairly conservative about effects, unlike Apple who f
Re:It's called Y-Windows (Score:3, Informative)
There will be an X compatibility layer, but the idea is to finally replace X and learn from the mistakes of the past.
Re:It's called Y-Windows (Score:2)
The last I recall on /., people seemed unenthusiastic. Perhaps the X-compatability needs to be developed in parallel? Or has so much work gone in to KDE/Gnome that intertia is in their favor? Or is there a OSS office-politics/personality-clashes type issue going on? I suspect the problem is that many people can imagine the usefulness of this.
Re:It's called Y-Windows (Score:3, Informative)
best part of the y-windows faq (Score:3, Informative)
Re:It's called Y-Windows (Score:3, Informative)
Re:It's called Y-Windows (Score:3, Informative)
The good part is that it was so easy to try out, since it can run under SDL inside X - all that was needed was the emerge and then 'startY' and off we go.
I think I'll follow this for a while and see if there seems to actively happen things with it, because
Re:Windowing (Score:5, Informative)
It's sort of happening already.
SVG in GNOME and KDE. That's scalable vector graphics at the application level. Some themes already use SVG for icons and window decorations.
CAIRO offers scalable vector graphics at the X11 level. Nice pics here [cairographics.org]. Hardware acceleration through Xrender.
Windows are getting alpha channels thanks to XDamage, XFixes and XComposite. Means we'll finally start seeing similar effects to what you get with Aqua on MacOS X.
All the bits are coming together. If you're willing to play at the bleeding edge then you can see some of these effects today.
Re:Windowing (Score:3, Insightful)
Well, in the many years I've been on Slashdot, everytime someone attacks the X11 imaging model, someone replys with a link to Berlin/Fresco. Yet, after all this time, nobody uses it and it has zero applications, and appear in every respect to be someone's academic vaporware. That's what.
Re:Windowing (Score:5, Interesting)
It is time for the "Z" Windowing system standard. A fully SVG compliant, and "X" compliant vector based (but bitmap friendly, via texture mapping) system. Who's down?
Randomness (Score:3, Informative)
+ It sounds like they are getting rid of the old single-threaded event model, which was brought over for Win3 compatibility. (No more GUI locks while Windows probes your CD-ROM, etc.)
+ The processing will be moved to user mode as much as possible (ie, no more "GUI in the Kernel")
Cool! (Score:4, Funny)
Re:Cool! (Score:2, Informative)
Actually, and correct me if I'm wrong, anyone, Mac OS X doesn't do anything like this. OS X only simulates 3D graphics using 2D methods.
I am by no means a M$ fan, but what they're talking about should blow your PowerBook away.
Re:Cool! (Score:2)
What's wrong with that? You see the same pixels anyway.
Do you have to have your window border properly shaded depending on the "light" source, or you'd rather prefer to have your job done?
Re:Cool! (Score:2)
Re:Cool! (Score:5, Informative)
It's kind of like the difference between a photograph and a painting. Both can represent a 3d world projected onto a 2d surface. The painter must fake the 3d effect by hand (like a traditional GUI appearing 3d). The photographer doesn't have to do this since he is simply taking a snapshot of an already 3d world (like rendering a real 3d scene as a GUI). To get a photograph of a different angle, you just reposition the camera. A painter, on the other hand, has to basically start from scratch.
Old computer games sometimes appeared 3d even though they were represented internally as 2d objects (static character images with the shadows manually drawn in for example). Current games represent the world internally as a 3d environment that is projected onto the plane of the camera. It's computationally more expensive, but much more flexible. At first I'm sure it'll be a more complicated way of making things look basically the same as they do now. But I imagine people will find useful applications for it as time goes on.
Re:Cool! (Score:2)
Except that by then the Powerbook would probably be 4-6 years old and Apple would be unveiling something new. Though I'm by no means an Apple fan.
Re:Cool! (Score:5, Insightful)
From the article... (Score:4, Funny)
They're calling this thing WGF (Windows Graphics Foundation). Perhaps instead of blue GPF's it can generate pretty pink Windows General Faults.
Re:From the article... (Score:3, Funny)
Re:From the article... (Score:2)
Re:From the article... (Score:2)
* Transparent screen of death
So.... (Score:2)
Good innovation.
Re:So.... (Score:5, Interesting)
Re:So.... (Score:2)
Microsoft is making Windows better than it was before. Excellent!
Let me know when Microsoft makes Windows good. Or, if not good, at least on-par with modern operating systems.
Re:So.... (Score:2)
Windows 2000, and to a lesser extent, Windows XP. Okay, I don't have >6 month up times, but I don't have in opportune crashes either. If I did, my job as a 3D animator would be in jeopardy. I don't remember the last time I left an over-the-weekend render and came back on Monday to an 'oh shit!. I do remember that it was before Win2k.
Re:So.... (Score:2)
Re:So.... (Score:2)
Psychological warfare, my friend. People are psyching themselves up against the legal battles to come.
Re:So.... (Score:5, Informative)
No. Aqua doesn't render the GUI in the graphics card at all. It does, however, use the graphics card as a high-speed composition engine.
Aqua is also bitmap based. Despite what many have said, OS X icons are just bitmaps, as are the buttons and other controls. That means that they don't scale very well - just like the widgets in Windows XP.
With Longhorn, everything is vectorized. You'll be able to adjust the DPI of your display and all of the controls will automatically update to match it. For example, you could have a 300dpi display and then adjust the widget size so you can still read the text.
People with UXGA 14" notebook displays know all about this. Many choose to run their display at a lower, non-native resolution because the text is too small otherwise. This isn't the best solution. With Longhorn, they'll be able to run at full native resolution and adjust the text size (and the size of the titlebars, icons, buttons, scrollbars, and everything else) to make everything usable. Plus, they get the benifits of high resolution: clear, crisp text and objects.
Re:So.... (Score:5, Interesting)
Aqua is also bitmap based. Despite what many have said, OS X icons are just bitmaps, as are the buttons and other controls. That means that they don't scale very well - just like the widgets in Windows XP.
Yes, Aqua is one mega-gigantic compositing engine. The power of that shouldn't be underestimated, but I'd expect Longhorn to be able to do that fine. However, Quartz 2D is also a complete vector rasterizing engine, implemented (I assume, it'd be stupid if not) in AltiVec. Why use a GPU when you have multiple vector processors on a G5? (With oodles of L2 and L3 cache to eat on). FYI, writing vector graphics code with AltiVec is very yummy. If you look at the Quartz 2D API, there are no direct compositing functions; it's all vector-graphics. You can take pixmaps and composite them together (using the 'over' operator). Although I guess when they added support for the PDF transparent imaging model (part of PDF 1.4/OS X 10.3), they added support for transfer modes of vector graphics/pixmaps; I haven't looked into that.
As for icons, it's a heck of a lot easier to 'paint' an icon with pixels than to define a drawing with shapes and gradients. Also, Tiger is going to support 256x256 icons (!). IRIX's window manager (forgot the name) had vector icons. No biggie :P
With Longhorn, everything is vectorized. You'll be able to adjust the DPI of your display and all of the controls will automatically update to match it.
Tiger supports a resolution-independent user interface. With Cocoa based on the PDF imaging model, where every coordinate is represented with floats (including mouse position, which kicks in when you have a graphics tablet), it's very easy to scale everything (and rotate! NSView supports arbitrary rotation of views, and all further drawing in the view will be rotated as well).
It doesn't seem that the Tiger release notes are online yet... perhaps I should shut up.
Re:Vectors and vectors (Score:3, Informative)
"Vector processors" do not accelerate the same kind of vectors that are involved in "vector graphics."
Actually they do. I'm doing a lot of this work right now (still working on it damnit). Tons of matrix multiplication (multiplying the spline matrix by the geometry matrix, and then the parameter matrix), parameter modification (translating the sample values into the desired domain), etc. Vector processors are perfectly suited for vector graphics.
Re:So.... (Score:3, Insightful)
Re:So.... (Score:2)
Microsoft didn't develop the icons for XP, it was outsourced to Iconfactory Design, Inc.
I actually kind of like the XP icons. They give the OS a very unique look and are a change from the "photorealistic" OS X icons.
"BTW, about your laptop thing
Re:So.... (Score:3, Informative)
Utter nonsense. Microsoft tells you all the things they're doing for Longhorn way ahead of time. So far in advance that some of those features get pushed back to later releases when they realize they can't get it down. And Longhorn is getting released when? 2006 at earliest?
How much of what was announced at Apple's WWDC for Tiger (due out in 2005) did you know about ahead of time? Apple handed out preview releases with fe
Is that why (Score:2)
Like what's planned for the X windows system? (Score:5, Interesting)
Is this like Keith's Getting X Off The Hardware [keithp.com] plans, where he suggests that having your xserver running on top of openGL instead of having to talk to all this messy hardware stuff will make it nicer and faster?
No, it's not (Score:5, Insightful)
I've been saying this since Longhorn's features were announced, Linux desktops will be severely behind if they don't hurry up and move into the modern age that Longhorn and future versions of OS X are competing in. But no, we're still stuck with deskop emulators hacked on top of an ancient X protocol server with no unified development API. Hell, not even a way to install and uninstall things, because it's not really a seamless desktop but a cludging-together of 20 different projects in order to emulate a desktop operating system instead of actually being one.
Re:No, it's not (Score:5, Informative)
1) An X server that does transparency and double-buffering;
2) An (actually, 2) OpenGL-accelerated canvas;
3) A window manager that uses said canvas.
Sure, they are still "in progress" releases, but you can actually download them and try them out, which is way more than can be said for Longhorn.
Re:No, it's not (Score:3, Interesting)
A) The factual question of whether Linux have something like Longhorn in the same timeframe? This depends on not only the availability of the tech, but it's adoption into major frameworks and applications. Open Issue.
B) The slashdot rhetorical battle where MS Vaporware is countered by links to Open Source Vaporware. Nobody here really doubts MS's abililty to execute, so "So-n-So wrote a paper" or "Here's a sourceforge project" looks a little thin.
Re:No, it's not (Score:2)
Longhorn's Avalon is up and running in the PDC released build.
MSDN members have access right now.
Re:Yeah, but... (Score:3, Informative)
2) The new graphics stuff isn't in the PDC beta. The new UI was shown only in Bill G's keynote --- it was stripped from the 4051 build given to attendees. The new OSS graphics stuff is actually available for download.
Re:No, it's not (Score:2)
Someone's been drinking the M$ marketing koolaid.
There is plenty of Linux GUI development happening as google and comments here show.
Fact is, the desktop experience on Gnome/KDE/Linux and M$Windows is pretty much the same at the moment. Configuration is more consistent on M$Windows but Linux is more flexible inside+outside the KDE+Gnome environments.
I look at such results. All the buzzword compliant bullshit in the world about "unified development API", "seamless desktop" and "desktop emulator" is mea
eg (Score:2, Informative)
Linux will have this kind of stuff way before long (Score:5, Interesting)
http://www.freedesktop.org/Cairo/Home
Just dont take all of Microsofts noise too seriously, just be aware that by 2006, linux will have completely equivilent technologies (in many cases we already do), and just cause we dont make much noise about it, dont think that they dont exist, or aren't planned for the near future.
Honestly, the stuff which I have seen for longhorn so far hasn't been mindblowingly amazing, and are really just things where they are trying to catch up to MAC OS X, or linux
Really? Where are they? (Score:2, Insightful)
Really? 2006 is just two years away. Where are these mysterious technologies you talk about? Yeah, I can name random projects like Cairo all day long. What desktops use them?
I'd sure love to see Linux having implemented a
Re:Linux will have this kind of stuff way before l (Score:2)
Re:Linux will have this kind of stuff way before l (Score:2)
Re:Linux will have this kind of stuff way before l (Score:2)
WTF? (Score:2, Insightful)
Re:WTF? (Score:2, Interesting)
Wow. This is amazing. (Score:5, Insightful)
Re:Wow. This is amazing. (Score:4, Insightful)
Re:Wow. This is amazing. (Score:5, Insightful)
1) OpenGL 2.0 should easily be a match for whatever the successor to Direct 3D is. A lot stuff mentioned in the article is also in OpenGL 2.0.
2) The freedesktop.org folks are working on building an X server that sits on top of OpenGL.
3) Some DRI folks are working on an OpenGL implementation that can operate without the X server, to support using the X server on top of it.
Re:Wow. This is amazing. (Score:2)
I'm sure the IBM and SGI investment dollars will start pouring in any day now.
Re:Wow. This is amazing. (Score:2)
The real difference is that everything passes through the 3D engine, avoiding the need to implement 2D parallel versions.
The X equivalent is Cairo and they appear to have switched to an OpenGL backend.
Re:Wow. This is amazing. (Score:3, Insightful)
Yes [freedesktop.org].
Anyone find some sample compositing screenshots? I've lost the URL for the KDE ones, and I hear there was some cooler stuff shown by Keith recently...
Re:Wow. This is amazing. (Score:3, Informative)
Moving stuff to user mode (Score:3, Interesting)
Oh, moving some stuff to user mode? Well, um, better late and half-baked than never and not at all?
Seriously, putting stuff in the kernel that should have been in user space is one of the more serious architectural botches in Windows. It has caused massive stability problems. Now it seems that Microsoft is recognizing this, and is starting to undo it. (What they need is to completely undo it, but they have to start somewhere. What they don't get to will continue to bite them until they do.)
Sick of the Longhorn hype yet? (Score:5, Insightful)
It is what IT is. (Score:2)
Is this a new section? Or have I just never been here before?
Ah, well, better than the games section I spose.
I'd be happy... (Score:2, Funny)
Is it just me? (Score:3, Insightful)
_I_ _don't_ _care_ (Score:3, Insightful)
Re:_I_ _don't_ _care_ (Score:2)
The last thing I want is another big Microsoft API. Let me know when the Windows API gets smaller, or when Windows implements the Single Unix Specification in any meaningful manner. I have better things to do than to waste my time trying to write programs against a cumbersome toy OS API.
Unfortunately, a lot of the new graphics and OS stuff will be exposed as new .NET APIs, so you'll have to learn those. But if you think about it, this is a good thing since Win32 is getting crufty in some areas, and Win3
OSX is alead, but that's not all (Score:5, Interesting)
The other stuff I see as being BIG are the changes to DirectX such as removing a lot of the fixed function pipeline features. They are pushing the GPU to be more generalized which is a good thing.
Microsoft is really hyping up Longhorn and none of the meat of Avalon has made it into the technical previews. Judging by the Ctrl+Alt+Del animations, the smooth color fades in Explorer, the few existing vector graphics, the other random programmer art in the technical previews, Avalon is going to be IMPRESSIVE.
Whether you like MS or not (which you don't, this is slashdot), they have the programming and graphical resources to pull this off in a very big way.
Re:OSX is alead, but that's not all (Score:5, Funny)
Wow, that does sound IMPRESSIVE. I can't begin to imagine how much more work I will get done with Ctrl-Alt-Del animations and color fades in explorer.
Re:OSX is alead, but that's not all (Score:2)
Microsoft is really hyping up Longhorn and none of the meat of Avalon has made it into the technical previews. Judging by the Ctrl+Alt+Del animations, the smooth color fades in Explorer, the few existing vector graphics, the other random programmer art in the technical previews, Avalon is going to be IMPRESSIVE.
The Ctrl+Alt+Del animations and fades are like little grains of sand compared to the internal demos I saw (but can't describe, unfortunately). They were impressive visually, but simply mindblowing
Just now figuring out how to harness the 3D engine (Score:2, Insightful)
Just a random thought (Score:5, Interesting)
Now I know they need to build something really different, but are all these differences really worth the hassle?
Maybe it's just me tired of hearing about software that won't be in use for another 3-5 years as if it's the best thing since sliced bread...
GLOW - a GUI built on top of OpenGL (Score:3, Interesting)
hahaha (Score:5, Funny)
Yeah, that just pushed Longhorn's release back to around, oh, 2020.
Comment removed (Score:3, Interesting)
what the article says & what it means (Score:3, Informative)
KEY: "summary of what it says (paraphrase, not an actual quote)" - what it means - what it means from a perhaps slightly biased POV
1. "Talk at Microsoft's Meltdown conference: DX Futures"
2. "Talked about Longhorn's 'Windows Graphics Foundation'" - quote from powerpoint: 'WGF is the "next Direct3D"' - a 3d architecture for both games and for the OS (and maybe for non-rendering tasks)
3. "Unifying vertex/pixel shaders; support multiplexing by multiple apps" - Microsoft is going to continue driving the process of specifying what next generation hardware's feature sets should be (only natural, since Talisman and Fahrenheit were such succesful designs [com.com] ).
4. "remove fixed-function pipeline features; everything must be done by shaders" - Because obviously everyone wants to write shaders themselves for everything, even in the simple cases! Yes, please make me look up the Phong lighting formula every time I write a throwaway 3d app! Actually, the article doesn't make clear but the presentation above does that they're continuing to support the legacy DirectX interfaces, and improving support for OpenGL, so at least you can use those interfaces for fixed-function support. But the ppt above does seem to say that the hardware won't implement fixed-function stuff (which makes perfect sense--the drivers can supply an equivalent shader), and it states that a high-level shading language "will be the only methodology for Windows Graphics Foundation", with an example showing a shader iterating over multiple lights and computing the results itself.
5. "no more caps bits (capability bits)" - Hey, it's yet another of the things that OpenGL got right all along. Not sure what prevents someone from accessing a legacy D3D API and getting at the caps bits there, but at least there won't be any new ones.
6. "stability; if we're using 3d graphics hardware for basic desktop rendering, it's got to be super stable, and when it crashes, it needs to be able to reset trivially without the machine going down." - the ppt says the new architecture design is trying to reduce driver complexity. I am extremely doubtful about this.
SGI (Score:3, Informative)
Re:Oh no (Score:2)
Re:Oh no (Score:2)
That is the lagginess you are seeing. Nothing to do with the 3d stuff.
Re:Core Image? (Score:2)
Copying or evolving? What the article talks about is a hell of a lot more than just a 3d shell.
Re:Core Image? (Score:2, Insightful)
check out:
http://channel9.msdn.com/ShowPost.aspx?PageIndex= 1 &PostID=14275#14275 [msdn.com]
Re:The question is... (Score:2)
Re:The question is... (Score:2)
Re:Poor Me. (Score:2)
A few things... (Score:5, Insightful)
2.) NT isn't based on DOS at all. Nobody knows what you're talking about there.
3.) Select HTML format next time.
4.) This technology is not "unimpressive." Only to elitist Slashdot snobs who think XFCE is still a cool idea. The rest of the world wants to move to a modern, 3D-based compositing architecture. Where is that happening in Linux? 2006 is just a year and a half away. Well?
Re:A few things... (Score:3, Informative)
Can't disagree with you on items 1 through 3. The guy before you was
It isn't really about the 3-D (Score:3, Interesting)
The point is that 3-D card compositing is actually much faster than 2-D compositing on today's cards. The hardware is no longer super-optimized for 2-D... nobody cares about 2-D hardware anymore. The way Windows moves windows is insanely slow.
If I drag the window this browser is in on my 2.4 GHz machine with a Radeon 9800, I get tearing and it jumps around a bit. I have "display windows contents while d
RTFA (Score:2)
Windows Longhorn is far, far more than just vector-based drawing. Rattling off OS X and beta X.org releases because they use the GPU to blit 2D graphics doesn't invalidate what they're doing.
Read All The Fucking Comments (Score:3, Interesting)
Everyone's getting excited about the compositing. Which will not be in production for ages, and doesn't do anything we've not seen before.
Re:RTFA (Score:2)
Re:Wow (Score:5, Informative)
Re:Microsoft multimedia frenzy (Score:2, Insightful)
Re:Microsoft multimedia frenzy (Score:2)
Or... wait a second, I just thought of something... maybe... just maybe... you'll still be able to use your computer exactly how you do now! In fact, I have come up with a plan to make this possibility a reality: Don't upgrade to the "eye candy" versio
Re:Stability this time? (Score:2)
You're all going to laugh when you realize all they're going to use it for is to do that spinning cube thing [apple.com] that the Mac does when you switch users. :)
Re:It all sucks (Score:2)
Longhorn and its graphics suck and so does this color scheme.
Keep in mind that the final Longhorn UI is under development. All the current UI and schemes are temporary.
Re:FPS (Score:2)
So dragging windows now would get ~5fps on my TNT2.
Longhorn will come with multiple "user experience" levels, which basically means the UI graphics will reduce in quality on slower machines. AFAIK the current GUI interface will still remain in Longhorn. In fact, there was a hack for one of the recent leaks that allowed the Desktop Composition Engine to be turned on, which basically took over the GUI and accelerated desktop rendering, so at least right now it seems like 3D acceleration is something that c
Re:Preemptive GPU sharing does not appear until R3 (Score:3, Informative)