Slashdot Mirror


First Xouvert Milestone Released

An anonymous reader writes " The first milestone of xouvert, the X-server replacement has been released. Xouvert includes MAS giving the X server its very own sound server. Nice. :) Also, just noticed that enlightenment quietly released an update to the 0.16 series. " (Here's a link to the Xouvert download page.)

84 of 404 comments (clear)

  1. The things people complain about X... by ObviousGuy · · Score: 3, Insightful

    People complain about X a lot, but when it's all boiled down there really isn't much to complain about. X is a great windowing system.

    --
    I have been pwned because my /. password was too easy to guess.
    1. Re:The things people complain about X... by Anonymous Coward · · Score: 3, Informative

      Oh dear. It can change resolutions on the fly; it's called the XRandR extension and has been in XFree86 for a while now.

      Secondly, users don't need to know their refresh rates. Almost all major distros include an X setup tool, and even "X -configure" does a decent job.

      Try to get out more, instead of repeating lies on Slashdot. It's not healthy.

    2. Re:The things people complain about X... by 10Ghz · · Score: 5, Interesting

      We don't complain about X, we complain about Xfree.

      --
      Lesbian Nazi Hookers Abducted by UFOs and Forced Into Weight Loss Programs - -all next week on Town Talk.
    3. Re:The things people complain about X... by Goth+Biker+Babe · · Score: 2, Insightful

      Typically most people think X == XFree86 and so show their ignorance. If X is so bad how come SGI/IRIX still uses it for their visualisation systems. A client server architecture does not slow down a windowing system. Badly written software slows down a windowing system. Crippling the existing XFree implementation by coming up with a system that doesn't support any of the useful facilities of X is not an improvement. Hell even XP uses a client/server architecture. And then even inefficient XFree86 performs well enough to display full screen video on one of my monitors whilst I use the other one and that's on my 750Mhz Duron machine.

      I'm afraid that Xouvert shows the worst side of Open Source. And that is that anyone can write OpenSource. Where's all the profiling data showing where XFree86 is slow. Why if you're trying to improve on XFree86 are they using a code fork and not starting from scratch? It seems to me this whole project is based on a gut feeling that removing all that socket code will speed it up rather than doing the proper research.

    4. Re:The things people complain about X... by SQLz · · Score: 5, Informative

      Well, you could have read the Xouvert FAQ before posting to educate yourself on what they actually plan on improving. That way, you wound't sound like you have no idea what you are talking about. Anyway, from the FAQ:

      2.5) So why is X so slow on my machine if not for network transparency?

      Yes, XFree86 /can/ be slow, especially on uniprocessor machines, but network transparency is NOT at fault. More common culprits appear to be toolkits, video drivers, and font rendering/render. Render really needs to DMA driven. Right now it pulls bits from the framebuffer using the CPU which with PCI is abysmally slow.

    5. Re:The things people complain about X... by fucksl4shd0t · · Score: 4, Insightful

      I'm afraid that Xouvert shows the worst side of Open Source. And that is that anyone can write OpenSource. Where's all the profiling data showing where XFree86 is slow. Why if you're trying to improve on XFree86 are they using a code fork and not starting from scratch? It seems to me this whole project is based on a gut feeling that removing all that socket code will speed it up rather than doing the proper research.

      Another poster already showed you their FAQ where they say they cannot remove network transparency.

      I think the Xouvert actually shows one of the best sides of open source. They are being non-critical of the fact that the XFree86 organization is slow, bloated, and more or less unable to keep XFree86 in a constant, modern state. Instead, they are providing a 'branch' of XFree86 that will focus on being bleeding-edge and providing fast turnaround for development and testing, so that they can interface with the slow, bloated XFree86 organization to improve XFree86. I think that says a lot of good things about OpenSource, taking care of our own, getting the job done, etc.

      --
      Like what I said? You might like my music
    6. Re:The things people complain about X... by Viol8 · · Score: 4, Informative

      "Changing resolution on the fly springs to mind as one thing it cant do"

      Thats strange , because I've been able to do ctrl-alt-+ and ctrl-alt-minus to change the resolution ever since linux 1.2 days...

    7. Re:The things people complain about X... by mark_lybarger · · Score: 4, Informative

      informative, sure. but... you fail to mention that this feature requires support of the window _managers_ to be able to use this feature. to use this in kde you're gonna need 3.2 which is still in beta. i'm not quite as familiar with other window managers, but last i looked into this, there weren't ANY that let you resize your desktop on the fly similiar to right clicking on the desktop, thenchoosing "resolutions", then selecting something different than the one you're using, and giving you and option to try out the new one.

      IIRC, xrandr has been in xfree since the 4.3 series, which i suppose you could consider "a while now". this version of the server which was released 27 Feb of 2003. are the wm's slow to implement this feature? this is a feature Microsoft has had for 8 years now.

      while XFree86 _is_ nice, it seems very cumbersome to change. there's probably a small list of feature requests from the user community out there, and they're not getting implemented.

      when you tell the truth, be sure to give the whole story.

    8. Re:The things people complain about X... by jilles · · Score: 2, Insightful

      X is just a protocol. The whole problem is that most implementations of X are not particularly good implementations of a 2D windowing system. When you make remarks about those problems to an X proponent, you get the (correct) reply that it is not a problem with the protocol. He will then kindly request that you whine about your problems somewhere else.

      The problem with XFree86 is that it is developed by people who are not particularly interested in improving it (at least I have no other/better explanation for the current configuration interface. There are so many obvious potential improvements that you just have to wonder what the fuck these guys are doing). This is basically the reason for the fork.

      --

      Jilles
    9. Re:The things people complain about X... by hitmark · · Score: 2, Informative

      and with xrandr it now does it when a program asks for it (like say a game) and the novice/newbie can do it tru a menu. oh and does your desktop (gnome/kde) detect the change when you use the keyboard combos or does it just keep the old size and let you slide about by pushing the mouse against the edges? again xrandr will tell any enabled program that changes have been made so it can fit better...

      --
      comment first, facts later. http://chem.tufts.edu/AnswersInScience/RelativityofWrong.htm
    10. Re:The things people complain about X... by Tyler+Eaves · · Score: 3, Informative

      That's chaning the sixe of the screen, not the desktop. It's a big differeence.

      --
      TODO: Something witty here...
    11. Re:The things people complain about X... by mark_lybarger · · Score: 5, Interesting

      why, oh why does this ctrl-alt-+ ctrl-alt-minus keep coming up everytime someone mentions they want to change their desktop resolution?

      to a user, this doesn't change the resolution. it seems more like a zoom in, zoom out feature. great if you need to zoom in/out. but if you want to change resolution, you're not going to find it here. a user would want to be in a 1024x768 resolution, have a browser window maximized, and change the resolution to 800x600 and still see that window maximized (and have that entire window displayd on the monitor w/o having to move their mouse around).

      maybe XFree86 could go a step further than implementing a Microsoft change resolution feature. give the ability to have different resolutions on different virtual desktops. that's where it gets close to window manager implementation to me. it would be nice to have one virtual desktop with 800x600 resolution, and one with 1024x768 or what ever the user prefereances are. it would be nice if XFree86 could give each window the ability to be shown it its own resolution.

    12. Re:The things people complain about X... by herulach · · Score: 2, Insightful

      My point entirly. Its not that you cant do it, it just doesnt work out of the box, which was my point. Joe Average isnt going to want to muck around installing the new KDE or something so he can change screen resolutions, hes just gonna say:
      'Sod this, Windows does that straight away'

    13. Re:The things people complain about X... by fucksl4shd0t · · Score: 2, Informative

      That's what's bad about OpenSource. Everyone wants to do the 'kewl' stuff an no one wants to do the grind that many of these projects need. I'm sorry but a hell of a lot of Open Source software just isn't carried out professionally. Yes you can leap in and add all sorts of cool and froody stuff but the boring bits like quality control, documentation etc gets left behind. Where are the code reviews, test suites and the like? It still has the feeling of bedroom hacker development. If I ran my development team like some of these projects are run I would be severely slapped!

      I think you should take a look at some of these projects a little more seriously. I'm somewhat involved with the venerable Audacity project, and there isn't any of this "bedroom hacker development" there. Sure, we're all doing it in our free time. But the code does get regular reviews, there is a focus on squashing bugs and making the software more reliable, and each version isn't just a collection of "kewl" features. It's always better software, all the way around. Eric Raymond even cited Audacity as a leader in Open Source UI design.

      My experience with audacity is actually representative of my experience with every Free Software project I've gotten involved with. Granted, I've backed out of some for various reasons because it was obvious the projects didn't suit me, but that doesn't mean I haven't seen anything but professionalism. If anything, I've seen more professionalism among Free Software developers than I ever saw in the proprietary software world!

      I have a Linux PDA. I'm still using the software it came with despite trying open source alternatives every couple of months or so. Why? Because some functionality is missing because it's not kewl. The documentation is crap. It's as buggy as hell At least with the comercial variant time was taken to clean it up. Yes it may be technologically behind but it's reliable.

      Considering how new the PDA market is, and the barrier to entry for developing on PDAs, it's not surprising that PDA software is lagging right now. If you're such a hot programmer, and if you're so interested in making it better, why don't you put your money where your mouth is? Get in there and start coding yourself! Or better yet, take the crap documentation and provide some good documentation. Take the lead, if you're so interested in seeing it taken, and implement that "not-kewl functionality". Fix the bugs. Show everyone what you thing should be happening.

      I suspect that the journey would be far more informational than the destination.

      --
      Like what I said? You might like my music
    14. Re:The things people complain about X... by spitzak · · Score: 2, Informative

      Actually you have the terminology backwards.

      The ctrl+/- changes the video resolution (the monitor gets a different number of pixels). It does not change the virtual screen (the area that programs think is visible).

      Making a way to change the virtual screen, not the video resolution, is what is wanted, and is currently missing.

      I am rather annoyed that RandR is so complex. Why couldn't they just send a ConfigureNotify event to the root window? I would think most window managers could be easily rewritten to use that, instead of inventing a whole new protocol. In addition it would be nice if attempts to resize the root window caused the X server to pick the nearest resolution and switch to that. See, it can all be done without adding to the interface!.

  2. Xouvert is... by roalt · · Score: 5, Informative

    For the non-french speaking under you: Xouvert means "X open".

    1. Re:Xouvert is... by Anonymous Coward · · Score: 4, Funny

      While you are right in the literal translation, did you think about RTFA ?

      As you see, Xouvert is the Goddess of Open Windows (amongst other things)

    2. Re:Xouvert is... by sharkey · · Score: 3, Funny
      did you think about RTFA ?

      Just what blog do you think this is?

      --

      --
      "Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next.
  3. Funny.... by IamTheRealMike · · Score: 4, Insightful
    People were talking about XFree forking for so long and nothing ever happened. Now within the space of a few months, we have two!

    It seems at least to me that the freedesktop.org x server (kdrive) is where the interesting stuff is happening, but we'll see how the Xouvert guys get on.

    1. Re:Funny.... by POds · · Score: 4, Informative

      Well to quote:
      <quote>
      Eugenia (IP: ---.osnews.com) - Posted on 2003-12-09 01:21:59
      Xouvert: XFree86 fork with some code cleanups and addition of patches that the xfree86 guys were snobbing.

      freedesktop.org's X: Re-write of the core of their server (not a fork), rewrite of some of the extenstions, while reusing some xfree86 code mostly for some other extensions and drivers, but overall a new thing.

      Xouvert would be interesting to serve as the "middle man" towards the migration to fdo's X.
      </quote>

      So yes you'r right. I read on freedesktop.orgs site, or maybe it wasnt, and maybe it was old, but the server only needed less than 800k To run or it was of that size. Their server so far requires a compile for you to configure it as there are no configuration files. That alone i feel would cut out some bloat. The freedesktop.org promises a lot more i believe where as this one we're talking about just imporves on the current X server. But, any improvments are welcome ones.

      Thanx for the text Eugenia

      --


      Giving IE users a taste of their own medicine since 2005 - http://pods.-is-a-geek.net/
  4. Re:just what we need... by sinistral · · Score: 2, Informative

    This is an X server, not YAWM.

  5. Re:just what we need... by noselasd · · Score: 4, Informative

    Uhm, there are actually not that many X servers. It's not like windowmanagers or anything like that. Besides , the goal of Xouvert is to get their changes back to XFree

  6. One of the most important things here by James_Duncan8181 · · Score: 5, Interesting

    Xouvert represents far more then merely tranparent windows etc, it represents a move to a more recognisable OSS model of working. XFree86 is charterised by a fairly closed development process, long patch intergration times, and close control by the steering group. I am greatly looking forward to seeing a true open source methodolgy accelerate development.

    --
    "To any truly impartial person, it would be obvious that I am right."
    1. Re:One of the most important things here by evilviper · · Score: 5, Funny
      long patch intergration times, and close control by the steering group. I am greatly looking forward to seeing a true open source methodolgy accelerate development.

      Yeah, me too. I always hated how mostly stable XFree86 is, and how I don't have to upgrade every week to the lastest version. Thank goodness someone figured out a solution to that problem!
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    2. Re:One of the most important things here by sharkey · · Score: 3, Funny
      I always hated how mostly stable XFree86 is, and how I don't have to upgrade every week to the lastest version. Thank goodness someone figured out a solution to that problem!

      Choice is good, here's another alternative.

      --

      --
      "Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next.
    3. Re:One of the most important things here by kidlinux · · Score: 2, Funny

      "I always hated how mostly stable XFree86 is, and how I don't have to upgrade every week to the lastest version."

      On the same token, some people hate how bloody long it takes to add new features and drivers to X.

      And if Xouvert's development model was anything like the Linux Kernel's dev model, then we'd see fairly rapid development, with a very stable tree which has a good release frequency (not too slow, not too fast), and then a dev tree if someone wants to do a daily CVS build. That'd be pretty good.

      --
      -kidlinux.
  7. sounds nice by axxackall · · Score: 5, Insightful
    Xouvert includes MAS giving the X server its very own sound server. Nice. :)

    Just nice? It's excelent! This is the biggest X Windowing achievement since first actual implementation of X Windows.

    It is in human nature to assotiate visual and audio information in the process of percepting it. Therefore video without audio mean seriously broken usability. That's why I think all these years X Windows has been developed in essentially wrong direction. The made in recent XFree86 versions transparency, which is really just a candy, while so important prime functionality was missed all the time.

    I am really happy that MAS in Xouvert now. I am going to switch to Xouvert as soon as possible. Good-bye, XFree86 - thank you for keeping me in the void silence all these years.

    --

    Less is more !
    1. Re:sounds nice by popeyethesailor · · Score: 4, Funny

      I cant believe they dont have a web browser and email client in it yet.

    2. Re:sounds nice by axxackall · · Score: 4, Interesting
      Do we really need ANOTHER soundserver in addition to esd and arts?

      We haven't needed esd and arts from the first place if sound would be handled by X since the beginning.

      Because that's what X is supposed to do - to isolate window managers, desktop managers and just applications from any knowledge about hardware. Gnome or KDE should just fire the sound event, not actually handle it.

      I hope that at some point Gnome and KDE developers will drop their "proprietary" sound servers and just send sound events in a same way as they now do with graphics events. THEN perhaps Gnome and KDE will have more available human resources to *focus* on improving the usability and configurability of their applications.

      --

      Less is more !
    3. Re:sounds nice by boaworm · · Score: 5, Funny

      I am really happy that MAS in Xouvert now

      Now they just have to rename the project to XMas and everyone will be happy :-)

      --
      Probable impossibilities are to be preferred to improbable possibilities.
      Aristotele
    4. Re:sounds nice by evilviper · · Score: 2, Insightful
      We haven't needed esd and arts from the first place if sound would be handled by X since the beginning.

      I see, you're simply anti-unix. You think there should be one monolitic application that has everything integrated to it. Is too damn much work for you to type "esd &".

      Because that's what X is supposed to do - to isolate window managers, desktop managers and just applications from any knowledge about hardware.

      Sound apps like esd know nothing about the hardware (well, almost nothing). All they do is mux audio streams together, and send them to /dev/dsp. Not exactly low-level knowledge.

      In case you haven't noticed, XFree86 does not, nor has it ever, come with sound-drivers, or sound apps, so I have no idea why you think it's the responsibility of X to handle sound as well. It's not like sound is an exclusively GUI-based feature... If X is handling sound, how do I play sounds when X isn't running? That's right, you'd have to have the sound-system manager as a seperate daemon, like esd.

      I hope that at some point Gnome and KDE developers will drop their "proprietary" sound servers
      THEN perhaps Gnome and KDE will have more available human resources to *focus* on improving the usability and configurability of their applications.

      -1 Complete Moron
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    5. Re:sounds nice by axxackall · · Score: 3, Insightful
      I see, you're simply anti-unix. You think there should be one monolitic application that has everything integrated to it.

      RTFA - they integrated X and MAS, not merged the code. Unix *is* integration of protocol layers, listeners and daemons, and applications. The integration of MAS with Xouvert is done in completely Unix way.

      When GNOME is everything - that *is* monolitic.

      In case you haven't noticed, XFree86 does not, nor has it ever, come with sound-drivers, or sound apps, so I have no idea why you think it's the responsibility of X to handle sound as well.

      RTFA, Xfree doesn't, MAS does. it's responsibility of MAS to handle sound and it's great that X and MAS are integrated now to handle both graphics and sound in a same network-transparent way.

      If X is handling sound, how do I play sounds when X isn't running?

      What *graphics* do you see when X isn't running? That's right. TTY is for system management tasks, not for entertainment. When you want to entertain - you run your desktop. When you are not local - you run it remotely. And now it will have sound.

      --

      Less is more !
    6. Re:sounds nice by GreyWolf3000 · · Score: 3, Insightful
      When GNOME is everything - that *is* monolitic.

      Not really; you don't type "gnome" and have a full blown web browser, media player, kitchen sink all-in-one app. Gnome is, essentially, a set of foundation libraries and application framework for building consistent applications that play nice together. The vanilla Gnome distribution contains many applications (a web browser, applets, gnome-panel, etc.), but Gnome is about as monolithic as a Linux distribution. Fedora or Debian may have a thousand programs on it, but that doesn't mean that they are monolithic.

      What *graphics* do you see when X isn't running? That's right. TTY is for system management tasks, not for entertainment. When you want to entertain - you run your desktop. When you are not local - you run it remotely. And now it will have sound.

      A lot of folks out there use X-less desktops. mplayer for example can output sound AND video to the command line (with framebuffer support), and I think the parent was afraid that if MAS were widely adopted, and integrated into X, then audio support for the command line would fade. The parent (albeit rather rudely) meant that by bundling a sound server with X, people who choose not to run X will not have sound (assuming MAS becomes popular).

      What the parent failed to realize is that you can run MAS without running X (or if you can't, there's bound to be an X-less MAS server around).

      Personally, I fail to see the importance of tying a sound server to the X server (even if it is merely association), but if it means the acceptance of a standard, network transparent protocol, I'm all for it. I'm sick of sound being nonstandard in Linux.

      --
      Slashdot: Where people pretend to be twice as smart as they really are by behaving like children.
    7. Re:sounds nice by SWroclawski · · Score: 2, Interesting

      I don't think the original poster is anti-Unix, he just feels that the "GUI" aspect of X should encompas sound, just like X servers now handle keyboard and mouse events.

      Sound apps not needing to know the hardware is no different than X applications not needing to know the hardware when they make xlib calls.

      Right now, every system that wants to provide network transparent sound has to reinvent the wheel since no one can agree on the "right" way to do it. Having one chosen as the "blessed" one by Xouert may end the argument.

      As to requiring esd outside X, I don't see much of the point. I suppose you *could* do sound in consoles with something like emacs or screen, but that's highly unusual. Most people want sound events locally, so outside X you can send events right to /dev/dsp.

      As to the issues of large monolithic code, I tend to agree, but think that the original poster's comment didn't necessarily imply code bloat, only a "blessed' X sound event system that comes with a new X server and makes it easier for application developers to write code that will run sound over the network (which will make projects like the Linux Terminal Server project easier).

      - Serge

    8. Re:sounds nice by t_hunger · · Score: 5, Interesting

      The idea is that you start up MAS instead of whichever Networking sound solution you are using now. MAS is a stand alone server taht can run without X... in fact there are others you could use, but then MAS was developed with professional audio and video conferencing in mind (both needing low latencies) and MAS is has a solid suport from the X consortium behind it. Both are thing I most alternatives can not claim for themselves.

      --
      Regards, Tobias
    9. Re:sounds nice by Greg+W. · · Score: 2, Insightful

      Personally, I fail to see the importance of tying a sound server to the X server (even if it is merely association),

      An example may help clarify. Suppose you're running X on a diskless workstation with sound capability. You could run xmms locally, having it read the Ogg and MP3 files from an NFS server, and that would work fine. But what if you wanted to run xmms on a remote system, and have it display and play music on your local desktop? You could set the $DISPLAY variable to get the video onto your screen, but the sound would still come out on the remote system, because $DISPLAY has nothing to do with audio.

      I haven't looked at Xouvert except to read the main page and the FAQ just now, so I'm not sure exactly how MAS works or how it's integrated with X. But if they have made "ssh -X me@remotebox xmms" work, then they've really achieved something.

    10. Re:sounds nice by axxackall · · Score: 2, Insightful
      Personally, I fail to see the importance of tying a sound server to the X server (even if it is merely association),

      Two examples:

      I want my sound being network-transparent and automatically follow my $DISPLAY variable. Remember, X11 is network transparent.

      I want to make sure that video and audio are in sync. Today they are not. Recent improvement in Linux is a help. But it's not a general soultion (it doesn't cover even all cases on Linux itself). Remember, X11 is not just for Linux. Need more examples?

      --

      Less is more !
    11. Re:sounds nice by Nicolai+Haehnle · · Score: 3, Interesting

      The statement about being anti-Unix is very unwise.

      What if the creators of Unix back around 1970 had had terminals with built-in speakers? How high do you think are the odds that they wouldn't have included audio into the concept of a computer terminal?
      I bet you almost anything that we'd have a stdpcm in ISO C today.

      It is absolutely ridiculous that the concept of a terminal only contains the lowest common denominator of text input and output. You should think of the terminal as an interface to the user. It logically follows that all kinds of other devices can become part of an interface, depending on the situation.
      Obviously, sound in/out can be a part of an interface. A USB port or a DVD drive could be part of an interface. After all, the one who physically "sits" at a device should automatically be able to control it (yes, there are exceptions, such as computer pools - the keyword is "exception", though). This would automatically eliminate all those ugly permission hacks that are necessary today, by the way.
      One could even imagine an interface that consists of only sound in/out *without* any form of text or video interface (e.g. interface for the blind).

  8. Re:Humble Dev's Request by Anonymous Coward · · Score: 2, Insightful

    No you're not. Check his post history, he's just an idiot ;).

  9. What the Linux and BSD world really needs... by jcr · · Score: 4, Interesting

    ..is an answer to Apple's Quartz 2D rendering capabilities.

    Linux isn't going to make a dent in the desktop world until it's significantly better than MS windows, not just politically, but in ease of use, quality of rendering, integration, etc, etc.

    Linux already does OpenGL. Take the next step; Apple's already shown you what to do.

    -jcr

    --
    The only title of honor that a tyrant can grant is "Enemy of the State."
    1. Re:What the Linux and BSD world really needs... by jcupitt65 · · Score: 4, Informative
      You're thinking of Cairo. It's a postscript-style graphics model for X/paper/etc., with the X backend based on XRender.

      At least GTK is planning to switch to it, I guess QT as well.

    2. Re:What the Linux and BSD world really needs... by Spy+Hunter · · Score: 5, Informative

      Already in progress at Freedesktop.org, thanks to the awesome Keith Packard. There's Cairo for vector graphics rendering and some unnamed project for double buffered/transparent/warpable windows (and yes there are screenshots, click the link!). Freedesktop.org is rapidly becoming host to many projects that are innovating in the Linux desktop arena. Check out some of the other software hosted there. Of particular interest (to me at least) is D-BUS combined with HAL.

      --
      main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}
  10. How's this going to work with KDE/gnome etc? by carnivore302 · · Score: 5, Insightful

    Xouvert has its own sound engine, MAS. If Xouvert catches on, does this mean that the sound engines of KDE and gnome will become obsolete, or will they collide with MAS?

    If they collide, it basically means that KDE and gnome will have to support both X11 and Xouvert. I'm not sure if that is achievable. On the other hand, if they don't collide what's the use of MAS? I'm pretty happy with the way it works now. So I'll then continue working without MAS.

    --
    Please login to access my lawn
    1. Re:How's this going to work with KDE/gnome etc? by Amiga+Lover · · Score: 5, Insightful

      If Xouvert catches on, does this mean that the sound engines of KDE and gnome will become obsolete, or will they collide with MAS?

      There's a few places Linux has failed miserably for me as a desktop, and consistent audio has been one. If I get KDE audio working, six other non KDE apps suddenly go silent, If I get those working, KDE audio apps error on me. Same story sadly. Now, perhaps it's just me not knowing what to futz around with, but to repeat a cliche, "I shouldn't have to do that".

      Perhaps kernel level device sharing would work, but I don't know if adding another sound engine would help much

    2. Re:How's this going to work with KDE/gnome etc? by TheRaven64 · · Score: 4, Insightful
      Perhaps you should look at FreeBSD? It contains kernel-level sound mixing, and exposes several virtual /dev/dsp devices (/dev/dsp.0, /dev/dsp.1) which are mixed together to produce the final output. I have the KDE sound daemon pointing at one, the Gnome one pointing at another and leave `legacy' apps and games (which can't tolerate the latency imposed by one of these daemons) to use /dev/dsp (which is a symlink to /dev/dsp.0). In the 5.x series, this is handled automatically, and each request to open /dev/dsp returns a new mixer channel, rather than the device.

      Having said that, MAS is not a replacement for /dev/dsp. For one thing, it is network transparent (so I can run a MAS enabled MP3 player, for example, in a remote X session, but still hear the sound.) MAS is cross platform, so I can (in theory) post the sound between any combination of machines that run an X server, as I can with X11. MAS uses a stream/filter graph-based model, and so is very flxible. I regularly use a remote X session, and audio is one of the things I have been missing. MAS should provide that, and this is the first real implementation I have seen. Hopefully it should make it into the main XFree86 trunk soon...

      --
      I am TheRaven on Soylent News
  11. X is not bloated! by lokedhs · · Score: 4, Insightful
    X isn't and never was bloated. People think it's large just because the framebuffer memory is included in the "ps" listing.

    Read the explanation on the freedesktop site. There they mention the fact that people developed X on really old VAX machines. I even ran X myself on an old VAXStation II which had several times less memory than your average palmtop computer, hardware which happens to run X as well.

    1. Re:X is not bloated! by kinnell · · Score: 3, Insightful

      The X server itself may not be bloated, but the XFree86 source distribution certainly is. Everything from client libs to Xeyes are included in the build system, and working out how to configure it to only build the parts you need is not an easy task. Not to mention the amount of cruft you have to download. This is a shame, because there is no reason why it has to be like this, but clearly the XFree86 people aren't interested in the problem. If Xouvert can modularise it well like they plan, this will be a massive improvement in itself.

      --
      If I seem short sighted, it is because I stand on the shoulders of midgets
    2. Re:X is not bloated! by swv3752 · · Score: 3, Interesting

      My old Agenda VR3 had a total of 8mb RAM and 16mb Flash- 13mb for the kernel and all programs. It ran XFree86 and FLTK. It was plenty speedy and never had a memory problem.

      --
      Just a Tuna in the Sea of Life
    3. Re:X is not bloated! by nathanm · · Score: 2, Informative

      Right, I've got an Agenda also, but that's not what the parent poster is talking about.

      What he's saying is that the source code distribution for XFree86 is way too big. Rather than separate the libraries, X server, applications, and everything else into separate tarballs, they release the entire source tree at once.

      Freedesktop is working on splitting the X server out as its own separate release.

    4. Re:X is not bloated! by Brandybuck · · Score: 2, Funny

      Maybe you should go write your own X toolkit...

      --
      Don't blame me, I didn't vote for either of them!
  12. MAS or NAS by Lumpy · · Score: 2, Interesting

    I've used NAS for quite some time now. many apps are already compatable with it. (madplay mpg123 xmms gnome sound server) and it works great for X terminals to get sound (and hogs network bandwidth like no tomorrow)

    is MAS anything like NAS? is it compatable?

    --
    Do not look at laser with remaining good eye.
  13. Re:MAS, networked sound ?!?!? by CRCulver · · Score: 2, Insightful

    why not use alsalib or libaudiofile?



    Well, ALSA is the Advanced Linux Sound Architecture, and any X11 replacement would have to serve FreeBSD and the Hurd as well.
    As far as libaudiofile goes, I'm not sure it is strong enough to serve as the basis for an entire array of audio uses.

  14. Re:MAS, networked sound ?!?!? by larien · · Score: 2, Interesting
    One good reason for networked sound: thin clients. Linux is well put together to serve as a server for thin clients provided we can deliver sound to clients.

    As for playing sound "fast", all you really want is minimal lag between sound being queued on the server and being put out on the speaker. The main problem there is network lag during congestion; I guess that could partially be offset by (a) a good, switched network and/or (b) QoS providing audio with a higher priority.

  15. Sound server? Why not use ALSA's own native Dmix ? by phoxix · · Score: 4, Interesting

    The subject pretty much says it all ...

    Read this or this for more info.

    Death to ESD/ARTS today!! (and maybe even JACK, if we can low enough latency).

    Sunny Dubey

  16. Please mod parent DOWN. by reality-bytes · · Score: 5, Informative

    As said before this guy appears *not* to be a Dev on the Xouvert project.

    Have a read through some of his previous posts on other topics.

    Thanks.

    --
    Ripping an new rectum in the fabric of spacetime.
  17. Re:MAS, networked sound ?!?!? by t_hunger · · Score: 4, Informative

    I've seen MAS demoed on a couple of shows already and I did like what I saw. They are aiming for professional quality sound delivery with extremly low latencies which definitly is a good thing. MAS of course is network transparent of course, but the network is just another input-/output device to MAS (like a soundcard), you don't have to use it for local playback. It is a handy feature though: You can pipe your sound to an effects mashine for processing, something that might come in handy in a professional environment.

    --
    Regards, Tobias
  18. QT is available under the gpl by bblfish · · Score: 2, Informative

    Check your facts before blurting out. QT is available under the Gnu Public Licence!

    http://www.trolltech.com/products/qt/freelicense .h tml

    1. Re:QT is available under the gpl by Ada_Rules · · Score: 2, Informative

      Actually, the original poster was half right and you are half wrong. On some platforms (Windows only I believe) QT is no longer being released under the GPL. Granted the slashdot posting on this was a few days ago and it did have somewhat of a sensationalized title Trolltech Discontinue Non-Commercial Qt but it is still essentially correct. Note that the parent thread that started this was indicating that they thought the toolkit needed to be integrated into the server (which is what started a minor Qt/KDE/Gtk/GNOME war in the parent).. If we ignore the flames and humor for a bit though I think there is something to the discussion. For years I saw some people programing directly in xlib since it was "the most standard".. Most of the Apps were pretty horrible and helped to contribute to X's bad name. A lot of widget sets popped up and died. Motif had a brief stint as a big standard. Now we have KDE/Gnome. I do like the choices but the churn between toolkits that were never intended to be API compatible certainly has been painful. So, whether this new X server replacement is the one that gains traction or it is standard X that continues to dominate I think that standardization on one or two toolkit APIs that remain (even mostly) backwards API compatible for several years is very important

      --
      --- Liberty in our Lifetime
  19. Check their website by mendred · · Score: 4, Informative

    I think the following should settle your fears.

    From their site

    "Many of the visually impaired have finely tuned auditory sensibilities, allowing them to react quickly to sound. From its beginning, MAS was designed to handle timing issues exceedingly well. It was optimized to provide tight synchronization of multiple media streams. More importantly, for users dependent on audio cues, it is designed to stop some functions and start others quickly. For example, a user, hearing the opening syllables of a menu option, can either select it or move to another option without waiting for a complete articulation of the option. MAS's original accessibility requirements, developed with leading accessibility authorities, included:

    * Ability to stop utterances quickly
    * Controllable low latency
    * Format independent media handling
    * High audio quality
    * Multiplexing--with priorities
    * Small memory footprint
    * Synchronization of multiple media stream

    "MAS enables low-latency Internet conferencing and telephony. Automatic bandwidth measurements and MAS's dynamically-switchable CODECs insure that the conference quality scales from 56K modems to T1 lines".

    "MAS integrates with a compatible X11 server on your desktop. It processes graphic information locally, alleviating the need for network transmission of uncompressed graphical content. Graphic events are easily synchronized with audio events for professional-quality multimedia and accessibility-enabled applications."

    "MAS handles network-distributed media processing and intricate format configuration tasks. It continually measures system performance and adjusts its actions depending on the available system resources. The longer it runs, the better it knows your system".

    //end direct quote from site.

    Obviously this has been designed for performance/scalability.Of course the real trial is actually running it for yourself but give it a chance before you write it off.

  20. Re: warning to ACs, post AC means Ashcroft at door by Tomahawk · · Score: 2, Informative

    You know, you are right. And it's by design. And it's well known. I remember several years ago CmdrTaco posting an article to discuss just that particular topic. IIRC, if you put in a comment as an AC, then you can't moderate comments attached to that article you posted against, just as if you had posted from your normal account.

    It's all well known about, and well documented. The idea of the AC account is that nobody knows who you are, but admin can always find out things anyway (stuff /does/ get logged, you know). There is rarely any true anonymity in this world. It's not a bad thing, unless you are doing something wrong...

  21. Why Linux needs a standard GUI toolkit by October_30th · · Score: 2, Insightful
    Yes, it means "stagnation"

    Ok. I see now. I just didn't realize before that standards organizations like IEEE are just stagnating the development. What a revelation! How far our technology would have developed already if we just didn't hang on to standards. Who the hell needs consistency anyway?

    a lousy GUI that will remain lousy forever

    Linux desktop will remain lousy as long as the distro manufacturers refuse to create a common set of rules for a standard Linux application toolkit.

    Having such a standard would not stop a pro like you from reconfiguring your desktop to your liking, but it would make the initial desktop look the same on every distro and thus easily adapted by a newbie.

    On a more personal note, the mishmash of different toolkits (run xawtv and some kde applications side by side and you'll see what I mean) just makes the GUI look so goddamn ugly and cumbersome to use ("now did I move the scrollbar in this application with the mouse middle button or with the left?" etc.).

    --
    The owls are not what they seem
  22. Re:Gombine and Gonquer, with XouverG by t_hunger · · Score: 3, Insightful

    A consistent GUI allows for the things you learned in your word processor to be reused in your browser, e-mail client, etc. Thanks to the thousand of toolkits, desktop environments, support libraries, sound backends, printer support solutions, etc. that's plain impossible in X. So a user has to spend lots of time relearning how to do simple tasks for each application he uses (and mixing them up after learning them). That ruins productivity!

    Wether someone runs one or onehundred word processors is absolutly irelevant to the GUI consistency discussion.

    --
    Regards, Tobias
  23. Re:MAS and ALSA / OSS by SubtleNuance · · Score: 2, Informative

    I believe your right, It works *abobe* ALSA. ALSA will do the hardware bits while the MAS will back into it, or if your XWindow is running on OSX, back into the Darwin equivelent, or Windows, back into ActiveDirectX.NET(?)
    Im not certain, can someone verify?

  24. Re:Humble Dev's Request by Anonymous Coward · · Score: 2, Informative

    Sir, may I suggest you RTFA? Xouvert is a fork of XFree86. The current release is basically exactly the same as the current release of XFree86, but with a handful of extras. Since they are the same thing with different names, I suspect they may just be compatible.

  25. Re: warning to ACs, post AC means Ashcroft at door by Anonymous Coward · · Score: 2, Insightful

    It's not a bad thing, unless you are doing something wrong...

    Or unless somebody thinks what you're doing is wrong. Better to just say, "On the internet you're going to get logged and there's not a whole lot you can do about it."

  26. Who really wants all that garbage? by Nichademus · · Score: 3, Insightful

    After checking out the following screenshot: http://freedesktop.org/~keithp/screenshots/sharp_s hadow.png and then reading the contents of the X-Chat window, specifically, "I'm hoping to do things that won't be fast enough with 2D/3D hardware as it exists today.", I have to ask: Who really wants all this shadowing, and translucent windows, and animated desktop graphics? I mean seriously, what's the point? Does it help you get you work done? Does it increase your productivity? I see it being more of a nuisance and distraction.

    It certainly shows that Mr. Packard works for HP, what with him writing software that would require users to purchase new hardware just to have the next generation desktop. Hell, the desktop might as well be free, if we have to shell out the dough to purchase a new video card.

    1. Re:Who really wants all that garbage? by Nichademus · · Score: 2, Informative

      Up until about 3 years ago I was using TWM. Then I switched over to Blackbox. It's light and fast, with very little eye-candy. A great, fast, and no frills WM in less than 300KB (263KB Solaris/SPARC, 288KB Solaris/i386).

      Maybe I'm just not with the times. Besides my Mac, the two machines I have are a P3 600 w/ a Rage 128 Ultra w/ a paltry 16MB VRAM running Slack 9.1 and a P2 400 w/ a Mach64 w/ a whopping 4MB VRAM running NeXTStep 3.3. Neither of which would be suitable for the next generation desktop.

      To each his (or her) own, I suppose. I'll stick with the plain and simple.

    2. Re:Who really wants all that garbage? by Just+Some+Guy · · Score: 4, Insightful
      Who really wants all this shadowing, and translucent windows, and animated desktop graphics?

      I do. I really don't know how they'll benefit me, but I guarantee that someone will make a newly-possible feature that, once you see it, you'll wonder how you lived without.

      OK, here's a tiny example. What if your window manager used translucency to indicate window selection: the window with focus is opaque. The one you just left is slightly less so. The one before that is starting to become transparent. I think that'd be a much stronger (and faster) visual indicator than "window with focus is dark blue, windows without focus are lighter blue".

      Is that a trivial example? Sure. But the point is that we don't know what will turn out to be the productivity enhancing killer feature that we've been waiting for until we try it. These new features may very well be useless and unused, but they could also change the way we use our systems. New functionality is good.

      --
      Dewey, what part of this looks like authorities should be involved?
    3. Re:Who really wants all that garbage? by pebs · · Score: 2, Insightful

      Who really wants all this shadowing, and translucent windows, and animated desktop graphics? I mean seriously, what's the point? Does it help you get you work done? Does it increase your productivity?

      Yes, we want it. Yes, it makes us more productive. Yes, it helps get work done. Its quite simple: visual cues. For example, you minimize a window, and you see it animate its way to the taskbar. That animation cues you as to where it will be when you want to select it in the taskbar.

      Shadow effects are helpful because they give you a clear distinction between windows (or widgets such as menus), and you can quickly tell where a window ends.

      Translucency, I don't know how useful that will be. Probably because I've never used an app with translucency. Maybe it'll be helpful, maybe it won't. I'll give it a try, though. Maybe it'll be good for things you want to keep open, but don't want to have to compromise desktop real estate for.

      I don't think this is about trying to sell hardware, its more about giving users what they want. Personally, I like my GUI looking nice. I like the fact that Gnome looks great (IMO, better than Windows and KDE). I'd like to see shadowing and maybe some other effects. I'd like my desktop to be as smooth looking as OS X (but not bloated and ugly like WinXP).

      --
      #!/
  27. Linux is going to decimate the desktop world by Moderation+abuser · · Score: 2, Insightful

    Because it's cheaper and good enough. That combination wins every time. It does not have to be better.

    --
    Government of the people, by corporate executives, for corporate profits.
  28. Re:just what we need... by SQLz · · Score: 2, Insightful

    I always see people post stuff like..

    It'd be nice if we could get everyone to focus all their energy on making...insert software name/type here.

    This is how open source happens my friend. In a way, they are ALL working on the same thing. Since this is open source, the code, the ideas, the research, the development can all be shared between them meanwhile the competitiveness keeps them going.

    Its much better than say, having a bunch of people who don't like each other work on the same thing or having talented developers not work at all.

    Also, its not a window manager.

  29. Re:Improve X? Yes , but only its colour system. by jcupitt65 · · Score: 2, Informative
    Xlib is rather low level and somewhat of a pain to use (to say the least). If you want something more abstract, use a higher level toolkit. In GTK/GDK, for example, everything is RGBA and the library maps this to the X visual nonsense for you.

    The visual stuff is there for (eg.) = 8 bit displays where apps really do need to have exact control over colormaps. No longer useful on the desktop, but very handy for embeded or PDA developers.

  30. Enlightenment release by sirReal.83. · · Score: 3, Insightful

    "Also, just noticed that enlightenment quietly released an update to the 0.16 series."

    uh... that was over a month ago, on November 5th. It was a good little bugfix release, though.

  31. Re:Please enlighten me by CommandNotFound · · Score: 2, Informative

    I've seen this post so many times about how much X or XFree sucks. Please enlighten me because I seem to be living in an alternate dimension. Right now at my house, I have a large dual-Athlon basement machine running headless. My main X term upstairs is a $40 used PII with a good graphics card and no hard drive. I cannot perceive a performance difference between this machine with applications, scrolling, switching desktops, etc, with the 2GHz P4 running WinXP at work. I can play fullscreen NTSC quality videos over the network. Everything but page-flipping games run flawlessly, and I'm sure cheap gigabit would solve even that problem.

    In the living room I have a 1GHz Athlon game box that runs all sorts of games and emus at 60 frames per second fullscreen with no problem.

    My wife runs a PII system with a good Matrox card and other than slow load times for some apps, the graphics performance (scrolling, menuing, maximizing, etc) is superb.

    Where is the horrible performance? Windows is supposed to be so much better, but I have yet to see a window that didn't shear when "Show Contents when moving/resizing" was turned on. That's why I turn it off and use the outline. And, by the way, no matter how fast your graphics updates are, you will always get shearing on a CRT, unless you blast your updates while the electron gun is returning to the top corner. I imagine that would add a great deal of complexity to the windowing system, which is probably why it hasn't been done on either platform, just so a tiny part of daily work will "look better".

    I just wonder what I've been doing right with these systems (all running XFree), especially since I'm pretty picky about graphics performance.

  32. Arch by truth_revealed · · Score: 2, Informative

    I'm pleasantly surprised to see that Xouvert is using the Arch revision control system.

    Does anyone know if you have to create individual UNIX user accounts for Arch users as you do with CVS? I've always hated that about CVS.

    1. Re:Arch by Fourier · · Score: 2, Interesting

      Perhaps the Arch model just assumes a single master committer - but unfortunately most development projects I have worked on do not work that way. I see this issue chasing potential Arch users away until it is definitively resolved or adequately explained in the Arch FAQ.

      There's a project called "tla-pqm" that makes an attempt at solving this. The developers can email a merge request to a tla-pqm server somewhere, and the server will grab the requested changesets and apply them to its archive. It's like an automated master committer.

      Does anyone know how this issue was ultimately resolved by the Xouvert project?

      I'm pretty sure they have a special committer account, and all developers can access it via sftp using ssh shared keys.

  33. Enlightenment is a good example of.... by bnavarro · · Score: 4, Insightful

    Why keeping a project in an alpha/beta state is a bad idea. I used to use E a long time ago, but they never went 1.0, and all the distros just started ignoring it, so now I use Sawfish.

    This is a real pet peeve of mine. There are many OSS projects that do this. OpenSSL, anyone? The question is, why?? There must be a stable enough "beta" version of E that could be considered production quality, and should have been bumped up to 1.0 release status. I know that this is the case for OpenSSL, and a lot of other OSS projects out there. The fact is companies and non-hackers don't like adopting software that's advertised as "beta" quality. If you wan't your project recognized in the Real World, step up to the plate.

    I know this sounds like a whining rant, but I belive that the plethora of OSS projects forever stuck in a "beta testing" phase is one reason for hesitation for mainstream adoption of Linux.

    1. Re:Enlightenment is a good example of.... by who+what+why · · Score: 3, Insightful
      There are plenty of 1.0, stable window managers out there. E16 has never gone gold because the developers (i.e. Rasterman) want to turn it into an entire desktop environment, not just a window manager. They launched on a massive rewrite (and then another, and another).

      E has become a place for experimental ideas that just wouldn't be accepted into a more stable project. Check out Rasterman's research into software vs OpenGL hardware rendering for Evas.

      We already have enough stable window managers (especially for use with GNOME and KDE)... The Enlightenment team are working on something new and different, the lack of which is something often lamented around here always complain about in these X discussions. Let them work it out at their own pace, and maybe you'll be blown away by the next release.

  34. X-MAS by Tin+Foil+Hat · · Score: 3, Funny

    Xouvert includes MAS giving the X server its very own sound server.

    Just in time for X-MAS. How convenient.

    --
    No matter how many of my rights are taken away, somehow I still don't feel safe. -Frigid Monkey
  35. Re:Gombine and Gonquer, with XouverG by adrianbaugh · · Score: 3, Insightful

    Asking for consistency between desktop environments is unreasonable. For one thing, it imposes a burden on developers who are ultimately trying to scratch their own itch. For another thing, nobody asks for consistency between MacOS and Windows environments, yet KDE and gnome have no reason to be any more similar than those two. The fact that they both use the same server application (X) is irrelevant - the projects themselves are as different as chalk and cheese (one written in C, one in C++; one using bonobo for IPC, one using something else, one focussed towards strict HIG, one using different UI guidelines etc.) and it is quite remarkable that they coexist as well as they do. If you stick to one or the other then you get consistency, just as you want. If you mix and match, that's your lookout.
    Besides which, have you ever really considered the "consistency" of Windows apps? Internet Explorer has a different feel to Office apps, which in turn are different to apps made by third parties (nobody will convince me that Windows Explorer's CD-burning capability shares anything in terms of look or feel with Roxio CD Creator, or that Excel is consistent with Quattro Pro).

    --
    "'I pass the test,' she said. 'I will diminish, and go into the West, and remain Galadriel.'"
    - JRR Tolkien.
  36. offscreen drawing by Frogg · · Score: 2, Informative
    And, by the way, no matter how fast your graphics updates are, you will always get shearing on a CRT, unless you blast your updates while the electron gun is returning to the top corner. I imagine that would add a great deal of complexity to the windowing system

    Actually, this is isn't correct -- having spent too many years programming video games in the 80s-90s, I'll have a shot at explaining...

    You fix the problem of onscreen redraw glitches simply by using double (or triple) buffering - all updates are then drawn to an off-screen back-buffer instead of to the visible surface, and once the back-buffer update is complete you wait until the next vsync (when the CRT is in an offscreen period) and 'flip' the visible surface out, bringing the newly drawn one into view.

    Double buffering is simpler to code than triple buffering, but any system implementing either of these will still have a pretty simple API to call, and both will be similar (if not identical if you plan correctly) -- the tricky stuff all happens 'behind the scenes', usually implemented with a combination of interrupts, threads and code to handle 'surface locking'.

    The 'cost' of using double buffering is: you need video memory for both a primary and a secondary surface, you have to write a small piece of (fairly technical) code -- and when you call flipSurfaces() no code can access a visible surface to draw upon until the 'flip' has actually taken place (the next VBlank interrupt), which will likely mean waiting code... tidy screen redraws, but stalling code. :(

    If you have enough video memory, you can get around this 'waiting' problem by using triple buffering. It's a bit trickier to implement, and requires three times more memory than an unbuffered display - but you avoid the problem of having a locked back buffer (waiting to become the primary surface) by having the extra (and therefore always 'unlocked') surface ready to return when any code calls getBackBuffer().

    When flipping screens (during the CRT gun's offscreen period), the new buffer can be made visible by either copying it to the front buffer (maybe using blt h/w, if available), or by changing some kind of magic memory pointer in the video hardware.

    So stopping tearing can in fact be done fairly easily -- a heck of a lot of video games use a double or triple buffering, and have done since at least the early eighties. I don't think any of the PC Windowed-style OSes use this technique yet (...but I don't have a Mac, and with all that transparency and other eye candy I sure hope that they're drawing to an offscreen surface!)

    (Sorry for the almost off topic ramble, but I had to satisfy my innermost geek)

    1. Re:offscreen drawing by Frogg · · Score: 2, Interesting

      Nah... triple buffering is totally and utterly quick! (as long as you've got enough video memory to perform the necessary operations) -- and the code isn't that complex (or shouldn't be if you do it right!)

      There should be negligible (dare I say zero?) performance hit if you use it on your primary visible surface -- triple buffering isn't for the individual windows, it'd be used only for the surface you composite your main onscreen view onto.

      The overhead from executing code to achieve (triple) buffering is /really/ small: you are really only executing (1) the logic described in my last post (to keep track of in use buffers, and s/w locking them, etc), (2) a little interrupt handling (hey! we're now in the offscreen period!) and (3) some h/w access (method to switch visible surface: flip or blt)

      Also, you start to gain performance from using back buffers because you avoid hardware memory locking issues. If you only have a primary buffer to draw to, with every 'blit' that takes place the hardware has to be available (not processing another request), and the destination memory must not be in use by any other hardware operation (reading RGB pixel array of visible surface to convert into a video signal).

      By ensuring you are writing/modifying an offscreen surface you always ensure that the memory you are accessing is not in use by the video h/w.

      The back buffer should, in theory (esp. in triple buffering) be completely free for you to do as you wish with -- free of any h/w locking through memory accesses, etc. -- and there should always be a surface freely available so when you say 'can I have a surface to draw on please?' there is no wait for a surface to unlock.

      Obviously, some of the above issues may not be issues with some of the memory types fitted to very modern PC graphics cards (modern and trendy double dma, 0ws, doo-diddly-dangle super-vram), but I believe they still come into play on a lot of common PC video hardware that people use. It depends on the exact video chip / memory /etc (heh, if you're writing for the PC you have more variations to take into account, you'll end up using double/triple buffering if you want speed and a clean redraw - the API is easy to work with, no matter what's underneath).

      Nowadays things are also made a bit easier as most of the modern video cards have a proper vblank interrupt -- obviously, some h/w doesn't support such a thing, in which case you'll have a hard job getting rid of the ugly shearing you describe (but using a back buffer will still make the refresh /cleaner/, and it should also be quicker due to the above points).

      Most fullscreen/games APIs that I've worked with (on both sides) have allowed double/triple buffering, it's fairly common.

      In any extremely rare cases (of h/w) where triple buffering does not improve performance, the loss (through added code execution) should be sooo small as to be totally insignificant -- and you've still gained a cleaner screen update as a result.

      Oh yeah... triple buffering will only work as intended (ie: at full speed) if you have all (3) of the surfaces in video ram. If you can't/don't then there /will/ be a performance hit of some kind (somewhere on the system) when you flip (or shortly after).

  37. Dmix/Jack by po8 · · Score: 3, Interesting

    You have correctly identified the competition to MAS: JACK. Some of my colleagues and I have been wondering aloud whether one could build a nice interface to JACK for network audio. It looks like the answer is yes.

    As you correctly note, the real issue is latency. Servers like MAS cannot generally promise reasonable latency on the local side: latency matters there (indeed, it's all that matters).

    Dmix looks cool too, but as folks have pointed out, it's going to be tough to get it to work with the range of systems X runs on. Unless it's optionally layered atop JACK...

  38. I do. by Z-MaxX · · Score: 2, Insightful

    And, I would guess, many OS X users were seduced by the oh - so - beautiful user OS X user interface. I don't use OS X, but I wish I did, at least, if it was open source. (I need to be able to hack my OS.)

    OS X uses translucency, antialiasing, smooth shadows around windows, window warping, and 'fancy' things like the launcher bar thing (sorry, Mac users, I don't know the name of it!) at the bottom of the screen. Have you ever actually used OS X? Try it. Go to CompUSA or something and play around with a G5.

    Apple's interface makes you forget you're looking at simply a matrix of pixels, which is displaying rectangular regions called 'windows'. The smoothness of everything *far* surpasses anything I have seen in X. I've used KDE, Gnome, Fluxbox, IceWM, and others. I've tried hundreds of themes. I've made my own themes. But I still have no good visual cue where the bounds of the focused window are. The drop shadow is, IMO, a great feature. Your peripheral vision picks up the area of the focused window automatically.

    I could go on and on, but the point is, some people *do* care about having a beautiful desktop. It is also a usability feature and can make a person more productive.

    I spend 70% of my life looking at it, and I want it to be beautiful, dammit.

    --
    Dr Superlove 300ml. I use my powers for awesome