Slashdot Mirror


Xorg and Desktop Eyecandy

BonoLeBonobo writes "Xorg is going to include a new acceleration architecture which will help desktops to have better eye-candy effects thanks to a better XRender, thus composite, acceleration. Developped by Zack Rusin, a KDE and Qt developper, this new feature should be present in Xorg in September. Porting the existing drivers to this new acceleration architecture should be easy."

39 of 416 comments (clear)

  1. Desktop Eyecandy? by smittyoneeach · · Score: 5, Funny

    Double dandy.
    Even so,
    No girls handy.
    Fix your face,
    Reveal you're randy.
    Burma Shave.

    --
    Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    1. Re:Desktop Eyecandy? by AKAImBatman · · Score: 5, Informative

      My reaction to this was "Huh?" so I went and looked it up. Apparently, Burma Shave was the company that developed the idea of stretching a message across several signs along the road. The idea was that people would tune in to the advertisement because they wanted to know what the punch line of the slogan would be. Apparently the scheme worked quite well, and we now see the concept in popular media such as Road Runner cartoons and the movie Rat Race. (You, Should, Have, Bought, A, Squirrel!) ;-)

    2. Re:Desktop Eyecandy? by pthisis · · Score: 4, Informative
      Maybe it worked, maybe it didn't. When was the last time you saw a can of Burma Shave on the store shelf? :)


      They've been bought by American Safety Razor, but the brand is still around (almost entirely because of these ads). They even ran some of the old-style road signs in North Carolina about 5-6 years ago.

      You can buy their current products at (for instance):
      http://www.diamondbeauty.com/brandnames/Burma-Shav e/
      http://store.darisimall.com/798819.html

      Amusing that the brand is now attached to brush shave-cream, since Burma Shave was one of the original brushless creams and often made fun of the brush ("Shaving Brushes/You'll soon see 'em/on a shelf/in some museum/Burma Shave")

      Most of the ads would have 4-5 signs, then the "Burma Shave" tag sign at the end; e.g. "Dinah doesn't/Treat him right/but if he shaved/Dinah might/Burma Shave".

      But there was one series that omitted the Tag, showing how ubiquitous these signs once were:
      If you don't know
      who we are
      you haven't travelled
      very far.

      The original signs ran from the 1920s-1960s.

      And in the mid-80s someone put up a bunch of sets that said:
      Farewell O verse
      Along the road
      How sad to see
      You're out of mode.

      but as I said, the late 1990s saw the return of some Burma-Shave signs.
      --
      rage, rage against the dying of the light
  2. GLocutus of Xorg by Anonymous Coward · · Score: 4, Funny

    You will be accelerated. Resistance is futile.

    1. Re:GLocutus of Xorg by Allen+Zadr · · Score: 3, Funny

      Move, Xorg
      Move, Xorg
      Move, Xorg

      --
      Kinetic stupidity has a new brand leader: Allen Zadr.
  3. When will we have... by GreyWolf3000 · · Score: 3, Interesting
    When will we have a non-monolithic distribution of X? I read it will be included in x.org 7.0.0, but in some places I've heard it'll come after 6.9.0 and other places I've heard it will come at the same time.

    This will mean more than simply being able to easily take out possibly unwanted cruft out of X packages (stuff like xcalc, xterm, etc). It will be pretty easy to put just the X server libraries and binaries on one computer and the X protocol libraries and applications that use them on another.

    I'm sure you could do that now, but it would require a lot of work.

    --
    Slashdot: Where people pretend to be twice as smart as they really are by behaving like children.
    1. Re:When will we have... by stevef · · Score: 4, Informative

      If you bothered to read the links, you'd know that 6.9 (the (last?) monolithic release) and 7.0 (the modular release) will occur at the same time.

  4. Sweet by CleverNickedName · · Score: 5, Funny

    I've been looking to change the font on my command line.

    --


    Unfortunately, I am not Wil Wheaton
  5. Eye Candy by bombadillo · · Score: 5, Insightful

    An article about Desktop Eye Candy which has no screen shots to show off said, "Eye Candy"....

    Some one find some screen shots or we will have nothing to talk about.

    1. Re:Eye Candy by twener · · Score: 3, Insightful

      Search for any running composition manager screenshots, accelerating the driver architecture doesn't have any effect on screenshots.

  6. I'll probably be modded down, but.... by TheRealJFM · · Score: 3, Interesting
    I already have a lot of these features via Enlightenment DR17. It's not finished yet but in terms of eyecandy and dynamic rendering its very impressive indeed.

    I think its great that X is getting a universal architecture for this sort of stuff, but I'll be disapointed if Rastermann and others dont have some sort of input in this, mainly because DR17 is showing me how *fast* this sort of thing can be (faster than KDE in the case of DR17 and a 2 second boot-time on my AMD 2600+).

    As for applications made using the Enlightenment Foundation Libraries.... wow...! Entice is absolutely amazing, totally dynamic and animated, as well as mainly transparent, perfect for an image viewer.

    The point is that you don't realise how USEFUL these sort of features are. Why shouldn't menus in an image viewer fade in and out and be semi-transparent? When you use it, it makes perfect sense.

    I know there will be people who consider this sort of tech a waste of resources, and it can certainly be abused. However, if it's done properly this type of environment can add a LOT to your user experience.

    I suggest you try DR17 to see exactly how impressive this sort of tech can be!

    --
    Joseph Farthing
    http://josephfarthing.com
    1. Re:I'll probably be modded down, but.... by ratta · · Score: 4, Interesting

      While i love enlightement, evas just provides i a layer on the top of X (or some thing else). A new x driver architecture is requite to let evas, qt, gtk (and your other favourite toolkits) to really take advantage of you graphic hardware with accelerated alpha blending and window backing store. This is not to compete with evas, just to allow it to do better things.

      --
      Wondering why i am doing so strange posts? I am trying to get a "+5,Flamebait" or "-1,Insightful" rating.
    2. Re:I'll probably be modded down, but.... by frodo+from+middle+ea · · Score: 3, Insightful
      I wish I had mod points to make your speculation come true.....just because you speculated so.

      Seriously If you wish to post something insightful/informative, don't start it with..."I'll probably get moded down". Don't uderestimate others' ability to mod correctly or atleast meta mod correctly.

      And no I am not new here.

      --
      for the last time people, I am "frodo from middle eaRTH", not "middle eaST".
    3. Re:I'll probably be modded down, but.... by LWATCDR · · Score: 4, Insightful

      actually this is not as much of a waste of resources as you might think. Almost every desktop has some kind of hardware acceleration. It really is about time that X started to use it. Apple of course is using it in OS/X Microsoft will use it in Longhorn. Why not use it in X?

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    4. Re:I'll probably be modded down, but.... by TheRealJFM · · Score: 3, Interesting

      My menus in DR17 appear instantly. That's because the developers thought that menu fading was useless ;)

      You see the key with this is that sometimes these features can be *really useful* and helpful, but they can also be very useless. The important factor is that the technology will be there to use or not use, its up to the developers whether they can find a decent use for it, and up to you whether you want to use it or not.

      The most interesting fact is that using a little clever acceleration has made DR17 very, very fast. Thats what I'm trying to emphasise, DR17 is an example of where this technology can be both USEFUL *and* FAST! :)

      Seriously, log into the CVS and give it a go! :)

      --
      Joseph Farthing
      http://josephfarthing.com
    5. Re:I'll probably be modded down, but.... by jellomizer · · Score: 5, Insightful

      Eye Candy is not always bad. For example shadows under the windows and semitransperance helps the eye understand where the data is in a more realistic environment. Animations help the eye follow where the data is going.

      For example on Max OS when you minimize a Window it does a fancy dgeni efect which allows your eyes know that the window just didn't go away but it shrunk into a spot on the dock. While the boxes on linux and windows does a simular thing the Mac method makes it more percises that you know the application is still running it is just smaller, while the linux and windows way makes a person feel the application has stopped when it was minimized.

      Semi-Transparencies are good to. It help the person realize there is something under your window. There are a lot of times when an App is open and an other windows is on top of it and you don't know it is there.

      Eyecandy when used correctly is not a waist of processing for trivial things but actually an important key in having people understand the environment.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
  7. What users would really need for desktop linux... by joestar · · Score: 3, Insightful

    ... a firefox which would take less than 160 MB of RAM, an Openoffice.org which would take less than 150 MB, an X.org which would take less than 100 MB.

    And so on.

  8. If you go by the past track record... by brunes69 · · Score: 4, Insightful

    .. with hardware acceleration, the NVidia drivers will probably be the first available with the support. Meanwhile the ATI and other FLOSS drivers will implement it about 8 months later.

    There are some situations in which sponsored closed software wins every time, and one of those is hardware drivers. When a new API is released, a team of paid developers that know your hardware inside and out (because they work for the company that design it) will do a better job of porting their code quickly, and will be able t o do it much faster.

    I don't really care how much slashdot fanboys rant about NVidia, the people who actually use high-end video cards in Linux know the truth - NVidia is and has always been oders of magnitude above the rest.

    They can keep the drivers closed till hell freezes over for all I care - they work, they work great, they have more frequent stable updates with bugfixes and new features than any FLOSS drivers I know of.

    1. Re:If you go by the past track record... by DrSkwid · · Score: 4, Insightful

      I don't really care how much slashdot fanboys rant about NVidia, the people who actually use high-end video cards in Linux know the truth - NVidia is and has always been oders of magnitude above the rest.

      X != Linux

      and not everyone uses X or Windows

      http://www.nvidia.com/object/unix.html

      Graphics Drivers
      Linux IA32
      Linux IA64
      Linux AMD64/EMT64T
      FreeBSD x86
      Solaris x64/x86

      nForce Drivers
      Linux IA32 Drivers
      Linux AMD64 Drivers

      I am happy for you that *your* setup wins every time, mine's not listed.

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  9. many live cd linuxes stuck at 60hz refresh...... by hilaryduff · · Score: 3, Insightful

    guess people have weird priorities in the linux world. adding bloat and gimmicks isnt fixing the user friendliness problems.

  10. Dual Monitor Support by xlr8ed · · Score: 5, Insightful

    To hell with the eye candy, why don't they worry about making dual monitor support as easy as it currently is in M$ OS's.

    I would much perfer that over more "eyecandy"

    1. Re:Dual Monitor Support by JVolkman · · Score: 4, Informative

      Because eyecandy affects a larger number of people, and most hackers probably don't have dual monitors available on which to test. But it seems that you do, so get to work!

  11. Re:more extensions by John+Betonschaar · · Score: 3, Informative

    Maybe because Xorg still implements the X specification/protocol, version 11, Release 6? Adding eyecandy does not add to or change this at all...

    Your sig is mine

  12. Please note... by ratta · · Score: 4, Informative

    that, as X developers said, this is only a temporary solution, so that while Xgl matures we will have hardware alpha compositing in hardware. The final solution will be pushing the entire hardware abstaction layer (OpenGL) under the Xserver, in order to take advantage of the 3D hardware on the desktop too.

    --
    Wondering why i am doing so strange posts? I am trying to get a "+5,Flamebait" or "-1,Insightful" rating.
  13. We need bigger numbers! by FreeUser · · Score: 4, Insightful

    Start an X12 already. Why add all this crap to this ancient X11R--what--6? I really don't understand.

    I agree. I don't understand all those idiots who have stereos with volume controls that only go up to "10"

    Mine goes up to "11", for when I need that extra umph.

    On a serious note, X11 remains X11 because its core hasn't changed (or needed to change) in many years. R7 will add some nice features, features some of us have been waiting a long time for, but none of those features requires a redesign of X11 (which goes to show how flexible and well designed X11 is), so there is no need to increment X11 to X12 . . . unless you really are just looking to turn the volume up to "11", or in this case, "12".

    --
    The Future of Human Evolution: Autonomy
  14. Re:What users would really need for desktop linux. by Nadir · · Score: 5, Informative

    Actually X.org uses very little memory: it was designed to run in 16MB (or was it 8MB ?).
    The memory you see being taken up by the X server can be attributed to several things: a mmaped framebuffer (if you have a 256MB videocard, the reported memory usage of X will include that), and server side shared pixmaps. It is really the applications' fault if this gets out of control.

    --
    --
    The world is divided in two categories:
    those with a loaded gun and those who dig. You dig.
  15. Re:Perfect by DataPath · · Score: 3, Insightful

    if it's any consolation, the new render acceleration architecture will accelerate desktops with little to no eyecandy, too.

    --
    Inconceivable!
  16. Re:more extensions by AKAImBatman · · Score: 4, Informative

    They'll only make it X12 if and when they break that compatibility, and they won't do that without a good reason.

    There's no requirement that an X12 server be completely incompatible with an X11 server. i.e. The X12 could easily accept commands from an X11 stream. While the X11 server would not be able to understand X12, such issues would be slow in cropping up, and X12 should easily be able to replace X11 long before that happens.

    The extension architecture works fine AFAICS, is there an actual problem you have with it?

    I can't speak for the parent poster, but my primary issue with current X-Windows is not so much the protocol (which could use a good overhaul anyway), and more the current design of X-Servers. Instead of forcing the OS to do its job, current X-Server designs schlep up video card, mouse, joystick, and other hardware control. The reasons for this design aren't entirely clear, but it is obvious that this is a source of many X-Windows issues. Moving these drivers to the OS level would improve reliability and configurability all around.

    Don't take my word for it, however. Mr. Packard has a very good writeup on the issue.

  17. Re:more extensions by Otter · · Score: 5, Interesting
    well the core of X hasn't changed substantially in .. over a decade.

    The X Consortium shut down in 1996, after declaring X11R6.3. At this point, it's not clear how an accepted X12 standard could be generated, even if people wanted to do so.

  18. Re:Didn't want to fix existing bugs egh ? by Frank+T.+Lofaro+Jr. · · Score: 5, Insightful

    This poster has a valid point.

    Xorg crashes my machine on switching from X to a text VC.

    This bug is well known and serious - all eye candy and other non-essentials should wait until this and other serious bugs are fixed.

    Qaulity before features.

    If I wanted it the other way around, I know where to buy Windows.

    --
    Just because it CAN be done, doesn't mean it should!
  19. Re:X11 Facelift by chez69 · · Score: 3, Informative

    if you read the mailing list (I do) you would see that a one part of this is that it is architecture is s simpler. simpler drivers == more stable drivers

    development is happening... I assure you

    --
    PHP is the solution of choice for relaying mysql errors to web users.
  20. Eycandy.. bleh. Concentrate on decent font support by GrumpyOldMan · · Score: 4, Insightful

    I'd much rather see fonts that don't suck on LCD monitors than eye candy. I can do without shadows and showy effects, but not without clean, clear fonts.

    I'm writing this from a machine with a 1600x1200 Dell 2001FP monitor, and an ATI Radeon 9200SE, connected with DVI running X.Org version 6.8.2. I have never, ever been able to get decent fonts with XFree86 or X.org. The fonts are either too jagged without antialiasing, or too blurry with it.

    I have wasted hour after hour following various FAQs, playing with antialiasing, autohinting, and subpixel rendering in my ~/.fonts.conf. I have installed the Bitstream Vera fonts. I have sacrificed a goat and done a rain dance. And still, all those fonts look so blurry that I feel like I'm going blind.

    Thinking that it was something about the Radeon, I tried an NVidia 5200 with the commercial NVidia drivers. No joy. I've also tried the ATI fglrx drivers for the Radeon. No joy.

    Yet when I plug in my Apple Powerbook, OSX makes the fonts clear and legible, so it must be possible to drive the LCD monitor correctly.

  21. Re:What users would really need for desktop linux. by DAldredge · · Score: 3, Informative

    http://www.mozilla.org/support/firefox/tips#oth_me mcache

    This MAY help

    Specify the memory cache usage

    Normally, Firefox determines the memory cache usage dynamically based on the amount of available memory. To specify a specific amount of memory cache, add the following code to your user.js file: // Specify the amount of memory cache: // -1 = determine dynamically (default), 0 = none, n = memory capacity in kilobytes
    user_pref("browser.cache.memory.capacit y", 4096);

    To disable the memory cache completely, add the following code: // Disable memory cache:
    user_pref("browser.cache.memory.enable", false);

  22. Re:more extensions by egomaniac · · Score: 3, Insightful

    Tone down the frothing-at-the-mouth paranoia a bit, please. I doubt the GP poster was suggesting that the drivers run at ring 0 -- he certainly never suggested such.

    Instead he was just pointing out the pure stupidity of the fact that X Windows itself must handle drivers for video, sound, mouse, and so forth, rather than relying on services exposed by an underlying layer of the OS (which does not have to be running in ring 0). If the OS handled these devices, AS IT SHOULD, any program could make use of them without having to go through X.

    Where do you get the notion that the X server takes care of all the input devices? The kernel already provides access to them through /dev anyway.

    Raw access to a /dev device hardly equates to proper support via a driver API. I'm beginning to get the impression that most Linux developers really don't see why this was a bad idea from day 1, and that's very unfortunate.

    --
    ZFS: because love is never having to say fsck
  23. Re:more extensions by AKAImBatman · · Score: 4, Interesting

    /Me offers CoolVibe a glass of ice water

    Ok, slow down there buckaroo. Let's go through these points one at a time.

    And lose that wonderful cross platform ability and userland protection?

    X-Windows' cross platform abilities are inhibited by keeping driver code in the X-Server. Having OS specific code only leads to various build trees for each system, some incompatible. As for userland protection, no one is suggesting that X-Windows itself be moved into the kernel. Just the drivers which run in Ring 0 anyway.

    Moving the drivers into the kernel is crazy. It might simplify the X server code, but it will be a bitch to maintain for several operating systems.

    Nonsense. It's the Operating System's responsibilty to provide driver services. Shunning those services in favor of a hodgepodge of semi-userland drivers is silly. The X Server should float on top of the Operating System's graphical services, not cram a new driver model down its throat.

    Not the whole world wants or does want to run Linux.

    Preaching to the choir there. But that still doesn't mean that the X-Server shouldn't do its job correctly. It's not supposed to be a hardware manager, that's the OS's responsibility.

    The kernel already provides access to them through /dev anyway.

    Not quite. Up until recently, the OS only provided raw access to the ports. X was responsible for managing these devices. As time went on (and BSD in particlar pushed back), X was modified to work with system mappings of devices. Unfortunately, X still demands direct control and can often screw up if it doesn't get it, or doesn't understand the device correctly.

    Sure, the GFX side uses blitting directly to video ram, but that's what the others do as well. mmap(), memcpy and friends work fast enough from userland anyway.

    The GFX side does not blit directly to RAM. X commands are queued up and shunted to the driver as appropriate. This may translate to blits, or it may translate to accelerated graphics commands. There's a major push at the moment to change all X operations over to OpenGL. If this were done, then the X-server would never need to see another blit again. It would simply pass a set of command primitives to the driver, and the video card would do all the work. Quite fast, quite easy, and quite correct.

    And don't start about X using sockets to talk to clients, because they have nothing to do with networking

    There is nothing wrong with X's networking. That's what it's designed to do. My point only addresses the matter of hardware control which X should not be in the business of. Look at a Sun machine, for example. The card is always in graphics mode, and those modes can be determined on the command line. All the X-Server does is take over the screen and begin drawing. It really doesn't care about the underlying hardware, as it should be.

    I understand that you're upset about the old "X is slow" arguments and the like. Unfortunately, you're barking up the wrong tree here. My argument has nothing to do with performance and everything to do with architecture. Should the OS be given back control of the hardware, then it would again be possible to do things like run multiple X-Servers, run video games without X interfering, using graphics mode for the terminal, and other fun and interesting things. All because X would be a client of the OS, not a peer. :-)

  24. Can you guess which one? by Anonymous Coward · · Score: 3, Funny


    "porting", "drivers", "new architecture", "easy"...

    [blows pitchpipe, clears throat]
    One of these things is not like the others,
    One of these things just doesn't belong...

    Thank you, thank you - I love you all!

  25. Re:Didn't want to fix existing bugs egh ? by StarCat76 · · Score: 3, Insightful

    Chances are, the folks that are implementing this eye candy and not the ones that could / want to fix bugs - this stuff is pretty parallel, so I don't think these people working on acceleration will prevent others from fixing bugs. -Neil

  26. Re:Concentrate on decent font supp -- mod parent u by Just+Some+Guy · · Score: 4, Insightful
    Here's a hint: when people say they've tried damn near everything

    No you didn't. You said that you tried a few things but completely left out how you tried to go about them. Maybe your attempts were misguided and you missed the obvious solution? If the grandparent used the same method to configure two different operating systems on two different pieces of hardware, maybe he's on to something that you're overlooking.

    Just because you're less bad than 19/20 of entrants in a particular contest not related to the subject at hand doesn't mean that you're an expert on this topic.

    --
    Dewey, what part of this looks like authorities should be involved?
  27. Re:more extensions by Sandmann · · Score: 3, Insightful

    > Moving the drivers into the kernel is crazy.

    It's a fact that graphics cards for many years have required interrupts and DMA to be programmed well, and that is just not something you can do from userspace. Several other things that X does today are at least dubious to do in userspace.

    A good graphics driver these days need some sort of help from the kernel, but moving the *entire* driver into ring 0 is indeed a bad idea. The things that can safely and sanely be done from userspace should be.