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."

66 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 Skater · · Score: 2, Insightful

      Maybe it worked, maybe it didn't. When was the last time you saw a can of Burma Shave on the store shelf? :)

    3. Re:Desktop Eyecandy? by jfengel · · Score: 2, Informative

      Actually I see it every day in my shower, and every few months when I go to buy more. It's cheap and it works.

      It's there, but it's basic shaving cream. It's not a gel, and it doesn't require a "system" to use. There's no brush, so you can't even call it retro. But I don't think the can has changed since the fifties.

      Oh, its marketing has definitely been far surpassed since then. But boy, how often will you see not just a catchy jingle but a whole style last a half-century?

    4. 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. Re:Didn't want to fix existing bugs egh ? by Musteval · · Score: 2, Funny

    *looks at Microsoft, particularly Luna*

    *coughs loudly*

    *is beaten by hired goons*

    --
    Note to mods: I'm probably being sarcastic.
  4. 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.

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

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

    --


    Unfortunately, I am not Wil Wheaton
  6. 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.

  7. 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.
  8. Re:more extensions by SolusSD · · Score: 2, Insightful

    well the core of X hasn't changed substantially in .. over a decade. While window managers and desktop environments have come a long way, the foundation, X, hasn't.

  9. 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.

  10. 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 ynohoo · · Score: 2, Funny

      NVidia is and has always been oders of magnitude above the rest.

      you misspelled odors.

    2. 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
  11. 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.

  12. 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!

  13. Re:Eye Candy V. Reliability by eno2001 · · Score: 2, Funny
    Speaking of eye candy and reliablity/faithfullness- reminds me of my wife, although she is neither...


    Huh? Are you saying that your wife is neither reliable nor faithful, or not eye candy? I don't get it.

    --
    -"...bad old ideas look confusingly fresh when they are packaged as technology" - Jaron Lanier (Digital Maoism on Edge.o
  14. 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

  15. Re:Perfect by FidelCatsro · · Score: 2, Insightful

    Its not just pure eye candy , Though Eye candy really does help in the home market.If they have improved the composite rendering engine i would hope that the desktop environments will take less resources.
    I never understood why people find DEs like Gnome or KDE hard to use anyway or even poor , if set up properly ,KDE can be a great working environment and gnome also (depends on your tastes , i can set up KDE to feel slightly more like OS X so i mainly stick with KDE)
    All you need to do is to Burma shave some of the options and your flying , KDE for me is a far better working environment than windows .

    --
    The only things certain in war are Propaganda and Death. You can never be sure which is which though
  16. 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.
  17. 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
  18. 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.
  19. 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!
  20. 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.

  21. 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.

  22. 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!
  23. that question doesn't make sense by a137035 · · Score: 2, Informative

    X is a protocol, not a piece of software, so there is no such thing as a "distribution of X". XFree86 and X.org are both servers that implement the X protocol (version 11), but they are far from the only ones. There have been dozens of different implementations of the X protocol since it was created 20 years ago. Some of them run in a few hundred kbytes. Furthermore, the X server and the X client libraries are already pretty much independent. Traditionally, with the MIT X distribution, all you needed to run the server was the X server binary (a statically linked executable), the "fixed" font, and a bunch of configuration files. I believe under Debian, you can install one without the other if you like.

  24. 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.
  25. Linux vs. Apple and MS by Anonymous Coward · · Score: 2, Interesting

    You know why Linux is destined to fall to a distant third place against Apple and MS? Crappy marketing. I clicked through every link in the post, and searched around for about 10 minutes, and couldn't find a single screenshot of the so-called "eye candy".

    You want to sell users on the eye candy? HOW ABOUT A PICTURE???

    Meanwhile, I know exactly what a MacOSx desktop looks like, even though I've never used a mac, and I've seen the eye-candy in Longhorn screenshots, and that OS isn't coming out for another year at the earliest.

  26. 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.

  27. Re:RenderAccel by ratta · · Score: 2, Insightful

    Just ask Nvidia, Xorg people can do nothing to fix Nvidia drivers problems.

    --
    Wondering why i am doing so strange posts? I am trying to get a "+5,Flamebait" or "-1,Insightful" rating.
  28. 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);

  29. Re:more extensions by CoolVibe · · Score: 2, Interesting
    Moving these drivers to the OS level would improve reliability and configurability all around.

    And lose that wonderful cross platform ability and userland protection? What color is the sky on your planet?

    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. Not the whole world wants or does want to run Linux. What is it with the Linux contingent of FOSS-land and dumping everything into ring 0?

    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. 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. And don't start about X using sockets to talk to clients, because they have nothing to do with networking (although networking does work, which comes for free). X uses a domain sockets/named pipes (which don't need a network stack) locally, and it's hella fast. Faster than other kludges that other unnamed operating systems use. If you ever see X redraw or rubber-band, don't blame X, blame the toolkit used. X can keep up fine. :)

    </rant>

  30. Re:Didn't want to fix existing bugs egh ? by mph_az · · Score: 2, Funny

    *reads the post again*

    *there is no tao on slashdot*

    *I watch birds fly past*

  31. Re:RenderAccel by RossyB · · Score: 2, Informative

    The RenderAccel option to the nVidia driver is experimental, not RENDER itself. GTK+ has been using Render directly for several years now.

  32. Re:more extensions by jusdisgi · · Score: 2, Informative

    Keith makes lots of good points. He also notes that a lot of work is already being done toward fixing some of these issues, or at least cleaning them up some. Of course, you have to balance these things; he's discussing what would be ideal, when in reality the Xorg folks would like to keep some reasonable release schedule, which means not overhauling the whole thing at once. The archetecture has been moving toward kernel drivers and a unified gl-based renderer for some time, and that's good.

    However, it doesn't at all add up to a change away from X11R6. Nothing Keith proposes requires a protocol change...just a reworking of Xorg's implementation of X11R6. It looks like from the second part of your post that you see that, but I'd like to make doubly-clear....the protocol is fine. And as for the servers, they may be a bit ugly, but they work for now, and they'll get there.

    --
    Given a choice between free speech and free beer, most people will take the beer.
  33. 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
  34. But have you tried reverting? by NetRanger · · Score: 2, Funny

    I found why we went to X11 -- I tried reverting to X10 and kept getting pop-up ads for voyeur cameras.

    --
    -- We live in a world where lemonade is artificial and soap has real lemon.
  35. Re:What users would really need for desktop linux. by DAldredge · · Score: 2, Informative

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

    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);

    --
    The GPL isn't the only definition of Freedom or Free.

  36. Re:more extensions by bamb8s · · Score: 2, Insightful
    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.
    It looks like you haven't been bitten by the bug where the X server dies before restoring the video context or manages to bugger up the video context while it's running. That sort of crash leaves your video and keyboard in an unusable state that is very hard to recover from without rebooting.

    What the grandparent was suggesting wasn't moving all of the X server code into the kernel. I suggest you enable something like the Secure Access Key in Linux and kill X and see how well you go at getting your video back in a usable state. I have also managed to put the video into an unknown state by simply switching to a text virtual console while X is starting up.

    I don't believe X should be responsible for restoring the video context other than its own.

  37. 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. :-)

  38. Re:Hell...just solve the crash problem.... by cortana · · Score: 2, Insightful

    s/Linux/Gentoo/

    Of course, you were just trolling.

  39. Or rewrite AA-XFT or just get back without XFT ! by dascritch · · Score: 2, Interesting

    This is going worst as Deer Park won't accept GTK without XFT. It's too slow, too ugly, too illisible and ... http://forums.mozillazine.org/viewtopic.php?p=1510 011 ... people in forums have just bogus responses like "upgrade upgrade upgrade". They don't want to understand that anti-aliased fonts are completely bogus in normal sizes. Raster fonts are better at "small" sizes, they matches exactly what it should look at, how the artist think it. When I look at vector fonts with or without AA, I just believe that my mobile phone has BETTER LISIBILITY that my pc... it's... irrationnal ! If Qt/GTK could have an option "prefer raster that vector", I will be soooooooooo happy. This is also impacting speed and comfort.

    --
    (Sorry my bad French) Je fais parler les Guignols de l'Info. Le pied, quoi.
  40. 2010 Newsflash: this just in... by thehunger · · Score: 2, Funny
    ... Graphics card producer ATI has just released a new driver for the world's most popular desktop operating system, Linux. The driver will accellerate some, but not all 2D graphics operatings with X11R7. The company also announced it is accellerating its development process and published a new roadmap:
    • 2011, ATI will have full 2D accelleration
    • May 2012, the company expects to support the most important 3D operations in X
    • Nov 2012, start support for extra functions of its graphics cards, such as TV-in and video decoding on Linux
    • By 2015, ATI expects to have full support for all 2D/3D and multimedia functions for all its graphics cards on Linux
    • Mar 2016, the company will accellerate development even further. It will start porting some, but not all, applications to Linux.
    • Aug 2016, ATI will begin work to support versions of X released in the mean time, including X11R8, X11R9 and X11R10.
  41. Re:Concentrate on decent font supp -- mod parent u by Little+Pink+Bunny · · Score: 2, Informative
    I really don't get it. Here's my /etc/fonts/local.conf (I just uncommented the parts it told me to uncomment):
    <?xml version="1.0"?>
    <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
    <fontconfig>
    <match target="font">
    <test qual="all" name="rgba">
    <const>unknown</const>
    </test>
    <edit name="rgba" mode="assign"><const>vrgb</const></edit>
    </match>
    </fontconfig>

    Then, in KDE, I went to Control Center -> Appearance & Themes -> Fonts -> Use antialising: true, then Configure -> Use sub-pixel hinting: as appropriate and Hinting style: medium. Voila! Beautiful subpixel antialiased fonts on my Linux and FreeBSD, each with different LCD monitor models.

    I'm not even sure if I actually needed to edit local.conf, but it's been ages since I set it up and I don't remember the exact reasons for it.

    In other words, it sounds like you have problems with the way your desktop of choice is configured for AA fonts. Understand that other desktops handle the job quite gracefully and with good results.

    --
    I am a
  42. Accelerated drawing? by Decimal+Dave · · Score: 2, Interesting

    Will this new architecture be extensible enough that the primitive drawing routines can be implemented as fragment programs (like Quartz 2D Extreme)? There was a huge speedup for those that enabled it on OS X and I'm sure X11 could reap the same benefits. It makes a lot of sense to offload drawing and compositing to the GPU, but I couldn't find any reference to it in the article.

    --

    "Leave the strategizing to those of us with planet-sized brains." -Tycho
  43. Taking this to it's natural conclusion by RdsArts · · Score: 2, Funny

    My reaction to this was "Huh?" so I went and looked it up. Apparently, WikiPedia is a...

  44. 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!

  45. 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

  46. Re:RenderAccel by Astatine · · Score: 2, Interesting

    I'd note that in my experience, the Nvidia driver's RenderAccel option is OK on generations NV2x and later (GeForce3, GeForce4 Ti, GeForce FX, Quadro FX, etc) but dodgy and prone to causing crashes on NV1x (GeForce4 MX, some Quadro NVS such as the ones in all the recent cheapo Dell workstations my company has bought us, grr). In fact, I believe it's documented that running KDE 3.4 with an NV1x GPU with RenderAccel enabled will cause an instant X server crash. Check your GPUs...

  47. 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?
  48. Re:Concentrate on decent font supp -- mod parent u by Just+Some+Guy · · Score: 2, Informative
    Fonts in linux do suck

    Categorically: no. Fonts on your system suck. On my system, they look as good as they do on the nearby PCs and Macs. Whether because of

    1. hardware issues with your particular setup, or
    2. you're using a strange distro that doesn't have necessary support for decent subpixel AA (note: even the name brand guys screw up sometimes so "mine must be right because I use $foo!" will be ignored), or
    3. you haven't set it up correctly,

    your situation is not universal. I'm not trying to be a jerk about it, but I can't stand people claiming that "Linux can't do $bar" when I personally use it to do $bar every day. Certain may have problems with $bar on their setup, but that doesn't mean that no one else can manage it.

    --
    Dewey, what part of this looks like authorities should be involved?
  49. 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.

  50. Re:more extensions by Rich0 · · Score: 2, Insightful

    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.

    Uh, the purpose of an OS is to provide hardware abstraction.

    Why do we have filesystem code in the OS? Why not just do that in X11 that way we don't need filesystems in both BSD and linux?

    For that matter, why put the video drivers in X11? Why not just put them in individual applications. After all, it is waste to have an nvidia driver for windows and MacOS and X11. Why not just have one for photoshop and let it just manage its own screen?

    The OS is the right layer for a device driver. There is no reason that driver has to run ring 0 - granted this is harder to accomplish with linux.

    Admittedly, this would be a painful transition, but there is no reason that it has to happen in six months. It just wouldn't hurt to admit that putting device drivers in an application is a mistake. X11 is just an application.

  51. RGB subpixel anti-aliased font acceleration? by Ogerman · · Score: 2, Interesting

    I don't know about anyone else, but my biggest gripe with X performance these days is the rendering speed of RGB subpixel anti-aliasing. (at least on Radeon cards, which is all I have..) It's not unusably slow, but it's highly noticable and makes everything feel sluggish.. especially scrolling.

    Curious? Do a quick test:
    x11perf -aa10text
    x11perf -rgb10text

    On my system, running X.org 6.8.1, regular AA text is about 8x faster than RGB-AA. RGB-AA produces no slow-down in Windows on machines I've checked, so it must be a driver or implementation issue.