LWN.net Logo

3D overload

3D overload

Posted Dec 1, 2009 8:12 UTC (Tue) by eru (subscriber, #2753)
In reply to: Between Fedora 12 and 13 by drag
Parent article: Between Fedora 12 and 13

I fear you are right about the future, but I find all this emphasis on 3D pretty annoying, a waste of resources. Who cares about 3D? Gamers and those working on CAD. For me and (gazing around) everyone in the big open-plan office around me, good 2D acceleration with maybe some live video support thrown in (for those internal corporate clips featuring flying logos and the talking head of some boss) is all that is required. Its just text and pictures. Stuff that graphics cards circa 1999 already did pretty well...

Compiz and similar? Seriously, what are they for? I tried, for all of 5 minutes, felt nauseated and went back to ye olde desktop.


(Log in to post comments)

3D overlord

Posted Dec 1, 2009 8:50 UTC (Tue) by kragil (subscriber, #34373) [Link]

Well, Compiz is not the real goal. Having fast smooth non-flickering non-tearing graphics and tapping into the power of the GPU is.
The GPU is a powerful friend for doing a lot of things.
On Windows IE and Firefox will render their web pages with the GPU which provides a lot of acceleration.

I'm not 100% sure, but couldn't almost all of things in X be done by the GPU? (Drawing, hinting, font rendering etc.) Wouldn't that be something?

And I grow quite tired of the memory consumption whining. If done right only the memory on the graphics card will be used and not having 512 mb gfx memory laying around dormant is only a good thing in my book.(Win7 already does it that way .. Vista didn't.)

@drag: Thankfully Windows XP support will be with us for years and years to come. Hell, it is still being sold. So before 2015 we don't have to worry that much. Linux is lucky in that regard, but that is just for the fairly broken status quo.

3D overlord

Posted Dec 1, 2009 9:16 UTC (Tue) by eru (subscriber, #2753) [Link]

And I grow quite tired of the memory consumption whining. [...]

Actually, when writing about resources, I wasn't whining about memory consumption (this time... normally I whine about it a lot). What I meant is the extensive need of bright mind time to debug 3D support and (even worse) reverse-engineer proprietary 3D hardware and drivers for things like Nouveau.

But I guess I just have to stop worrying and learn to love 3D cards.

3D overlord

Posted Dec 1, 2009 17:11 UTC (Tue) by drag (subscriber, #31333) [Link]

Well don't worry to much about the concentration on '3D'. The GPU is really just a bunch of tiny processor cores, really. We (in Linux) can't use them for anything to substantial in distros because the proprietary software, well, is proprietary, and the open source stuff is not up to snuff yet. Think about it like a math co-processor in a 286 machine.

The 'fixed function' "OpenGL Accelerator" or "DirectX Accelerator" style graphics card which was designed to specifically acceleration one or two APIs started dying off with the introduction of things like 'Geforce 256'. Every since then they are growing more and more general purpose. The DDX and Mesa DRI drivers were designed specifically for that sort of 'fixed function' were you hand off certain OpenGL functions to hardware. This is one of the reasons that hardware support is so slow coming and it's so difficult to make them stable and useful.

The Geforce 256 was the first major step away from that sort of concept and it was introduced around mid-1999, which goes to show you how far behind Linux really is.

Nowadays they can be used for just about anything. Accelerating media decoding/encoding, (certain types of) super-fast floating point calculations for scientific calculations and stuff like that. Hell I expect that they could possibly be used for some sort of crypto or random number generation. The push for the '3D' desktop is partially just a vehicle for change. To get users to actually start caring and heavily use 3D stuff; especially open source drivers. The unified memory management and related items (KMS/DRI2/etc) are a basic dependency for Linux to take advantage of the power the GPU can unlock. Besides all that, of course, it will help with security since we can separate graphical users from root in a much more substantial way and it will help making the desktop more attractive due to the increase in performance, stability, and that sort of thing.

3D overload

Posted Dec 1, 2009 11:58 UTC (Tue) by tialaramex (subscriber, #21167) [Link]

2D is just a special case of 3D with very boring matrices. The "2D acceleration" in older chips tended to mean acceleration of the Windows GDI functions, whereas at least "3D acceleration" is more generally applicable stuff.

AMD/ATI do make a chip with no 3D features, they sell it for inclusion in rack servers which they rightly theorise will be connected to an LCD panel for maybe 5 minutes if they're being installed by someone who is new to the business and doesn't have a reliable network based auto-installer yet. It has basically the same framebuffer setup and so on as their 3D chips, just no 3D. I would not be surprised to discover that this is actually just as expensive to make, and is done purely because 3D drivers are notoriously complicated, therefore unreliable and no-one wants their web server crashed with an Oops message saying the 3D rendering engine lost an interrupt. Not providing the hardware is a 100% effective way to prevent people installing unreliable 3D drivers on their server.

If you're able to convince business PC makers that these framebuffer-only chips are the Right Thing for corporate desktops, you may be onto something. But I suspect that with e.g. Excel and Powerpoint already taking advantage of the 3D acceleration, you won't get much traction.

3D overload

Posted Dec 3, 2009 20:38 UTC (Thu) by anton (guest, #25547) [Link]

We have older servers with the ATI Rage XL, and middle-aged servers with the ATO ES1000. I once ran X on the ES1000, and X recognized it as a Radeon 7000 or somesuch. We have free accelerated 3D drivers for the Radeon 7000. IIRC I even tried 3D, and it worked.

BTW, normally we run our servers in text mode, not for fear of getting an oops from the 3D driver (if the X server crashes, we don't care), but because we only need the console when we boot the thing, and when it does not react to the network. And then we want to see what the kernel said on the console, and X having blanked the screen or displaying anything but the console is not very helpful.

3D overload

Posted Dec 5, 2009 1:29 UTC (Sat) by tialaramex (subscriber, #21167) [Link]

“I once ran X on the ES1000, and X recognized it as a Radeon 7000 or somesuch. We have free accelerated 3D drivers for the Radeon 7000. IIRC I even tried 3D, and it worked.”

I guess everybody has their memory play tricks on them sometimes. The ES1000 has no 3D capability. If you don't believe me you might read ATI's specifications for it, or the source of the free driver you're talking about.

3D overload

Posted Dec 16, 2009 19:03 UTC (Wed) by daenzer (✭ supporter ✭, #7050) [Link]

> The ES1000 has no 3D capability.

Actually, at least initially the 3D hardware was there, just not validated during production (probably that's cheaper than actually removing the hardware). So with luck it might work at least to some degree, but if it breaks you get to keep both pieces. The X.Org radeon driver currently disables all functionality using 3D hardware by default on these cards but it can be enabled via xorg.conf options for giggles (the extremely low video memory bandwidth probably precludes any non-trivial 3D usage anyway).

3D overload

Posted Dec 1, 2009 23:35 UTC (Tue) by bojan (subscriber, #14302) [Link]

> but I find all this emphasis on 3D pretty annoying, a waste of resources

90% or more of silicon real estate of graphics chips these days is dedicated to 3D. Using that to display 2D is actually faster and works better than using the 2D hardware. This whole thing is not about 3D effects, 3D for CAD or anything like that. It is about using the hardware so that the regular desktop works smoothly.

For instance, I use compiz but I do not enable any of the fancy 3D effects (e.g. wobbly windows, workspaces on the cube), because they are annoying to me. However, windows move better around the screen with compiz (because it's using 3D hardware to draw them), zooming is better, small objects are displayed more precisely (just look at the workspace switcher), scrolling is faster, CPU utilisation is lower etc.

3D overload

Posted Dec 2, 2009 19:34 UTC (Wed) by drag (subscriber, #31333) [Link]

From what I understand is that for video cards still containing 2D
acceleration those 2D acceleration processors are just little more then
copy-n-paste versions of the processors developed over a decade ago when
people still cared about 2D performance.

Once popular gaming switched gears from 2D side-scrollers to 3D shoot-em-ups
then all development regarding 2D processor cores halted completely for
mainstream systems. I figure all advancements in graphics and rendering
acceleration have occurred on the '3D' side of the hardware since around
1998 or so.

3D overload

Posted Dec 3, 2009 11:19 UTC (Thu) by nix (subscriber, #2304) [Link]

There's another reason why graphics card vendors only pay attention to 3D performance... because even with old cards like the Radeon r100 series, 2D performance is limited by memory bandwidth these days, not by GPU speed. Screen updates are pretty much instantaneous as long as the CPU can get the data to the card fast enough. Graphics card vendors are paying attention to 3D because there's nothing left for them to do in the 2D arena.

3D overload

Posted Dec 6, 2009 1:23 UTC (Sun) by numasan (guest, #62353) [Link]

"Who cares about 3D? "

Well, I and a whole industry do. I guess you don't watch "blockbuster" movies if you feel nauseated by Compiz, but +90% of all visual effects in big budget movies are created (not just rendered) on Linux, and great OpenGL acceleration is very much needed. Right now Nvidia is King with their proprietary driver, and will be for some time yet.

As others have stated 3D is not only for games and Compiz (which I don't use). Perhaps you could couple CAD and DCC together, but with a modern graphics card and Blender you have the tools to create without it being "exclusively highend-only". Unfortunately the open source stack is not yet capable or stable for this task. I personally hope that 3D will get a lot more attention, especially for serious work. What good is a "multi-teraFLOP" GPU when it can only drive wobbly windows?

About Fedora12, we are currently running F10 on our graphics workstations albeit very customized. I'm planning to evaluate F12 soonish but have thought about looking for another distro... F10 is working decently for us though.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds