Slashdot Mirror


New X Proposal on Freedesktop.org

Bytal writes "Havoc Pennington (of Red Hat and GNOME fame) seems to have a very interesting entry in his blog on the development of a new extension to the venerable X server going on at freedesktop.org. More specifically it seems to provide for most things that people have clamoring for (alpha blending, flicker-free window compositing and switching, as well as even OpenGL integration) without altering the existing X protocol too much."

395 comments

  1. troll me by Anonymous Coward · · Score: 0, Informative

    Crappie broken slashdot blah

  2. this sounds like a great idea by fizz · · Score: 4, Insightful

    its about time someone does some decent work on the actuyal framework of the xserver, because right now, most limitations are not due to the window manager, rather the server.

  3. FreeDesktop.org at SCALE 2x by irabinovitch · · Score: 5, Informative
    Seth Nickell will be speaking about the freedesktop.org project and his work with GNOME.org at the Southern California Linux Expo on November 22, 2003. SCALE 2003 will be held at the Los Angeles Convention Center. More information is available on their website at http://www.socallinuxexpo.org

    For a free exhibit hall pass use the promo code 'free'.
    For 50% off a full access pass use the code 'sctek'

    1. Re:FreeDesktop.org at SCALE 2x by Anonymous Coward · · Score: 0
      For a free exhibit hall pass use the promo code 'free'.

      For 50% off a full access pass use the code 'sctek'


      And for a free beating, use the code "SCO".

    2. Re:FreeDesktop.org at SCALE 2x by Anonymous Coward · · Score: 0

      I have no life and they have a sense of humor. Looks like using the code 'sco' doubles the cost of a ticket!

    3. Re:FreeDesktop.org at SCALE 2x by Mitchell+Mebane · · Score: 2, Funny

      Heh. For a moment there, I thought you meant FreeDesktop.org's X would be getting Scale2x support. :P

      --

      The roots of education are bitter, but the fruit is sweet.
      --Aristotle
    4. Re:FreeDesktop.org at SCALE 2x by satanami69 · · Score: 1

      From there site:

      Purchase Tickets

      Congratulations! We have 2 Full Access SCALE ticket available! That's a total of 260 dollars. To order, simply click the button below simply click the button below to be transfered to Verisign's secure server for credit card processing.

      --
      I really hate Dan Patrick.
    5. Re:FreeDesktop.org at SCALE 2x by irabinovitch · · Score: 1

      Just to make it clear. That is with the SCO promo code which increases ticket costs by 2x. See the website for more accurate pricing.

  4. Mirror Early, Mirror Often by Scalli0n · · Score: 3, Informative

    For your enjoyment in case this server is /.'ed:

    2003-11-03: New X
    The freedesktop.org X hacking is low-profile unstableware at the moment, but one particular proposal interests me the most. Here is how I understand it, I'll probably get it wrong:

    The idea is to make the X server model-view. The server stores a tree of windows as it does now. However, unlike today, it keeps the full contents of each mapped window in memory at all times. For each window, the default view copies the window's contents over the contents of the parent window. This results in the same user-visible display you have today - but you could implement alpha blended windows by alpha compositing rather than copying each window into its parent, since we now have the parent window's contents.

    To this we add the ability for a "compositing manager" to replace the default view for a given window, using the aXe and XDamage extensions. The window manager might be the compositing manager for toplevel windows, for example.

    If a window has a compositing manager, it will not be composited into its parent automatically; the window is invisible until the compositing manager does something. An external compositing manager could emulate the default built-in compositing manager by using XCopyArea() (or alpha-aware equivalent) to copy windows into their parents.

    However, a more exciting compositing manager might apply embellishments/transformations to the window contents prior to drawing them, possibly drawing them using an API such as OpenGL. For example, you could add drop shadows. Or you could do effects similar to fast user switching or Expose. Or you could double-buffer the entire screen as a whole making workspace-switching, opaque resize, and other tasks flicker free. The compositing manager is rendering a scene in which the window contents are one element, so the possibilities are endless.

    Note that the window contents stay entirely on the server side, the compositing manager uses regular X protocol requests to manipulate them.

    Apps other than the single compositing manager can also use the damage extension; possible applications include VNC (desktop sharing), magnifiers, pagers with thumbnailing, and so forth. The compositing manager is a special kind of view in that it disables the default paint of the window to its parent, and is thus responsible for replacing that default paint. But there can be any number of extra views of a window.

    There are a lot of little complexities and open questions here, but the idea is pretty interesting. I'm waiting for something I can try out to appear in jhbuild so I can make metacity super-leet.

    --
    Sig & Below
    Yuck Fou
    1. Re:Mirror Early, Mirror Often by The+One+KEA · · Score: 1

      Amazingly, it's not. I just accessed it and Mr. Pennington's blog entry appeared lickety-split.

      --
      SCREW THE ADS! http://adblock.mozdev.org/ Proud user of teh Fox of Fire - Registered Linux User #289618
    2. Re:Mirror Early, Mirror Often by Anonymous Coward · · Score: 0

      "Note that the window contents stay entirely on the server side"

      I'm not familiar with the X protocol and changing this will probably defeat the main purpose and functionality of it but can we not get a version without this? I think this is the biggest problem with X; The layer after layer after layer of sometimes unnecessary overhead. If I only use it on my local machine as a regular desktop, I dont need all this overhead. The biggest problem I have with X is the slowness and choppy performance. Is there something that can be done about this - other than rewritting a whole new thing (or maybe this is what is needed)?

    3. Re:Mirror Early, Mirror Often by Anonymous Coward · · Score: 0

      What the hell are you saying? I look at all that shit and hear "blah, blah, blah"...

    4. Re:Mirror Early, Mirror Often by Anonymous Coward · · Score: 0

      > What the hell are you saying?

      Allow me to translate:

      "My attempts to bait AKAImBatman have failed miserably. Every time I try, he knocks me down and makes me mad. So, I'm trying the surefire trick of insulting him outright and making him think he's been had. THAT will get him to take the bait. Yep. Really."

      BTW, to the Psuedo-Scallion. I modded you down just to piss you off. Have a nice day! :-)

      AKAImBatman

  5. Excellent! by The+One+KEA · · Score: 1, Interesting

    But did anyone notice that this sounds a lot like Avalon and DX10 in the M$ world?

    I'm not flaming what Mr. Pennington is saying, but it does sound awfully similar. Although it will make the X experience a bit nicer, IMO.

    --
    SCREW THE ADS! http://adblock.mozdev.org/ Proud user of teh Fox of Fire - Registered Linux User #289618
    1. Re:Excellent! by joltguy · · Score: 2, Insightful

      Actually, I was thinking it sounds more like Apple's Quartz Extreme than anything else. Although I guess since Quartz already served as the "inspiration" for Avalon, our comments are compatible. Whatever the inspiration, this will be a nice leap forward for X.

    2. Re:Excellent! by Anonymous Coward · · Score: 0

      mod parent up!

    3. Re:Excellent! by Overly+Critical+Guy · · Score: 1

      What is "M$?"

      Are you talking about MS, as in Microsoft?

      I'm sorry, I don't speak Immaturity.

      --
      "Sufferin' succotash."
    4. Re:Excellent! by Anonymous Coward · · Score: 0

      Ah, you took a wrong turn. Here is the site you want.

    5. Re:Excellent! by Anonymous Coward · · Score: 0

      What is "M$?"

      Obviously you've never programmed in BASIC.

      Not that there's anything wrong with that...

  6. without altering existing X protocol "too much"? by lplatypus · · Score: 3, Interesting

    How much is "not too much"? Any modification may be enough to break an existing X application. So what will it break?

    Thankfully most of my favourite X applications are open source and actively maintained, so if this takes off I suppose they will be fixed if necessary (or at least fixable). An exception to this would be the old Loki games, which are neither open source nor maintained. I suppose this demonstrates one reason why closed source is bad...

  7. cool, now give me media pipes by ikoleverhate · · Score: 4, Insightful

    cool! decent opengl integration will make all those little flashy transitons and funny shaped windows that mac users have a snap to implement! x finally becomes less about boring rectangles, and becomes truly fun to hack ;) Lets hope this gets support from enough different groups to make it a standard. And then we can start hoping for something similar to the venerable pipe, but allowing easy use for graphical / media components! (ok i'll go back to dreaming)

    1. Re:cool, now give me media pipes by smd4985 · · Score: 1

      yeah, i am happy too. as fruity as some things on winXP and OS X can look, i think the more rounded, colorful interface is needed to get consumer desktop buy-in.

      --
      smd4985
    2. Re:cool, now give me media pipes by julesh · · Score: 4, Insightful

      X already supports funny shaped windows. Have you never run xeyes?

      The only problem with it is that almost all toolkits other than Xlib don't actually support it, so you have to hack around at a low level to use it, but its there, and if toolkit implementors bothered, it would probably become easy to use, too :-)

      And then we can start hoping for something similar to the venerable pipe, but allowing easy use for graphical / media components!

      You mean some kind of graphical pipeline, where one application transforms the graphical output of another one, and so on? There are graphic libraries available today that allow this kind of operation, but generally they don't operate well with GUIs (i.e. they run with one window that all of their output goes to). My only question is: what would you do with it? I can see that an ability to shrink or enlarge a window might be handy, but that's a much simpler task than the possibilities of what you're suggesting allow for...

    3. Re:cool, now give me media pipes by ikoleverhate · · Score: 1

      what would I do with it? Play mainly ;) but the main idea is to allow interoperability on the level plain ascii has. it would allow filters to be stacked (this would be handy for images, movies and sound), processing the media as desired, all modular with none of the apps/filters needing to know anything about the others, before a final dump to screen buffer / file / whatever. Wouldn't allow much more to be done than can be done now, but would increase scriptability and interoperability.

    4. Re:cool, now give me media pipes by ikoleverhate · · Score: 1

      oh yeah, and I'd like to be able to set up such a pipline with a shell script, and then allow it to run as a stream.

    5. Re:cool, now give me media pipes by damiam · · Score: 1

      gstreamer is basically a media pipe-based framework.

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
    6. Re:cool, now give me media pipes by Frnknstn · · Score: 1

      Why on earth are you so keen on funny shaped windows and all those other spurious eye-candy "features"? Nothind irritates me more than sitting down at somebody's box, and seeing a little drop shadow hanging behind their cursor. The Windows scrolling-out menus just waste time. And think how SLOW winamp 3 (or WMP 7 and above) is, when the only feature added since 2.91 was funny shaped windows?

      Not everyone likes having their resources tied up in eye-candy. I would have preferred some bug-fixes to Winamp 2.91 over anything Winamp 3 has to offer.

      I am not flaming you, I am expressing a differing opinion.

      --
      If it's in you sig, it's in your post.
    7. Re:cool, now give me media pipes by ikoleverhate · · Score: 1

      why am i so keen? I may as well ask why are you so unkeen... You sound like you expect it to be made compulsory or something! I think I can hack some nice looking stuff together by taking input from X and messing with it in opengl. The massive bonus here is that with all this going on in hardware accelerated opengl goodness it won't be slow (a bit of masking and blending is childsplay for a modern graphics card). Put it this way - think how fast winamp 3 could have been if windows had a hardware accelerated desktop! I (and most other people i would think) would have no problem with some of the hardware TnL pipeline already shelled out for doing some work on the desktop...

    8. Re:cool, now give me media pipes by the_consumer · · Score: 1

      Actually, you were flaming. But hey, you're right.

      --
      "If you're thinking what I'm thinking, you're right." -
    9. Re:cool, now give me media pipes by ikoleverhate · · Score: 1

      gstreamer looks very cool, thanks for the url

    10. Re:cool, now give me media pipes by PainKilleR-CE · · Score: 1

      Why on earth are you so keen on funny shaped windows and all those other spurious eye-candy "features"?

      It really depends on the features, but more importantly is the idea that it would be capable of using OpenGL to perform many of the functions, meaning that many of the eye-candy features would come at little to no cost. These types of features can be done by most of the video cards produced in the last 5 years with as much ease as displaying the window in the first place.

      Nothind irritates me more than sitting down at somebody's box, and seeing a little drop shadow hanging behind their cursor.

      What does it hurt? More importantly, why does it matter, since it can be disabled? Personally, I use a cursor at home that is a simple inversion of whatever is below it, which makes it easier for me to see it regardless of where it is on the screen.

      The Windows scrolling-out menus just waste time.

      On any modern PC the scrolling-out menus are in view long before you could have selected an option with the mouse, or even discerned where on the menu the option you're looking for might be, and you don't have to wait for them if you use the keyboard or go from one menu to the next.

      And think how SLOW winamp 3 (or WMP 7 and above) is, when the only feature added since 2.91 was funny shaped windows?

      I really couldn't say, since I stopped using it some time ago, however I would point out that WinAmp never used standard windows or controls in previous versions. iTunes for Windows has some problems drawing it's window, but manages to never interrupt playback (a problem I have with WMP sometimes), which means that at home (where all of my music is in MP3 format) it's all I use any more, despite hating the appearance of the application (but since I don't interact with the main window much, the drawing issues are not much of a problem, hopefully they can fix them, though).

      Not everyone likes having their resources tied up in eye-candy. I would have preferred some bug-fixes to Winamp 2.91 over anything Winamp 3 has to offer.

      The point, though, is that Winamp 3, for instance, has to do most of it's eye-candy in software, even if they bothered to code to OpenGL themselves to draw their windows, as they're being drawn over a non-OpenGL environment. They'll get some hardware acceleration (if they coded to OpenGL or DirectX), but it's not the same as it would be if the environment handled it for them. Drop shadows and transparencies are not state of the art techniques that require multiple rendering passes from current video cards. Of course, if they start talking about programmable shaders and various texture mapping techniques, you might have a point.

      --
      -PainKilleR-[CE]
    11. Re:cool, now give me media pipes by Anonymous Coward · · Score: 0

      Or the fact that all that fancy crap will still be slower than a clean rectanguar look no matter what you do. And then what happens to people without decent drivers or a (gasp!) 3 year old video card.

      The way Winamp3 was programmed, not even openGL would have saved it from slowness, there was just plain alot of useless crap going on whenever it is run.

      I hate programs that try to look cool but never think that all those effects just get in the way of things getting done. Who in their sane mind thinks a transparent console is useful it just makes not only the text underneath unreadable, but the stuff on top as well.

      I have nothing against eye candy, but please try to make your program look consistant and make sure there are no delays caused by useless effects (like menu fade in and roll out) that don't add to the program what so ever.

    12. Re:cool, now give me media pipes by julesh · · Score: 1

      Yeah, I see the kind of thing you're getting at. Like I say, there are several systems that can do this sort of thing already. I'm thinking primarily of GGI, but AVISynth is Windows software that can do this sort of thing too.

      There don't seem to be any real standards for this, unless you consider Window's DirectShow filters, which can kind-of do this sort of thing, and you can use AVISynth as a scripting language for them, I think.

    13. Re:cool, now give me media pipes by damiam · · Score: 1
      I would have preferred some bug-fixes to Winamp 2.91 over anything Winamp 3 has to offer.

      Try the Winamp 5 beta. Looks awesome, quite stable, and less CPU/mem usage than Winamp 2.x.

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
    14. Re:cool, now give me media pipes by MenTaLguY · · Score: 1

      And then we can start hoping for something similar to the venerable pipe, but allowing easy use for graphical / media components!

      Does GStreamer qualify?

      --

      DNA just wants to be free...
    15. Re:cool, now give me media pipes by Hooded+One · · Score: 1

      And think how SLOW winamp 3 (or WMP 7 and above) is, when the only feature added since 2.91 was funny shaped windows?

      You seem to know nothing about Winamp3. WA3 is to WA2 as Mozilla is to Netscape 4.x, just minus the open-source bit. The only reason 3 sucked so badly was because AOL made them release it far too early, kind of like Netscape 6. 3 was a complete rewrite of the UI to be component-based and portable. It's still being worked on, though it's been put on the back burner for the moment.

      Now, Winamp5 (on beta 2 at the moment) is closer to just Winamp2 with funny shaped windows, except that there have also been numerous improvements, such as some level of Unicode support.

  8. Re:without altering existing X protocol "too much" by Short+Circuit · · Score: 3, Insightful

    Assuming xlib isn't statically linked, I don't think there'll be too much of a problem. I'd even venture a guess that simpler applications wouldn't be affected at all.

  9. How about high-DPI monitor support? by swordboy · · Score: 4, Interesting

    We returned a new 19" monitor the other day because it was native 1600x1200. The text was unreadable at that resolution and lower resolutions simply looked like crap. We replaced it with a 1280x1024 bit but that is still on the small side.

    The last time that this was brought up on slashdot, most of the arrogant jerks tried to point out that you can "simply adjust the font size in the control panel". This doesn't work for anyone who has tried it.

    Longhorn will take a big step forward in this area. They will be rendering the window system and applying it as a texture so that the DPI of the monitor is irrelevant. X will be light years behind if it doesn't do this first.

    --

    Life is the leading cause of death in America.
    1. Re:How about high-DPI monitor support? by ikoleverhate · · Score: 2, Insightful

      >They will be rendering the window system and applying it as a texture as fast render to texture paths become more common on vid cards, this is becoming a very good idea. If individual windows are blitted to textures and the desktop is reassembled from these windows textures, surely that would be a way to pmplement all the cool extensions and still ensure old X apps don't break? Because the X app doesn't know it's being rendered to a texture...

    2. Re:How about high-DPI monitor support? by natbudin · · Score: 2, Informative

      IIRC, you can change the DPI in XFree86. There should be a setting for it in your display manager's config file.

    3. Re:How about high-DPI monitor support? by Anonymous Coward · · Score: 4, Informative

      Sorry mate, you're wrong. When I change resolution with my XFree86 the fonts stay the same size. The font sizes are calculated based on the dimensions of the monitor. If your fonts were unreadable you had configured something wrong (your distro had configured something wrong, whatever). In this case Windows has been light years behind X for a long time.

      However widgets etc. are not generally vector based and thus can look tiny (esp. @ 1600x1200), in this region Longhorn could jump ahead of most free software you use with X. However, all this needs is the toolkit people (GTK, Qt, etc.) to make their toolkits vector based and this will cease to be a problem.

      I don't think you deserved your mod points personally.

    4. Re:How about high-DPI monitor support? by Anonymous Coward · · Score: 0

      What do you mean "This doesn't work for anyone who has tried it."?

      In Gnome it works perfectly fine (just tried it).
      I'm quite sure that you can do this with KDE or any other decent desktop.

      Also the last sentence "X will be light years behind if it doesn't do this first." seems a little bit confused. How does not doing a thing first suddenly equal to "light years behind"?

    5. Re:How about high-DPI monitor support? by julesh · · Score: 1

      We returned a new 19" monitor the other day because it was native 1600x1200. The text was unreadable at that resolution and lower resolutions simply looked like crap. We replaced it with a 1280x1024 bit but that is still on the small side.

      My experience of running X on 1152x900 on a 17" monitor suggests that this is an appropriate resolution that doesn't cause too much issue; 1280x1024 should be more than fine.

      I've driven 17" at 1280x1024, and depending on your applications everything works OK. X is a lot more customisable than MS Windows: you can actually change almost any screen font in use in most situations.

      The biggest problem I have with high DPI displays is viewing web sites, which will need browser technology to change in order to be useful.

      Longhorn will take a big step forward in this area. They will be rendering the window system and applying it as a texture so that the DPI of the monitor is irrelevant. X will be light years behind if it doesn't do this first.

      Scaling text up generally produces hard to read results, so this can't actually be used to solve the web browser problem I mention above. All other problems can be solved in a much simpler way. But it needs application co-operation, which probably means that it won't happen. Oh well. Guess we should be supporting this kind of thing.

      (Incidentally, I saw a demo program for one of the many miscellaneous graphics libraries that did something like this; it was an X server that rendered onto the surfaces of a 3D cube you could move, scale and rotate as you wanted. Can't remember where this was, though...)

    6. Re:How about high-DPI monitor support? by Short+Circuit · · Score: 1

      My Debian installation CDs tells me that some font renderers don't work well at DPIs other than 75 or 100. Is that old news from a stable-series install CD, or is that still an issue?

    7. Re:How about high-DPI monitor support? by spydir31 · · Score: 4, Informative
      Try this on,
      If using gdm, open /etc/X11/gdm/gdm.conf with your favorite editor, find the following,
      command=/usr/X11R6/bin/X
      append -dpi 100 or whichever you prefer.
      HTH
    8. Re:How about high-DPI monitor support? by Omnifarious · · Score: 1

      Why doesn't adjusting the fonts size from the control panel work? That's what I do, and it works fine for me. I actually want a 3200x2400 monitor so I can use fonts with a larger number of pixels per letter and anti-aliasing, even for the tiny letters I like in my editing and terminal windows.

    9. Re:How about high-DPI monitor support? by Anonymous Coward · · Score: 0

      You will hear it here, too: simply adjust the font size in the control panel.

      Works in both Win (2k and XP) and Linux. In Windows, use "Large fonts" or use custom DPI. If some application doesn't respect it, it is a bug and contact your vendor. In Linux, it figured out the correct DPI by itself. You can still adjust the font size, though.

      And no, rendering widgets into texture and then texturing polygons will not help you with font sizes. If you don't want blurry filtered fonts, it would require adjusting texture size, so it will map 1:1 onto polygon and rendering fonts with correct size into texture. There is nothing that OGL/DX can do about font sizes by itself.

      Heck, I'm typing this on 17" LCD with 1280x1024 on WXP with Large fonts turned on and the text size is OK.

    10. Re:How about high-DPI monitor support? by yerricde · · Score: 1

      Why doesn't adjusting the fonts size from the control panel work?

      Because many poorly-written but mission-critical vertical-market applications don't handle a system resolution change well.

      --
      Will I retire or break 10K?
    11. Re:How about high-DPI monitor support? by julesh · · Score: 1

      How does not doing a thing first suddenly equal to "light years behind"?

      Well, I guess not doing something first means doing it (at least) second, at which point for the period of time between the first person doing it and the second (or whatever) they will be behind.

      Not ultimately clear, but I got what he meant.

    12. Re:How about high-DPI monitor support? by julesh · · Score: 4, Informative

      Its a reference to the fact that the bitmapped fonts are only available in those resolutions and might have to be scaled for other ones. Chances are, you aren't actually using any bitmapped fonts any more (most modern apps don't bother, the only one I ever use that does is xterm), so it shouldn't actually affect you. Give it a go and see.

    13. Re:How about high-DPI monitor support? by cymen · · Score: 4, Funny

      The obvious solution to your problem is to buy 200-300 19" "monitors" (we're actually talking about LCDs, right?) and donate one or two to any X hacker you can find. Your problem should be documented with numerous workarounds and possibly fixes within a couple months.

    14. Re:How about high-DPI monitor support? by dabadab · · Score: 1
      "Chances are, you aren't actually using any bitmapped fonts any more (most modern apps don't bother, the only one I ever use that does is xterm)"

      Even xterm can use non-bitmapped fonts. You can type something like
      xterm -fa AndaleMono
      and there you go.
      --
      Real life is overrated.
    15. Re:How about high-DPI monitor support? by 4of12 · · Score: 3, Interesting

      all this needs is the toolkit people (GTK, Qt, etc.) to make their toolkits vector based

      IIRC, SVG icons are starting to be supported by both KDE and Gnome.

      More SVG applications and more capable SVG authoring tools could be a really great impetus for migrating X away from the bitmap-centric universe.

      --
      "Provided by the management for your protection."
    16. Re:How about high-DPI monitor support? by drsmithy · · Score: 1
      The last time that this was brought up on slashdot, most of the arrogant jerks tried to point out that you can "simply adjust the font size in the control panel". This doesn't work for anyone who has tried it.

      That's because you need to bump up the *DPI* appropriately, not the font size. If Windows detects your monitor correctly, then I think it'll do it automatically - but if not a minute or two with a ruler and the Advanced Display Properties screen should get an appropriately scaled display.

      Note than some apps (like an increasing number of web pages) have poorly chosen hard-coded fonts that *won't* scale properly, but IME most are ok.

    17. Re:How about high-DPI monitor support? by drsmithy · · Score: 1
      The biggest problem I have with high DPI displays is viewing web sites, which will need browser technology to change in order to be useful.

      No, it just needs idiotic web designers to stop hard coding font sizes.

      The web *was* perfectly resolution independent until people started coming up with stupidity like "optimised for 800x600" web pages.

    18. Re:How about high-DPI monitor support? by The+Troll+Catcher · · Score: 1

      Then this really isn't about system support - it's about poorly-written apps. I've seen just as many apps written for windows that don't properly resize when you increase the font size, due to idiots who specify the widget sizes in pixels, instead of using a real layout manager that will automatically size the widgets so you can actually READ ALL THE TEXT THAT IS IN THEM!

      Sorry, just had to get that off my chest....

      BTW, I run X at 1600x1200 on my 19-inch monitor, and with KDE it works great - I have fonts nice and big so I can read them :)

    19. Re:How about high-DPI monitor support? by galen · · Score: 1

      Just FYI, I've been stuck developing for Windows for the past couple of years and the worst thing about it? No layout managers in Visual C++. The MFC libraries are very dumb when it comes to screen layout. Everything is hardcoded on a grid system and if you want to handle resizing you've got to do it yourself.

      (Okay, so maybe that's not the worst thing about programming on Windows, but it's up there with about 800 other awful 'features' of the platform.)

    20. Re:How about high-DPI monitor support? by iabervon · · Score: 1

      A quick calculation gives 2000 dots on the 19" diagonal, which is pretty close to 100 DPI. Luckily, 100 DPI is a standard X font scale, so just switching from your -75-75- fonts to -100-100- fonts should make all your otherwise familiar bitmap fonts look right (or, at least, look only a little wierd).

    21. Re:How about high-DPI monitor support? by julesh · · Score: 1

      No, it just needs idiotic web designers to stop hard coding font sizes.

      Actually, hard coding font sizes isn't the issue. I can resolve that with features available in my current browser. Images that are hard to see properly on high resolution displays are the biggest issue at the moment.

      The web was only resolution independent up until the tag was added...

    22. Re:How about high-DPI monitor support? by Anonymous Coward · · Score: 0

      Well, you could also run it at a lower resolution. You don't HAVE to run the monitor at the highest resolution it supports.

      Also, you can scale up font sizes, icon sizes and window decoration sizes quite easily in both kde and gnome. What exactly is the problem with doing that? (Apart from there not being a single "make it bigger" setting)

    23. Re:How about high-DPI monitor support? by John+Allsup · · Score: 1

      There are various places, e.g. cleartype, where simply rendering to a texture and applying it in a resolution independant way will not work. Font rendering at small sizes tends to need to be closely tied to the underlying pixel grid. Thus I don't think that Longhorn is quite doing what you are describing.

      --
      John_Chalisque
    24. Re:How about high-DPI monitor support? by Anonymous Coward · · Score: 0

      Has this improved with .net. From my quick look it's still the same old mechanism with very slight enhancements for resizeable windows (anchors). No dynamically adjustable widgets...

    25. Re:How about high-DPI monitor support? by Anonymous Coward · · Score: 1, Informative

      append -dpi 100 or whichever you prefer

      Unfortunately, the font becomes bold once it reaches a certain size, and then it looks like crap. Turning on antialiasing makes it look blurry, and subpixel rendering makes it look off-color and still blurry.

      Changing the resolution on an LCD also makes everything look blurry, so that won't work.

    26. Re:How about high-DPI monitor support? by k-zed · · Score: 1

      Funny that I don't get this sort of problems... I use 1600x1200 on a 19" monitor as well (and 1024x768 on 17" as a secondary display). Of course I use an increased font size, both with GTK2 (set in gnome-control-center - no distorted widgets, everything looks perfect), and the web browser, which is Galeon (also, everything looks good). Heck, even Japanese text looks fine in any font size. (The fact that I don't use bitmap fonts (except for my programming terminal w/ vim) might make a difference though...)

      --
      we discovered a new way to think.
    27. Re:How about high-DPI monitor support? by master_p · · Score: 1

      Actually, a window system needs both capabilities: 1) to adjust the font size to the preferred one, relative to the current screen size and 2) adjust the screen size itself.

      Why is it so difficult to replace the XLib protocol implementation with OpenGL calls ? at least we could have full acceleration of the desktop. And the X server might render windows as textures, then composite the screen every 1/60 for ultra smooth update.

      Another topic: Why is alpha blending so important ? beyond eye candy, it does not help.

    28. Re:How about high-DPI monitor support? by mindstrm · · Score: 1

      Speaking of cleartype.

      Cleartype on a 1600x1200 15" laptop screen, with the windows DPI setting set arbitrarilty to 120... makes fonts look AMAZGING.

      Nothing has touched those for me yet.. no linux tricks, not even the really nice rendering on OS X.

      Of course, I still hate windows.. but cleartype is nice.

    29. Re:How about high-DPI monitor support? by Anonymous Coward · · Score: 0

      My 20.1" 1600x1200 flat panel is just fine, as long as I choose the proper fonts.

      With something like GNOME, the default fonts are large enough, and look fairly ok, at least with subpixel rendering turned on.

    30. Re:How about high-DPI monitor support? by Alan · · Score: 1

      Longhorn will take a big step forward in this area.

      Longhorn however, hasn't had it's new interface shown or examined in public, and isn't due out for at least another two years, so what they will do isn't really relevant IMHO.

    31. Re:How about high-DPI monitor support? by shibashaba · · Score: 1

      For some reason I have no problems reading the text on a 15" running at 1400x1050 and a 17" at 1600x1200. I don't see why so many people are having problems at high resolutions. I come across a couple websites here and there that don't look right but thats about it.

      --
      ---------- Open Source is capitalism applied to IP.
    32. Re:How about high-DPI monitor support? by Anonymous Coward · · Score: 0

      IIRC, SVG icons are starting to be supported by both KDE and Gnome.

      FWIW (and I realise KDE zealots don't like to hear this): GNOME already supports SVG and has for a while. KDE is only just beginning to adopt it... and they are using GNOME code to do it (while making seem like they are leading the way, natch).

    33. Re:How about high-DPI monitor support? by Anonymous Coward · · Score: 0

      Ir really sounds like something's not right. I get nothing like that on my linux/xfree system. Make sure you're not following some obsolete "XFSTT" setup tutorial or something. A modern distro e.g. Mandrake 9 or later handles outlines excellently (at least as good as windows, probably on a par with Mac OS X, provided you manually reconfigure your DPI), you can even click a button to have it grab all the windows fonts from the windows partition.

    34. Re:How about high-DPI monitor support? by revmoo · · Score: 1

      The last time that this was brought up on slashdot, most of the arrogant jerks tried to point out that you can "simply adjust the font size in the control panel". This doesn't work for anyone who has tried it.

      Well, here I am on a 19" display, running at 1600x1200, using high-dpi fonts, and I can't help but say you are incorrect. Perhaps you have changed the wrong setting, or you have more dire font problems on that machine, but trust me, high-dpi fonts DO work(and they look tons better, especially at high resolutions).

      --
      I would expect such blatant racism on Fark, but on Slashdot? Mods please ban this asshole.
    35. Re:How about high-DPI monitor support? by Bert64 · · Score: 1

      I believe 4DWm, as used on IRIX workstations.. has supported vector icons for years, atleast my indy running irix 5.3 did, and thats over 10 years old afaik.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    36. Re:How about high-DPI monitor support? by sydb · · Score: 1

      Well, I just bought a Thinkpad, stuck Debian on it, didn't configure anything beyond the defaults, and type looks more beautiful than any other computer / operating system combo I've seen, including the mac I'm currently sitting at. I haven't worked it out yet, but the Thinkpad display is simply divine; perhaps it's something to do with the hardware.

      --
      Yours Sincerely, Michael.
    37. Re:How about high-DPI monitor support? by furballphat · · Score: 1

      And the X server might render windows as textures, then composite the screen every 1/60 for ultra smooth update.

      This would do nothing to stop update flicker. The current problem is becuase the program is still drawing while the framebuffer is composited to screen. Drawing the window to a texture would do nothing to change this as a locking mechanism is needed which X has no support for.

    38. Re:How about high-DPI monitor support? by spitzak · · Score: 1
      They will be rendering the window system and applying it as a texture so that the DPI of the monitor is irrelevant

      This is not true. If the texture is made of pixels (and not a display list) then it is extremely important that the texture be made at the same resolution it will be displayed on the screen, or some integer multiple (up to about 10 or so, at which point it probably does not matter if it is an integer multiple or not).

      You are probably confusing the texture mapping with the new floating-point drawing interface. The drawing interface is what makes it easier for a program to scale and still produce nice output. However the output would be equally nice even if the system was otherwise like present-day Windows or X and drew directly into the framebuffer.

      Texture-mapping does not help the quality of the display and could hurt by making it too easy to accidentally get multiple resizes of images and fonts before the display.

    39. Re:How about high-DPI monitor support? by mattdm · · Score: 1

      They will be rendering the window system and applying it as a texture so that the DPI of the monitor is irrelevant.

      That sounds like a terrible idea. Knowing exact real pixel positions is *key* for rendering font hinting properly. Fixing the problems you're talking about *require* DPI-specific knowledge. Rendering text in the abstract and then scaling it down (or, eek, up) to fit will be pure ugliness.

    40. Re:How about high-DPI monitor support? by Anonymous Coward · · Score: 0

      I'm using a 19" monitor at 1600x1200 resolution right now and I can read the text just fine... and my font size is whatever the default is. I'm using Gentoo Linux with XFree86 version 4.3.0 and the Sawfish window manager. The only trouble I've ever had with fonts is when people design their web pages stupidly, and even then I just use the "increase text size" function in Moz. Firebird

    41. Re:How about high-DPI monitor support? by Anonymous Coward · · Score: 0

      I personally like DirectX windows programming best.
      There's nothing like becoming a calculus major overnight so you can write your 2d graphics in an API (based entirely in vectors) that isnt being `phased out' like DirectDraw. being off by a single pixel causing your entire image to be filtered into a blurry mess.

  10. Good idea, but not new by Chris_Jefferson · · Score: 5, Insightful

    The main principle here seems simply to be for the X-server to store each window, wether it be visable or not. At the moment if you stack windows on top of each other the X-server forgets what is on the covered up bits, and when the window becomes visable again it is redrawn. This was a good idea back when memory was scarce, because storing X full screen applications could take X*screensize memory. However today with more memory, we can store all those windows without forcing a redraw.

    This is long overdue in X, and also as stated makes things like alpha blending, and Mac OS-X style openGL window-dragging acceleration much more trivial, and also for those who like network transparency, won't require resending windows each time they become visable (although adds the new problem that unless you are careful you could end up spending lots of time sending updates to non-visable windows). It is of course nessasary to allow some chucking of hidden windows (because full screen 32-bit images still take up quite a lot of room), but overall its a good plan!

    --
    Combination - fun iPhone puzzling
    1. Re:Good idea, but not new by Short+Circuit · · Score: 1

      Isn't that how NextStep (and thus OpenStep) always worked?

    2. Re:Good idea, but not new by Anonymous Coward · · Score: 5, Informative
      This is long overdue in X

      Uh, this idea is called "backing store" and it's been around since, I believe, X11R4. I'm not sure what this proposal does that's new, other than offer new uses for it.

      Given the current bloat of GTK and Gnome when trying to run remotely (even over 100Mbit), backing store is a good thing. When an application lets you turn it on. Which GTK doesn't. Heck, I've even seen a GTK developer claim "X doesn't have any backing store concept." Geez, people, learn your existing technology!

    3. Re:Good idea, but not new by Anonymous Coward · · Score: 0

      OK I know the tone isn't great, but mod parent up!!!! He's right, kde w/ backing store works great. Of course as soon as I launch mozilla things seem less wonderful because moz doesn't support backing store...but hey if ppl realized this was available maybe things wouldn't seem so bad...

    4. Re:Good idea, but not new by Enahs · · Score: 1

      I wish I had moderator points right now. :-D I also wish I had the money to buy some GTK+ developers some X11 developer manuals.

      --
      Stating on Slashdot that I like cheese since 1997.
    5. Re:Good idea, but not new by Anonymous Coward · · Score: 1, Insightful

      > Heck, I've even seen a GTK developer claim "X
      > doesn't have any backing store concept."

      Yes, and this is scary. I am afraid however this
      is an all to common situation that comes up in
      the Linux community. A significant percentage of
      the Linux community are not Unix technical types.
      They are not motivated by the Unix way and
      technical excellence. Instead the are motivated
      by political and social concerns. They blather
      on about the wonders of this or that bit of
      GPL'ed/Linux software when in fact they haven't
      a clue as to its technical merits or correctness.

    6. Re:Good idea, but not new by renehollan · · Score: 2, Interesting
      Yeah, "backing store" was the first thing that I thought of when I read the article and the need to store non-forground windows.

      But, why not have the server ask the appropriate client for the necessary window, if needed to do a, *gasp*, software alpha-blend and there being no backing store for it? IOW, just treat backing store as a cache which may or may not be present. Hardware supported alpha blends, of course, *require* both windows to be present.

      Then again, I may be talking out of my ass: I've played with X a bit, but am not an X guru, by any means.

      --
      You could've hired me.
    7. Re:Good idea, but not new by DAldredge · · Score: 1

      That post you are talking about happened in 2001.

    8. Re:Good idea, but not new by Anonymous Coward · · Score: 1, Informative

      The backing store is disabled by default - for local X clients it's slower than just having the client application redraw itself.

      X doesn't have any workable backing store concept. By workable, I mean 'capable of being accelerated in a way that doesn't involve shoving the bitmap of the window down a pipe each time'. A workable backing store concept would be one that let the window bitmaps live in video memory - graphics processors can move data around in their own memory far faster than the general-purpose processor can. They also can scale them, make them transparent, or composite several sets of them - with little or no intervention from the CPU. This isn't an arrangement targeted at applications running over the network.

      If you want to use the backing store for GTK applications in XFree86, use X +bs. Just don't expose too many windows at once - the X server has to copy the images from main memory out to VRAM, and that's slow.

    9. Re:Good idea, but not new by Anonymous Coward · · Score: 0

      There's large number of X "features" which are routinely ignored or worked around by Unix software developers - font management, printing, and so on.

      Either these devs are all Windows idiots, or just perhaps, this stuff just does not work as advertised.

    10. Re:Good idea, but not new by otaylor · · Score: 5, Informative

      Likely the GTK+ developer was me. I certainly didn't say that X has no concept of backing store. I may well have indicated that the current X implementation of backing store quite typically does more harm than good. For instance, under some circumstances, X will store arbitrarily large amounts of pixel data *outside* of the windows bounds in the windows backing store. (Having traced through the X server code to figure out why this was happening some years ago, I can authoritatively say that X does have a concept of backing store.)

      Keith's new extension is quite different from traditional X backing store; the obvious difference is the ability to control how the windows are composited to the screen. But there are other differences; the server, for instance, uses only a single backing store buffer for the entire toplevel window, instead of one for each subwindow.

    11. Re:Good idea, but not new by reflective+recursion · · Score: 1

      The _current_ community is largely concerned with politics, but the _old_ community had its roots firmly in technical land.

      I don't imagine it was an original GTK+ developer (I'm starting to dislike that word, too) that said that about X. The guys who started GIMP and later branched GTK+ out of GIMP were smart people. I'm not fond of the GNOME crowd, though.. (they are not the same, either.. even if there is overlap here and there).

      Back in the day GPL issues ONLY came about when one type of licensed software was used in GPL (or vice-versa). Today license issues are used to persuade opinion (and I'm not even talking RMS here..). Take a look at advogato.org if you want to see what happens when politics erode and eventually kill a community.

      The most common problem is someone will see a potential threat to their precious free software and write a lengthy flamebait-infested "article." Full of speculation and paranoia. If only people could move beyond seeing every little thing as a possible threat to GPL or free software in general, we could have a much better community.

      --
      Dijkstra Considered Dead
    12. Re:Good idea, but not new by Wills · · Score: 1
      • "under some circumstances, X will store arbitrarily large amounts of pixel data *outside* of the windows bounds"

      "Arbitrarily large amounts" is the same as saying "any number of units between 1 and infinity". Are you talking about an X which is a Universal Turing Machine :-) Are you sure you meant to refer to X instead of XFree86. In other words, have you really identified a problem in the design of X rather than a bug in the implementation in XFree86? Whether or not you like the design of backing-store mechanism in X, there are commercial Xservers which have implementations of backing-store that correctly follow the X specification.

  11. Discussion summary by binux · · Score: 4, Insightful

    Let's summarize the discussion that this is going to trigger:
    Whine 1: X is slow and bloated we need a replacement.
    Response 1: The XFree86 implementation may be slow and bloated and not the protocol.
    Response 2: Come up with something better and we'll talk.
    Whine 2: Who uses the remote display capability of X anyway?
    Response 1: On local displays X uses shared memory and is fast enough.
    Response 2: If 5% of the users need the feature it should be retained.

    1. Re:Discussion summary by The+One+KEA · · Score: 1

      The first two responses to the first whine make sense. That's what Jonathan Walther is up to here.

      It's semi-vaporware at the moment due to Mr. Walther getting stuck in a legal quagmire, but check the list mbox and you'll see that development is proceeding along quietly.

      --
      SCREW THE ADS! http://adblock.mozdev.org/ Proud user of teh Fox of Fire - Registered Linux User #289618
    2. Re:Discussion summary by Seahawk · · Score: 1

      Did you rtfa?

      Noone whines about anything, but there is talk about an extension that makes sense AND does not ruin network transparency...

      You seem to be the only one dragging old arguments out of the closet, and why that is interesting, I fail to see! :o/

    3. Re:Discussion summary by julesh · · Score: 1

      The moderators are hoping he'll preempt everyone else who was going to drag those arguments out. Of course, it won't work, the people who always drag the same arguments out again don't actually read what anyone else has said...

    4. Re:Discussion summary by FooBarWidget · · Score: 1

      It's not an article, it's a blog.

      While Havoc and other informed developers don't whine, the average Slashdotter does. THAT'S the problem.

    5. Re:Discussion summary by Anonymous Coward · · Score: 0

      It's funny really, Windows has gone from being a locally processed desktop with no protocol (which is viewable to the outside world at least) to being a remote protocol like X (all local interactive sessions are actually rdp sessions) in the same time that X, which is required by many because of it's external accessability has started to tend towards being a local only desktop.

    6. Re:Discussion summary by binux · · Score: 1

      Oops... Nothing against the proposal in the article. I meant the slashdot discussion any aritcle on X triggers.

    7. Re:Discussion summary by Outland+Traveller · · Score: 2, Insightful

      The remote display capabilities of X are one of it's strongest suits. I only wish it worked with opengGL accellerated apps.

      Once you start dealing with a few computers, transparent remote display becomes second nature and indispensable.

      Much like the virtual desktop concept, transparent remote display is one of those really GREAT features of unixy desktops that lots of people don't use simply because they don't understand how it can work for them. It's an education issue.

    8. Re:Discussion summary by Anonymous Coward · · Score: 0


      The remote display capabilities of X are one of it's strongest suits. I only wish it worked with opengGL accellerated apps.


      Uh, it does, it's called GLX.

    9. Re:Discussion summary by Outland+Traveller · · Score: 1

      Ugh, it doesn't work with the majority of high-end drivers.

      Don't be a wiseguy and mince words. The bottom line is that most people can't remote display openGL, and that was my lament.

  12. Wow by Anonymous Coward · · Score: 0

    What a cool idea for topic image for X! It has that little x and everything!

  13. Karma Whoring? by Anonymous Coward · · Score: 0

    This a text only webpage - I doubt it will go under.

  14. Re:X? by Anonymous Coward · · Score: 0

    Seriously perhaps it is time for X11R8. A revision that doesn't break compatability, i.e. not X12R1.

  15. This would be cool... by Realistic_Dragon · · Score: 3, Interesting

    It's really important for me to be able to get to my PC from the lab (as I am doing now) and run all my apps (thank god for switched networks and gigabit ethernet - I'm using 1100k/sec at present, it used to only be possible to use 16 colour mode 800x600 VNC because of network congestion, now 24 bit desktops forwarded over SSH is fine). As such the biggest reason I wouldn't consider jumping to Apple is the fact that on Linux X 'just works' in a networked environment. I can browse local and remote filesystems with no pain at all, and it's very responsive.

    If X is going to get the ability to do OS X's flash graphical tricks (the useful ones at least - functionality before form please) then this will make my desktop experience much more plesant, whilst still giving me a stable and predictable environment wherever I happen to be working. Even if the flash tricks are only available locally (at least until the college upgrades to terrabit ethernet...) it'll still be a pretty big bonus.

    --
    Beep beep.
    1. Re:This would be cool... by Anonymous Coward · · Score: 0
      I wouldn't consider jumping to Apple is the fact that on Linux X 'just works' in a networked environment.

      OS X 10.3 has X11 built in.

      It also has the Apple Remote Desktop Client built in if you want to be all aqua about it (you will have to purchase the ARD package to connect though).

    2. Re:This would be cool... by the_2nd_coming · · Score: 1

      uhh...Panther qllows automatic remote file system browsing, no setup required.

      --



      I am the Alpha and the Omega-3
    3. Re:This would be cool... by redmoss · · Score: 1

      On Apple X "just works" also. I'm currently using Panther with Apple-supplied X. Start up X and you have a terminal window. Most of the commands you are used to from Linux will work from this terminal window. For example "ssh -X somehost run_gui_app" launches XWindows apps from a remote host on my Mac.

      When my Linux box's video died, I decided to just give up on it. Now I either ssh into it from my Mac for CLI sessions or use ssh-tunnelled X forwarding to launch GUI apps. No problem!

      BTW, OS 10.3 has X built in; you don't have to download and install it separately any more.

    4. Re:This would be cool... by Realistic_Dragon · · Score: 1

      I would be running it the other way around - CAD apps on my Mac, from a Solaris host in the lab. Doesn't work, because the interface is all aqua'd up on most (all) CAD apps (plus Labview, which I need) you can get for Mac.

      The Linux versions run happily, because you it just sits on top of X. The Linux version on the Mac would work, if the Mac could run it (x86 binaries only of that version).

      --
      Beep beep.
    5. Re:This would be cool... by Anonymous Coward · · Score: 0

      VNC (which you spoke of using at the moment) runs perfectly well on a mac.

      There is also ARD for Mac-Mac remote access stuff.

  16. Extra Memory Usage by mickwd · · Score: 5, Informative

    "The server stores a tree of windows as it does now. However, unlike today, it keeps the full contents of each mapped window in memory at all times."

    What are the memory implications of this ?

    With many people using resolutions of 1280x1024 or 1600x1200 in 24-bit or 32-bit colour, dual-displays and multiple desktops becoming more common, this could chew up a lot of RAM.

    A single, maximised window at 1600x1200/32-bit is going to use 7.5MB, even if it's just a terminal window. I can quite easily have 10 windows open at one time, especially when web browsing (OK, not all maximised, but not all small, either). There goes 75MB of RAM, just for the screen display (let alone the extra memory X uses for pixmaps, etc). If it's constantly being accessed in order to update the display, it won't be easily paged out to disk, either.

    Things like tabbed browsers and terminal programs help quite a bit (assuming that the contents of each tab won't be stored in RAM - or will they ?). But not everyone likes using them.

    Would someone with more knowledge about the current workings of X care to comment ?

    1. Re:Extra Memory Usage by Erik+Hensema · · Score: 3, Informative

      The server can simply store the information in the video RAM, where it belongs. As long as the data fits in video mem, it won't cost you any main memory.

      --

      This is your sig. There are thousands more, but this one is yours.

    2. Re:Extra Memory Usage by Anonymous Coward · · Score: 0

      Perhaps if you are interested in alpha blending for all your windows you don't care about the mem it needs.

    3. Re:Extra Memory Usage by julesh · · Score: 1

      I don't know about the original poster, but I don't have that much video memory. 16Mb is, I think, about average these days. Many people still only have 8.

    4. Re:Extra Memory Usage by Xyde · · Score: 1

      Mac OS X seems to accomplish this without any issues, even on low end (16Mb radeon) cards.

    5. Re:Extra Memory Usage by Matthias+Wiesmann · · Score: 1

      Mac OS X offloads as much as possible on the RAM of the video card, additionally, graphical buffers are compressed (RLE), to gain some additional space.

    6. Re:Extra Memory Usage by mickwd · · Score: 3, Interesting

      Yes, but how fast can data be read back from video RAM to the processor ? I'm sure some visual effects can be processed by the card itself, but the main processor is also going to need speedy access to that data.

      In my (perhaps a little contrived) example, I was using over 64MB of video RAM. I'm sure the majority of people are still using graphics cards with 64MB or less of memory (hard-core gamers being an obvious exception).

      Actually, that brings up another question. What does X already support by way of backing-store and save-under memory ? (Excuse me, my memory of X operation is very hazy).

    7. Re:Extra Memory Usage by IamTheRealMike · · Score: 5, Informative
      I am not an expert but I'll answer as well as I can.

      What are the memory implications of this ?

      The reason keithp is going to be buffering each node in the window tree is for memory reasons - buffering entire toplevel windows is far too expensive. It involves two extensions, aXe and XDAMAGE to work correctly. I believe XDAMAGE is partly useful for reducing the work needed to implement eyecandy effects, but it's all new to me too so I'm prolly wrong.

      Secondly, MacOS X gets around the memory requirements partly through heavy use of video RAM and partly through compressing and decompressing toplevel windows on the fly (as far as I know). I wouldn't be surprised if the new X team take a similar route.

      Finally, I don't think OpenGL will feature in this. OpenGL is a neat 3D API but not so great at 2D work - we seem to be heading towards using XRender as our low-level 2D API with Cairo providing a Quartz style drawing system on top. That doesn't imply speed loss - both OpenGL and XRender are abstractions over the hardware acceleration engines of the card, so there's no reason why XRender based apps could not get the sort of speeds we associate with 3D HW accel (even if today it doesn't reach those speeds). The advantage of going the Xrender route is that it's much easier to mix and match the old style and new style rendering (note how OpenGL requires you to set it up for a particular rect but XRender can just be used as a standard drawing op).

      Like I said, no expert, keithp is the canonical source for this, but that's what I've gathered from reading and listening.

    8. Re:Extra Memory Usage by BenjyD · · Score: 1

      A graphics card with 32mb RAM and a reasonable GPU (geforce2 MX) is $30. We're not exactly talking new whizz-bang cards here - I bought a geforce2MX eighteen months ago now, and it was outdated then.

      An average, modern-ish desktop PC is probaby going to have at least 256mb ram and a 32mb graphics card. Just because some people don't have the required computer doens't mean work shouldn't be done for those that do.

    9. Re:Extra Memory Usage by Anonymous Coward · · Score: 0

      Really?

      Practically all new cards have 128M, with 256M slowly becoming the standard for middle and high end.

    10. Re:Extra Memory Usage by FooBarWidget · · Score: 1

      Yes, the *new* cards. What about older cards? Lots and lots and lots of people are still using old cards.
      Yes yes a new card is cheap etc. etc. But the average user doesn't know how to install a new graphics card! Do you expect your grandma to open her box and install a new graphics card?

    11. Re:Extra Memory Usage by damiam · · Score: 1

      I don't think anyone I know has 8MB of video RAM. Generally, either people have a shitty onboard video solution that lives off of system RAM (these people generally don't care about display quality/effects), or they have a reasonably new video card (GeForce3 or later) with 64MB or 128MB of RAM.

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
    12. Re:Extra Memory Usage by image · · Score: 2, Insightful

      What are the memory implications of this ?

      I think there is one thing we've learned time and time again -- today's memory considerations become largely irrelevant tomorrow. Yes, someone here mentioned that people today do still have video cards with 8MB or 16MB of video RAM. However, more and more people (largely driven by gaming "needs") are running cards with 128MB, 256MB, etc. A Moore's-esque law is in effect here as well (though not as extreme as with CPU cycles). The cost of adding a bit more RAM to a video card is rapidly becoming negligible relative to the total cost of the card.

      You can even ignore the compression of the data itself (Apple's approach of today) -- by the time an X implementation like this is available, there will be enough users with effectively limitless video RAM to easily store the contents for a double-buffered very high resolution display.

      So while I too have plenty of machines with 8MB video cards and I won't be running these X extensions on those machines, I have little doubt that in a year or two time it will be hard *not* to buy a card that could support this. And this, I believe, is a good thing.

      Think about how few fundemental changes to the X architecture have been made to take advantage of the vastly improved video cards of today. This is a project that is actually forward looking and will use the capabilities of the hardware that we will all own tomorrow, whether or not we realized we wanted it today.

    13. Re:Extra Memory Usage by Anonymous Coward · · Score: 0

      Your grandma runs X? :-o

    14. Re:Extra Memory Usage by 10Ghz · · Score: 2, Insightful
      Yes, the *new* cards. What about older cards? Lots and lots and lots of people are still using old cards.


      Then those users keep on using the "old" X, instead of this "new and improved" version. No-one is forcing them to use this new system, they can go on using the old system as long as they wish. But since there are lots and lots of people who could and would use this new feature, then why not do it? Because there are still some old geezers with vid-cards that have 4MB of RAM in 'em?
      --
      Lesbian Nazi Hookers Abducted by UFOs and Forced Into Weight Loss Programs - -all next week on Town Talk.
    15. Re:Extra Memory Usage by naasking · · Score: 1

      Reading from video memory is very slow. It's optimized for writing, so it can't be used as general purpose storage.

    16. Re:Extra Memory Usage by Hard_Code · · Score: 2, Insightful

      I am consistently amazed at how myopic and conservative some old school open source projects are these days. The X old guard are seriously skirting making X completely irrelevant if they do not become more open and start adopting things that real users want. It takes money to make money, and it takes cycles to save cycles (i.e. it takes more resources to more efficiently save more resources). I can't believe there is resistence to an optional extension that would bring X more up to par with modern desktop environments like Aqua/Quartz.

      --

      It's 10 PM. Do you know if you're un-American?
    17. Re:Extra Memory Usage by aliquis · · Score: 1

      Do you expect him to run X?

    18. Re:Extra Memory Usage by fizz · · Score: 1

      Most peopole who want to run the flashy stuff have pc's equipped to handle it. Me for instance, have 1 gig pc2700 memory, a geforce 4 ti4200 with 128 ddr, and a athlon xp 2500 process, i want pretty, not gritty!

      Ive played with alot of diffrent window manager, and i even dual boot so when i need to do the "occaisional" thing in windows I can. Linux desktops "if properly" configured surpass windows and like i said above, most people who want to have the nice and l33t desktops have systems that can handle it, those with 8 megs should stick with a default fvwm :)

    19. Re:Extra Memory Usage by cK-Gunslinger · · Score: 3, Insightful

      Do you expect your grandma to open her box and install a new graphics card?

      No more than I would expect my grandma to update her X Windows library to incorporate new buffering extensions.

    20. Re:Extra Memory Usage by 4of12 · · Score: 2, Informative

      The server can simply store the information in the video RAM, where it belongs. As long as the data fits in video mem, it won't cost you any main memory.

      Excellent point.

      Anyone that's run "top" and exclaimed "Hey! X is using up about XXX MB of memory!" should understand that

      1. it's VRAM, not your precious other RAM.
      2. X is buffering images to speed things up for you
      --
      "Provided by the management for your protection."
    21. Re:Extra Memory Usage by ChristTrekker · · Score: 1

      Umm, yeah. Like my main box that has 6MB VRAM. Heck, I've got a machine without any VRAM that (very occasionally) runs X. I trust this would be an optional extension.

    22. Re:Extra Memory Usage by Anonymous Coward · · Score: 0

      so ?

    23. Re:Extra Memory Usage by PainKilleR-CE · · Score: 2, Insightful

      Additionally, any AGP-based video card will be able to raid the system RAM when it needs more memory.

      Modern video cards are shipping with 128MB standard and 256MB for the high end, and that's likely to increase in the next year, probably to 512MB for the high-end. 64MB is pretty much the low-end today, and you can find 32MB or less on cards here and there, but they're not going to save you much money over the 64MB cards. Some people think it's insane for a graphics card to have that much RAM, but the reality is that the graphics card does more processing in games than the CPU, and it will be able to do so much more quickly if it has a lot of local RAM available instead of having to recover the space every time it needs to load a new model or map.

      Additionally, the average system RAM is slowly increasing in off-the-shelf systems, to the point where many of the people I work with are thinking that 1GB isn't unreasonable for system RAM. This isn't really being driven by system requirements so much as the general feeling that people have that they should get more for the same price they paid a few years ago, and with RAM prices significantly lower than they were a few years ago, it's not hard for OEMs to give it to them. Sure, MY 2k and XP boxes need 512MB (actually, my 2k box only has 256MB, but it does need more), but the average person doesn't spend their day sitting in front of Visual Studio, either.

      Of course, you are correct in that many people have the on-board video that runs off of system RAM, but again, how many of those people are actually using 512MB of system RAM? Additionally, if Linux is trying to move towards a more desktop-friendly environment, how many average users that would be looking at Linux would be using 512MB of system RAM?

      --
      -PainKilleR-[CE]
    24. Re:Extra Memory Usage by the_2nd_coming · · Score: 1

      if it uses the GFX card for rendering and effects like Areo will and QE does then the memory impact should be minimal.

      --



      I am the Alpha and the Omega-3
    25. Re:Extra Memory Usage by PainKilleR-CE · · Score: 1

      Yes, but how fast can data be read back from video RAM to the processor ? I'm sure some visual effects can be processed by the card itself, but the main processor is also going to need speedy access to that data.

      As fast as the front side bus can send it. Then again, if everything's coded properly, you're simply sending data from the processor to the card, and not back the other way very often. Anything the system needs to know would be fairly independant of the images in the video card's RAM.

      In my (perhaps a little contrived) example, I was using over 64MB of video RAM. I'm sure the majority of people are still using graphics cards with 64MB or less of memory (hard-core gamers being an obvious exception).

      64MB is pretty common on low-end cards now, and AGP has been common for all cards for quite some time. AGP allows the video card to use the system RAM when it's implemented properly (which most cards have done for a few years now). This is actually part of why on-board video has become more common over the last few years, because an on-board chip based on an AGP chipset can use the system RAM as it's only source of RAM. The biggest concern is that system RAM is slower than the RAM on most video cards, the access over the bus is also slower, and in some cases the amount of system RAM could be very limited. Fortunately, 128MB video cards are common, and 512MB or more of system RAM is becoming common. Most users can operate even Windows XP on 256MB of RAM (though 512MB would be better in many cases), let alone Linux.

      --
      -PainKilleR-[CE]
    26. Re:Extra Memory Usage by PainKilleR-CE · · Score: 1

      Reading from video memory is very slow. It's optimized for writing, so it can't be used as general purpose storage.

      Given that video memory is generally used to store data used to build scenes in 3D games and then generate a frame in a buffer, which is then usually read from to be placed into the screen buffer (what will be drawn on screen in the next refresh), this doesn't make much sense to me, and is something I haven't seen in most writing on how video cards work. We're also not talking about general storage, but the exact type of storage most of the current video memory was meant to be used for: storage of textures (images of window contents) to be rendered on the faces of polygons (the windows themselves). Now, just because X isn't going to necessarily be treating windows as polygons doesn't make storing an image of a window any different than storing a texture, nor does it make the operation of reading an image of a window any different from reading a texture.

      --
      -PainKilleR-[CE]
    27. Re:Extra Memory Usage by dmayle · · Score: 1

      I'm sure you're worried about all of your old systems, and keeping them up to date, but pay attention to the cost you're talking about. A PC133 64MB DIMM sells for $9.

      Buy a PC2100 1GB DIMM for $120, and that same 64MB costs $7.50.

      If you can't afford the $10 or so in memory costs for the speed upgrade, keep an old version of X installed, and those of us who are willing to give up those extra two beers, or bag lunch it for a day or three will happily enjoy a better computing experience.

    28. Re:Extra Memory Usage by julesh · · Score: 1

      graphics card with 32mb RAM and a reasonable GPU (geforce2 MX) is $30. We're not exactly talking new whizz-bang cards here - I bought a geforce2MX eighteen months ago now, and it was outdated then.

      An average, modern-ish desktop PC is probaby going to have at least 256mb ram and a 32mb graphics card.


      My Dell PC is about 4 years old, which makes it quite average in terms of currently-in-use PCs. It has an on-board graphics adapter with 16Mb of RAM. That was pretty good for the time, most only had 8Mb back then, I think. The graphics adapter is on motherboard; there are no AGP slots so I can't replace it with another adapter and get performance as high as I get from the original.

      Most PCs are produced by high volume manufacturers like Dell and HP/Compaq; these companies tend to favour onboard graphics, so a high proportion of PCs cannot be realistically upgraded in this fashion.

      Just because some people don't have the required computer doens't mean work shouldn't be done for those that do.

      No, but when you're talking about changing core system components in ways that require what many people would consider a lot of resources, it pays to check whether there's any other way of achieving what you need. X is an absolutely critical component; if it becomes too bloated, the entire OS becomes bloated, and the beauty of Unix-style systems is that they generally can be run on machines with less resources than other systems.

      Also note: Windows 2000 and OSX both achieve the kind of effects the article is talking about here without needing that much video RAM. Perhaps there's another way (as in only use separate backing buffer for windows that have registered an interest in using this kind of feature, and sections of other windows that they overlap).

    29. Re:Extra Memory Usage by FooBarWidget · · Score: 1

      Yes. In fact, I setup a Linux box for my parents for web surfing.
      Don't even start about usability issues. I've already configured it for them, just like when people buy a computer with Windows preinstalled. They don't install software, they don't buy digital cameras or whatever. All they want is surfing the web. Linux works great for them.

    30. Re:Extra Memory Usage by drinkypoo · · Score: 2, Insightful
      I don't see a need to frequently read the information back from memory. Applications which do graphics operations are either keeping a copy of their bitmap locally, or generating the bitmap from vectors kept locally and then writing it out to the screen (a bitmap). Applications are not frequently going to need to read back from screen memory, because they already know what's there.

      Now it is true that there are still people using 2MB, 4MB, 6MB, 8MB cards which could benefit from some of these advances, for example storing the window contents in video memory, since they can do a very fast bitblit to copy that rect into screen memory. However those people can use an implementation of all this in software, where the graphics are stored in main memory, and they should not experience any slowdown, only greater memory consumption. Which, of course, is the state of things today. Meanwhile it is nearly impossible to get a machine with less than 32MB of video memory today, and most everyone has at least 16MB now. (At least, if you have any kind of 3d accelerator.) It takes a bit under 8MB to store a 1600x1200x32bpp screen in video memory, leaving the rest for the most active applications (assuming no full-screen double buffering.)

      If you DO decide to store everything in video memory (again, not going to be feasible on the older machines) then you get whatever bus bandwidth you have available to do it with. With modern machines (AGP4x and 8x) this is going to be essentially a non-issue for most X users. The only time you really blast your bus is when you're transferring large textures that have to be sent right now. It is hoped that X will one day end up using more of the video card's functions to do window compositing, minimizing the amount of data which must be sent. Even pixel shaders have a place here, for little things like drop shadows. (If you have a pixel shader engine which is otherwise idle, you might as well use it to draw your eye candy.)

      64MB is plenty of ram, it's enough for eight full 32BPP 1600x1200 screen images and then some, or enough for a fully double-buffered display and a bunch of applications. Even 32MB is pretty healthy, it's not until you get down to 16MB cards (like say, the banshee) that you have problems.

      Anything new enough to be an interesting desktop box, where you will want to burn power on eye candy, is going to have AGP graphics. You can get (crappy SiS) 64MB AGP video cards for under $30 shipped these days (at least in the US of A) so I'd say that's not a serious issue. Remember, this is the future we're looking towards, not the past. For all those old machines, you can always run older versions of XFree that don't do this stuff. Oh sure, you can't run the bleeding edge software, but who's trying to run the latest software on their old hardware? I defy you to get a significant amount of work done on a 386 running GNOME2 :P

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    31. Re:Extra Memory Usage by netwiz · · Score: 1

      Actually, even tho OSX makes better use of VRAM, the window manager/compositor still has a local copy of each window in system memory. My current memory load for the window manager w/ two Safari windows, Mail, two Terminal windows, iTunes, a console, and the Activity Monitor open is 100MB. It helps that the display adapter has a relatively fast path through which to move the window textures, and that they're compressed, but still, that's a bunch of memory.

      Altho, the user experience is nice, and w/ 2.5GB to spare, 100MB is a drop in the bucket.

      However, for users on stock systems, having only .5GB, that kind of memory usage would get problematic fast.

    32. Re:Extra Memory Usage by julesh · · Score: 0, Troll

      Most peopole who want to run the flashy stuff have pc's equipped to handle it.

      Yes, but they're not talking about 'the flashy stuff'. They're talking about modifications to X that would use up this memory whether or not you actually want to use the features that it makes available.

      My main problem with this is that there are better ways of achieving the same results. I run Win2K on a system with only 16Mb of video RAM, and it's quite happy to do alpha blending and compositing for large windows without issue or flicker... so why can't these developers come up with a scheme that would work as well as that one?

    33. Re:Extra Memory Usage by mpaque · · Score: 1

      That memory load, seen via ps or top, includes the memory mapped video memory, possibly through multiple aperature ports for some hardware.

    34. Re:Extra Memory Usage by Anonymous Coward · · Score: 0

      Couldn't the X server store the windows contents as vector graphics or a cache of command executed by the client to display the window. This way the server could simply replay the cache of operations when a window needs redrawing instead of storing a bitmpa of the window which would consume a lot more memory. Using this approach the server could even apply transforms to the operations as well (scaling and so on) without loss of resolution. Of course XDrawImage or pixmpas would have to be scaled as bitmaps but most drawing could be scaled XDrawLine etc without loss of quality.

    35. Re:Extra Memory Usage by bishiraver · · Score: 1

      I'm not very knowledgable about the inner workings of X, but I can tell you this:

      Running at 1280x1024 and gnome 2.4, my x server already routinely uses around 100mb of memory (around what you're estimating it would take with all windows kept in memory). This isn't a big deal for me, since i have 640mb. But still, it is a lot. X, by the way, maps your video ram as system ram, so if it's taking up 120mb in top, and you have a 64mb card, it's actually only taking up about 56mb of main memory.

      With vector graphics up and coming, along with vertex and pixel shading technology, I can see GUIs taking a huge step. If the GUI is, for example, OpenGL based... vector graphics won't take up texture memory, they will simply use geometry memory. I can see much more efficient GUIs based on OpenGL + hardware + vectors than ever possible with traditional software + raster.

    36. Re:Extra Memory Usage by Anonymous Coward · · Score: 0

      Yeah, but he said that "1600x1200/32-bit is going to use 7.5MB" and your 4 year old Dell probably does 1024x768/32-bit or maybe a lower colour depth. That works out at 3.2MB -- and that's assuming that it's stored uncompressed when even something simple like run-length encoding could reduce it far below.

    37. Re:Extra Memory Usage by Minna+Kirai · · Score: 1

      making X completely irrelevant

      Irrelevant? Oh, I wish. Then it would go away, and a new, better display system would be created.

      But no, X will stay relevant, and it won't go away. It'll stay because although imperfect, it is good enough

    38. Re:Extra Memory Usage by Alan+Hicks · · Score: 1
      Additionally, if Linux is trying to move towards a more desktop-friendly environment, how many average users that would be looking at Linux would be using 512MB of system RAM?

      In a buisiness environment, quite a lot of them. Your average home user (whom you seem to be considering here) paid at least $1k US for his machine, and likely has a seperate video card with at least 32 MB RAM (probably 64 these days). However, many businesses that have to buy computers for 30 people or more buy the really cheap Dells that have onboard video and constantly eat system RAM like candy. They get these machines because in bulk, they can get them in many cases for less than $500 a pop. Personally, I think the business world is going to be the first place to adopt linux desktops, like home gamers like you're thinking. Requiring an uber graphics card just to run X is a mistake.

      --
      Slackware, what else when it must be secure, stable, and easy?
    39. Re:Extra Memory Usage by jasontwarnock · · Score: 1

      That's not true, these are extensions, you can disable an extension if you want.

      --
      :wq
    40. Re:Extra Memory Usage by PainKilleR-CE · · Score: 1

      I think you mistook what I said. I didn't mean how many people would have 512MB of RAM, as I think this is about average today. Instead I meant how many would actually be using it? Under Win2k I tend to be using about 300MB of RAM most of the time, and the applications I'm running are certainly not the average user's set of apps. I'd imagine that if I had a well-configured Linux box for the same purposes I could probably cut it down to 200-250MB at most.

      --
      -PainKilleR-[CE]
    41. Re:Extra Memory Usage by mattdm · · Score: 1

      1. it's VRAM, not your precious other RAM.

      Are you saying that top reports VRAM status mixed in with the rest of its information? What leads you do this conclusion?

    42. Re:Extra Memory Usage by Anonymous Coward · · Score: 0

      the "VIRT" field of top's output is the "virtual memory used". Since X maps the VRAM into it's address space, VRAM shows up there. Some drivers map the VRAM in multiple times, for various reasons.

      RSS - SHR is a decent first pass aproximation, though it underestimates shared libraries (vs VIRT, which massively overestimates shared libraries).

      With virtual memory, page sharing and overcommit, obvious concepts like "how much memory is process foo using" become very fuzzy.

  17. Aqua has this (Display-PDF)! by null-und-eins · · Score: 3, Interesting

    Aqua is based on Display-PDF and is resolution independent. That was a really smart move by Apple because resolution is only going up. Even if there were small problems with resolution being to low on laptops (don't think so) this will go away in the future. All bitmap-oriented window systems will suffer from this design decision increasingly.

    --
    At the beginning was at.
  18. maybe this is a good place to... by 3seas · · Score: 2, Informative

    ....mention any other open source that can be used as an example of already existing functionality that is like this or can contribute to it, perhaps directly.

    Not getting into the programming details but AROS is open source Amiga clone I believe having some of this...

    Shrug

    1. Re:maybe this is a good place to... by Short+Circuit · · Score: 1

      What are the licensing restrictions for copying code into the XFree86 codebase? BSD code is obviously fine, while GPL and LGPL code obviously is not.

      What common licenses can code be copied from?

    2. Re:maybe this is a good place to... by 3seas · · Score: 1

      Let me suggest that open source allows one to see how something is done. It doesn't mean you have to copy the code, but perhaps better understand the functioning details of solution possibilities.

      As such, licenses may not be so much an issue here, but it is always good to give credit where it is due, even if it is just referenced material.

  19. Re:without altering existing X protocol "too much" by Eros · · Score: 1

    If you are going to break it a little, why not break it a lot. Broken is broken.

  20. if I had $1 each time... by Anonymous Coward · · Score: 1, Funny

    ... someone proposes new X, I would be rich man.

  21. Ill advised by amightywind · · Score: 3, Insightful

    This seems to be a band aid solution and complex as well. With OpenGL being so prevalent why not create an X replacement entirely upon it?

    --
    an ill wind that blows no good
    1. Re:Ill advised by ikoleverhate · · Score: 1

      or just render each window to texture, and combine them with the desktop to draw the frame. That way the opengl view of x is optional and doesn't break existing apps, but can still have all of the benefits of the proposed extension.

    2. Re:Ill advised by Short+Circuit · · Score: 1

      Because an X replacement is a lot more trouble than it's worth. The X system is designed to be extensible, and it's worked pretty damn well, so far. It's by far the most flexible solution I've seen.

    3. Re:Ill advised by Tharsis · · Score: 1

      This must be the best chosen subject for a slashdot comment I've ever seen ;)

    4. Re:Ill advised by CaptnMArk · · Score: 1

      One problem that I see with this is that I often have many many windows open (30-50). this will eat lots of video ram (using system ram will kill performance totally).

    5. Re:Ill advised by ikoleverhate · · Score: 1

      fast agp ram may be a good compromise. next iteration of opengl is going to include a Buffer Object for pixel data meaning you can choose which memory the texture resides in. it's unlikely that you'll want to view those 30-50 windows all at once (even if transparent), but I agree that deciding which to have in vid mem and doing fast updates will be non-trivial to code, but doable i think. A lot of games keep a pool of video mem and reallocate smaller portions of it with glTexSubImage, allowing fast updates of dynamic textues. Something like this could be used, especially considering that (generally) only the window with current focus needs an update every frame. An alternative would be a new opengl renderer for X, which draws all the widgets as display lists or whatever, by uses the render to texture method for legacy apps.

    6. Re:Ill advised by damiam · · Score: 1

      Great idea. Why don't you do it?

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
    7. Re:Ill advised by Brandybuck · · Score: 1

      Because OpenGL is optimized for 3D in both the implementation and the API, whereas the average desktop is 98-100% 2D.

      --
      Don't blame me, I didn't vote for either of them!
    8. Re:Ill advised by amightywind · · Score: 1
      Because OpenGL is optimized for 3D in both the implementation and the API, whereas the average desktop is 98-100% 2D.

      The 2D drawing primatives are optimized (implemented in supported hardware) as well. In fact they go well beyond X in many areas: nicer color model, better drawing primatives, transparency... Things that are missing that I can think of are a decent font system and keyboard and mouse stuff.

      --
      an ill wind that blows no good
    9. Re:Ill advised by amightywind · · Score: 1
      Great idea. Why don't you do it?

      Like most people on slashdot I am a theoretician and pundit. I dish out good ideas and leave the implementation details up to others ;)

      --
      an ill wind that blows no good
    10. Re:Ill advised by Brandybuck · · Score: 1

      (implemented in supported hardware)

      And that's the kicker, isn't it? What do you tell the user who just bought a $500 video card that doesn't support it? Making hardware requirements for the use of XFree86 is a slippery slope to start down on. It's bad enough now that some people have to settle for VESA because there are no drivers for their hardware, but requiring 100% OpenGL support in hardware is going to be a bitch.

      While it is true that many software problems can be solved by throwing hardware at them, one should not arbitrarily exclude users. The strength of free Unix like operating systems have been that they could run just fine on old hardware. Just last friday I set up a FreeBSD X client workstation on a i486.

      You might want to take a look at Enlightenment. They're approaching this problem from a sensible direction. E17 will use your hardware if you have it, but default to software if you don't. They're not excluding anyone, and they didn't have to rewrite XFree86. The best part is, even without the OpenGL hardware, E17 is snappy and responsive.

      --
      Don't blame me, I didn't vote for either of them!
    11. Re:Ill advised by Mr+Smidge · · Score: 1

      A few quotations:
      "Make everything as simple as possible, but not simpler." - Albert Einstein
      "Genius is the ability to reduce the complicated to the simple." -C. W. Ceram
      Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Albert Einstein

      The last one being my particular favourite (more here). It does look a whole lot like these proposed modifications, while temporarily giving us what we want, are going to cause big headaches in the future when we all think "Ugh, what an ugly hack" as we try to implement the next big thing.

      I think the implementation and design of X is in need of some of the 'neat-n-tidy' treatment. For every issue or teething problem I've had using X, I've nearly always been able to solve it, but hardly ever in a neat and consistent way.

      If we can't tidy everything up, then maybe it's time to take a step back and start again, and then say 'may the best project win'. I am particularly looking out for the Y Windowing System, which seems to have all the right ideas, and looks to be very flexible for years to come.

      These dirty hacks to put in the features we want might tempt us, but please let us steer clear of digging holes for ourselves.

      Just my humble opinion.

    12. Re:Ill advised by amightywind · · Score: 1
      And that's the kicker, isn't it? What do you tell the user who just bought a $500 video card that doesn't support it? Making hardware requirements for the use of XFree86 is a slippery slope to start down on.

      I don't know enough about X servers to say whether the X or OpenGL primatives are faster in software only rendering. OpenGL (Mesa) does not require acceleration to run. Does that make it better than X? My guess is that they are similar. It used to be that a good X server on the PC was a rarity because of all of the video cards available. The kind folks at XFree86.org solved that for us and I am thankful.

      I wonder what happened to NeWS which used a postscript drawing model for a windowing system? Surely Sun of SGI have it lying in the basement somewhere.

      I have been keeping my eyes open on the E17 stuff. But E development seems to have slowed. I am a big XFCE fan. I am also interested in Fresco. I have been for 12 years! Some people don't know when to quit!

      --
      an ill wind that blows no good
  22. Re:without altering existing X protocol "too much" by Anonymous Coward · · Score: 0

    Because it's harder to recover from a full break.

  23. fixed link Re:maybe this is a good place to... by 3seas · · Score: 1

    Fixed link to AROS

    I also like what freedestop is doing with dbus, as it reminds me of the Amiga IPC usage that AREXX makes use of.

  24. Re:without altering existing X protocol "too much" by Omnifarious · · Score: 2, Interesting

    You don't understand the X protocol very well. It is actually quite likely that this change could be made without breaking any existing X application. The X protocol is very extensible and well designed in certain ways. This is one of them.

    One of the first X protocol extensions was allowing you to have windows that were some shape other than square. It broke no existing X applications at all, and even if it had gone unimplemented until today, that would still be the case.

    The X protocol has problems. It is badly designed for WAN links, especially with modern toolkits that draw complicated things for even 'simple' UI elements. Other WAN issues have to do with latency. X really needs a way for toolkits to export some of their drawing functions to the server so they can executed server side. This would fix many latency and protocol verbosity issues.

  25. I don't understand the fascination with X by alex_ant · · Score: 0, Flamebait

    Kill X and replace it with something simple, clean, extensible and lightweight. (All characteristics which X is not.) Then put a transparent X server on top of it for backwards compatibility. X is such a dinosaur, trying to extend it with all these modern features is like ricing up a Honda Civic.

    1. Re:I don't understand the fascination with X by fault0 · · Score: 3, Interesting

      Every X replacement for UNIX has pretty much failed. FAILED. failed.

      Why? There is a huge investment in XFree86 in things like drivers. It would take *ages* to implement all of that again.

      X was made to be very small, clean, and extensible. It still is today.

    2. Re:I don't understand the fascination with X by Hard_Code · · Score: 2, Interesting

      "Every X replacement for UNIX has pretty much failed. FAILED. failed."

      Thanks in part, no doubt, to people who FUD that those projects will FAIL FAIL YOU'RE ALL DOOMED!

      "Why? There is a huge investment in XFree86 in things like drivers. It would take *ages* to implement all of that again."

      That something is widely used, alone, is a poor argument for not creating something better. There may be a huge legacy investment in XFree86, but if what Keith Packard says is true, the X project is not accomodating driver updates very well (especially due to the monolithic release nature), which is certainly no way to proceed in the future.

      "X was made to be very small, clean, and extensible. It still is today."

      X was also designed in an academic environment with wildly different (and smaller) set of requirements than a modern desktop. It doesn't mean shit if X runs great on circa 1995 hardware and window managers.

      --

      It's 10 PM. Do you know if you're un-American?
    3. Re:I don't understand the fascination with X by Anonymous Coward · · Score: 0

      I own a civic, you insensitive clod!

      Anyway, X works fine for me. It's fast, flexible, solid, and pretty fast. With accelleraetd NVidia drivers, games like Scorched3D runs faster in Linux than in WinXP (same computer, dualboots)

    4. Re:I don't understand the fascination with X by Virtex · · Score: 2, Interesting

      Yep, X is so bloated that my little Agenda PDA with 8 MB of ram and a slow 66 MHz processor runs it just fine. And it's sharing that memory with a linux OS and a bunch of apps (I'm usually running 3 or 4 X apps at a time on the thing). And yet it's still snappy, despite the slow processor. BTW, this isn't some stripped down version of X -- it's the real deal. Granted, it's not running at a super high resolution, and the screen is a mere 16 shades of gray, but if X were bloated as you say, it wouldn't matter.

      --
      For every post, there is an equal and opposite re-post.
    5. Re:I don't understand the fascination with X by armando_wall · · Score: 1


      "Why? There is a huge investment in XFree86 in things like drivers. It would take *ages* to implement all of that again."

      C'mon, dude... KDE and Gnome wouldn't be a reality today if their developers had thought back then: "Well, Windows/Motif/CDE/MacOS GUIs are a huge investment... why reinventing the wheel?".

    6. Re:I don't understand the fascination with X by buckinm · · Score: 1

      C'mon, dude... KDE and Gnome wouldn't be a reality today if their developers had thought back then: "Well, Windows/Motif/CDE/MacOS GUIs are a huge investment... why reinventing the wheel?".

      Maybe because all of those GUIs are closed source? (Actually, I think Motif is somewhat open now...)

      --
      This isn't any ordinary darkness. It's advanced darkness.
    7. Re:I don't understand the fascination with X by alex_ant · · Score: 0

      X was made to be very small, clean, and extensible? What are you talking about? There was a time, actually a very long time in the 1980s and 1990s during which X regularly brought $20,000 HP and Sun workstations to their knees, whereas boxes that cost half as much could run Display Postscript and NeWS (two of X's technologically superior competitors) just fine. The only reason people talk about how "snappy" X is today is because the computers they run it on are so fast now that they can't tell how poorly designed it is. Granted, Aqua and Luna or whatever aren't really any faster, but I'm not talking just about performance, I'm talking about simplification of development and ease of use. X is the ball and chain around the neck of open-source GUI software developers. There were actually joking rumors in the 1980s that X was a Soviet plot to set western computer science back 20 years. It would be less effort to finally dump X's mangled, decaying body into the nearest dumpster and to start all over again on drivers than it would be to keep this rotting carcass living, its stench scaring away all the GPU makers who were even considering writing drivers for it.

      X is so UNextensible that whenever anybody wants to "extend" it, all the apps that anyone wants to take advantage of that extensibility need to be updated. Now I'm not a huge Mac fan, but when OS X first came out, the fonts in Carbon apps weren't anti-aliased. Somebody wrote a tiny little app to update them all with no recompiles. Blammo, antialiased fonts in all Carbon apps. That's extensibility. Then look at Quartz Extreme. One day you've got a plain old 2D desktop, the next day all your windows are polygons and your GUI is running in OpenGL, with no software recompiles (except for Quartz itself). Now say what you will about Apple, but that is foresight, that is planning for the future and that is intelligent design. Look at XRender in comparison. Look at xft, not what it's designed to do but how it needs to be implemented. It's like a nightmare. Look at ICCCM, it's like a gunshot to the head of simple design and basically all common sense - thank god there are layers above it now (which in a good windowing system shouldn't be necessary) and nobody has to write directly to it anymore. Look at Xlib. Jesus.

    8. Re:I don't understand the fascination with X by StarCat76 · · Score: 1

      That's why this was meant to extend X, not replace it. I agree that we shouldn't kill X just yet; Video Card manufacturers and the like need to see Linux unified if they're going to put the time into developing Linux drivers.

      As long as this at least is able to emulate X11, I don't see the problem with it, as if you didn't use its additional features, you wouldn't notice a difference, while enabling those who needed them to have some powerful features.

      By the way, I agree copy-paste in X applications is currently quite broken, through no fault of XFree.

    9. Re:I don't understand the fascination with X by Anonymous Coward · · Score: 0

      > Every X replacement for UNIX has pretty much failed

      Uh, I think at this point there's a good chance that X11 is already in 2nd place behind Quartz in both number of seats and number of quality applications. Its just that Quartz only runs on one particular brand of UNIX.

      This proposal sounds like a good idea - leverage the X extension mechanism to add some more modern features while still retaining the protocol compatibility. This is why we don't need a X replacement - the extensions mechanism handles this type of growth well.

  26. Hmm...Sounds promising BUT.... by Hoover,L+Ron · · Score: 1

    ...I suspect I will be completly grey by the time this gets to be remotely usable for the non-geek Linux crowd. I'll check back in a year to see how .69 beta is doing.

  27. Why not by Anonymous Coward · · Score: 0

    Design a decent file dialog and window manager for Gnome first. Gnome sucks because of them.

    1. Re:Why not by stor · · Score: 1

      1. Not X's problem
      2. It's being done for GTK2.4:
      http://www.gnomedesktop.org/article.php?s id=1416&m ode=thread&order=0

      Cheers
      Stor

      --
      "Yeah well there's a lot of stuff that should be, but isn't"
  28. Is there a new X logo out as well? by Zanthany · · Score: 5, Funny

    I seem to be seeing a new X logo as well from the slashdot page:

    slashdot.jpg

    It's so simple and plain. It just might work!

    1. Re:Is there a new X logo out as well? by Anonymous Coward · · Score: 2, Funny

      There's something wrong with your browser. It looks like IE.

    2. Re:Is there a new X logo out as well? by Nodatadj · · Score: 1

      No, there can't be a new logo out, cos on slashdot it takes a minimum of 2 years to change a logo...Just look at the GNOME logo.

  29. Re:without altering existing X protocol "too much" by dmiller · · Score: 4, Informative

    Fortunately the X protocol can be extended without being replaced. OpenGL (GLX actually), Xrender, XVideo and the XSHM (the shared memory extension) are all examples of extensions that have been added without breaking old apps. Parts of X may be crusty, but overall it is pretty well designed.

    XFree86 has done even better than not breaking the protocol. IIRC they have been *binary* compatible for Xlib for over 4 years.

  30. Clarifying Vector-based display by MarcQuadra · · Score: 4, Informative

    You don't seem to understand the problem the way it was meant. I have a big monitor, I like to run at high resolution, but text is TINY, so I make the fonts bigger, but then everything is out-of-whack in terms of widget sizes and images.

    What we're talking about is a VECTOR-based display, so 'increasing the size' won't make it any less readable. In a vector-based system EVERYTHING gets scaled up, you could run the big monitor at 1600x1200 or 512x384 and the elements on the screen would be the same actual size (meaured by a ruler) but the higher-res monitor would just look a hell of a lot better.

    Now there ARE some issues that need to get worked out for this, a web browser, for example has to be prepared to have a bitmap GIF 'blown up', and it has to be done well enough to look decent but not take too much CPU power.

    NEXT had this, Aqua has the underpinning of it, I think GNUStep is coming along with it, Longhorn is going to have it. I don't see the XFree86 folks picking this up, I think the toolkit folks and KDE/GNOME will have to implement it themselves because the XFree folks are really conservative.

    --
    "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
    1. Re:Clarifying Vector-based display by Darren+Winsper · · Score: 2, Informative

      Here you go:

      http://www.cairographics.org/

    2. Re:Clarifying Vector-based display by aardvarkjoe · · Score: 1

      ...a web browser, for example has to be prepared to have a bitmap GIF 'blown up'...

      Opera will do this already. You can magnify a page easily, to make it easier to read.

      I don't see the XFree86 folks picking this up...

      I'm sure that I've seen some proposals (and some actual code) floating around for an X extension to support vector graphics. I see no evidence that they would not be folded into XFree86 once they are mature enough to use.

      --

      How can we continue to believe in a just universe and freedom to eat crackers if we have no ale?
    3. Re:Clarifying Vector-based display by julesh · · Score: 1

      Actually, the parent wasn't talking about vector based displays. He was talking about what Windows Longhorn is doing, which is rendering windows to a virtual surface and then scaling them for display, according to all the demos I've seen of it. Still neet technology, but not what you're talking about.

  31. Re:without altering existing X protocol "too much" by FooBarWidget · · Score: 1

    I think it doesn't break anything, but instead adds new extension(s) for applications/toolkits to utilize. The X protocol is extremely extensible. It's almost as generic as TCP/IP.

  32. Integrated Audio. by Robert+Frazier · · Score: 3, Interesting

    What would be really nice is if we could have X11 with integrated audio. There are lots of ways of streaming audio, etc., but that is different.

    What I want is that when I log into a remote X11 box using xdm the audio is sent to the local X11 server, just as the video now is. All the processing would be done remotely, and just the video/audio rendering for local hardware would be handled locally.

    Best wishes,
    Bob

    1. Re:Integrated Audio. by stevey · · Score: 1

      That should be a simple enough thing to write as a client-server setup.

      On the remote side create a socket /dev/Ndsp and attach that to a simple server - any attempts to read or write to it should trigger the same read/write operation over the network to /dev/dsp on the other machine.

      Point the apps you want sound forward to use /dev/ndsp isntead of /dev/dsp. All done.

      I don't see any obvious flaws in that approach ..

    2. Re:Integrated Audio. by TheRaven64 · · Score: 2, Informative

      I agree. The protocol exists, but it is not yet implemented by XFree86.

      --
      I am TheRaven on Soylent News
    3. Re:Integrated Audio. by RdsArts · · Score: 2, Informative

      Yes, it makes far more sense to have the graphics system act as the server for audio as well, instead of another server. I mean, it's not like there are any networking audio servers out there.

    4. Re:Integrated Audio. by Anonymous Coward · · Score: 0

      While not "integrated" as you mean it, I
      integrated audio into VTWM by way of the rplay
      library [and its API]. The rplay server can be
      local or remote.

    5. Re:Integrated Audio. by pyite · · Score: 1

      Erm. How do you think things like xterms have sound? Solutions exist.

      --

      "Nature doesn't care how smart you are. You can still be wrong." - Richard Feynman

  33. Turning X into Quartz by mdxi · · Score: 2, Interesting

    ...is all fine and good, but when do we get hot desktops, a la the SunRay environment?

    I want to be able to move around my house and just login at any xdm screen without having to shut down the session where I just was, dammit!

    --
    Posted with Mozilla
    1. Re:Turning X into Quartz by dabadab · · Score: 1

      What about using Xvnc?
      You specify the vncserver as the X server (running on any of your machines) for your applications, and you run a fullscreen xvncviewer on the machine you are sitting in front of to access the vncserver.
      It may not be a perfect solution, but it works.

      --
      Real life is overrated.
    2. Re:Turning X into Quartz by Anonymous Coward · · Score: 0

      For God's sake man, VNC just SUCKS. PERIOD.
      It may be useful to the extent that it lets
      you display your MSWin desktop onto your Unix
      box but it sure as heck isn't some type of
      replacement for the ability of X to display
      applications remotely. Another example of the
      Linux community frothing over and promoting crap!
      If you want to display your X apps onto your
      MSWin desktop, hey, get an X server that runs
      on MSWin! Imagine that!

    3. Re:Turning X into Quartz by Anonymous Coward · · Score: 0

      Heh. Just like the people who promote WINE for using windows apps under Linux. WINE might be better today than it was 3-5 years ago, but it still isn't good for much more than running notepad.exe or playing games. Don't even attempt serious work under WINE, and VNC is obviously not good either. Too slow and too many graphical glitches. I'm not sure many people have even seen how X works remotely. If they did they would surely be amazed and would quickly see how things like Java web apps are so far from the ideal networked application (what X can do).

    4. Re:Turning X into Quartz by Anonymous Coward · · Score: 0

      > If they did they would surely be amazed and
      > would quickly see how things like Java web apps
      > are so far from the ideal networked application
      > (what X can do).

      Yep... And I'll take an X terminal any day.
      No fuss, no muss. Just works.

    5. Re:Turning X into Quartz by dabadab · · Score: 1

      You sould have bothered to read my post and its parent.
      The guy's problem is caused by the fact that in Xfree86, the x server itself and the renderer is coupled, and, with X, you can not move a window from a server to another.
      VNC offers a solution, since it decouples the server and the renderer and it allows a server to be accessed by multiple renderers.
      Of course, if there was a way to do it with X protocol instead of VNC's, that would be better - but I am not aware of any such solution.

      --
      Real life is overrated.
    6. Re:Turning X into Quartz by Anonymous Coward · · Score: 0

      > You sould have bothered to read my post and
      > its parent.The guy's problem is caused by the
      > fact that in Xfree86, the x server itself and
      > the renderer is coupled, and, with X, you can
      > not move a window from a server to another.
      > VNC offers a solution, since it decouples the
      > server and the renderer and it allows a server
      > to be accessed by multiple renderers.

      I did read your post and I stand by what I said.
      VNC is so bad that recommending it is not a
      solution but the introduction of crap. The
      only solution in this case is to extend X to
      allow one to move an application from one
      display to another.

      > Of course, if there was a way to do it with X
      > protocol instead of VNC's, that would be
      > better - but I am not aware of any such
      > solution.

      It seems to me that extending X to do this would
      not be a horribly big deal. But on the other hand
      the devil is always in the details. Security
      related issues are probably more of a hassle
      than anything else.

    7. Re:Turning X into Quartz by Minna+Kirai · · Score: 1

      but I am not aware of any such solution.

      xmove

      The relocatability of X11 applications has been academically studied for a long time, and implementations like xmove are easy to download. But their shortcomings are numerous, as you'll quickly notice by giving it a try. The existence of the pseudo-server is the most obvious shortcoming, as it means there will be a performance hit for the entire life of the application, even though you'll only rarely want to move an X11 app from one display to another.

      If X11 supported re-heading deeper in the protocol, then not only would transferring operation be cheaper, but we also might be able to restart XFree86 on a Linux system without killing all the applications connected to it.

    8. Re:Turning X into Quartz by dabadab · · Score: 1

      "VNC is so bad that recommending it is not a
      solution but the introduction of crap.
      "

      [ Disclaimer: I have used Xvnc for a long time (because an in-house application required 8 bit colordepth) and the Win version only for a short time after that when I had to use a Win and a Linux machine at the same time (finally synergy came to the rescuse) ]

      Well, I find your position a little bit extreme - at least if one considers Xvnc only. The Windows version is glitchy (or you could say horrible - I had the impression that it takes screenshots of the windows and transmits that) but Xvnc is very different - it gives you a completely working X server so no graphical glitches.
      There IS a lot of overhead - but in my experience that caused no real problems.

      "The only solution in this case is to extend X to
      allow one to move an application from one
      display to another.
      "

      Well, this would be the ideal solution, but in the meantime we can use something less ideal, can't we?

      --
      Real life is overrated.
    9. Re:Turning X into Quartz by Anonymous Coward · · Score: 0

      Simple!

      You just invent a monitor that takes VGA through an ethernet cable, and relays USB data too. Then you just hook up thousands of these monitors to a million-dollar computer with thousands of monitor outputs.

      That's how Sunrays work. The rays themselves don't run x or even unix.

    10. Re:Turning X into Quartz by pyite · · Score: 1

      Very much agreed. Sun Rays are absolutely excellent. Need to show someone something? Take your Sun Ray card to their office (it's identical in size to a credit card and has a smart chip on it) and slide your it in. There's your session, just as you left it.

      --

      "Nature doesn't care how smart you are. You can still be wrong." - Richard Feynman

  34. 15" laptop with 1600x1200... by tjwhaynes · · Score: 3, Informative

    My experience of running X on 1152x900 on a 17" monitor suggests that this is an appropriate resolution that doesn't cause too much issue; 1280x1024 should be more than fine.

    I've driven 17" at 1280x1024, and depending on your applications everything works OK. X is a lot more customisable than MS Windows: you can actually change almost any screen font in use in most situations.

    I run an IBM Thinkpad with a 15" screen at 1600x1200. In X Windows, I use the Xft2 font renderer, rather than the old core X font system, for almost every text string I see. Because I have also set the DPI for the screen to 133dpi, everything remains clear and readable and the fonts are all the correct size. So if the original parent poster was struggling with a 19" screen at this res, they should learn to configure their systems better.

    The biggest problem I have with high DPI displays is viewing web sites, which will need browser technology to change in order to be useful.

    Mozilla provides two useful functions at the moment, and there is another one almost there. Minimum text size is useful to stop the worst excesses of tiny fonts. Text zoom is an essential function on bad websites. Image zoom would be nice, especially if it simply runs in step with text zoom. Some tweaks would then be necessary to stop pages being limited to the 800 pixel width that some designers have decided is the perfect form factor.

    SVG also offers improvements for high dpi screens. I look forward to the day that Moz/SVG takes over the web browsing domination and web designers really push vector graphics out there.

    Cheers,

    Toby Haynes

    --
    Anything I post is strictly my own thoughts and doesn't necessarily have anything to do with the opinions of IBM.
    1. Re:15" laptop with 1600x1200... by jandrese · · Score: 1

      Opera for the Zaurus does something like this. There's a master "zoom" lever that scales the entire screen up and down. It is essental considering how the Zaurus has a 640x480 screen on a PDA, and those website that start off the day with FONT SIZE="-2" are unreadable unless you blow them up.

      --

      I read the internet for the articles.
    2. Re:15" laptop with 1600x1200... by moonbender · · Score: 1

      Actually, the 5x00 series Zaurus models all have a resolution of 320x240 - IIRC that's goes for all Zaurus models available. The upcoming 6000 does have a 640x480 screen.

      --
      Switch back to Slashdot's D1 system.
    3. Re:15" laptop with 1600x1200... by Overly+Critical+Guy · · Score: 1

      So if the original parent poster was struggling with a 19" screen at this res, they should learn to configure their systems better.

      Ah, the typical copout excuse of all Linux defenders.

      Meanwhile, Longhorn will do it automatically, and for older apps.

      I don't want to have to "learn to configure" a system to actually be readable. Heaven forbid I expect it to be well-designed and readable from the start.

      --
      "Sufferin' succotash."
    4. Re:15" laptop with 1600x1200... by swillden · · Score: 2, Insightful

      Meanwhile, Longhorn will do it automatically, and for older apps. I don't want to have to "learn to configure" a system to actually be readable. Heaven forbid I expect it to be well-designed and readable from the start.

      Thereby screwing users who like small text and widgets so that they can fit more on the screen.

      Configurability is a *good* thing. You can argue about what the defaults ought to be ("default to readable", like "default to secure", is a good catchphrase but defining a set of rules that can automatically produce the "right" thing in an unanticipated situation is non-trivial) but the almost infinite configurability of X is a strength, not a weakness.

      Also, OverlyCriticalGuy, you need to be more critical of your own arguments: comparing current-generation X to MS vapor is fallacious.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    5. Re:15" laptop with 1600x1200... by Minna+Kirai · · Score: 1

      Your definition of "available" is provincial. 640x400+ Zauruses have been sold in Japan for almost a year. (And they're not difficult to import into the US)

    6. Re:15" laptop with 1600x1200... by moonbender · · Score: 1

      Actually, I didn't employ a provincial definition of "available", I was just wrong. ;) I thought the CL-x series (I think that's what they're called) currently available per import had 320x240 displays like the 5x00 series - apparently I was wrong, which is why I denoted the statement with an "If I recall correctly".

      The upcoming model I was thinking of is the Zaurus 6000 which isn't available as of yet, not even per import. It's got a 640x480, but apparently it's not the first Zaurus to sport one.

      --
      Switch back to Slashdot's D1 system.
    7. Re:15" laptop with 1600x1200... by Minna+Kirai · · Score: 1

      the almost infinite configurability of X is a strength, not a weakness.

      Too bad it's not configurable enough to change color depth while programs are running. A feature Microsoft(tm) has supported since 1996 or so, and which Macs probably had much earlier.

    8. Re:15" laptop with 1600x1200... by swillden · · Score: 1

      Too bad it's not configurable enough to change color depth while programs are running

      As long as we're exchanging cheap shots: Too bad Windows can't even install software without rebooting. Which do you do more often? I know the only reason I ever change color depth on the fly on my Windows box is because the kids have run some irritating ancient game that sets it to 8-bit color.

      Which of the above deficiencies do you think will be corrected first? My money's on XFree86.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    9. Re:15" laptop with 1600x1200... by Minna+Kirai · · Score: 1

      Which of the above deficiencies do you think will be corrected first? My money's on XFree86.

      Pay up. Although Windows(r) installers always ask the user to reboot, they don't require it. And some self-contained programs work just fine without the reboot.

      I can certainly find ONE example of a Windows program installing without a reboot. Can you show me more than ZERO ways to change the depth of an XFree86 display without killing the running applications?

      (For that matter, I'd love to see someone even change the dimensions of a live X11 server. Supposedly there's an extension that makes this possible, but I could never get it to work. And would it allow you to add or remove monitors on the fly? We can only hope)

      (And no, Control-Alt-Plus doesn't change the server's dimensions...)

    10. Re:15" laptop with 1600x1200... by swillden · · Score: 1

      Although Windows(r) installers always ask the user to reboot, they don't require it.

      What's with the (r) crap?

      Install Office, don't reboot and see how well it works. How about a service pack? Sure, some software can install without rebooting, but much can't. Do you know why? I think MS is planning on fixing this deficiency in Longhorn, though, with their new WinFS filesystem.

      For the real acid test, upgrade from, say Win2K to XP without rebooting ;-) I have a system that has was originally installed in 1999 and has been upgraded through two major releases and innumerable minor releases and patches with only a single required reboot (when I switched from a 2.2 kernel to a 2.4 kernel).

      Not that rebooting is that much of a pain, but you seem to think even having to close your applications is annoying.

      For that matter, I'd love to see someone even change the dimensions of a live X11 server.

      C'mon over to my place, and I'll show you. XFree86 4.3 handles screen size changes very nicely, and there are some nice utilities for activating the changes in both KDE and GNOME.

      In KDE, go to the control panel, select Desktop->Size & Orientation and pick your screen size and refresh rate from the pick lists. If you like you can even check the "Apply settings on KDE startup" box, and it will apply your settings every time you log in. I like 1600x1200; my wife prefers 1280x1024. Well, she used to: I showed her how you can pick larger font sizes and tell KDE to use larger icons everywhere and now she uses 1600x1200 also (which is what the whiner with the high-DPI LCD display should do; even at 200 DPI, a 96-pixel icon is quite readable).

      And the multi-session capability of KDE allows both of us to be logged in at once, with different screen sizes if desired, and to toggle back and forth with a hot key. X will change the resolution appropriately.

      Nifty, huh?

      And would it allow you to add or remove monitors on the fly?

      Until we have firewire (or similar) video cards/monitors, this seems even less of an issue than changing color depth (which is also pointless: don't you just set it at 24 or 32-bit and leave it alone?). Adding another display with current PC hardware requires adding a video card, which entails a system shutdown.

      I'll certainly grant that it would be nice if XFree86 did better automatic hardware detection. It'll come. And hot-pluggable video hardware will be too cool to be unsupported for long, when it arrives.

      And no, Control-Alt-Plus doesn't change the server's dimensions...

      Nope.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    11. Re:15" laptop with 1600x1200... by jandrese · · Score: 1

      Er, I'm using a hacked Japanese Zaurus C750. Note the screen size and resolution, the dot pitch is around 0.12mm/pixel.

      --

      I read the internet for the articles.
    12. Re:15" laptop with 1600x1200... by Minna+Kirai · · Score: 1
      What's with the (r) crap?

      It's a legal requirement to ensure I'm non-infringing on intellectual property.

      In KDE, go to the control panel, select Desktop->Size & Orientation and pick your screen size and refresh rate from the pick lists.

      KDE has nothing called a "control panel". There is a Control Center, but that has nothing called "Size & Orientation". I'm sure I could get it working with some effort at configuring XFree86 extensions, but RandR is new and not yet something likely to be found on a typical Linux workstation.

      Until we have firewire (or similar) video cards/monitors, this seems even less of an issue than changing color depth (which is also pointless

      It's not. This problem happens, I've seen it needed on Windows(r) machines. Here's some ways this occurs:
      1. When multiple-monitor support is first activated, the user will want to rapidly experiment with a variety of different settings until something comfortable is achieved. She'd rather leave the important applications running, instead of "vi /etc/XF86Config", Ctrl-Alt-Backspace.
      2. Once multihead support is working, you may still want to "add & remove" displays on the fly. You don't need firewire; you don't even need to be plugging and unplugging hardware. You just need to turn them on and off. Sit at a workstation with only one monitor, power one of them down because you don't need it, and you'll need to ensure that software doesn't think the dark screen is still usable. It must prevent windows from opening up there, and your mouse from wandering over into never-never-land when bouncing off the edge of the screen.
      3. Plus, if you get away from desktops towards laptops, then users are constantly plugging and deplugging from standalone CRTs and projection systems


      don't you just set it at 24 or 32-bit and leave it alone?

      No, there are many places this can be useful. Once again, there is the initial selection of good settings, which would be nice to accomplish from something like Control Center, without constantly killing X11. (This harkens to the Linux folk's stereotypical obsession with uptime). There are pro-artist applications that can benefit from changing bitdepth. But most importantly, changable bitdepth empowers reheadability. That would allow a proxy X server to move an application from one $DISPLAY to another, without imposing a long-term performance hit on either. It saddens me to see people deploy VNC just so they can reconnect to a running X11 application from multiple X11 servers.

      And the multi-session capability of KDE

      That's hardly a feature of KDE. More like an ancient XFree86 capability that KDE just recently added a widget to activate. Some more integration from KDE would be nice, such as providing a GUI list of other activate sessions, rather than requiring a user to guess around about Ctrl-Alt-F8, etc. The static CRT-snap which happens even going between sessions of identical monitor configuration is minorly irritating, too.
    13. Re:15" laptop with 1600x1200... by swillden · · Score: 1

      It's a legal requirement to ensure I'm non-infringing on intellectual property.

      Not unless you're selling something. US Code Title 15, Chapter 22, Subchapter III, Section 1114. IANAL.

      KDE has nothing called a "control panel". There is a Control Center

      Eh? There is a control panel, and its called "Control Center". I'm sorry you find that so confusing.

      but that has nothing called "Size & Orientation"

      Guess I must be imagining it then, huh?

      When multiple-monitor support is first activated, the user will want to rapidly experiment with a variety of different settings until something comfortable is achieved...

      I grant the utility, I just think you're focusing on one relatively minor lack. Windows has plenty of its own deficiencies, though I notice you conveniently chose not to respond to that part of my post.

      No sane person would try to say that Linux or XFree86 or Windows or anything is perfect and feature-complete. What you're doing is trying to imply that because XFree86 has some obscure deficiencies (it has some much less obscure deficiencies, too, which you haven't mentioned) that it's seriously unusable. AKA Taking Cheap Shots. I could return the favor all day long with respect to Windows, but there's really no point.

      The same holds for color depth.

      But most importantly, changable bitdepth empowers reheadability. That would allow a proxy X server to move an application from one $DISPLAY to another, without imposing a long-term performance hit on either.

      Eh? What you want is to be able to notify applications that the color depth has changed when they're moved from server to server, not to change the color depth of the server.

      It saddens me to see people deploy VNC just so they can reconnect to a running X11 application from multiple X11 servers.

      Agreed. Windows handles this *much* better.

      That's hardly a feature of KDE. More like an ancient XFree86 capability that KDE just recently added a widget to activate.

      Yes, I was imprecise.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  35. Backing store? by 10Ghz · · Score: 4, Informative

    How is this different from backing store?

    --
    Lesbian Nazi Hookers Abducted by UFOs and Forced Into Weight Loss Programs - -all next week on Town Talk.
    1. Re:Backing store? by RedWizzard · · Score: 1
      How is this different from backing store?
      Backing store would become compulsory, and a "compositing manager" would be added that would allow customisation of how a window would be combined with its parent. Did you RTFA?
  36. All I ever wanted from Xwindows... by zerocool^ · · Score: 4, Insightful

    ...was to be able to cut and paste between applications. A unified API for a clipboard system that uses a unified set of keys to cut and paste.

    Alpha blending should be miles and miles behind the development of a window system that actually works.

    But, this looks to be more typical X development. No brake pedal, but you can shift gears via the steering wheel, the stereo, or a series of buttons on the sunroof; it has 539 airbags, each requiring a different pressure to go off, and there's a seatbelt interface for every previous seatbelt in existance. Plus it has the most efficient 46 horse power engine ever made, even though opening the glove compartment causes it to stall, or at least backfire.

    ~Wx

    --
    sig?
    1. Re:All I ever wanted from Xwindows... by Anonymous Coward · · Score: 1, Insightful

      Well, granted this only works for text - but what's wrong with simply selecting what you wish to copy and middle-klicking where you want to paste?

      Love that, and always forget to press ctrl-c, ctrl-v when I'm using windows...

    2. Re:All I ever wanted from Xwindows... by kidgenius · · Score: 1

      I think that to have Ctrl-C and Ctrl-V implemented though would be awesome. I started w/ Command-C, Command-V on a Mac 15 years ago, then moved to Windows and used Ctrl-C, V, and then in linux now, I can't guarantee that it will work. I think that there is nothing wrong with having something that is more in line with what everyone "knows".

    3. Re:All I ever wanted from Xwindows... by Hoplite3 · · Score: 1

      Little is wrong with the current cut-buffer. It is fast and serves its purpose. The only drawback is the "woops" factor where you blow away the text in the buffer by accidentally highlighting something else. This happens to me all the time when using a touchpad.

      What I think the poster wants is a second cut-buffer that acts like a clipboard. That means you can cut jpegs and paste them into another document, cut a text file and paste it into another one. While I think this is a cool idea, why not implement this in the window manager/window environment? It seems like KDE and Gnome would have a better idea what to do with rich objects slapped into the clipboard than plain ole' X.

      --
      Use the Firehose to mod down Second Life stories!
    4. Re:All I ever wanted from Xwindows... by plastik55 · · Score: 1

      My most common use of copy and paste is copying a URL out of a terminal and into a browser. So, I drag over the URL in the terminal, which does not support Ctrl-C, Ctrl-V pasting. Then I go over to the browser. Oops! There's a URL already in the browser! Well, I have to clear it out, so I select it and press delete...but by selecting it i've borked my middle-click clipboard. So I have to go back to the terminal and select the URL AGAIN...

      The problem is that dragging and selecting text is used in GUIs for operations other than direct copying and pasting, and those operations tend to clobber the clipboard. You end up having no effective control over what things go in the clipboard and what things don't.

      --

      I have a positive modifier on Troll. When I mod someone Troll their karma should go UP!

    5. Re:All I ever wanted from Xwindows... by groomed · · Score: 2, Insightful

      I love X... but I have to admit that you've hit the nail on the head. It's astonishing how bad cut and paste works between applications. It really only works for text, and then only if the text is flat ASCII. Because it's so bad, many applications have their own, internal version of the clipboard, and you're never really sure whether you're manipulating X's clipboard or the internal clipboard, or what information makes it onto X's clipboard and in what form. It's a total disaster.

      Cut and paste on X is so bad, that I use it so little, that my expectations have sunk so low, that I've basically forgotten how it is to have a clipboard system that does work. Thanks for the reminder.

    6. Re:All I ever wanted from Xwindows... by Anonymous Coward · · Score: 0

      Some Linux browsers handle this problem which irked me for some time as well.

      Konqueror has a little "x" you can click to clear the URL bar.

      Mozilla & Firebird have a GREAT extension called "Diggler", which is that "x" plus other cool stuff. I highly recommend it.

      That problem no longer irks me, because I don't have that problem any more. Really.

      Diggler, yo. Yo, Diggler.

    7. Re:All I ever wanted from Xwindows... by Alomex · · Score: 1

      I love X...

      When you are going to post such shamefull confessions, you should use "post anonymously", that is what it is there for...

      There are as many reasons to love X as to love a dead goat (I call her "molly").

    8. Re:All I ever wanted from Xwindows... by IamTheRealMike · · Score: 1
      My most common use of copy and paste is copying a URL out of a terminal and into a browser. So, I drag over the URL in the terminal, which does not support Ctrl-C, Ctrl-V pasting.

      Ummm, the simple solution here would be to use a terminal that supports CC/CV pasting? Gnome Terminal does, and I use it all the time, for the exact reason you've articulated.

      The X clipboard does need some more standardised media types, but most of the problems people see with it are buggy or broken apps these days...

    9. Re:All I ever wanted from Xwindows... by Alomex · · Score: 1

      Little is wrong with the current cut-buffer.

      Think again. Little is right with the current cut-buffer. Support is not standard accross apps, it confuses select with cut-and-paste, cannot cut non-text objects in any standard way, and on and on..

    10. Re:All I ever wanted from Xwindows... by Uerige · · Score: 1

      The other solution would be to use galeon, which does only copy URL's with C-c for exactly this reason.

    11. Re:All I ever wanted from Xwindows... by _Sprocket_ · · Score: 4, Interesting

      ...it confuses select with cut-and-paste...


      I have two main workstations that I use daily - my Linux desktop (currently running KDE) and my Windows 2K desktop. I am often having to retrace my steps while on my Win2K box because I try to paste some text and discover that I've forgotten to hit ctrl-c before moving to the next window. I've become used to copying text while selecting it (its not "cut-and-paste" by the way).

      Its all dependant on what you're used to. And I have found myself going to some lengths to get my Windows machine to act more like my Linux environment.
    12. Re:All I ever wanted from Xwindows... by tuffy · · Score: 4, Informative
      I love X... but I have to admit that you've hit the nail on the head. It's astonishing how bad cut and paste works between applications. It really only works for text, and then only if the text is flat ASCII. Because it's so bad, many applications have their own, internal version of the clipboard, and you're never really sure whether you're manipulating X's clipboard or the internal clipboard, or what information makes it onto X's clipboard and in what form. It's a total disaster.

      The X11 clipboard is already quite powerful and supports a broad array of selection types, not just ASCII. A lot of apps only support ASCII, but that's not X11's problem. If any toolkit or app is reinventing the wheel by implementing a whole new clipboard, that really is quite brain-damaged.

      --

      Ita erat quando hic adveni.

    13. Re:All I ever wanted from Xwindows... by Alomex · · Score: 1

      Its all dependant on what you're used to.

      No. While it is true that you can't get used to the worst interface designs (as you illustrate), one can have objective usability tests that can suggest a cut-and-paste model to be superior to another. In the case of cut and paste, the X-window model has been known to be a weakness for quite a while now.

      (In fact, X windows itself is full of weaknesses, hence the overabundance of proposals to fix it QT, GNOME, Berlin, Y windows, NextStep extensions, ....)

    14. Re:All I ever wanted from Xwindows... by jbolden · · Score: 2, Insightful

      Its not cut and paste but OLE (object linking and embedding) that you probably really like. Microsoft spent a fortune to get that to work. Its highly non trivial and given the way X works we may never get that at the X level. Now within desktops (i.e. within KDE or within Gnome) you may very well get that within 2 years.\

    15. Re:All I ever wanted from Xwindows... by infolib · · Score: 1

      Freedesktop.org has specified a standard that does What You Want(tm):

      Apps that follow these guidelines give users a simple mental model to understand what's going on. PRIMARY is the current selection. Middle button pastes the current selection. CLIPBOARD is just like on Mac/Windows. You don't have to know about PRIMARY if you're a newbie.

      --
      Any sufficiently advanced libertarian utopia is indistinguishable from government.
    16. Re:All I ever wanted from Xwindows... by drinkypoo · · Score: 1

      Well, granted this only works for text

      'Nuff said.

      But I'll say it anyway - Windows manages to let me copy and paste arbitrary chunks of data from app to app. Oh sure, they don't always show up the way you want them to, but most of the data usually manages to find its way from one app to another.

      The fact that X doesn't do this reliably puts it ages behind in terms of usability.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    17. Re:All I ever wanted from Xwindows... by ParisTG · · Score: 3, Informative

      Luckily the clipboard problems are simply a lack of standardization between applications. The freedesktop.org people are working on a spec to fix this, and already (afaik) most of KDE and GNOME apps, among others, follow the spec. It's only a matter of time now.

    18. Re:All I ever wanted from Xwindows... by Permission+Denied · · Score: 2, Informative
      ...was to be able to cut and paste between applications

      Whenever X11 is discussed, someone brings this up and I give the same reply.

      Copy and paste works in X11. It works the same way as MacOS or Windows. You can select text, copy it via a menu item or a keyboard shortcut, select over more text in a different application, and paste in the original text with a menu item or keyboard shortcut. That's it. Pretend there is no middle mouse button and everything will work like you expect.

      Now, you're going to run into certain problems with certain ancient applications and toolkits that do not implement this correctly. Most notably, QT 2.x did this wrong and xterm does not allow you to "copy" as you expect (there is no copy menu item or shortcut). I think GNU Emacs also does this wrong. These applications and toolkits are actually fairly rare, but xterm and emacs are pretty popular programs.

      Details: X11 keeps track of a clipboard and a selection. The selection is generally inserted whenever you middle-click. Middle-clicking does not paste from the clipboard - you have to use a menu item or keyboard shortcut to paste from the clipboard. Like I said, pretend there is no such thing as middle-click and cut and paste will work as in MacOS and Windows as long as you don't use xterm (instead use gterm or kterm or whatever the KDE/GNOME equivalents are called). Whoever told you that middle-clicking pastes misinformed you; no XFree86 documentation tells you this.

      Please don't tell us we need a "unified API" for cut and paste. We have one, it works and all new applications use it. If you want to go and fix xterm, go for it, that's some real nice code for you to play with :) If you want to fix GNU Emacs, go suggest this on the emacs mailing lists and see how far you get :)

    19. Re:All I ever wanted from Xwindows... by Anonymous Coward · · Score: 0

      In gnome and kde apps, this should "just work". If not it's a bug.

      There's a specification on www.freedesktop.org of how the clipboard is supposed to work. I don't use a single app anymore that doesn't comply with that (all gtk2 and qt3 apps automatically comply with it, and openoffice does too).

    20. Re:All I ever wanted from Xwindows... by Anonymous Coward · · Score: 0

      Ofcourse, selecting does NOT overwrite text you copied with ctrl-c. Keyboard-based copy/paste and mouse-based copy/paste use different buffers. You could argue that's dumb, but really, it's no different from windows and the mac. If you ignore the fact that you can middle-click (which you can't anyway on a mac), modern X apps behave EXACTLY like windows and mac apps. There just happens to be another, parallel, system for copy/paste through selection/middle-click.

    21. Re:All I ever wanted from Xwindows... by Anonymous Coward · · Score: 0

      No

      Yes.

      one can have objective usability tests that can suggest a cut-and-paste model to be superior to another.

      And these usability tests that you're touting were performed by people who've never used a GUI before, right? Or were they people who came from a Windows world?

      In the case of cut and paste, the X-window model has been known to be a weakness for quite a while now.

      No, it hasn't - once you get used to it, it's a strength.. as the previous poster said, it's not something you're used to, so it must be bad, right?

    22. Re:All I ever wanted from Xwindows... by Calgary · · Score: 1

      X is full of *percieved* weaknesses, which are much talked about by people who don't understand why it is the way it is.

    23. Re:All I ever wanted from Xwindows... by Anonymous Coward · · Score: 0

      OLE would be nice, but I think copying formatted information would be nicer.

      I've noticed that Copy from a web page / Paste into Word/Excel is a very common user operation. On MS this works very well, preserving table structures, images, and so on.

    24. Re:All I ever wanted from Xwindows... by Minna+Kirai · · Score: 3, Informative

      A lot of apps only support ASCII, but that's not X11's problem.

      Almost any shortcoming in X11 can be fended off by saying "That's not an X11 problem, it's outside the scope of the design". That's not a valid defense. Complaints like that are a sign that although the design may have been implemented acceptably, the design itself is flawed; the scope was too narrow to account for what's needed by a GUI system.

      The practical proof of the quality of an arch is the applications that run on it. And practically, non-ASCII clipboard contents in X11 suck. I've just pulled several major desktop apps off Debian Linux and tested their clipboard compatibility.

      You can't paste spreadsheet rows between OpenOffice and Gnumeric. You can't copy an image from Gimp and paste it into OpenOffice, Abiword, Kword, or Gnumeric. (Of those 3, only Gnumeric will recognize that the clipboard has anything in it, but it reads it as ASCII junk). An image will copy from Kword to Kword, but not into Gimp, OpenOffice, or Abiword. For every pair of apps I've tried in the past 10 minutes, none could paste an image between each other. Even copying a picture from Kword to Kspread doesn't work! (You'd think that those applications were written by the same team, and would share clipboard protocols)

      The only successful copying of images between different applications that I discovered was, rather bizarrely, from Mozilla into OpenOffice. That one surprised me. (Mozilla to Kword does nothing. Mozilla to Abiword crashes)

    25. Re:All I ever wanted from Xwindows... by alan_dershowitz · · Score: 1

      Actually, it seems to be all dependant on what app you are using in X, which makes it all the more frustrating.

      if I click in the address bar in firebird, it automatically highlights the URL. Now here's the kicker--if I want to copy and paste it to another part of firebird or various other apps, I have to use copy and paste functions. OK, thats fine. But as I found out the other day, it automatically blows away the buffer I use to middle-click paste in xterm! what the hell?!

    26. Re:All I ever wanted from Xwindows... by Brandybuck · · Score: 1

      But all the kiddies are screaming for fully alpha blended vector graphics rendered on the fly by the GPU. Since they scream louder than the rest of us, they're they one's that get heard.

      --
      Don't blame me, I didn't vote for either of them!
    27. Re:All I ever wanted from Xwindows... by Minna+Kirai · · Score: 1

      We have one, it works and all new applications use it.

      That is false. So completely false, I don't know how to begin. It's apparently based on the erroneous premise that ASCII text is the only thing that matters on a clipboard.

      I just conducted a 20 minute study with recent versions of six high-profile X11 applications, as found in Debian Linux. I looked at two categories of data: 3 cells from a table ("spreadsheet"), and a 24bit photo imported from JPEG.

      The applications I used were OpenOffice, Kword, Kspread, Abiword, Gnumeric, Gimp, and Mozilla. (Not every application made sense for each part of the test).

      For the table cells, no pair of spreadsheet apps was able to communicate over the clipboard. Gnumeric could detect that there was data on the clipboard placed by someone else, but couldn't read it. The others just silently ignored it.

      For the bitmapped image, no pair of applications could transfer it over the clipboard between them (even though the recipent was able to capable of displaying the image if I loaded it from disk). OpenOffice never acknowledged that external apps had filled the clipboard at all. Gnumeric, once again, offered to insert the graphic as hexadecimal junk. Abiword would occasionally crash on the Paste command, but normally just did nothing. Surprisingly, not even Kword and Kspread were compatible in this way.

      The only time it appeared that an image was transferred on the clipboard was from Mozilla to OpenOffice. However, that turned out to be an illusion, because Mozilla supplied a URL that OpenOffice automatically loaded. The only data exchanged on the clipboard was still pure ASCII.

      Conclusion: the X11 clipboard is broken.

    28. Re:All I ever wanted from Xwindows... by Alomex · · Score: 1


      You are grasping at straws in a desperate attempt to defend the undefensible (the studies must have been flawed, or they were from beginners, or they were window users, or perhaps the users got paid to lie...)

      as the previous poster said, it's not something you're used to, so it must be bad, right?

      The first GUI I ever used is X, most of my day to day computing is on an X terminal. So it has nothing to do with getting used to.

    29. Re:All I ever wanted from Xwindows... by Alomex · · Score: 1

      X is full of *percieved* weaknesses, which are much talked about by people who don't understand why it is the way it is.

      BS. X is full or real weaknesses (bandwidth hog, subutilization of CPU at client side --otherwise known as server side in the wunnerful world of X, lack of high-level APIs, lack of standarization of components, and on and on...).

    30. Re:All I ever wanted from Xwindows... by Brandybuck · · Score: 1

      one can have objective usability tests ... the X-window model has been known to be a weakness for quite a while now.

      Show us those objective usability tests. The X way of "cut-and-paste" takes far fewer actions to complete.

      Windows: mouse down, mouse move, mouse up, ctrl, C, mouse move, mouse down, ctrl, V
      X: mouse down, mouse move, mouse up, mouse move, mouse down, mouse button

      That's three less actions with X than with Windows. It's also accomplish by one hand instead of two.

      In fact, X windows itself is full of weaknesses

      Unlike Windows, which everyone knows is perfect. There's no need for extensions like DirectX.

      Okay, seriously. If you haven't run into any serious weaknesses in the Windows GUI model, then you haven't done any Windows GUI programming.

      --
      Don't blame me, I didn't vote for either of them!
    31. Re:All I ever wanted from Xwindows... by plastik55 · · Score: 1

      er, in any sort of terminal, Ctrl-c sends a SIGINT to the running program. Wouldn't be a very useful terminal if it didn't.

      --

      I have a positive modifier on Troll. When I mod someone Troll their karma should go UP!

    32. Re:All I ever wanted from Xwindows... by Alomex · · Score: 1

      Unlike Windows, which everyone knows is perfect. There's no need for extensions like DirectX. Okay, seriously. If you haven't run into any serious weaknesses in the Windows GUI model, then you haven't done any Windows GUI programming.

      This goes to the core of the replies to my comment. The comment about the weakness of cut-and-paste in X has nothing to do with Windows being good or bad. You shouldn't feel obliged to defend every single design decision of Unix and OSS, just because M$ is evil.

      These are independent facts, and no, Unix is not perfect. Experts in OSes have been saying this for a long time. The fact that the alternatives are generally worse do not justify those cases where Unix dropped the ball.

      You want *nix to succeed? The best way we can achieve is by promptly fixing any defficiencies we might encounter in it. X is one such.

    33. Re:All I ever wanted from Xwindows... by serbanp · · Score: 1
      Almost any shortcoming in X11 can be fended off by saying "That's not an X11 problem, it's outside the scope of the design". That's not a valid defense

      Oh, you really seem to not understand the X11 system. It does provide a very extensive clipboard mechanism, but, as it happened before with GTK and KDE reinventing the wheel instead of starting off Xt (thus guaranteeing that much later, when users start screaming about compatibility, they'll have to patch-up these gigantic systems to provide that), programmers thought they're much smarter than the guys who designed X11 and felt the urge to reinvent the clipboard.

      B.t.w., it's not enough to pass on objects from application to application, unless both applications are fully aware of the type of information the object contains. You need some sort of OLE mechanism, and that is what really prevents you from copying and pasting between any two applications.

      Serban

    34. Re:All I ever wanted from Xwindows... by Anonymous Coward · · Score: 0

      I just fired up windows and tried copying rows from excel to openoffice calc, and to (an admittedly pretty ancient) shareware spreadsheet I had.

      Guess what, it didn't work the way I expected at all - The way it works on windows is apparently that when you copy into an OLE-enabled application, the data is embedded _as an OLE object_ handled by the source OLE-enabled application.

      So you end up with an embedded excel spreadsheet in your other spreadsheet program.

      Fucking Great. Not.

      IF that's good cut'n'paste, you can keep it, I don't want it.

    35. Re:All I ever wanted from Xwindows... by DF5JT · · Score: 1

      " I think that to have Ctrl-C and Ctrl-V implemented though would be awesome. I started w/ Command-C, Command-V on a Mac 15 years ago, then moved to Windows and used Ctrl-C, V, and then in linux now, I can't guarantee that it will work. I think that there is nothing wrong with having something that is more in line with what everyone "knows"."

      That's BS.

      Copy & Paste in X is a lot easier and more userfriendly than anything under Windows or Mac. It actually is the one feature that most Newwbies in the *ix world immediately grasp and see it as a welcome change to the constant haggle beetween having to use both mouse and keyboard to make use of a very simple (and fundamental) function.

    36. Re:All I ever wanted from Xwindows... by qa'lth · · Score: 1

      Actually, it IS the apps' fault in this case, for not supporting more than ASCII clipboard work.

      our old pal JWZ has a nice article right here regarding this very thing. OpenOffice, Gnumeric, all your fancy apps just don't know how to talk to each other. Not because X's clipboard scheme is broken, but due to bad programming.

    37. Re:All I ever wanted from Xwindows... by Minna+Kirai · · Score: 1

      , it's not enough to pass on objects from application to application, unless both applications are fully aware of the type of information the object contains.

      And in the case of 24-bit 2d images, each application is fully aware of how to handle data like that. I verfied by using each program to load a JPG. OLE is not relevant there. In the case of the spreadsheet, or just formatted text, it's not needed either.

    38. Re:All I ever wanted from Xwindows... by Minna+Kirai · · Score: 1

      No, it's not the App's fault. An Operating System (which is anything that provides services so programs can run on top of it, and that includes X11) can be justifiably blamed if all of the applications built on top of it share a problem. In fact, it's the only reasonable thing TO blame.

      If a user complains that Windows95 always crashes, do we allow Microsoft to get away with blaming the application writers? No! If all/most of the apps on a platform exhibit a problem, then the platform is flawed.

      Now, what exactly is the flaw with the X11 clipboard that lead the multiple smart people from Gnome, KDE, Qt, and Motif to be unable to use it correctly? I don't really know. Maybe it's simply too hard to use. That's a valid flaw. I don't have time to completely research the interface, but the JWZ article you indicate contains a familiar keyword: "The content negotiation mechansim is very powerful"

      Whenever a programmer says his system is "very powerful", that's often a euphenism for "excessively generic". It can mean the developer went to the point of supplying enough functionality so that any required task was technically possible, but didn't spend any time making it straightforward to use.

    39. Re:All I ever wanted from Xwindows... by Brandybuck · · Score: 1

      You shouldn't feel obliged to defend every single design decision of Unix and OSS, just because M$ is evil.

      I brought up Windows for one reason. Virtually everyone who complains about cut-n-paste in X compares it to Windows.

      In fact, you were doing so indirectly, if you read the grandparent post. In it the poster posited that the UNIX model was better than the Windows model, whereupon you replied that objective tests should be used to compare the models.

      --
      Don't blame me, I didn't vote for either of them!
    40. Re:All I ever wanted from Xwindows... by IamTheRealMike · · Score: 1

      The hotkey is Shift-Control-C for that exact reason

    41. Re:All I ever wanted from Xwindows... by Wills · · Score: 1
      • "No, it's not the App's fault. [...] The platform is
      • flawed. I don't have time to completely research the interface"

      I'm sorry but you are displaying your total ignorance of the design of X and making completely unjustified and incorrect criticisms in bold font as if to boast of your misplaced confidence. Please read the design documentation for X before you post about X again.

      X has always provided a mechanism for storing and communicating byte-sequences between X applications. Few X application programmers have bothered to read the excellent design documentation for X which is a shame because if they had they would understand how to implement cut-and-paste together with content negotiation. Implementing consistent cut-and-paste in X applications is really as simple as following the very clear guidelines in the excellent explanation by Jamie Zawinski written many years ago.

      P.S. Your pseudo-Japanese username "Minna Kirai" (literally meaning that you hate everyone) would be better as Shigoto Kirai (literally meaning that you hate work like reading about the design of X).

    42. Re:All I ever wanted from Xwindows... by Anonymous Coward · · Score: 0

      The Selection method used by XLib is incredibly generic, but there are specifically defined data types for strings (XA_STRING), bitmaps (XA_BITMAP), and pixmaps (XA_PIXMAP), but no apparent predefined type for a "table" or "list" of data. So in one sense it is correct to say that X failed to define every conceivable data type that could exist on the clipboard, but failing to support images is an application issue.

    43. Re:All I ever wanted from Xwindows... by spitzak · · Score: 1

      That's the way it is supposed to work. That is not the "xterm middle-click paste buffer", that is the "selection buffer" and all programs are expected to update it when you change selections.

      Try clicking the middle mouse button in almost any other program (for instance in xterm) after you select the URL and you will see, I hope...

    44. Re:All I ever wanted from Xwindows... by Anonymous Coward · · Score: 0

      Is that 2 years based on something or did you pull that out of your back orifice?

    45. Re:All I ever wanted from Xwindows... by Minna+Kirai · · Score: 2, Interesting

      The bold font is to make sure respondants like you read at least the most important parts of what I said, but I see from the reply it didn't work.

      I'm sorry but you are displaying your total ignorance of the design of X and making completely unjustified and incorrect criticisms in

      I'm displaying an ability to make logical inferences. If the authors of StarOffice, OpenOffice, Mozilla, KDE, Gnumeric, and Gimp were all unable to comprehend the X mechanism for clipboard exchange, then it's safe to say that mechanism is either too difficult or too weak to use in a major application. Or are you claiming that the developers of all those projects are stupid and too lazy to make a compatible product?

      For a rebuttal, just point me to me one or two famous X11 applications which make correct use of this powerful clipboard, because I can't seem to find any my own.

      Please read the design documentation for X before you post about X again.

      Frequently X11 defenders fall back to this line, failing to understand that an inability to be comprehensibly documented is itself a design flaw. I have in fact read hundreds of pages of X11R6 documentation, a painful ordeal I have no stomach to repeat soon.

      is really as simple as following the very clear guidelines in the excellent explanation by Jamie Zawinski written many years ago.

      That's offtopic. The only thing JWZ explains is how to avoid confusing users about "Am I merely selecting text? Or copying it to the clipboard, overwriting previous clipboard contents?" That is not the issue I am complaining about. He only mentions the issue of supporting non-ASCII datatypes in a brief "extra credit" section on content negotiation, where he provides no explanation beyond a reference to some emacs source code. (Humorously, another poster in this thread has held up emacs alongside xterm as examples of major X11 programs that implement the clipboard wrongly)

      PS. "Shigoto" means paid work. If someone were paying me, I'd be willing to slog through the ICCCM. For your jibe, I think gekimu would be more appropriate. Although it's attractive to consider arubaito, which (to non-Japanese) brings with it the hyperbolic image of toiling in a death camp.

    46. Re:All I ever wanted from Xwindows... by KidSock · · Score: 1

      So in one sense it is correct to say that X failed to define every conceivable data type that could exist on the clipboard, but failing to support images is an application issue.

      I don't think X needs to support every conceivable data type in the clipboard but a little more super structure than XA_STRING, BITMAP, etc would go a long way. Personally I believe this should be supported by X simply because the concept of sharing data between applications requires coordination from a third party (X). The problem appears to be that it's just too late to add super structure when you have none to begin with. You would have to change the API or all applications that use the clipboard will break. Which is the bane of the bazarr (as opposed to the cathedral).

    47. Re:All I ever wanted from Xwindows... by FooBarWidget · · Score: 1

      "Almost any shortcoming in X11 can be fended off by saying "That's not an X11 problem, it's outside the scope of the design"."

      It isn't X that's flawed. The X clipboard supports any kind of data. If the apps don't utilize that feature then why is it X's fault? It's like blaming Windows when no application utilizes WinFS.

    48. Re:All I ever wanted from Xwindows... by Wills · · Score: 1
      Your addiction to bold font is almost as charming as your tedious illogic.

      Are you really unable without further assistance, as appears to be the case, to work out how to encode and decode an arbitrary datatype in a sequence of bits in an X-Window property for the purpose of implementing any standard form of inter-application communications including the limited special case of the clipboard concept? If that were the case, it would follow you are not a programmer and not very bright, or perhaps just not a programmer. Can you disprove the premise by proving you understand the concept? Please note that bits can represent non-ASCII datatypes.

      Most applications for Linux, including the ones you mentioned, are written by different groups of people with different goals. Consistency of user-interfaces such as cut-and-paste facilities between several different projects requires cooperation between the projects such as mutual agreement on which datatypes they want to be able to communicate. In the case of the clipboard concept, which is easily implementable for arbitrary datatypes using X-Window properties [xprop.c and Gettys et al. (1991), "X-Lib - C Language X Interface", Chapter 4, Section 4.3], a programmer can design an X application to cut-and-paste a range of one or more datatypes D1,...,Dn within that application, whereas cut-and-paste to and from other X applications can work only in so far as they have been programmed to cut-and-paste some or all of the same datatypes D1,...,Dn. Contrary to your claims in your habitual bold font, it follows, logically, that consistency measured in terms of the number of supported datatypes for cut-and-paste among real X applications is a function of programmer choice, not of the level of complexity of the design of X. Q.E.D.

      P.S. I hope you don't list the Japanese language as a forte of yours. I used "shigoto" advisedly and most appropriately to imply you wouldn't do work such as reading the X design documentation even if you were paid to do so. Of course I could comment on your grammar but I shall refrain for fear of encouraging you to return peddling new misleading exemplars, no doubt in bold font too.

    49. Re:All I ever wanted from Xwindows... by Wills · · Score: 1

      Actually X provides a mechanism for supporting every conceivable datatype; anyone can define a property using XInternAtom() and XChangeProperty() on an X-Window in your X application or on the root window, encoding an arbitrary datatype into the bits of the property. This is all fully described in the X design documentation. especially in Xlib C Programming X Interface, Chapter 4, Section 4.3 . See also the source code for xprop.c for a detailed example of how to use X properties.

      Conclusion: You don't have to change the API of X. X is already very extendable.

  37. "Compositing" by Hard_Code · · Score: 1

    This proposal sounds very much like the render/tree-traversal stage of Y (page 25), except that in X your widgets still would be client-side, not server side.

    --

    It's 10 PM. Do you know if you're un-American?
    1. Re:"Compositing" by spitzak · · Score: 1

      He is talking about compositing server-side images.

      We can already composite client-side images all we want! In fact we can do that without any X calls at all. How about that?

    2. Re:"Compositing" by Hard_Code · · Score: 1

      I don't know what definition of client and server you are using, but I meant server in traditional X terminology, i.e. the local workstation that serves the GUI.

      As far as I know you *can't* composite client-side images (client being the remote program that is acting as a client to the X server's display capabilities): first of all, clients don't typically know about each other, and second of all, it would serve no purpose to perform the composition remotely...you only want to composite where you are actually viewing.

      --

      It's 10 PM. Do you know if you're un-American?
  38. Re:without altering existing X protocol "too much" by Anonymous Coward · · Score: 0

    Or maybe it's not a problem with closed source? Maybe this is why changing a defined protocol is bad?

  39. Wo-hoo!! by Anonymous Coward · · Score: 0

    I'm all for anything that makes X suck less! ;)

  40. I don't understand the fascination with X-HCI by Anonymous Coward · · Score: 0

    But, but...it doesn't give us flashy features like transparency, so we can brag at how cool our desktops are. Nevermind the fact that most can't seem to make a good desktop (from a HCI POV) with what one has presently. But I'm certain with those new, cool features, that will all change.

  41. Venerable? by ynohoo · · Score: 2, Insightful

    I've heard many adjectives used about X windows, but this is the first polite one!

  42. Ill advised-Shiney Quartz. by Anonymous Coward · · Score: 0

    Tell that to Apple..

  43. Ray tracing by gr8_phk · · Score: 1

    I have recently done some experiments with raytracing 2D scene graphs. It's very preliminary and would require a speedy processor compared to X, but it's supprisingly fast @700MHz. This approach eliminates the need to compute intersections, unions, etc.. of arbitrary areas on the screen - this is handled per ray during rendering. It also prevents any primitives having to know how to paint themselves. You only need to trace dirty pixels. Bitmaps only need to be stored for objects that contain bitmaps. You can also do anti-aliasing with a little more CPU and transparency should be simple. The code is NOT a GUI by a long shot, it only demonstrates that RT might be a practical approach to 2D scenes today. Oh, and it doesn't have font support :-(

    1. Re:Ray tracing by Anonymous Coward · · Score: 0

      That's how frame buffers work. It's not actually ray tracing. Intersection tests are cheaper for large primitives, and reduce memory bandwidth requirements.

    2. Re:Ray tracing by sir99 · · Score: 1

      That's an interesting line of thought. So the windows or widgets would be ordered on the z-axis and the first one intersected for a given pixel would be displayed at that pixel? Wolfenstein 3d used ray-tracing to good effect, so I can certainly believe it might be fast enough. Some shapes are probably faster to draw with raytracing than with standard line-drawing too (especially with antialiasing!).

      I wonder, do you hierarchically decompose windows and widgets, so you first try to intersect each window, and for those windows that intersect, try to intersect each of their subwindows/widgets? Some standard raytracing techniques would apply here as well, like BSP trees.

      Bitmaps present a small problem for ray-tracing: if you want to scale them at all, they'll alias even when you super-sample and jitter. You would have to use interpolation or blur to prevent that from happening. Vector graphics would also be a problem, because usually to determine the color of a pixel, most of the drawing must be re-computed. So you'd probably want to draw scaled bitmaps and vectors the normal way, and cache those.

      How would you know which pixels are dirty? It's easy for an app to tell the window system it's updating a window, but what about moving an entire window, and dealing with the borders of funny-shaped windows? If you're anti-aliasing, pixels next to the border become dirty too. I suppose an OK first approximation would be to re-trace the entire bounding-box plus a pixel-width or two around it.

      Fonts shouldn't be too bad, although it might be faster to treat them as bitmaps. POV-Ray has some code to trace truetype fonts, and it could probably be adapted to type 1 too (truetype uses quadratic curves, type 1 uses cubics).

      I'd love to hear of your thoughts or progress.

      --
      The ocean parts and the meteors come down
      Laid out in amber, baby.
    3. Re:Ray tracing by Minna+Kirai · · Score: 1

      experiments with raytracing 2D scene graphs.

      Weird. Is it really "ray tracing" when all the rays are co-linear and striking surfaces perpendicular to them? Sounds related to a software z-buffer implementation.

      This approach eliminates the need to compute intersections, unions, etc..

      IMO, computation of intersections and unions is typically an optimization attempted to accelerate the otherwise slow performance of per-pixel depth checking.

      Scalability concerns: in the future, display resolutions will increase so that exponentially more pixels exist (and more rays are needed). Also, the complexity of onscreen graphics can be expected to increase so there are more primitives out there. RT methods will be really hurt by the pixel increase, while higher-level geometric calculations only care about the number of primitives. And, more primitives hurts RT too, as each ray has a larger set of potentially intersecting objects to check for.

    4. Re:Ray tracing by spitzak · · Score: 1

      Contrary to popular belief, "ray tracing" is actually a very efficient way to render images when there are a small (ie dozens) number of surfaces and there is no reflection of rays or any kind of lighting. This lends itself especially well to hardware that does the composite, as it only has to think about one pixel at a time, and you don't have to store a Z or alpha buffer in the final image.

      So I am not suprised this works.

      Unfortunatly "no font support" indicates the problem: for any real display each letter is going to be several polygons and thus the number of objects goes suddenly from dozens to hundreds of thousands. You will have to render all the text into a bitmap to get reasonable speed (this is the solution OS/X and Longhorn and probably X will use), or go to a per-object accumulation rendering like all 3D cards use.

    5. Re:Ray tracing by gr8_phk · · Score: 1
      "for any real display each letter is going to be several polygons and thus the number of objects goes suddenly from dozens to hundreds of thousands."

      My current 3D ray tracing library handles millions of polygons very efficiently. The trick is to use a spatial index (BSP tree, OctTree, etc...) to reduce the number of intersection calculations. This gives you log(n) work for n primitives, so I can square the number of primitives with a 2X increase in CPU speed. This is the single most important part in any good ray tracer. Most people have not worked with RT indexes that are suitable for animation (BSP tree needs total rebuild after any movement for example). I have a good one, it just needs ported to 2.5D.

  44. How about monitors that don't suck ass? by autechre · · Score: 1

    I have a Samsung 19" CRT, and the text is perfectly readable to me at 1600 x 1200. Granted, I don't need vision correction, but if I did, that would hardly be the monitor's fault. Lower resolutions don't "look like crap" either.

    If you're talking about an LCD rather than a CRT, I can see where lower resolutions might look worse, but I don't understand how that could be with a CRT. But if you're talking about an LCD that does 1600 x 1200 at 19", I'd sure like to hear about it, because I haven't been able to find any under 20".

    That said, the upcoming Longhorn feature sounds nice, though I'm guessing the XFree86 folks might be able to come up with something comparable in the 2 years that they have. It will be good to stop having to explain to people why a higher resolution means that things get smaller; after all, printers don't work that way.

    --
    WMBC freeform/independent online radio.
    1. Re:How about monitors that don't suck ass? by Anonymous Coward · · Score: 0
      But if you're talking about an LCD that does 1600 x 1200 at 19", I'd sure like to hear about it, because I haven't been able to find any under 20".

      Not what you asked, but my laptop is 1600x1200 at 15". The pixels are very small.

  45. Re:without altering existing X protocol "too much" by whereiswaldo · · Score: 2, Informative

    I suppose this demonstrates one reason why closed source is bad...

    Hmmm... closed source is bad because open source hasn't found a way to support it properly? That doesn't sound right. There will always be proprietary software, and OSS needs to get along with it. Breaking proprietary software all the time is not helping spread the adoption of Linux, because most people do need to rely on at least some proprietary software (even if that is just drivers).

  46. Already partially in the protocol... by Anonymous Coward · · Score: 0

    Backing Store
    Save Under

    Will these finally be supported in XFree86?

  47. Re:without altering existing X protocol "too much" by the_2nd_coming · · Score: 1

    well, it is either break the existing x apps or not have an OGL composited desktop like Quartz Extreme and Areo will be (areo will be DirectX) thus pushing Linux out of the Desktop market for a LOOOOOOOONG time.

    --



    I am the Alpha and the Omega-3
  48. Pointless to argue: just do both by Anonymous Coward · · Score: 0

    You can't argue down a person that is used to some other way of doing things.

    In this case though, we can have our cake and eat it too, since we're in control of this software. Just give X11 a variety of selection and cutting and pasting options, including compatibility modes for those used to other systems, and everyone should be happy.

  49. Paste on the browser window by nuggz · · Score: 1

    Why clear and paste into the URL bar.

    Just paste the link into the browser window.
    Works in galeon, probaly works in the others.
    Just don't do this over an input box.

    Really what else would you paste into a browser window.

  50. Go ahead by nuggz · · Score: 1

    Go ahead do it.
    Many people are working on a few alternatives.
    Some seem quite nice.

    For me X is okay, it works with my apps, it looks nice.

    I find it odd that X is so terrible and so unusable for many people, yet they haven't created a really usable alternative. I think mostly they are whiners who couldn't do any better.
    (Obviously those who ARE working on making something better aren't included in that group)

    1. Re:Go ahead by Overly+Critical+Guy · · Score: 1

      I find it odd that X is so terrible and so unusable for many people, yet they haven't created a really usable alternative. I think mostly they are whiners who couldn't do any better.

      Or, they're not coders or don't have the time.

      Guess what? There are movie and game critics who don't make movies and games!

      I do NOT understand the bizarre Linux mindset of refusing to listen to users just because they're not programming an alternative project. "Even though you're the one actually USING my crap, I'm not going to listen to your constructive criticism unless you're already programming an alternative--which translates to, I am too lazy to fix my problems and hope you already did!"

      --
      "Sufferin' succotash."
    2. Re:Go ahead by Anonymous Coward · · Score: 0

      I find it odd that X is so terrible and so unusable for many people, yet they haven't created a really usable alternative. I think mostly they are whiners who couldn't do any better.

      So, by your logic, a starving man should shut up and starve, rather than asking for the food he can't provide?

      Some people want computers to be usable. If they find Windows or MacOS provides a usable environment, and X doesn't, then they're going to ask why. And if the only answer they get is "if you don't like it then write something better", they're going to respond with a middle finger and go back to their proprietary operating systems.

      You may think that's good riddance. But an elitist operating system is doomed to marginalisation. Do you like being marginalised?

      Just a thought.

    3. Re:Go ahead by bishiraver · · Score: 1

      it's not terrible. It's not unusable. but it's starting to look pretty rusty compared to some of the other stuff out there, and a lot of things about it need to be / can be improved.

    4. Re:Go ahead by Anonymous Coward · · Score: 0

      So use Windows, then. You can run your X apps remotely using Cygwin/XFree86. And you can manage your files through Samba using Explorer, because Explorer kicks the shit out of XFree86 and every Linux/UNIX window manager out there!

      Users of X are well aware of the problem, but we're tolerant of it because its better than the other option (metioned above). If you want to complain, go scream at the developers of X. Telling the users of X that it sucks is not going to help anything.

      Or write your own damn alternative like other people have been trying to do (and failing). We're all in the same boat here, hoping for things to get better. But while we're waiting, we're enjoying the advantages that X does have.

  51. High ppi displays by SeanAhern · · Score: 2, Interesting

    Sure, fonts can be scaled just fine. But that's not the only user interface element that needs to be scaled.

    Here at work, we have several of those IBM T22[01] displays. 24" diagonal with 3840x2400 resolution. I haven't done the math, but I think that's somewhere around 200 ppi. That's way too fine to do everyday work on.

    So you scale up the font size. Great. What about images on web pages? What about the size of your scroll bars? What about toolbar buttons? What about ....

    You see the dilemma.

    Until there is a display technology like Quartz Extreme or what I hear rumor of in Longhorn (or a proposal like this, which could conceivably scale all X11 content), very high ppi displays are going to suffer serious usability problems.

    1. Re:High ppi displays by Anonymous Coward · · Score: 0

      Fresco is developed with such monitors in mind: You give sizes in mm and it will adjust it to the screen. So your windows will stay the same size on such huge monitors or more modestly sized ones. Of course you can just adjust the zoom factor with which the window is rendered if it was designed to be too small or too big...

      Downside: Fresco is far from useable and it will break X compatibility till someone writes a compatibility layer (like Apple did for their MacOSX). It is the most interessting GUI project in the free software world though, so help to get it working!

  52. GTK bloat (Was:Re:Good idea, but not new) by isj · · Score: 1
    > Given the current bloat of GTK

    I have looked into this and, yes, there are blatant inefficiencies in GTK. For instance: to draw the simple box with a mark in it for checkboxes, GTK 1.2 uses 6 PutImage operations. Does it cache the result at the server? No, it does it every time it needs to draw the box. It does not even compose the pixmap itself and then uses a single PutImage. The most efficient way of doing it is to compose the pixmap at the server, and the on each Expose event simply do a single CopyArea operation. (backing store would be even better). Looking into the GTK source code shows that this is not a simple thing to remedy. The drop-in shadows of the box is handled by one part of the code, the checkmark by another, and so on.

    There are also examples of inefficient resource use. gcolorsel (v1.40) needs a pixmap for each color. 1165 pixmaps. This does not sound as a reasonable requirement to me.

    1. Re:GTK bloat (Was:Re:Good idea, but not new) by Anonymous Coward · · Score: 0

      so, who cares. if it makes the code nicer, its fine. on anything faster than an 486, GTK is fast / crisp / theres no way you can notice that.

    2. Re:GTK bloat (Was:Re:Good idea, but not new) by Anonymous Coward · · Score: 0

      > so, who cares. if it makes the code nicer, its
      > fine. on anything faster than an 486, GTK is
      > fast / crisp / theres no way you can notice that

      Because if gives you some insight into the
      ability of the developers and whether they
      know what they are doing or not. If they
      can't get the easy little things right do
      you have a high degree of confidence that
      they will be able to get the difficult big
      things right?

    3. Re:GTK bloat (Was:Re:Good idea, but not new) by Brandybuck · · Score: 2, Informative

      Having written a few Qt/KDE themes, and perused in depth dozens more, I have to admit that Qt is mostly the same way.

      But to be honest, the reason is to prevent bloat. Caching pixmaps uses a lot of memory. For a checkbox, there would be six pixmaps cached (foreground and background palettes for active, inactive and disabled states). This lack of caching doesn't cause a problem for simple controls like checkboxes, because redraws are uncommon.

      On some themes, I can definitely see a flicker on slower machines, while on others that appear to be more complex, I see none. For example, Liquid is a pretty complex theme with blended gradients everywhere, but it makes extensive use of caching, so it has a smoother redraw than some simpler themes.

      Of course, if this becomes a problem for non-cached themes, it's simple to fix, because of the way Qt is architected.

      --
      Don't blame me, I didn't vote for either of them!
    4. Re:GTK bloat (Was:Re:Good idea, but not new) by isj · · Score: 1

      Exactly. I can see why the code was split up - to increase reuse. Which is fine if the code you are reusing is of good quality. But the drop-in shadow is drawn as bitmaps, which means that it scales poorly in higher resolutions. It is not that difficult to use PolyLine/PolySegment instead, and the requests are smaller and mostly likely faster. There is not even a single comment line regarding this in the GTK source. So there is room for improvement (and it may have improved in GTK 2 which I have not looked into - yet)

  53. Development is a pure headache by Anonymous Coward · · Score: 0

    A clean robust gui which off loads gui implemented and unimplemented gui tasks. Caching basic wigets menus and buttons so on in video ram for on speedy retrieval. Easy texture filtering (low quality textures made to look very good) duplication and manipulation which occurs on the fly with varied effects (or opportunity to provide seamless relevant information retrival such as graphing, mouse over, mipmapped zoom. etc... ). X desktops 'may' finally see a standardized wiget set for optimized performance and ease of development. Reverse compatibility with older apps my require a one time screen capture and then defaulted render and translation benign of user functions.

    Stability is a concern, most cards prefer creating one draw buffer and doesn't release properly until a complete release of the of the api is called or forced. Even well made apps are much more likely to leak. Object orientation is subjective relying on more the just proper monitor drivers and screen resolution. User focus,

    Desired, real 2d and 3d side by side occupying the space allocated to each "object" (in essence native 2d with the ability to speedily render possibly hundreds of individual gl windows within the display or allow transparency that allows user interaction through). Stacking (objects over top of each other) must default to a benign behaviour-but so as not to limit such useful intentional actions do by the user and allowed by the developer. Lighting or effects interaction between animated objects.

  54. Re:without altering existing X protocol "too much" by jbolden · · Score: 1

    because most people do need to rely on at least some proprietary software

    Part of open source is trying to change that. Also the connection between propietery and closed source is relatively new (last 25 years) based more on PCs not coming with system compilers when they came out (though funny enough better tools then they have today, like built in linkers).

    Binary compatability is not a feature we should support. Let the closed source developers have to constantly keep up for a few years and we'll see how well their model works.

  55. X Double Buffer Extension by Wills · · Score: 2, Informative
    I see there are people saying again that X cannot do flicker-free graphics because it lacks double-buffering. However, I'd like to point out that X has had the Double Buffer Extension since about 1994.

    For an excellent example of how to do double-buffering in X, please read the source code (here) for the XSpectrum spectrum analyser (despite its age XSpectrum still runs faster than the newer gspectrum).

  56. Re:without altering existing X protocol "too much" by stripes · · Score: 2, Interesting
    One of the first X protocol extensions was allowing you to have windows that were some shape other than square. It broke no existing X applications at all,

    Well to be fair it didn't exactly work with window managers that didn't know anything about shaped windows. It didn't cause the WM to not work, but it pretty much caused the managed windows not to be shaped (except I think uwm which didn't reparent windows...). So it could be said to have broken a tiny handful of programs ("almost all X window managers").

    It definitly broke as few things as such a change could have though. Just like future changes are unlikely to break anything that doesn't use them except in a lot of cases they will require help from window managers (lest you get partly transparent windows in a fully opaque window border for example)...and I expect there may be a few other places where the new and the old don't interact very well (for example if a second attempt is made at fixing cut and paste).

    It is still hard to imagine a scheme where that sort of extention broke nothing though.

  57. THAT IS A BUG NOT A FEATURE by lordcorusa · · Score: 1

    What you are referring to is a bug in Mozilla's Gecko Runtime Engine. It is not a feature! It is not documented behavior (other than in the bugzilla database) and it should be removed. You should not become accustomed to using it, because hopefully one day, it will be eliminated.

    --
    The preceding comments reflect the author's personal opinion and are public domain, unless explicitly stated otherwise.
    1. Re:THAT IS A BUG NOT A FEATURE by Calgary · · Score: 1

      What are you talking about?? It's an incredibly useful feature!

  58. Re:without altering existing X protocol "too much" by Anonymous Coward · · Score: 0

    XFree86 has done even better than not breaking the protocol. IIRC they have been *binary* compatible for Xlib for over 4 years.

    That's easy to do when you don't release anything new in over 4 years too!
    ba-da-bump!

    Thank you ladies and gentlemen, I will be performing all day, every day at the slash-dot for the next week.

  59. Feature not a bug by nuggz · · Score: 1

    Sensible cut and paste is a bug, I want to view this URL, so I put the URL in the browser.

    This make sense, I really hope that nobody starts removing features like this. I would appreciate a link indicating this desirable behaviour is a bug.

    IE lets you drag and drop urls into the browser window.

    1. Re:Feature not a bug by lordcorusa · · Score: 1

      Search on Mozilla's bugzilla database. You will find it listed as a bug. Of course, you will also find considerable debate about whether it should be removed, as so many people like you have accustommed themselves to it. So unfortunately, you will probably get your wish, as this bug will probably not get fixed unless some strong leader takes over that module and makes a non-democratic decision. (unlikely)

      However, consider it from a design purity angle rather than the user-1337 trick angle. A user is cutting and pasting values into a web based form. The user acidentally misses the form box by a couple of pixels. BAM! Mozilla clobbers the user's form by loading a new page which it interprets from whatever data the user accidentally pasted. On many pages, particularly secure pages, when the user clicks back, the form data is erased, which is an extremely *major* annoyance.

      --
      The preceding comments reflect the author's personal opinion and are public domain, unless explicitly stated otherwise.
  60. Please, let's get off of X already by Overly+Critical+Guy · · Score: 0, Troll

    I'm sick of add-ons and modifications to this ancient protocol. Can we please create a modern GUI protocol to allow us a modern desktop environment? Why are so many Linux users afraid of change?

    XFree86 is HUGE and complicated. Too many libraries and conflicting interfaces and generally poor performance litter its userspace. When this is brought up, every X defender blames the windowing libraries and desktop environments. Look, it's 2003, can we please move beyond the 1998 era of Linux desktops and have something new and modern?

    --
    "Sufferin' succotash."
    1. Re:Please, let's get off of X already by xanadu-xtroot.com · · Score: 0, Redundant

      I'm sick of add-ons and modifications to this ancient protocol. Can we please create a modern GUI protocol to allow us a modern desktop environment? Why are so many Linux users afraid of change?

      XFree86 is HUGE and complicated. Too many libraries and conflicting interfaces and generally poor performance litter its userspace. When this is brought up, every X defender blames the windowing libraries and desktop environments. Look, it's 2003, can we please move beyond the 1998 era of Linux desktops and have something new and modern?


      Just reposting since you'll probably get modded to hell...

      Original Link

      --
      I'm not a prophet or a stone-age man,
      I'm just a mortal with potential of a super man.
    2. Re:Please, let's get off of X already by Anonymous Coward · · Score: 0

      Can we please

      can we please

      Sure. Are you putting up code or money?

  61. What about Y? by HeX86 · · Score: 1

    Why not give Y a shot?
    http://www.doc.ic.ac.uk/~mbt99/Y/

  62. Good idea, but not new-My first mindset. by Anonymous Coward · · Score: 0

    "A significant percentage of the Linux community are not Unix technical types."(1)

    They're former Windows users.

    (1) Yeah! Yeah! Were do YOU think they come from?

  63. Re:THAT IS A BUG NOT A FEATURE - NOT by Anonymous Coward · · Score: 0

    What you are referring to is a bug in Mozilla's Gecko Runtime Engine

    No, it's been in the Mozilla featureset since Netscape 4.x (probably earlier.)

    You should not become accustomed to using it, because hopefully one day, it will be eliminated

    It predates Gecko by several years, and is behaviour that was intentionally ported from the Unix version of Netscape into Gecko. It was ported specifically because people were accustomed to using it.

  64. Any diagrams? by Anonymous Coward · · Score: 0

    Everytime an X post comes up, it gets hard to tell where the technology fits in the X-window scheme. Is there a standard layer diagram like the OSI network one which could help place some of this tech?

  65. Well... by JohnwheeleR · · Score: 1

    Something needs to be done!

  66. Re:My world has changed...let me change yours! by Nexus7 · · Score: 1

    In other words, it misses the forest for the trees?

  67. pnmtools by fizbin · · Score: 1

    Have you looked at pnmtools?

    They do what you want for certain limited image types: no alpha, rectangular images. (and some companion tools are able to extend things to add an alpha channel) The only problem is that last time I looked a few of them don't read/write to stdout.

    Also, as the most common image processing I find I have to do is rotate pictures from my digital camera through 90 degrees, I find that the command line tools that come with libjpeg (often packaged as "jpegtools") are quite useful.

    1. Re:pnmtools by Anonymous Coward · · Score: 0

      Check out ImageMagick or the Gimp Perl interface. This kind of thing has been possible on Linux/Unix for years.

  68. Re:Do It Right by otis+wildflower · · Score: 1

    If Pennington wants to make extensions to X then let him go through the existing X community and standards process.

    Why? Forks can be healthy.

    Gnome and/or Linux are only a relatively small percentage of X users.

    Where are most of the new features in X coming from? Who's driving the mass Unix desktop? I'd have to say that apart from OSX, it's XFree. Nothing wrong with meeting and exceeding what's available on other desktops.

    Remember, Gtk was started by a guy who "wanted to learn how to write a GUI". Yes, that's right, and boy does it show.

    Yay! Ad-Hominem attacks! What a persuasive, logical and coherent argument!

    While I don't use the GNOME environment, I'm glad that folks are building the GLIB/GTK. Given that it's basically GTK and QT that are the relevant X toolkits today (Motif? BWAHAHAHA) and that vendor acceptance outside of OSS OSes (Solaris + gtk ring a bell?) the GTK guy's learning project has been pretty educational, no?

    Kent
    Oh, really? Well, what about that time I found you naked with that bowl of Jell-O?

  69. the biggest holdup in linux.... by drfrog · · Score: 1

    has got to be the graphics and audio pipelines

    they are so complex and overly complicated, not to meantion incompatible and slow in most cases,

    which lib to compile against?
    is it framebuffer or reg xlibs?

    is it alsa , /dev/dsp or esd?
    bah!
    in windows, as a user i never have to worry about this crap, and i shouldnt have to under linux either

    if windows can manage this linux should be able to!

    its time to consolidate
    especially if linux ever wants to get into the desktop market

    --
    back in the day we didnt have no old school
    1. Re:the biggest holdup in linux.... by EdMack · · Score: 1

      Are you complaining about having the choice between managers? Engineers cant win can they.

      Heres a simple idea, choose one and use it! Although one note is that most distros come pre-configed so that everything uses the one audio manager ect, and desktop users never have to even know whats going on.. if you are changing between them, then be prepared to chose a different output plugin in XMMS

      --
      puts ("Python r0cks\n");
    2. Re:the biggest holdup in linux.... by Brandybuck · · Score: 1

      Damned straight! The lack of alpha blended window managers and network transparent audio is the number one reason corporations aren't choosing Linux for the desktop productivity needs!

      --
      Don't blame me, I didn't vote for either of them!
  70. Re:Do It Right by Anonymous Coward · · Score: 0

    > Motif? BWAHAHAHA

    A sure sign you a dealing with a Linux
    fan-boy who has no clue how to use Motif
    and doesn't understand the X way.

    > and that vendor acceptance outside of OSS OSes
    > (Solaris + gtk ring a bell?) the GTK guy's
    > learning project has been pretty educational,
    > no?

    Umm, no is right. They are hedging their bets.
    Their are lots of cases in the computing world
    where crap has beat out a superior solution
    and or product. Look at the phenomenon of Linux,
    or GNOME, a clear case of style over substance.
    Sun had to invest 1000s hour man-hours just to
    make GNOME half-way useable.

    > Oh, really? Well, what about that time I found
    > you naked with that bowl of Jell-O.

    Ummm, what about that time I found with that
    penguin...

  71. Amiga actually did this first by tjstork · · Score: 1


    In Amiga every window had its own RastPort and its own underlying bitmap. Back in the day it was thought that graphics hardware would eventually be extended to do all the windows as sort of super sprites, but that never happened.

    --
    This is my sig.
  72. Not font size. by mindstrm · · Score: 1

    You have to adjust the DPI setting.

    I had no problems on my 15" 1600x1200 laptop, using windows in 120DPI mode. It looked GREAT, easy to read, etc.

    The odd web page or crappy app would have some problems, due to improper use of widgets.. but for the vast majority of things, it worked just fine.

    And am I the only one who remembers microsoft ALWAYS is going to solve everything in the next version?

  73. Windows apologists strike again. by tjwhaynes · · Score: 1

    I don't want to have to "learn to configure" a system to actually be readable. Heaven forbid I expect it to be well-designed and readable from the start.

    Good thing that X can read the dimensions of a monitor and provide the needed system resolution then. That someone might wish to override the system setting because they might, say, have poor eyesight and wish everything to be bigger and higher contrast and finds that the two minutes reading the appropriate manual helps them not only set things up as they want it but also opens the door to other accessibility advantages.

    Autoconfiguration is good. Manual overrides for autoconfiguration is better. Just like a good SLR camera. There will be times when you just want to press the shutter release and get a decent picture. There will be times when reading the manual and advancing your own skills so that you can take that soft focus, small depth-of-field portrait will be advantageous too.

    Having many many options for configuration is a strength, not a weakness. Having good defaults is important.

    Cheers,

    Toby Haynes

    --
    Anything I post is strictly my own thoughts and doesn't necessarily have anything to do with the opinions of IBM.
    1. Re:Windows apologists strike again. by Anonymous Coward · · Score: 0

      If you're vision impaired I don't think using an 80x25 light gray on black terminal typing commands like:
      vi -Rx -ccy 7 --use-rw-mode /etc/X11R6/configure/.settings/XF86Config
      would make your argument hold up for being better.
      I'm not taking sides though, I use whatever OS is appropriate for what I want to do, and that's usually just playing DVDs, DivX, writing hardware accelerated 3d games, and web surfing.

  74. What makes you think you are a "real user"? by Anonymous Coward · · Score: 0

    "The X old guard are seriously skirting making X completely irrelevant if they do not become more open and start adopting things that real users want."

    Ah, real users like you, no doubt!

    Ooooo, the "old guard". And you must be the "enlightened new wave"! Hail to you sir! Your are truly great! Spare us not the conviction of our great ignorance! Teach us oh enlightened one!

    I suppose real users want l33t transparent windows!

    I suppose real users want an additional 5fps in Quake2 and Halflife!

    I suppose real users want their display optimized for viewing aNim3_d00d pornography and 3l33t XMMS skins!

    Oh, ....wait! You are not a real user. You do not drive corporate adoption. You do not manage 10,000 seat deployments. You do not fund the development of these projects, not even potentially.

    Some day you will no doubt grow up, have the ability to contribute meaningfully to these projects, have the ability to understand what they are about beyond your own immediate gratification, and like me, be telling people like you, just this.

  75. "Fame" by Anonymous Coward · · Score: 0

    Since when "Red Hat" is "fame"? Looks dumb to me.

  76. Also by Anonymous Coward · · Score: 0

    The fact that Mr. Walther is a flaming idiot will severely hamper it.

  77. Re:Do It Right by Ice_Balrog · · Score: 1
    And for God sake don't let the GNOME/Gtk people start changing X without some oversight from people who *really* understand X. Remember, Gtk was started by a guy who "wanted to learn how to write a GUI". Yes, that's right, and boy does it show.


    Linux was started by a guy who "wanted to learn how to write a OS".

    Now look where it is. It has beaten the *NIXes that the people who "really" know OSes made.
    --
    #include "sig.h"
  78. Wrong wrong wrong by Anonymous Coward · · Score: 0

    All the Aqua widgets are bitmaps and they aren't scaled at all. Mac OS X has even poorer resolution independence than Windows and X11, because you can't even change the system font size (AFAIK).

  79. Free market by nuggz · · Score: 1

    Okay, if it bothers thens enough, they can.

    1. Choose something else, be it console, MS Windows or GEOS.
    2. Pay someone to fix it.

  80. Re:without altering existing X protocol "too much" by Anonymous Coward · · Score: 0

    "Let the closed source developers have to constantly keep up for a few years and we'll see how well their model works."

    I'd keep a close eye on how well _your_ model works as well under the same conditions.

  81. Re:Do It Right by reflective+recursion · · Score: 1

    Uhm. GNOME community is NOT GTK+/GIMP community. Not even close. And the person who started GTK+ didn't do it to "learn how to write a GUI." GTK+ was written mostly because there was nothing good AND free when Spencer Kimball and Peter Mattis wrote the first versions of GIMP. They became so fed up with Motif that they created what would later become known as GTK+.

    --
    Dijkstra Considered Dead
  82. ICCCM by SimHacker · · Score: 1
    In the Unix-Haters book, I wrote about ICCCM in the X-Windows Disaster chapter:

    Ice Cube: The Lethal Weapon

    One of the fundamental design goals of X was to separate the window manager from the window server. "Mechanism, not policy" was the mantra. That is, the X server provided a mechanism for drawing on the screen and managing windows, but did not implement a particular policy for human-computer interaction. While this might have seemed like a good idea at the time (especially if you are in a research community, experimenting with different approaches for solving the human-computer interaction problem), it can create a veritable user interface Tower of Babel.

    If you sit down at a friend's Macintosh, with its single mouse button, you can use it with no problems. If you sit down at a friend's Windows box, with two buttons, you can use it, again with no problems. But just try making sense of a friend's X terminal: three buttons, each one programmed a different way to perform a different function on each different day of the week -- and that's before you consider combinations like control-left-button, shift-right-button, control-shift-meta-middle-button, and so on. Things are not much better from the programmer's point of view.

    As a result, one of the most amazing pieces of literature to come out of the X Consortium is the "Inter Client Communication Conventions Manual," more fondly known as the "ICCCM", "Ice Cubed," or "I39L" (short for "I, 39 letters, L"). It describes protocols that X clients ust use to communicate with each other via the X server, including diverse topics like window management, selections, keyboard and colormap focus, and session management. In short, it tries to cover everything the X designers forgot and tries to fix everything they got wrong. But it was too late -- by the time ICCCM was published, people were already writing window managers and toolkits, so each new version of the ICCCM was forced to bend over backwards to be backward compatible with the mistakes of the past.

    The ICCCM is unbelievably dense, it must be followed to the last letter, and it still doesn't work. ICCCM compliance is one of the most complex ordeals of implementing X toolkits, window managers, and even simple applications. It's so difficult, that many of the benefits just aren't worth the hassle of compliance. And when one program doesn't comply, it screws up other programs. This is the reason cut-and-paste never works properly with X (unless you are cutting and pasting straight ASCII text), drag-and-drop locks up the system, colormaps flash wildly and are never installed at the right time, keyboard focus lags behind the cursor, keys go to the wrong window, and deleting a popup window can quit the whole application. If you want to write an interoperable ICCCM compliant application, you have to crossbar test it with every other application, and with all possible window managers, and then plead with the vendors to fix their problems in the next release.

    In summary, ICCCM is a technological disaster: a toxic waste dump of broken protocols, backward compatibility nightmares, complex nonsolutions to obsolete nonproblems, a twisted mass of scabs and scar tissue intended to cover up the moral and intellectual depravity of the industry's standard naked emperor.

    Using these toolkits is like trying to make a bookshelf out of mashed potatoes.
    - Jamie Zawinski

    -Don Hopkins

    --
    Take a look and feel free: http://www.PieMenu.com
  83. How much memory would XClock take? by SimHacker · · Score: 1
    So somebody thinks it would be a great idea to double buffer every window, in an attempt to make X look cool like a Mac. First, please explain HOW this increases usability? How many megabytes and mips will displaying a clock require, then? And how much better will the clock tell the time? And how many Commodore 64s would that take?

    -Don

    From the X-Windows Disaster:

    How to make a 50-MIPS Workstation Run Like a 4.77MHz IBM PC

    If the designers of X-Windows built cars, there would be no fewer than five steering wheels hidden about the cockpit, none of which followed the same principles -- but you'd be able to shift gears with your car stereo. Useful feature, that.
    - Marus J. Ranum, Digital Equipment Corporation
    X-Windows is the Iran-Contra of graphical user interfaces: a tragedy of political compromises, entangled alliances, marketing hype, and just plain greed. X-Windows is to memory as Ronald Reagan was to money. Years of "Voodoo Ergonomics" have resulted in an unprecedented memory deficit of gargantuan proportions. Divisive dependencies, distributed deadlocks, and partisan protocols have tightened gridlocks, aggravated race conditions, and promulgated double standards.

    X has had its share of $5,000 toilet seats -- like Sun's Open Look clock tool, which gobbles up 1.4 megabytes of real memory! If you sacrificed all the RAM from 22 Commodore 64s to clock tool, it still wouldn't have enough to tell you the time. Even the vanilla X11R4 "xclock" utility consumed 656K to run. And X's memory usage is increasing.

    -Don Hopkins

    --
    Take a look and feel free: http://www.PieMenu.com
  84. Re:without altering existing X protocol "too much" by Anonymous Coward · · Score: 0

    Actually closed source is bad because once a closed-source company or developer disappears, there's NO WAY for the community at large to continue supporting that product. How do we continue to support it without the code? We're not even ALLOWED to hack it open to keep it alive, we were given no rights to do so.

    The choice of the community is either to progress, sometimes breaking archaic stuff in favor of new and improved methods, or allow the project to be held captive to ancient software that nobody is using anyway. That leads to "kruft", one of Microsoft's great sins. If the games were open, interested volunteers could patch them and keep them alive forever complete with up-to-date performance advances in the OS, as long as there was sufficient interest.

  85. X Extensions are a Failure by SimHacker · · Score: 1
    From The X-Windows Disaster:

    On the whole, X extensions are a failure. The notable exception that proves the rule is the Shaped Window extension, which was specifically designed to implement round clocks and eyeballs. But most application writers just don't bother using proprietarty extensions like Display PostScript, because X terminals and MIT servers don't support them. Many find it too much of a hassle to use more ubiquitous extensions like shared memory, double buffering, or splines: they still don't work in many cases, so you have to be prepared to do without them. If you really don't need the extension, then why complicate your code with the special cases? And most applications that do use extensions just assume they're supported and bomb if they're not.

    The most that can be said about the lowest-common-denominator approach that X takes to graphics is that it levels the playing field, allowing incredibly stupid companies to jump on the bandwagon and sell obsolete junk that's just as unusable as high-end brand-name workstations.

    -Don

    --
    Take a look and feel free: http://www.PieMenu.com
    1. Re:X Extensions are a Failure by Anonymous Coward · · Score: 0

      The thing that's changed since that rant is that there are now only about three X servers that really matter:

      + XFree86
      + Hummingbird Exceed
      + Sun's

      So, in theory, it should be quite easy to get universal buy-in to an extension, implement it, and depricate the old way within a period of 2-3 years. Realistically, however, nothing ever gets removed.

    2. Re:X Extensions are a Failure by BlackBolt · · Score: 1

      You're quoting from an article you yourself wrote? That's pretty sad. That's like me quoting from my old Slashdot posts as evidence to prove a point. In fact, I can quote from 350 different sources right now, all of them written by me. That's a majority, enough to get a president elected.

      So if you hate X, just say so. All the other trolls don't need a cookie-cutter premade crutch to get a reaction, although oldies but goodies like "In Soviet Russia", "BSD is dead", and "Natalie Portman's hot grits" can get the creative juices flowing, and a goatse link or two can't hurt.

      Fact is, X is not perfect. We all know that. You don't like it, write something better.

  86. Trying copying an image from Gimp to OpenOffice by Kashif+Shaikh · · Score: 1

    If you can do that, I'll give you a shiny medal.

    1. Re:Trying copying an image from Gimp to OpenOffice by _Sprocket_ · · Score: 1


      Trying copying an image from Gimp to OpenOffice...
      If you can do that, I'll give you a shiny medal.


      Perhapse you meant to post this earlier in the thread? If not, you missed the pace of the conversation talking about TEXT and the behavior of select/copy and paste functions (which, btw, work fine between OpenOffice and GIMP).
  87. Myth: X is "Device Independent" by SimHacker · · Score: 1
    Again, from the X-Windows Disaster:

    Myth: X is Device Independent

    X is extremely device dependent because all X graphics are specified in piel coordinates. graphics drawn on different resulution screens come out at different sizes, so you have to scale all the coordinates yourself if you want to draw at a certain size. Not all screens have square pixels: unless you don't mind rectangular squares and oval circles, you also have to adjust all coordinates according to the pixel aspect ratio.

    A task as simple as filing and stroking shapes is quite complicated because of X's bizarre pixel-oriented imaging rules. When you fill a 10x10 square with XFillRectangle, it fills the 100 pixels you expect. But you get extra bonus pixels when you pass the same arguments to XDrawRectangle, because it actually draws an 11x11 square, hanging out one pixel below and to the right!!! If you find this hard to believe, look it up in the X manual yourself: Volume 1, Section 6.1.4. The manual patronizingly explains how easy it is to add 1 to the x and y position of the filled rectangle, while subtracting 1 from the width and height to compensate, so it fits neatly inside the outline. Then it points out that in the case of arcs, however, this is a much more difficult proposition (probably impossible in a portable fashion). This means that portably filling and stroking an arbitrarily scaled arc without overlapping or leaving gaps is an intractable problem when using the X Window System. Think about that. You can't even draw a proper rectangle with a thick outline, since the line width is specified in unscaled pixel units, so if your display has rectangular pixels, the vertical and horizontal lines will have different thicknesses enen though you scaled the rectangle corner coordinates to compensate for the aspect ratio.

    The color situation is a total flying circus. The X approach to device independence is to treat everything like a MicroVAX framebuffer on acid. A truly portable X application is required to act like the persistent customer in Monty Python's Cheese Shop sketch, or a grail seeker in Monty Python and the Holy Grail. Even the simplest applications must answer many difficult questions:

    WHAT IS YOUR DISPLAY?
    display = XOpenDisplay(unix:0);
    WHAT IS YOUR ROOT?
    root = RootWindow(display, DefaultScreen(display));
    AND WHAT IS YOUR WINDOW?
    win = XCreateSimpleWindow(display, root, 0, 0, 256, 256, 1, BlackPixel(display, DefaultScreen(display)), WhitePixel(display, DefaultScreen(display)));
    OH ALL RIGHT, YOU CAN GO ON.

    WHAT IS YOUR DISPLAY?
    display = XOpenDisplay(unix:0);
    WHAT IS YOUR COLORMAP?
    cmap = DefaultColormap(display, DefaultScreen(display));
    AND WHAT IS YOUR FAVORITE COLOR?
    favorite_color = 0; /* Black. */
    /* Whoops! No, I mean: */
    favorite_color = BlackPixel(display, DefaultScreen(display));
    /* AAAYYYYEEEEE!! */
    (client dumps core & falls into the chasm)

    WHAT IS YOUR DISPLAY?
    display = XOpenDisplay(unix:0);
    WHAT IS YOUR VISUAL?
    struct XVisualInfo vinfo;
    if (XMatchVisualInfo(display, DefaultScreen(display), 8, PseudoColor, &vinfo) != 0) visual = vinfo.visual;
    AND WHAT IS THE NET SPEED VELOCITY OF AN XConfigureWindow REQUEST?
    /* Is that a SubStructureRedirectMask or a ResizeRedirectMask? */
    WHAT??! HOW AM I SUPPOSED TO KNOW THAT?
    AAAAUUUGGGHHH!!!!

    (server dumps core & falls into the chasm)

    -Don Hopkins

    --
    Take a look and feel free: http://www.PieMenu.com
  88. Myth: X Demonstrates the Power of Client/Server... by SimHacker · · Score: 1
    From The X-Windows Disaster:

    Myth: X Demonstrates the Power of Client/Server Computing

    At the mere mention of network window systems, certain propeller heads who confuse technology with economics will start foaming at the mouth about their client/server models and how in the future palmtops will just run the X server and let the other half of the program run on some Cray down the street. They've become unwitting pawns in the hardware manufacturers' conspiracy to sell newer systems each year. After all, what better way is there to force users to upgrade their hardware than to give them X, where a single application can bog down the client, the server, and the network between them, simultaneously!

    The database client/server model (the server machine stores all the data, and the clients beseech it for data) makes sense. The computation client/server model (where the server is a very expensive or experimental supercomputer, and the client is a desktop workstation or portable computer) makes sense. But a graphical client/server model that slies the interface down some arbitrary middle is like Solomon following through with his child-sharing strategy. The legs, heart, and left eye end up on the server, the arms and lungs go to the client, the head is left rolling around on the floor, and blood spurts everywhere.

    The fundamental problem with X's notion of client/server is that the proper division of labor between the client and the server can only be decided on an application-by-application basis. Some applications (like a flight simulator) require that all mouse movement be sent to the application. Others need only mouse clicks. Still others need a sophisticated combination of the two, depending on the program's state or the region of the screen where the mouse happens to be. Some programs need to update meters or widgets on the screen every second. Other programs just want to display clocks; the server could just as well do the updating, provided that there was some way to tell it to do so.

    The right graphical client/server model is to have an extensible server. Application programs on remote machines can download their own special extension on demand and share libraries in the server. Downloaded code can draw windows, track input events, provide fast interactive feedback, and minimize network traffic by communicating with the application using a dynamic, high-level protocol.

    As an example, imagine a CAD application built on top of such an extensible server. The application could download a program to draw an IC and associate it with a name. From then on, the client could draw the IC anywhere on the screen simply by sending the name and a pair of coordinates. Better yet, the client an download programs and data structures to draw the whole schematic, which are called automatically to refresh and scroll the window, without bothering the client. The user can drag an IC around smoothly, without any network traffic or context switching, and the server sends a single message to the client when the interaction is complete. This makes it possible to run interactive clients over low-speed (that is, slow-bandwidth) communication lines.

    Sounds like science fiction? An extensible window server was precisely the strategy taken by the NeWS (Network extensible Window System) window system written by James Gosling at Sun. With such an extensible system, the user interface toolkit becomes an extensible server library of classes that clients download directly into the server (the approach taken by Sun's TNT Toolkit and Arthur van Hoff's HyperLook gui environment). Toolkit objects in different applications share common objects in the server, saving both time and memory, and creating a look-and-feel that

    --
    Take a look and feel free: http://www.PieMenu.com
  89. Re:without altering existing X protocol "too much" by jbolden · · Score: 1

    Works fine. See about 2000 Unix projects for examples.

  90. remote display is great for Diablo 2 by Herkules · · Score: 0

    Hey didnt you now that wine can remote display diablo for you ?

    =) And people say X sucs!

    --
    CIA Factbook 2002 (US):"Since 1975, practically all the gains in household income have gone to the top 20% of households
  91. Jojo on UI by SimHacker · · Score: 2, Funny
    Jojo on UI

    From: francis@ircam.fr (Joseph Francis)

    I would like to propose that all GUI designers eschew anything actually resembling visible display of an interface, and simply ship a library, and a loose 'conceptual' discussion of what effects the display should provoke, according to a psychological or astrological model of the user's personality (Jungian, Freudian, or Dosteyevskian), their latitutude and longitude, and blood sugar levels. It should be completely up to the user to specify a display (I believe POSEUR is addressing the shipment of design-free GUI design for user-transparent configuration: open, scalable, and extensible, the problem is almost PN complete). Sample KIT (using a paradigm of an application which extracts semantic nets from French Literature in Translation):

    1. Parameters: none
    2. Two thick libraries, with enforced single-entry SlowRead(). and a single NoExit() for enforced modularity.
    3. Copy of More's /Utopia/, and a well-fingered /Neuromancer/
    4. One copy of Italian Vogue Summer collection '82
    5. Default Interface Processor (DIP) to generate a user-configurable default interface upon which one can generate proposed target 'research' examples.
    6. One copy of USA Today and Time (tm) magazine to be used for sample non-default graphical layout guidelines.
    + XYmorph (tm): a new easy-to-use open extensible and scalable system for randomly per/mutating user interfaces. A manifestation of the concept of both stimulated healling and scatter-brain i/o in order to most quickly reach suboptimal interface design with the least amount of effort on the part of the designer or the user.
    + Quagmire: a CD-rom collection of over 4 quadrillion possible interfaces generated for a Unix(tm) open, extensible, and scalable graphical C-shell-feel-good-alike system. Meets ANSI, K&R, A&P, S&H
    + and other stamped standards in continental US.
    + boraX: a user-configurable interface cleanser. Open, extensible, and scalable, it removes all traces of design constraint from simple structured systems and creates flat-design mazelike idio(syncratic/pathic/syncretic) systems of fresh and clean code.

    Sample concept discussion:

    The pointer (I hesitate to use such a loaded word: for users who object to object orientation and simplistic Western-philosophy views of dichotomatic (not diatomaceous or deciduous, though wooden feelings might be appropriate for Environmentally friendly X displays) subject/object distinctions might prefer to discuss 'object compliment', or even 'compliment' (as in Complimentary beverage or Complimentary sugar-coated dry-roasted 100% genuine Virgina grown goober peas just the way they grew them in olden times) in order to provoke an awareness and create a more extensible scalable and transparent user environment for those who aren't really worried about domain/range distinctions in disjunctive noun mappings) should respond to a click (which is to say a simple tap, of varying duration depending upon the physical capabilities and inclinations of those who might be inclined to acutally depress the open, extensible, and scalable button on a mouse (though those of us who object to laboratory research mechanomorphization of living entities prefer to call 'mice' 'clickers', thus preserving the dignity of what we all must recognize is part of a larger Gaiaen web of life (which is, I must remark, open, scalable, and extensible, life that is, not the mouse) and metonymically convolving form and function into the open, scalable and extensible nomenclature of X).

    XBorges.

    One longs for the day when the responsibility of programming computers falls squarely on the shoulders of the users, where it belongs; they are provided with a set of infinitely configurable instruction codes, on an open, extensible, and scalable n-bit bus, and their task before setting upo

    --
    Take a look and feel free: http://www.PieMenu.com
  92. No need for remote desktops by charnov · · Score: 1

    What I want to see is the disappearance of even the idea of distinct desktops on multiple machines. The very concept of a "desktop" as a point of control for a computer is dated. Time to move on to a new idea. Something like transparent aggregation. Think about having multiple machines interconnected in various ways that appears to the end user as one machine and the only differentiation is at the user account level.

    Citrix is the closest thing I have seen so far (when used with nFuse).

    Between OpenFiler, Compiere, the DSM for OpenMosix, all I need now is migratable sockets and you should be able to to something close to this.

    --
    [RIAA] says its concern is artists. That's true, in just the sense that a cattle rancher is concerned about its cattle.
    1. Re:No need for remote desktops by Outland+Traveller · · Score: 1

      Nice idea, but the transparent remote display feature of X is nothing like a VNC-style remote desktop. Your remote applications and local applications are seemlessly integrated under one interface.

  93. More like ten years. by himi · · Score: 1

    In fact, even more - the X protocol is compatible right back to the original X11 release, which is way back in the mists of time (1986, IIRC).

    himi

    --

    My very own DeCSS mirror.
  94. Don Hopkins is X's "Open Sores". by Anonymous Coward · · Score: 0

    Don Hopkins is the Bob Metcalfe of the "X" world.

  95. Response 1 corrected: by Wills · · Score: 1
    On local displays X can use the shared memory extension but it is the X application programmers' responsibility to use it.

    X applications which have been correctly programmed and which use the shared memory extension do run fast on local displays. The speed depends a lot on which X server software you use. If you use the free XFree86 implementation, just remember the graphics drivers for most chipsets are not optimised because they have been written by the XFree86 project without the benefit, in most cases, of having programming information for the graphics cards from the manufacturers.

  96. Actually, this is an innovation by spitzak · · Score: 1

    Those other systems have a single "compositing engine". On OS/X this appears to be an OpenGL object that is texture-mapped and the results Z + alpha composited to get the screen display.

    What he is proposing is to allow the compositing engine itself to be specified by different programs, in particular by the window manager. Now the primary reason I can see for this is that older X apps create literally hundreds of windows, and it is necessary to have a fast default, which is not going to be the desired engine for a Quartz-like window manager. Therefore there has to be at least two compositing engines, and once you have two you might as well allow an unlimited number of them.

    Now obviously X has no compositing engine right now (or really one, but it destructively composites into the parent window's source), and the difference between 0 and 1 compositing engine is much more than the difference between 1 and many. However this is still a very clever idea and is NOT something that exists already!

  97. Wrong by spitzak · · Score: 1

    X does have backing store. I have programed quite a bit in this.

    Even the first X servers had Pixmap objects. You can draw into these and copy them to the screen. Because the reside on the server, a correct implementation can do it vastly faster than a local copy maintained by the program. In fact it is obvious that X pixmaps are vastly faster than Windows Bitmap objects, which I am forced to use on Windows to get backing-store on windows right now.

    Even the first people to use X realized that Pixmaps could be used for backing store, and this led to the problem that programs immediatly allocated quite a few pixmaps for this and on early X servers exausted the memory. I think this caused a lot of people to say "don't do that!" and probably is why people now seem to think X does not have this. However on modern X servers I have seen no problem making every window in my program have a Pixmap backing store. The resulting pixmaps are equal to 10 to 20 screens in size.

    There is also the Xdbe double-buffer extension. This works like OpenGL double-buffering. In this case there is only an offscreen pixel for each visible pixel on the screen, so the memory usage is fixed to the screen size, and also time is not wasted updating invisible windows (a possibly serious problem with the OS/X and Longhorn and these new X ideas that I don't think people are worried enough about!) On older hardware such double-buffering was the only way to get hardware acceleration. Xdbe does suffer from a typical horrid cryptic X API and seems to produce black blinking on my Nvidea driver when resizing windows. Double buffering also has the problem that the "compositing" now popular cannot be done, as only one window can contribute to each final pixel.

    Backing store of various forms has been around for a LONG time, incidentally. However except for the "game sprites" popular on hardware on the 70's, the "composite on the fly" implementation that everybody is thinking about now did not exist. It is unfortunatle that everybody now seems to think the only purpose of backing store is to make transparent windows. Backing store has many other much more important purposes than that.

    1. Re:Wrong by amightywind · · Score: 1

      My point is only that X and Open GL 2D rendering primatives (XDrawLine() and glBegin(GL_LINE_MODE)...glEnd())do similar things. They are at the same "level" in that both functions operate on a graphics buffer and could be used to implement a windowing system. Some would say OpenGL does them better and more generally. I do understand that OpenGL does not offer all of the necessities of a windowing system and said so in an earlier post.

      --
      an ill wind that blows no good
  98. Stupid question by Elpacoloco · · Score: 1

    Can the clipboarding and pasting be reconfigured?

    The one thing I can't stand about using Linux is how selecting something automatically copies it. I was expecting a windows-like behavior of select, copy, click, paste. Instead, I get select, click, paste, OH CRAP GOT THE WRONG THING.

    (-1 Offtopic)
    (-1 YOU MORON)

  99. VNC can do that for you by Confessed+Geek · · Score: 1


    You can do that with VNC. I even saw a few lines to add to your kdm/gdm config so that when you log in you bring up a VNC window instead of a normal desktop. Might take a bit more to set up a whole "cluster" of these systems so you always get the same hot desktop, but it looks like it would be just a matter of hacking existing tools.

    If you really want this functionality, do it! (then please make a deb package for it so those of us who are too lazy can get it too ;) )

  100. X-Windows: the Monkey on the back of Linux by SimHacker · · Score: 1
    What's wrong with quoting something I wrote myself, if it's still true after 10 years? It's not an old slashdot posting -- it was published in a book that's now out of print (the Unix Haters Handbook).

    You don't know enough about X to address any of the facts in my posting, so you attack my sources (which happens to be myself). Are you saying that it's "sad" for anyone to write about their own experiences on slashdot? Or that it's only fair to quote other people? Or are you saying I should't quote myself because I'm not qualified to hold an opinion about X-Windows?

    Please justify your own opinion, Blackbolt: How much experience do you have developing software for X-Windows? Can you counter my points by sharing some of your own first-hand experiences, to hold up of your end of the argument instead of attacking my sources? Or would that be too "sad"?

    I attended the first X Window System Users and Developers Conference in January of 1987, and hacked X10 window managers before that. I though X10 was cool, simple and elegant (though it had serious flaws), but it all went downhill with X11.

    X-Windows simply sucks, and the fact that it hasn't stopped sucking after all these years does not bode well for its future. It's the monkey on the back of Linux, that prevents it from appealing to a wide market and succeeding on the desktop.

    -Don

    --
    Take a look and feel free: http://www.PieMenu.com
    1. Re:X-Windows: the Monkey on the back of Linux by Anonymous Coward · · Score: 0

      then fix it

  101. Re:without altering existing X protocol "too much" by Charlotte · · Score: 1

    Well to be fair it didn't exactly work with window managers that didn't know anything about shaped windows. It didn't cause the WM to not work, but it pretty much caused the managed windows not to be shaped

    Note that the wm would still work perfectly when not using the feature - so backward compatibility was provided.

    Note also that you are talking about the specific *implementation* deficits in several window managers. Those may point to unclear protocol specifications or to bad code. Frankly, I suspect the latter. Code can be very broken if it makes assumptions about its input parameters without checking them first.

    It is still hard to imagine a scheme where that sort of extention broke nothing though.

    Agreed, but the worst outcome is that you can't use the new feature until your favourite applications work out-of-the-box with the feature enabled. The biggest problem will be finding the #define to (un)comment or set :).

  102. Re:without altering existing X protocol "too much" by stripes · · Score: 1
    Note also that you are talking about the specific *implementation* deficits in several window managers. Those may point to unclear protocol specifications or to bad code. Frankly, I suspect the latter. Code can be very broken if it makes assumptions about its input parameters without checking them first.

    This specific problem was that most window managers (all except UWM as far as I know) want to display decorations on the managed windows (resize, iconify, title bars, and so on). To do so they reparent the managed (application) windows so that they are contained inside windows the window manager owns (and therefore windows the WM can draw in without bothering the applications they manage).

    When a window manager written prior to shaped window extentions (or that just doesn't care) reparents a shaped window you get a non-rectangular child window inside a rectangular window that the window manager owns. That rectangular window will pretty much make the child's shaped window look rectangular.

    There isn't much you can do about that if you want to allow pre-extention applications (like window managers) to work with post-extention applications (the managed apps). There isn't any "checking of paramaters" the window managers could have done in 1990 that would prepair them for the 1991 addition of shaped windows. Nor is there much of anything that an X window manager can do in 2003 to make it work and play well with stuff using extentions that might be released in 2004 or 2037.

    Agreed, but the worst outcome is that you can't use the new feature until your favourite applications work out-of-the-box with the feature enabled. The biggest problem will be finding the #define to (un)comment or set :).

    Well if you really like a window manager that is no longer being maintianed then there may never be a #define! Of corse historically the extentions don't not work, they are just visually a little iffy (windows that should be round aren't), and in the future that is likely to still be the case (transparent windows with very solid title bars).

  103. Wrong by DreadSpoon · · Score: 1

    OpenGL isn't a 2D rendering system. And, just to point it out, the compositing manager is completely free to use OpenGL to do said compositing.

    You are confusing the high level management and protocol with the low-level rendering driver/architecture. Quartz Extreme may use OpenGL for rendering, but the apps don't use OpenGL calls to do it - they use Aqua/Quartz calls, which uses OpenGL in its lower layers for final rendering/composition.

  104. Re:Do It Right by Tore+S+B · · Score: 1

    Erm, except for the fact that Unics was written by Dennis who wanted to learn how to do some cool graphics routine for the PDP-7 340 vector display... And Ken wanted to make that little file system he'd been thinking about - - Unics was written for fun, failed when it was taken over by bizdroids and excelled when hackers once again took it on. Go Linus! (BTW - PDP-7 vector graphics are sexy. I have a PDP-7 I'm restoring so I should know)

    --
    toresbe