Slashdot Mirror


RandR Support on XFree86 4.3

Gentu writes "Great news from our favorite windowing system: [Hewlett-Packard] engineers committed a new extension to XFree86, called RandR. XFree86 4.3 (to be released in late 2002/early 2003), will have the ability to truly resize (not via the pseudo-resize CNTRL+[+/-] command), rotate, reflect and change the refresh rate of each screen of an X display on the fly. And KDE seems to be the first desktop environment to add support for the RandR extension."

223 of 503 comments (clear)

  1. WHOOOOHOO!!! by bpd1069 · · Score: 2, Insightful

    Now this is starting to look good for all Free *nixes! Finally...

    --
    --
  2. What? No more hacking XF86Config by mhesseltine · · Score: 3, Funny

    Now how will I prove my 3733T skillz?

    --
    Overrated / Underrated : Moderation :: Anonymous Coward : Posting
    1. Re:What? No more hacking XF86Config by Anonymous Coward · · Score: 5, Funny
      Now how will I prove my 3733T skillz?

      Your eteet skills?

      The trolls aren't what they used to be.

    2. Re:What? No more hacking XF86Config by Libor+Vanek · · Score: 3, Funny

      Hack /etc/sendfile.cf!

    3. Re:What? No more hacking XF86Config by AJWM · · Score: 2

      D'you mean /etc/sendmail.cf, perhaps?

      --
      -- Alastair
    4. Re:What? No more hacking XF86Config by Negatyfus · · Score: 2, Informative

      Sendfile is an asynchronous file transfer service for the Internet, like
      the sendfile facility in Bitnet: Any user A can send files to another user B
      without B being active in any way.

      Sendfile for UNIX, which is an implementation of the SAFT protocol (Simple
      Asynchronous File Transfer) now offers you a true asynchronous file
      transfer service for the Internet. Virtually any form of file can be sent,
      including encrypted ones. The SAFT protocol will be submitted as an RFC in
      the near future.

  3. An abstract by jaxdahl · · Score: 2, Redundant

    The X Window System protocol, Version 11, was deliberately designed to be extensible, to provide for both anticipated and unanticipated needs. The X11 core did not anticipate that the properties of X server screens might need to change dynamically, as occurs frequently with desktops, laptops and hand held computers not envisioned in the 1980's.

    The Resize and Rotate extension (RandR) is a very small set of client and server extensions designed to allow clients to modify the size, accelerated visuals and rotation of an X screen. RandR also has provisions for informing clients when screens have been resized or rotated and it allows clients to discover which visuals have hardware acceleration available.

    RandR needs to be discussed in concert with recent developments in X server implementation and the new Render extension to understand the implications of the aggregate. In isolation, RandR seems to provide a limited but useful improvement, but together with the Render extension and reimplementation of the X server rendering code, RandR provides part of a key change in X Window System capabilities.

  4. 'doze like "Apply" button? by The-Dork · · Score: 3, Interesting
    So in effect, we can have a windoze like app where we could just change the resolution, refresh rate etc. and click "Apply" ?

    ...

    And it will work?

    --
    The statement below is true.
    The statement above is false.
  5. so what? by siliconwafer · · Score: 4, Interesting

    Hrm, neat. so what though? What does this really mean? Will it make Linux/BSD closer to being "ready for the desktop?" How is this going to affect your average user?

    1. Re:so what? by eatenn · · Score: 4, Insightful
      Hrm, neat. so what though? What does this really mean? Will it make Linux/BSD closer to being "ready for the desktop?" How is this going to affect your average user?

      Personally, I don't really care what affect this will have in bringing Linux to the desktop. I don't care about the "average user" either.

      I care about me, and I'm glad I'll be able to switch resolutions without having to hack at a config file. I'm sure most people will be too, whether they're chatting with friends or coding. It's good for everyone.

      --
      "But the cars are all flashing me, bright lights are passing me, I feel life passing me by" - Stiff Little Fingers
    2. Re:so what? by geekster · · Score: 5, Interesting

      Games.
      Being able to change resolution and color depth dynamicly, you no longer have to see a game designed for a lower resolution than your desktop run with in a small window with a black border around it. Resolution could be changed before, but not on all chipsets.
      Also running in a different color depth required emulation wich is slow. And this could'nt be changed dynamicly before.

      This is the only thing I've hated about X, so I'm quite happy now.

    3. Re:so what? by msevior · · Score: 3, Insightful

      This absolutely vital for doing presentation graphics with your laptop. Video project resolutions hardly ever match your laptops.

      This is absolutely critical for Linx to be a useful desktop/laptop OS.

      Scientists the world over have to use windows for presentations because of this limitation.

      Cheers

      Martin

    4. Re:so what? by FredGray · · Score: 2
      Scientists the world over have to use windows for presentations because of this limitation.

      That's really a bit of an overstatement...I just keep around an XF86Config file that's all set up for the XGA resolution, copy it into place, and restart the X server. After the presentation, I switch back. Yes, it's definitely a small hassle to set it up the first time, but it's not really a problem thereafter.

    5. Re:so what? by dvdeug · · Score: 4, Informative

      I just keep around an XF86Config file that's all set up for the XGA resolution,

      Or you could add another layout section to your current file, and just call startx -- -layout blah. (Only tried on Debian with X4.)

    6. Re:so what? by psamuels · · Score: 2, Interesting
      There is no mention anywhere of an ability to change colour depth.

      Hmmm, I don't remember if this is in the article (I read it a couple weeks ago so I didn't reread it just now) ... but the RandR effort does include color depth changing. I believe the old color depth is emulated if necessary, for applications that can't adjust on their own, but I don't remember if emulation is client-side or server-side.

      --
      "How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README
    7. Re:so what? by irc.goatse.cx+troll · · Score: 2

      Black border? I wish. The last time I tried quake3 in a smaller rez, the rest of the screen was just garbled.
      Just as well, as i prefer playing in 1024x.

      --
      Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
    8. Re:so what? by CoolVibe · · Score: 2
      xinit ./mypresentation.sh -- -display :1

      enjoy.

      Read man 1 xinit for more information :)

  6. KDE not first! by Anonymous Coward · · Score: 4, Informative

    Keith Packard provided GNOME patches a couple weeks ago.

    ChangeLogs:

    2002-10-04 Havoc Pennington

    * src/display.c (event_callback): do XRRUpdateConfiguration()
    if we have RandR extension, else poke in Xlib's screen struct to
    update the screen size.

    * configure.in: fix a bogus overwrite of cppflags,
    add a check for RandR extension

    2002-10-07 Mark McLoughlin

    Support RandR extension by resizing the toplevel panels
    if the screen size has changed. Based on patch from
    Keith Packard - #94561. Requires gtk+ HEAD.

    * basep-widget.[ch]: (basep_widget_screen_size_changed):
    * foobar-widget.[ch]: (foobar_widget_screen_size_changed):
    resize the toplevels when the screen size changed.

    * multiscreen-stuff.c:
    (multiscreen_screen_size_changed): re-initialise and request
    a resize on the toplevels.
    (multiscreen_support_init): connect to the "size_changed"
    signal on all screens.
    (multiscreen_reinit): re-initialise the monitor geometries.

    1. Re:KDE not first! by luge · · Score: 5, Informative

      It's important to note that these are not just 'ooh, we have a frontend that twiddles X settings'- it's support at the WM and panel level. GTK changes are (I'm told) in too. So GNOME has support that actually works, for the six or so people bold enough to run CVS GNOME on top of CVS X ;)

      --

      IAAL,BIANLY

    2. Re:KDE not first! by nowt · · Score: 2
      This is true. It's been around for prolly a year on the iPAQ. Works nicely on jornada 720 too. Truly is a nice extension. And the matchbox wm supports it very well.

      --
      A strange game. The only winning move is not to play. How about a nice game of chess? - Joshua (Wargames)
    3. Re:KDE not first! by fault0 · · Score: 2

      Actually, qt-copy and gtk2-cvs seem to render quite similiarly, mostly because they both use xft2.

  7. The change I want to see... by ajuda · · Score: 5, Interesting

    I would like to be able to redirect running xwindows applications. Let's say I am running a copy of bzFlag, or some other type of productivity application. Wouldn't it be good to be able to transfer the running application to a different computer if I suddenly have to change terminals?

    1. Re:The change I want to see... by leoboiko · · Score: 5, Informative

      Tried xmove?

      --
      Prescriptive grammar:linguistics :: alchemy:chemistry. Stop being a nazi and learn some science.
    2. Re:The change I want to see... by Daniel · · Score: 2

      a copy of bzFlag, or some other type of productivity application.

      My, what an interesting life you must lead! :)

      Daniel

      --
      Hurry up and jump on the individualist bandwagon!
    3. Re:The change I want to see... by Graymalkin · · Score: 4, Interesting

      Because Mozilla crashed before I submitted my original response to you this one will be shorter.

      Sun already does this with their Sun Ray terminals. Your X session is attached to an ID card you stick in the terminal and when you move to another machine your session state moves with you. When you plug your card in your screen pops up where you left it and how you left it.

      I don't have an Enterprise 45 and some Sun Rays lying around but I'll make a guess that in order to do this they just did a little transparent tweaking on top of X. The session could be attached not to a network address but instead to an alias. The terminals could send out an alias release packet to the alias manager on the server with the X client whe na card is removed and an alias set packet when the card is inserted. All the server would then need to do is reassign the alias wherever you moved to and your screen would show up on the next screen update.

      X is already maintaining your state on the machine hosting the client. The tricky part is just attaching the session to something other than a specific network address or physical port. Resolution and colour depth can be translated by the server running on your terminal. I've never seen an open source implementation of whatever Sun does, maybe someone else can correct me if I was wrong about that or how it works. Just because I haven't seen it doesn't mean it doesn't exist.

      --
      I'm a loner Dottie, a Rebel.
    4. Re:The change I want to see... by dan_bethe · · Score: 2

      I'm not sure if there's a reason you're not using VNC, but it does everything described by everyone in this thread so far. There are XF86 extensions to embed VNC, so you can remotify an existing local-only non-VNC session. And xinerama for spanning. And then another one to create one virtual space out of two X servers running on two separate machines. :)

    5. Re:The change I want to see... by Graymalkin · · Score: 2

      Are you positive? The one I used looked a lot like it had a CDE desktop on it.

      --
      I'm a loner Dottie, a Rebel.
    6. Re:The change I want to see... by MikeFM · · Score: 2

      Run VNC, you can do this. I've logged in on one lab machine and as I made the rounds just pulled up what I was working on at different machines through the lab without closing the programs I was running or anything like that.

      I think this is the homepage of: http://www.uk.research.att.com/vnc/

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    7. Re:The change I want to see... by vandan · · Score: 2

      Score 5?
      You didn't even read the article. That is what they're trying to achieve. God stone the crows...

    8. Re:The change I want to see... by skaya · · Score: 3, Informative

      xmove allows to do this.
      Tt creates a "virtual" Xserver ; you run your apps in the virtual server, and then you can attach the virtual server to a real Xserver, and detach/reattach it to another real Xserver.
      There are some limitations (real servers must have same bpp, for instance...).

    9. Re:The change I want to see... by Graymalkin · · Score: 2

      Thanks for the info, I wasn't sure if they were just keen X terminals or framebuffers like you describe.

      I wonder if it'd be possible to have a small cluster of application hosts all offering their services via X. Then another cluster of boxes to just run X clients and store the framebuffers, whenever a particular program were used the X client systems would just forward the command to the app servers who'd then export their display instructions to the clients and the terminals could just run the VNC-ish client. The processing load of the hosted apps could then be separate from the X client load. A couple boxes would be enough to serve a decent sized network with framebuffers and X protocol forwarding. The app server cluster could dynamically change their hosted X app to meet demand, i.e. a bunch of people have Mozilla or Konq running but only a few have xv or asclock. I wonder if you could even get something like that working if it would be cost effective.

      --
      I'm a loner Dottie, a Rebel.
    10. Re:The change I want to see... by PhotoGuy · · Score: 2
      Not quite. SunRay's are closer to VNC than to X Windows. Everyone's X Server runs on the central machine, with it's display being mirrored in a thin-client kind of way to the SunRay display.

      They are just a thin keyboard/mouse/display relay, in effect.

      Unfortunately, it's a completely closed and proprietary protocol; I guess that helps sell more Sun Servers to support them. Would be nice for some Linux support, though.

      As an alternative, VNC from http://www.realvnc.com, is a great re-connectable X (and Win and Mac) desktop system.

      --
      Love many, trust a few, do harm to none.
    11. Re:The change I want to see... by jg · · Score: 2

      Then you'll like the changes in GTK2.2 (though
      we have some additional work before all this
      hangs together).

      The next GTK release has the capability for
      applications to migrate from one X server to another.

      What is left is the signalling mechanism (which
      needs decent authentication) so that apps know
      when to migrate.

      - Jim

  8. What about bits per plane (bpp)? by Archie+Steel · · Score: 5, Interesting

    Is changing bpp on-the-fly also covered by this new (très cool) extension? I skimmed through the announcement but could not find anything about this. Anybody know if color depth switching is planned?

    --

    Reminder: find a new sig
    1. Re:What about bits per plane (bpp)? by rodgerd · · Score: 3, Informative

      Not according to Jim Gettys - this is TBD.

    2. Re:What about bits per plane (bpp)? by listen · · Score: 5, Informative

      The RandR extension seems to.
      It will then emulate, using the Render extensions compositing features, any visuals used by apps that are no longer accelerated. ( eg switch from 16 to 32, emulate 16 bit visuals.)
      This means clients which don't know about RandR, and don't change visuals, will not break.

    3. Re:What about bits per plane (bpp)? by jg · · Score: 5, Informative

      Unfortunately not. From the spec as implemented.

      RandR as implemented and integrated into the XFree86 server differs in
      one substantial fashion from the design discussed in that paper: that
      is, RandR 1.0 does not implement the depth switching described in that
      document, and the support described for that in the protocol in that
      document and in the XFree86 implementationhas been removed from the
      protocol described here, as it has been overtaken by events.

      These events include:
      o Modern toolkits (in this case, GTK+ 2.x) have progressed to the point
      of implementing migration between screens of arbitrary depths
      o The continued advance of Moore's law has made limited amounts of VRAM
      less of an issue, reducing the pressure to implement depth switching
      on laptops or desktop systems
      o The continued decline of legacy toolkits whose design would have
      required depth switching to support migration
      o The lack of depth switchin implementation experience in the
      intervening time, due to events beyond our control

      Additionally, the requirement to support depth switching might
      complicate other re-engineering of the device independent part of the
      X server that is currently being contemplated.

      Rather than further delaying RandR's widespread deployment for a
      feature long wanted by the community (resizing of screens,
      particularly on laptops), or the deployment of a protocol design that
      might be flawed due to lack of implementation experience, we decided
      to remove depth switching from the protocol. It may be implementated
      at a later time if resources and interests permit as a revision to the
      protocol described here, which will remain a stable base for
      applications. The protocol described here has been implemented in the
      main XFree86 server, and more fully in the TinyX implementation in the
      XFree86 distribution, which fully implements resizing, rotation and
      reflection.

  9. Re:This is not a rhetorical question. by rodgerd · · Score: 5, Insightful

    The rotation is for people with pivoting monitors which can swap between landscape and portait views, I assume.

    Mirroring may be reflection, but it could also be mirrored video for multihead setups.

  10. Re:This is not a rhetorical question. by Trusty+Penfold · · Score: 3, Funny

    It brings new life to tired, old, porn?

  11. Re:Just how bad is X? by rodgerd · · Score: 5, Insightful

    X is a lot better than many competing efforts. For starters, it works, is in wide distribution, and has a huge suite of apps. Unlike, say, Berlin, or any of the other "Let's replace X" projects (Berlin, to its credit, at least works. Most alternatives are SourceForgeWare with a few Beavis and Buttheads dissing X withou anything to replace it).

    X gives you a base. You can reimplement everything X already does to get the features X doesn't have, or you can implement extensions to X, or rewrite core parts, to correct the faults X has. Guess which is less work?

  12. Re:Just how bad is X? by PissingInTheWind · · Score: 3, Insightful

    > Is faults seeem to overshadow its many features.

    Well, that sounds like pretty gratuitous judgement to me. Would you please care to enumerate 'Is faults'[sic] ?

    X might not be perfect, but it does the job. We can't allways break things so they get better easily.

    Propose a better solution, implement it, make an easy migration path, become rich and popular and get all the chicks. (That's the Profit!!! part)

    --

    A message from the system administrator: 'I've upped my priority. Now up yours.'
  13. Re:This is not a rhetorical question. by theLOUDroom · · Score: 3, Insightful

    IF your monitor was on it's side it could be pretty handy. Also if you were using a mirror to view you screen it could be useful too.
    I'm not saying most people will do this, but most people don't run multiple monitors either.

    --
    Life is too short to proofread.
  14. Huh by Graspee_Leemoor · · Score: 5, Funny

    What a rip off! Turns out this rotate feature is not a free rotate but fixed 90 degree increments!

    Pfff! And I wanted to have my aterm at a weird angle.

    graspee

    1. Re:Huh by EvilCabbage · · Score: 2, Funny

      I can sell you a wedge for your chair..

      For an extra $79.95, you can also get acess to technical support for your chair, until such time that Chair XP becomes available. That one will have wheels... honest.

    2. Re:Huh by PhotoGuy · · Score: 2
      For fun like arbitrary rotation, try Squeak at http://www.squeak.org

      It's a smalltalk based system. Cute to play around with, and good for education, protyping, etc.. A bit slow for production work.

      Anyhow, rotation is built in from the graphics system from the ground up, so you can have your terminals or any window rotated at an arbitrary angle. Slow, but cool nonetheless. I don't know of any other system which allows that (nor why any one should :-)

      --
      Love many, trust a few, do harm to none.
    3. Re:Huh by scrytch · · Score: 2

      Pfff! And I wanted to have my aterm at a weird angle.

      You want Fresco (nee Berlin nee Fresco, it's the amazing rubber name)

      --
      I've finally had it: until slashdot gets article moderation, I am not coming back.
  15. Re:Just how bad is X? by aussersterne · · Score: 5, Insightful

    Why do these "when will we replace X" trolls resurface every time there is an X story? And why do people keep modding them up?

    So far, we have great 3D acceleration, direct video, anti-aliasing, and now dynamic sizing/resizing in X. And all with excellent performance that is equal to or better than the performance offered by Windows. And we retain the network-centric features and flexible, modular configuration that make X so powerful. And all of this while maintaining backward compatibility over a decade-and-a-half of software.

    We'll replace X when it makes sense to do so and not before. Right now, there is no better (or even close to equal) solution.

    --
    STOP . AMERICA . NOW
  16. Re:Just how bad is X? by be-fan · · Score: 2

    user usability issues.
    >>>>>>>>>>>
    That's like claiming GDI has "user usability" issues!

    --
    A deep unwavering belief is a sure sign you're missing something...
  17. Re:Just how bad is X? by md17 · · Score: 5, Insightful

    How did this comment get to a 5? This person does not understand software development. If you need some more information on why we should not "replace the X windowing system alltogether", read this.

  18. Re:Just how bad is X? by CTho9305 · · Score: 5, Insightful

    What does Mac OS X use? Something different. Maybe we (the rest of the *nix world) should see HOW MUCH they gained from doing that - it may be that rewriting a lot of apps (or doing some sort of backwards compatibility mode) would be worth it.

  19. Not true! by jimmy_dean · · Score: 2, Informative

    This is not true about KDE being the first to add support for this extension. GTK v2.1 has had support for this already.

    --
    -> Sometimes, you just gotta break free from the shackles of proprietary code.
    1. Re:Not true! by 10Ghz · · Score: 2

      You are comparing a desktop environment to a toolkit. They aren't the same thing you know

      --
      Lesbian Nazi Hookers Abducted by UFOs and Forced Into Weight Loss Programs - -all next week on Town Talk.
  20. Re:This is not a rhetorical question. by Fembot · · Score: 4, Insightful

    This would be incredibly useful in situations with LCD projectors projecting from behind the screen, so everything has to be mirrored for it to appear correct to people viewing it from the front

  21. Re:Just how bad is X? by rodgerd · · Score: 5, Informative

    They (essentially) use Display PDF, an evolution of Display PostScript. There is no X server. What they gain from that is, well, a pretty GUI. One that does not have many of the useful features of X (no remote windowing, which matters when you're seling Xserves). More importantly, it has none of the X software, which means people have had to hack a working X server onto the platform - Apple refuse to - and run them there. If all you want are the pretty effects you can get from Display PDF, you can go contribute to one of the projects adding Display PostScript to X. There's not much that uses it, but you can have it.

    Which means Apple may have a Unixish personality of their Mach core, but out of the box, no Unix GUI tools work.

    And if you think Apple, who routinely sue people for producing OS X look-a-like themes would stand for you cloning the Quartz API, you can pass me some of whatever you've got.

  22. Wow... by coene · · Score: 5, Insightful

    Finally X is getting the same features that most other operating systems have had for a decade... It may sound small, but these are the things that make systems easier to use for the average joe, and goes a long way in usability.

    1. Re:Wow... by yeti+(dn) · · Score: 2, Insightful

      And we all just wait when "the most other operating systems" will be able to export displays, nest displays and other things X was able to do when Bill Gates was just a kid.

      BTW, why operating systems, eh? What hell has operating system to do with windowing system? The fact someone's operating systems supports only one kind of GUI doesn't mean others can't do more.

      --
      Life is the slowest way to death.
    2. Re:Wow... by Darren+Winsper · · Score: 2

      Err...you don't need RandR for that. When I play RtCW, I can happily switch resolutions to my heart's content.

  23. When they say rotate.... by e_n_d_o · · Score: 2

    ...do they mean automatically, as for those of us with pivoting displays that can be viewed landscape or portrait?

    1. Re:When they say rotate.... by rodgerd · · Score: 2

      Once the core extension is in there, it should be simple enough to add - the monitor must have some way of telling a Windows host "I have pivoted", so as long as it can be identified and passed to the server as an even, Bob's your uncle. It needn't even be an X addition - a userland daemon could manage it.

    2. Re:When they say rotate.... by drinkypoo · · Score: 2
      More to the point, a userland daemon should manage it. Far too much is in the various Unix kernels already.

      It would be best to have an extension in the X server to handle autorotation, but also be able to do it via a userland daemon so you could build intelligence into it without having to hack X.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  24. 'Bout time... by espresso_now · · Score: 2

    And that's all I have to say about that.

    --
    Of course, and I highly suspect it, I may be talking out of my ass. -oqti
  25. Re:Just how bad is X? by be-fan · · Score: 2, Insightful

    MacOS's window server isn't that great. It's whole purpose is to support fancy transparency effects at the cost of inordinate amounts of memory (hundreds of megs) and massive speed hits. Quartz "Extreme" proves the faults of the design. It's the first major extension to Quartz, and is very half-assed because it uses OpenGL only to accelerate window effects, not actual 2D rendering. Why? Because the design is so tied to DisplayPDF that replacing the render core with an OpenGL accelerated version would be a huge amount of work. Yep, real great architecture, chokes on its first major extension...

    --
    A deep unwavering belief is a sure sign you're missing something...
  26. KDE/Gnome by phreaknb · · Score: 2, Insightful

    What about those of us that don't use kde/gnome? Will it be implemented as a program? Or will someone have to write an interface for it?

    1. Re:KDE/Gnome by rodgerd · · Score: 3, Informative

      Your WM will want to understand it, and your toolkit should understand it. But if you read the paper, you'll see they have solutions to help apps that are unfamiliar with the extension cope with their world changing underneath them.

    2. Re:KDE/Gnome by g4dget · · Score: 2

      It's not all that different from Xinerama: even if nothing knows about it, things will mostly work. But you probably at least want to use a window manager that knows about it so that it can do a better job with window placement. Most toolkits probably don't need to know about it, although performance can be better in some cases if they do.

  27. Re:when, oh god when by rodgerd · · Score: 3, Informative

    You'll note if you read some of the correspondence around this that various members of the GNOME team (and presumably KDE) are adding a control-centre gadget to do exactly that.

  28. Re:when, oh god when by dr.badass · · Score: 3, Informative

    When, oh God, when, will people RTFA,
    or just the post, for christsakes.

    The feature you're asking for is exactly
    what this extention allows. ...fuckin' kids these days...

    --
    Don't become a regular here -- you will become retarded.
  29. Re:Just how bad is X? by jeremyhu · · Score: 3, Insightful

    I think that the long life of X speaks to how well it actually was designed. The modularity of the X core has allowed for over a decade of innovation to occur WITHOUT hindering backwards compatibility. Can you say that about the past 10 years of any MS code base?

  30. screenshots by Anonymous Coward · · Score: 5, Informative
  31. Re:Just how bad is X? by jericho4.0 · · Score: 2, Informative
    OS X uses a many layered aproach to getting graphics on screen. Without going into too many details, there's Quartz2D, PDF, OpenGL, AGL, etc.

    Sadly, none of these have anything to do with X windows. You can install OroborOSX (great software) on OS X, which gives you an x client and server, but you still can't acces Mac apps from another X-box.

    I love Mac OS X, and a native X windows on it is my fondest wish for the thing. But I don't see Apple doing that any time soon.

    --
    "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
  32. KDE and RedHat by InodoroPereyra · · Score: 2, Insightful

    Now this is the kind of interaction I like to see between RedHat and KDE. Redhat (and SuSe and Compaq) develop an X extension, KDE immediately adds support for it. That's it. Come on guys, it's all software libre, let's all be friends. There are enough unfriendly people (your favorite MonopoliStic link here) out there :-)

  33. One less thing for windows users to complain about by HuguesT · · Score: 2, Interesting

    This is fine work, I'm sure this will be useful.

    Personally I like the X *feature* that make the display resolution change but not the size of the desktop. I find it invaluable as a global zoom feature, when developing GUIs or watching movies on systems without hardware zoom built in the display card (Xv extension).

    I wish windows could do the same, but no. If you try to zoom in windows the desktop gets messed up. I wonder if windows users will ever get that feature?

  34. Re:Just how bad is X? by cehardin · · Score: 2, Informative

    Well, with Quartz you get a lot more than a pretty gui. You get a very fast, path based graphics, with free anti-aliasing to boot. This is not there just for looks! It has real uses.
    Sure, people complain how slow Quartz can be and I admit that it is very slow when resizing windows, but XFree86 is actually slower on hardware with similar speeds, Don't believe me? Run the newest KDE with all the effects on (like animations) and AA fonts on a 500MHz machine, then play with OS X on a 500MHz iMac, You'll find Quartz to not only be faster, but better looking to boot.

    Don't diss Quartz, it can do awesome stuff (microsoft's GDI+ doesn't stack up to it either.)

    Using Quartz, you can actually draw things at theSUB-pixel level, it does this by varying the intensity of what you draw and can be very useable in real world appliations. Imagine software for planning projects and suchusing timelines. With Quartz, you could zoom in and out of the timeline in real-time AND be able to actually READ and see the diagrams even at 10% of their normal size!

    To sum it up, Quartz is good sh*t!.

  35. Re:Just how bad is X? by linefeed0 · · Score: 2, Informative

    I won't speak to raw performance issues here, but the network load of the X protocol can be greatly alleviated by dxpc or better yet MLview dxpc, which claims to be around the speed of Citrix ICA.

  36. Re:Just how bad is X? by Archie+Steel · · Score: 4, Insightful

    I can still see Gnome and KDE menus paint across the screen chunkily -- yes, this is on a P-4 machine with whizzy graphics cards, a gig of RAM, etc.

    Perhaps your setup is faulty. On my system (Athlon 900 with 1GB of RAM - granted I have a GeForce 4...) the KDE menu pops in, with no redraw at all. And this is in 1600x1200, 24bpp.

    Honestly, XFree86 has never seemed slow to me. It does seem to be the weak link as far as system stability is concerned, though: X has been involved in nearly every one of the (few) system hangs I've experienced.

    --

    Reminder: find a new sig
  37. Re:Just how bad is X? by Fnord · · Score: 2

    Quartz is based off a technology that was originally designed to be an extension to X. Mind you apple didn't implement it that way, but Xdps is in the works which will allow X apps to define a display postscript visual (which is actually more capable than display pdf, apple used the pdf subset of postscript so as not to pay royalties to adobe) and have all the compositing, path based, and vector capabilites of OSX, along with the extensibility of postscript, encapsulated in an X window that has all the features of X.

    Or you could use X render which allows all of this to be easily implemented very efficiently in client side libraries. Basically the X framework is powerfull enough to give you choice and see which method works best.

  38. Whats the point? by skenfrith · · Score: 2, Insightful

    I can get how it might be useful to rotate the screen for a presentation on a projector. But why does everyone bitch about changing the resolution on the fly and makeing it easy to do??? Personally, i set my resolution and color depth *ONE TIME* no matter what OS i am using, and that is it! How often do you people need to change your display properties???

    1. Re:Whats the point? by be-fan · · Score: 2, Insightful

      Actually, if you play games this can be important. Start up UT 2003 from a 1600x1200 desktop and run it at 800x600. The image will end up taking only 1/4 of your monitor.

      --
      A deep unwavering belief is a sure sign you're missing something...
    2. Re:Whats the point? by Yosho · · Score: 5, Insightful

      Reasons why this is good:

      Applications that work best in a specific resolution or color depth. Particular examples are any games; Most 3D games, such as Unreal Tournament or Quake 3, give you the option of changing the resolution or color depth; the obvious advantage to this is that if you have a low-end video card, setting the resolution and color depth low will increase the framerate. If you have a high end video card, you obviously will want a higher resolution for greater detail. I keep my desktop at 1280x960, but prefer to run games in 1024x768 with Quincunx antialiasing (I have a GeForce 3).

      Another important application is web design. A well-designed web site should look good at any resolution; however, since one can't intuitively know how a page will look at every resolution, when designing a page it is convenient to change your resolution on the fly and take a look at it.

      And then, of course, you have applications that *require* a specific resolution. This isn't as much of a problem with UNIX, but in the Windows world you will likely encounter programs designed for older setups that will fail to run if you don't have a specific bit depth or resolution. Even some more recent applications have this restriction; for example, the Windows SNES emulator zSNES requires that you run it with 16-bit color depth (at least, it did the last time I checked). Starcraft requires that it run at 640x480.

      So, just because you don't have any reason for this, don't say it's useless. I've been wanting this feature for ages.

      --
      Karma: Terrifying (mostly affected by atrocities you've committed)
    3. Re:Whats the point? by Mihg · · Score: 2, Insightful

      Most non-GL fullscreen games (yes, they do exists) could benefit from resolution and color depth changing.

      Come to think of it, image editors could also benefit, by virtue of the fact that 16-bit color space and 24-bit colorspace don't actually overlap, iirc. Allowing artists to switch between color depths on-the-fly to check that their images still look good could probably be useful. (How's that for a purely hypothetical example?)

    4. Re:Whats the point? by AJWM · · Score: 2

      It's useful for those badly-written apps that are too stupid to adapt themselves to the display model (resolution, color depth, etc) that the user has chosen, and instead insist on assuming or setting the display to whatever the original lazy programmer wanted.

      These tend to be more prevalent in the proprietary software world.

      --
      -- Alastair
    5. Re:Whats the point? by Abcd1234 · · Score: 2

      Funny, none of these points is even close to valid:

      1. "Games Use" - Never heard of DGA? This capability has existed in X for a long time.

      2. "Web Dev" - Just resize your browser. Yeesh, it's not that tough...

      3. "Display Reqs" - If an app requires a specific resolution, as mentioned in point 1, DGA will take care of that. If it requires a specific bit-depth, R&R won't fix that, since it doesn't support bit-depth switching (yes, it's spec'd, but it's not implemented).

      So, any other reasons why this is even remotely useful? I can't think of any real ones... sure, it's kinda neat to be able to test out resolutions, but most people chose a resolution and then stick with it, rendering (no pun intended) R&R useless.

    6. Re:Whats the point? by Abcd1234 · · Score: 2

      Actually, I stand corrected. There is one use I can think of which is mentioned elsewhere: those rotating monitors that people use for desktop publishing...

    7. Re:Whats the point? by Abcd1234 · · Score: 2

      Funny, you're assuming I don't like the R&R extension simply because I argued that the usage examples the grand-parent post came up with weren't valid.

  39. You do... sometimes by salimma · · Score: 2

    I have used some computers before where the video drivers actually support the concept of a "virtual desktop", virtually identical to the one in X11. It tends to be on ATI drivers, I think.

    If your physical resolution is less than your virtual resolution, then moving the mouse to the edge of the screen scrolls the screen in that direction.

    Not a standard part of Windows though, true. And I have not seen it under Windows 2000/XP - a Win9x hack?

    --
    Michel
    Fedora Project Contribut
  40. Re:Just how bad is X? by Unknown+Lamer · · Score: 2

    Berlin no longer exists; it is now Fresco. And it works, although not terribly well. You can't use it for day to day stuff, but it has a lot of stuff that would be difficult to add in X. My only problem with Fresco is that it forces you to use their one toolkit (uniformity or something). Maybe one day it will replace X, but for now X is better (just like GNU/Linux is better than pure GNU using the Hurd).

    --

    HAL 7000, fewer features than the HAL 9000, but just as homicidal!
  41. Re:Just how bad is X? by JabberWokky · · Score: 5, Informative
    As a side note, just to toss in a fact, I clicked mine (PIII 700Mhz, Matrox G400), and I saw a split second of a blank rectangle before the menu painted in - a tiny, bare split second, but still there.

    I then reclicked it, and there is no perceptable painting whatsoever. It's either there or it isn't. I can click over and over on it, and it pops back and forth (if I do it quick enough, I get a flicker effect and I think I can see where it is painting, but I'm not sure if it's just a optical effect of flipping back and forth).

    KDE caches it's menu, and does a rebuild when you click it after n seconds of activity (the value is in a Properties panel somewhere, iirc). My guess is that the "repainting" is actually KDE rebuilding its menu after a period of inactivity.

    --
    Evan

    --
    "$30 for the One True Ring. $10 each additional ring!" -- JRR "Bob" Tolkien
  42. Re:Just how bad is X? by aussersterne · · Score: 3, Informative

    You obviously don't know what you're doing, have misconfigured, etc.

    I have a set of boring-ass old PII/400 workstations with 128MB memory here running original GeForce256 cards using the NVidia driver. Everything in KDE -- window decorations, menus, anti-aliased text, scrolling content -- draws instantly, just as it does in Windows. There is none of the 'paint across the screen chunkily' problem you describe. Maybe it actually is the drivers. Did you ever think of that?

    And on this same network, there are two headless Slackware 8 servers on which I often log in to KDE remotely. This is only a 10 megabit network and yet the KDE desktop works wonderfully; there are no real slowdowns whatsoever compared to the Citrix clients I've used elsewhere on the campus network.

    Something is clearly broken on your setup.

    --
    STOP . AMERICA . NOW
  43. Berlin! by MrEd · · Score: 2, Informative
    It's the new wave.


    right? :-)

    --

    Wah!

  44. Re:Just how bad is X? by 13Echo · · Score: 2

    You've got some problems with your machine. I'm running KDE 3 with Mosfet's Liquid with the effects cracked up. There is no chinkiness here. Everything draws instantaneously. Frankly, your opinion is no different than that of the usual "X sucks" troll that we generally see. You just don't know it because your box isn't set up right, then you insist on dissing it.

    So yes, it is probably shitty drivers that are causing your problems.

  45. Re:Just how bad is X? by Chris+Burke · · Score: 3, Interesting

    "and now dynamic sizing/resizing in X."

    Everyone is treating this like it's some super great accomplishment. Windows has allowed this since Windows 95, and the Mac since System 7.x.


    Well, not exactly... What we're saying is that all the faults in useability/functionality that you may have been able to say X had are slowly and surely being whacked out. That they happen without disruption at all in compatability is a sign that there is no fundamental reason for these flaws, they are simply there because they haven't been done yet.

    True, but when Windows Terminal Server came out, that takes a back seat. Try running an X11 session over a slow network link vs. a Windows terminal server session (especially over Citrix ICA) and let me know how it goes.

    Depends... are we running it through ssh, telnet, or vnc? Vnc sessions are about as snappy as TS (minus the unfortunate remotely-rendered mouse of vnc). Of course Vnc suffers from the same advantage as TS, which is that it can render everything locally and compress and transmit the results.

    But certainly X could use improvement in this area. That doesn't mean it won't come, or that we need to -start over-. It could be as simple as another extension.

    --

    The enemies of Democracy are
  46. Re:Now if only.... by 13Echo · · Score: 2

    Or Lycoris, but you X-Server still needs to restart when you do it (until this is implemented).

  47. Re:Fix this by damiam · · Score: 3, Insightful

    Cut and paste has been fixed for years. Buttons aren't X's problem. If you have a problem with the button focusing behavior of your desktop, file a bug report.

    --
    It's hard to be religious when certain people are never incinerated by bolts of lightning.
  48. Let's all go to the article, by twitter · · Score: 3, Informative
    and get ourselves a treat:

    For example, you should be able to tell an application running on your handheld computer to use a nearby desktop display, keyboard and mouse, or a projector on the wall. This should not require stopping and starting the application. You should be able to go home, and decide to import applications you left running at work. There are obviously security, authentication and authorization problems left to work out, but these are generally independent of the base window system.

    Holly network is the computer, Batman! I gotta think about that one, but I'm sure it will not be comming to platforms that are still trying to extort per seat licensing and worry about more than one person running a word processor at one time. How's that for "ready" for the desktop"?

    MMM, don't like frame buffer, it's been slow. The article talks about this frame buffer being faster than other frame buffers, but that does not make it as good as non frame fuffered servers, no?

    Thinking over. Your turn.

    --

    Friends don't help friends install M$ junk.

    1. Re:Let's all go to the article, by Dwonis · · Score: 3, Informative

      Every display has a frame buffer, somewhere.

    2. Re:Let's all go to the article, by Dwonis · · Score: 2
      Moderation Totals: Informative=1, Total=1.

      I'd hardly call that a constructive use of moderator points. My comment was already scored 2, and I my vague, one-sentence comment was not worth more than that.

  49. Re:Just how bad is X? [fixed link] by Unknown+Lamer · · Score: 2

    erm, I meant www2.fresco.org, not www.fresco.org. Oops.

    --

    HAL 7000, fewer features than the HAL 9000, but just as homicidal!
  50. Re: This is not a rhetorical question. by Black+Parrot · · Score: 2, Funny


    > Why would I want my desktop rotated and/or reflected (which I presume to mean "mirrored" or "backwards")?

    Leonardo requested it hundreds of years ago.

    --
    Sheesh, evil *and* a jerk. -- Jade
  51. Re:Just how bad is X? by cscx · · Score: 2

    And on this same network, there are two headless Slackware 8 servers on which I often log in to KDE remotely. This is only a 10 megabit network and yet the KDE desktop works wonderfully;

    You either didn't read my message, or you consider a 10 Mb network as a "slow network link" -- something that I don't. I thinking more along the lines of DSL.

  52. Re:Proof of concept by mabinogi · · Score: 4, Insightful

    Actually, I think it just shows that up till now, it's not really been that much of a required feature...

    But now that we have more and more normal desktop users at least considering Linux, it's become more pressing.

    I think you'll find that from deciding to do the work, to actually finishing did not take very long at all, in the scheme of things....

    --
    Advanced users are users too!
  53. Re:Just how bad is X? by drunken+monkey · · Score: 2, Informative

    Just to throw in a data point from a personal experience.

    I once ran mozilla from a dual PIII645 remotely from a NY hosting facility through my cable modem access in boston. It ran just as fast as my native mozilla on my k6II550. I thought it was interesting.

    I believe some of the slowness you're seeing has to do with Gnome itself. I haven't used gnome2 yet but I hear it's snappier. and of course, there has been speed improvements in Xfree from v3 to v4 (from what I've noticed). I have not noticed the issue you have mentioned on my machine.

    A lot of the X issues people mention (or don't name at all) are actually from the tookits and applications and desktops themselves. I mean look at the amout of memory needed to run the latest linux/unix desktops. I miss how fast windomaker used to get started :)

    If anything X is a work in development as this latest extension shows. And we're stuck with it for the time being.

    narbey

    --
    -- "The evil stops here" -Petr
  54. Re:Just how bad is X? by cehardin · · Score: 5, Informative

    Dude, you've got it all wrong. People often say that Quartz is almost like Display Postscript, but it's not at all. Display Postscript involved creating actual postscript code and sending it to a postscript intepretor for display on the screen. Quartz does not do that. However, it does share almost the same exact API as Display Postscript did, so I can understand the confusion.

    Anyhow, Display Postscript was not intended to be an extension to X11, that came AFTER it was implemented on NeXT. Remember OpenStep on Sun and HP, thise systems only had Xwindows, so a XDPS system was needed for them only.

    Another point, XRender works very similarly to how Quartz does. That is, clients draw in a pixmap and ask the Server to draw it (vs. asking the Server to just draw it). The WindowServer in OS X is kinda like a XRender only X11. Drawing commands are not sent to the WindowServer, only the client's pixmap of what their windows should contain is "sent" (shared really) to the Server. Hence, a lightwieght Window Manager.

  55. Re:Just how bad is X? by CTho9305 · · Score: 2, Insightful

    But how does having remote windowing/etc help an "average user"? (I personally like having it, but I don't think it would bug me if a system like MS Terminal Services had to be used instead)

  56. Mirroring by csnydermvpsoft · · Score: 4, Funny

    Mirroring support... I can imagine the pranks already...

    Unsuspecting boss: Eeeeek! My computer just got a virus! Fix it!

    Me: Sure... [types a command]... all fixed.

    Boss: That was amazing! What would I ever do without you?

    Me: About that raise I was asking about...

  57. warp speed, troll by twitter · · Score: 2
    I strongly believe 2/3 of the functionality of the X11 architecure is just a big waste of time and disk space for 99% of the user base.

    Would that 99% of the user base be the ones that will never need more than 640k RAM, Bill?

    --

    Friends don't help friends install M$ junk.

  58. Does this mean I get colour cycling in 32-bit? by Tommer · · Score: 3, Funny

    I'd really love to run XaoS in 8-bit mode and use colour cycling while still having a 32-bit visual
    for everything else. Is this good enough for that?

    --
    -- Tom Rathborne
    1. Re:Does this mean I get colour cycling in 32-bit? by Tommer · · Score: 2

      I'm glad people thought I was being funny, but I wasn't.

      Thanks for the tip on the G450 - will keep that in mind. I used to use SGI boxes and miss the proper support for multiple visuals.

      --
      -- Tom Rathborne
    2. Re:Does this mean I get colour cycling in 32-bit? by CoolVibe · · Score: 2

      The SGI X server can do this. Ask Jamie Zawinsky. He used this feature a lot when debugging the 8-bpp Pseudocolor screen hacks while having a truecolor visual on his SGI box.

  59. Re:XFree 2002 = Windows 95 by Anonymous Coward · · Score: 4, Insightful

    I find it amazing to be reading posts from people whose memory of computers start at 95B. The original 95 required a reboot after a screen change, slick...just like every version of Windows before it.

    I can see why this kind of feature would be important for Windows users. Afterall, if you had to reboot every time you changed your resolution you'd never get anything done.

  60. Re:Proof of concept by swordgeek · · Score: 2, Insightful

    Hmm. Well then, you believe wrong.

    Anyone who comes directly to Linux and assumes that XF86 is a reasonable implementation of X11 seems to fall into this trap.

    The fact is that X11 is a lovely and elegant platfrom-neutral graphical layer. XF86 is a botched implementation of it. Linux itself isn't particularly well suited to a clean implementation of X11, and the managers that run on top of XF86 in Linux are horrid bits of bloatware (albeit, nifty ones).

    Go find an old SunOS system, and discover just how effect the X11 architecture is. Look at how well it runs on something comparable to a 80286. THEN come back to XF86 and wonder why they messed it up so horribly.

    --

    "People who do stupid things with hazardous materials often die." -- Jim Davidson on alt.folklore.urban
  61. Re:Just how bad is X? by cscx · · Score: 2

    This is KDE2, and misconfiguration is possible (not my machine, lab machines we're talking about here). But I'm not making this shit up.

    I haven't seen KDE3, so I can't talk about that, sorry.

  62. Clipboard (was Re:Fix this) by tialaramex · · Score: 5, Insightful

    Cut and paste faults are BUGS in individual applications or toolkits. The XFree86 maintainers cannot fix these bugs by changing X, because X already does the right thing.

    In every serious X app you should be able to do both of the following:

    1) Cut, Copy and Paste things through the system clipboard using menu options, keyboard shortcuts etc. as appropriate. e.g. Ctrl-X for cut in most GNOME, KDE apps. This works almost exactly like Windows.

    2) Quick copy using the middle mouse button, select text in any application, then press the middle mouse button to paste that text in any other application.

    If they don't work in your favourite apps, check for a new version. If that doesn't work either, file a bug, post to the mailing list, write to your democratic representative or complain ABOUT THE SPECIFIC APP on Slashdot. If you aren't specific no-one can help you.

    Caveats:

    Old KDE (pre 3.0) and Qt (ditto) apps (e.g. Opera and many installs of KOffice) don't work because Trolltech screwed up. Upgrade

    Venerable old xterm doesn't have Cut/Copy/Paste menu items (most users don't even know it has a menu) so you can't use the clipboard only the fast copy feature. Use one of the many other modern terminal apps if you /really/ care.

    Earlier (e.g. few months old) stable releases of Gnumeric make the same mistake as Qt2.x. Upgrade to the latest release.

    GNU Emacs (but not XEmacs) has totally bizarre clipboard behaviour unrelated to any standard, principle or sense of reason. Use XEmacs or complain to your favourite Emacs maintainer.

    1. Re:Clipboard (was Re:Fix this) by Christianfreak · · Score: 2

      Cut and paste faults are BUGS in individual applications or toolkits. The XFree86 maintainers cannot fix these bugs by changing X, because X already does the right thing.

      Not to be a troll but I think some of the main reasons for these bugs are because X can only copy and paste text and now we have a situation where all the major window managers have hacked up their own copy and paste over X's so that it can do binaries as well.

      It would be really great if X could copy and paste binaries because it really would fix this problem and then we could copy and paste anything between apps no matter what window system we use.

      Can anyone give a reason why work hasn't been done in this area, preferably a technical one, I've heard many arguments of "X wasn't designed for that, that's not its purpose" to which I ask then why have copy and paste at all that in terms of a modern operating system is not complete.

    2. Re:Clipboard (was Re:Fix this) by zurab · · Score: 2

      Use XEmacs or complain to your favourite Emacs maintainer.

      Favourite? I think you meant elected! Don't we elect everyone for Emacs? I thought the elections that are just around the corner... ... ... Wait a minute!

  63. Re:This is not a rhetorical question. by scotch · · Score: 5, Funny
    The rotation is also good if you fall over and can't get up. Change the rotation and keep on hacking as you lay otherwise helpless on the floor.

    --
    XML causes global warming.
  64. What a great feature! by TheSHAD0W · · Score: 4, Funny

    Coders everywhere can always use more R&R. This means we won't have to offer additional vacation time.

  65. Re:Now if only.... by hey · · Score: 2

    If you click on "OK" there you are
    asked to relogin. So RedHat 8.0 doesn't
    have this feature - if that's what you are saying.

  66. the main issue by naasking · · Score: 2

    Did you ever consider the fact that it may not have been a high priority and that's why it "took so long" to implement? The desktop is still not the main use for *nux you know.

  67. Re:One less thing for windows users to complain ab by swordgeek · · Score: 2

    It's only a feature if the ability to change true resolution/desktop size is also implemented. Otherwise, it's a bug, or a design flaw.

    --

    "People who do stupid things with hazardous materials often die." -- Jim Davidson on alt.folklore.urban
  68. Re:Just how bad is X? by cpeterso · · Score: 5, Funny


    Which means Apple may have a Unixish personality of their Mach core, but out of the box, no Unix GUI tools work.

    Good point. The Mac has no GUI tools and Unix's GUI tools are world-renowned. Mac users are clamoring to use those Unix GUI tools. or was that vice versa?

  69. it's not the same by g4dget · · Score: 5, Insightful
    Changing resolution or screen orientation on something like Windows or MacOS is a pretty simple and localized affair--something pokes around with the video hardware and applications get notified that something happened--not very hard, but not very powerful either. Individual X11 implementations have had that for many years as well.

    This extension, together with other X11 features, has a much grander vision: letting applications move seamlessly across displays and devices. This requires defining standard protocols by which different implementations can interoperate and communicate. It also means coming up with standards that work across a wide range of devices.

    I frankly don't know when, or even whether, X11 will be able to deliver on this vision--it's hard and there is still a lot of work left. But I do know that few other systems are even trying, and that functionally, X11 is already far ahead of the alternatives. For all their visual glitz, Windows and MacOS, for example, are just minor variations on the "applications running on my desktop" theme.

    1. Re:it's not the same by coene · · Score: 2

      I understand the benefits that X brings, but most users will never need them... Changing resolution on the fly (without tweaking a config file) is something thats extremely important to a lot of users. Being able to export that desktop and/or application to another machine isnt something thats commonly used.

    2. Re:it's not the same by g4dget · · Score: 2
      Being able to export that desktop and/or application to another machine isnt something thats commonly used.

      Oh, it's very commonly used even between PCs, as the success of PC Anywhere and VNC show. It's just that those solutions have a lot of problems.

      Of course, many PCs in corporate and research environments are actually mostly glorified X11 terminals, and this feature in X11 is also extensively used.

      The only people who perhaps aren't using it as much are Linux desktop users. But they don't represent all of the X11 usage.

      Changing resolution on the fly (without tweaking a config file) is something thats extremely important to a lot of users

      X11 lacked this feature because until recently, there was little hardware support or need for it. Now that the need is there, X11 is providing it. Yes, it took a little longer to do that on X11 than on a proprietary platform, but that's always the case with open standards and platforms.

    3. Re:it's not the same by Atzanteol · · Score: 2

      Damnit! Why must we be constantly concerned with appeasing 'most users'? Why limit ourselves to the whim of the lowest common denominator?

      --
      "Ignorance more frequently begets confidence than does knowledge"

      - Charles Darwin
    4. Re:it's not the same by g4dget · · Score: 2
      Yeah, I've only been using multisync monitors for 10 years or so. I guess in geological UNIX time, that's pretty recent.

      UNIX traditionally hasn't needed resolution switching because the graphics cards people were usually using supported acceleration and bit depths at the highest resolution. It's needed on PC hardware only because the graphics cards are so quirky. And even on PCs, XFree86 has had the necessary support for switching modes on the fly for years; RandR just cleans it up and generalizes it.

  70. Re:Just how bad is X? by Fnord · · Score: 2

    I thought display pdf was also actualy sending pdf code to the window server, and pdf code just happened to be a lighter weight subset of postscript (pretty much postscript minus the programability). And I admit, messed up, Xdps wasn't until openstep but the point still stands that it's an existing system that proven workable that gives you the best of both worlds.

    Also, I may be mistaken but I was pretty sure the quartxz windowserver got vector commands in some sort of protocal form (like pdf). Apps would send commands like "create an spline with these coordinates and assign it object name blah" and then allow the app to do resolution independant displays and deformations of that object just referencing it by name. Mind you I've never programmed for quartz so I may be talking out of my ass. Render on the other hand only does deformation and displays of pixmaps like you said, (or static color areas, which is where its power to composite objects out of these color areas comes in).

    Anyways, the point was originally that with not too much more effort X can do all this without giving up the remote display, backward compatibility, extensibility and platform independance that we all love (or at least I do....I know there are X haters out there).

  71. Will I be able to rotate the screen? by thogard · · Score: 2, Flamebait

    I've got a LCD display that can rotate 90 degrees so it ends up with a resolution of 768x1024. I like the 3:4 profile better than the 4:3 (maybe because I liked my blit)

    The problem is that the speed of the thing in the rotate mode is so slow. Modern graphics hardware seems to prefer loading things at the upper left and working towards the right and then down. The rotated drivers I've seen so far seems to do the same thing on a pixel level and its so slow...

    Once this takes off, then I'll need to find a display I can rotate that has 1024 pixels accross. 768 just isn't enough for way too many web pages.

    1. Re:Will I be able to rotate the screen? by alistair · · Score: 2

      Have a look at the NEC MultiSync Range of Monitors, I have a pair of them in front of me now running at 1600 x 1280. Although this makes for a lovely wide desktop, for both web page viewing and document composing it would be preferable to rotate them and run at 1280 x 1600. I briefly tried them on a Windows XP PC and this worked fine, but I haven't found an easy way to support this on XFree86.

      One reservation I have about these monitors is that they sit very nicely together in horizontal mode, but if you were to rotate the pair of them vertically the buttons and wider top bar would prevent them easily sitting together for dual screen viewing, I would love to find a flat screen with even screen broders for this type of rotation.

      However, I would have to say that these dual NEC screens are among the best IT purchases I have ever made. I bought them for over $1000 each but a friend of mine did a quick web search for them recently and mananged to pick one up for around $400. The models I use are the NEC 1850DX, the nice thing about flat screens from NEC and others is that new models are introduced fairly regularly and you can often up up excellent end of line screens at reasonable prices.

  72. Re:unfortunately by g4dget · · Score: 2
    most people don't need those features

    Most people have apparently simply given into Windows and Macintosh mediocrity: they think that the limitations of those systems are somehow fundamental. But that doesn't mean that they don't want the ability to say "hey, computer, I'd like to continue with this program on the screen in my study".

    maybe the X team has finally changed direction to The Right Way

    There is no "X team" that enforces a direction for X11. If you don't like what X11 does, you can add your own extension. If others find it useful, they will use it. X11 is the way it is because its users like it that way. That's more than can be said about most other window systems.

  73. Re:Just how bad is X? by ADRA · · Score: 2

    Terminal Services emulates hardware so that the server OS does all the work. That also means that it sends bitmaps and rects while X sends EXVERYTHING over the line. I think over the line, compression / encription would be great extensions to have, but I don't think they decided to make the channel configurable, so unless someone writes a wrapper for it, X over low speed will never be ideal.

    As for on-platform performance, same problem in a different way. The channel can be majorly shortcutted if both server and client are on the same computer if someone wrote a faster channel between xlib and the server, like IPC's. Unless it is 100% implemented, aka not an extention like DGA or DRI.

    --
    Bye!
  74. Re:Fix this by g4dget · · Score: 2
    Cut/paste is a toolkit issue, and focus is a window manager issue. If they don't work the way you like them to, it's a problem with the desktop you are using, not the X Window System.

    However, the most likely cause of those complaints is that, by convention, cut/paste and focus work differently under X11 than under Windows. Furthermore, X11 has support for pasting the selection, something that doesn't exist under Windows or MacOS at all. Maybe you just need to read the documentation.

  75. Re:Just how bad is X? by cscx · · Score: 2

    I use Gnome, as I think its usability surpasses that of KDE. KDE 2 has trouble doing the simplest of things -- like storing my font configuration correctly. For some reason, it decides to set all my system fonts to a cursive calligraphy font one day after I changed the fonts to helvetica. Some are stuck like that, like the fonts in the control menus. That when I had it up to here with KDE.

    I've turned off all the graphical toys in GNOME like font antialiasing, file previewing, and anything else that I could think of, but Nautilus + Sawfish is still as slow as poop through molasses compared to Windows.

  76. Back OT by rapidweather · · Score: 2, Informative

    Try "startx" right away, without running xconfigurator, or xf86config. See what you get. Save it as XF86Config_working, then go ahead and run xf86config and try and get something better. If you get X to run, at least you won't overwrite a good configuration while you try and get one running;-) (This is my tip of the day, works on Grey Cat Linux.)

  77. This is important by foonf · · Score: 4, Insightful

    But, I think its impact is being overblown, at the cost of ignoring features which have existed in Xfree86 (and X11 in general) for some time.

    Of course, changing the display resolution itself has always been possible using control-alt-+/-, but without resizing the desktop.

    Full screen games can run at any resolution and color depth supported by the hardware, and included in the XF86Config file, regardless of the desktop resolution, on almost any recent card, if the program itself supports the existing DGA extensions.

    Real-time mode line (ie, refresh rate, dot clock, etc.) tweaking has always been possible with xvidtune and other utilities (the very nice PowerDesk tool with Matrox cards, for instance, which is GPL'd).

    What this does is allow resizing (and less significantly, rotation, reflection, and other similar permutations) of the desktop itself without restarting the X11 server.

    Moreover, this does not automatically mean that an easy to use Windows-style control applet will exist--this is a separate task, as it should be in the Unix tradition, but one which these extensions will make closer to possibility (notwithstanding, I can't see why some tool like this hasn't been developed already by one of the large commercial distributions using functionality already present--see the PowerDesk applet I mentioned above for an example of how this should work).

    --

    "(Man) tries to live his own life as if he were telling a story. But you have to choose: live or tell." --Sartre
    1. Re:This is important by ChrisJones · · Score: 2

      rotation is significantly important if you are working in the handheld market :)

      --
      Chris "Ng" Jones
      cmsj@tenshu.net
      www.tenshu.net
  78. Re:Just how bad is X? by joto · · Score: 2

    It would help the "average user", if the "average user" would run X11. Of course, if all the "average user" does is run programs locally, there won't be many reasons to change. But here are some I like: work home with stuff at the workplace, work at work with stuff on some server in some other country, work with expensive programs on other peoples computers, ... etc... Personally, I use X11's remote features all the time, and would generally wish it was even more network aware, rather than faster...

  79. Just get Timbuktu or help with the OS X VNC by BoomerSooner · · Score: 2

    Server. I've used both and they work fine for me (although don't change resolutions running VNC).

    OS X 10.2 is everything I could expect from an OS and more. Linux distro's should take notice. I use OS X, Windows and Linux. I have moved from Linux to OS X for my desktop needs and run all Linux (from Windows) on the Server side (JSP) with the exception of DB Server running Solaris on SPARC.

    As soon as Oracle is out of Dev versions for 10.2 Server I'm debating on testing versus my SPARC (IIi) to gauge speed and usability. The OS X Server tools look great!

  80. This is Silly... by Grip3n · · Score: 2

    Taking a look at Hamish's work on the project (available at http://yoyo.its.monash.edu.au/~meddie/patches/scre enshots/) shows that the display dialog for resizing windows will also include the dimensions in milimeteres! Who cares? It's another point of confusion that a) no one cares about (when was the last time you took a ruler to determine the dimensions of your horizonal and vertical screen space in mm?) and b) another point for Linux that it's too 'complicated' for a regular user to get aquainted to. It's redundant and is simply another point of confusion.

    Seriously, I'm a gamer, programmer and developer and I don't see any situation where I would require this information...so why are we intent on including it in this situation?

    Additionally, viewing screenshot #4 displays the fact users can flip the monitor display upside down using a QuickRes-like implementation. This is fantastic for the Vampire population out there, but for the rest of the world it's useless. Sure, include support in XFree86 itself, but to provide this feature in a very prodominent area where users can routinely access is ridiculous. I can see it now - tech support getting thousands of calls from people who think their computer is 'broken' because the image is flipped 270 degrees. Does this really benefit anyone? I don't see any use for this readily-available feature.

    Just because we have the *ability* to do it (note: I'm not against XFree86 implementing this feature, just where KDE is going to be placing the options to use it) doesn't mean we *have* to do it.

    --
    To make a pun demonstrates the highest understanding of a language
    1. Re:This is Silly... by puetzk · · Score: 2, Insightful

      it's for LCDs that can pivot on their base, so that you can turn the screen the right way after rotating the monitor.

      --
      The Matrix is going down for reboot now! Stopping reality: OK. The system is halted.
    2. Re:This is Silly... by rocjoe71 · · Score: 2
      Seriously, I'm a gamer, programmer and developer

      ...And so, as a "programmer and developer", doesn't it really hack you off when your clients tear up your work, even though it's the 'alpha' version (i.e. the very first try?)--

      Lighten up Mr. "programmer and developer", brainstorming is good.

      --
      Height: 38U, Weight: 0 Newtons, Eyes: #0000FF, OS: Gray Matter 1.0 (Alpha)
    3. Re:This is Silly... by Muggins+the+Mad · · Score: 2, Interesting
      ... the display dialog for resizing windows will also include the dimensions in milimeteres! Who cares? It's another point of confusion that a) no one cares about (when was the last time you took a ruler to determine the dimensions of your horizonal and vertical screen space in mm?)

      I, for one, would love this feature. I don't care or often even know how many pixels across something needs to be for me to find it comfortable to read. And if when change to a screen with a higher resolution, I hate having to reconfigure all my applications to make the fonts readable again.

      If I can specify everything in some absolute measurement - millimetres, inches, whatever - everything'll remain the size I want it and as readable as I want it no matter what display I happen to be sitting at. This is one of the very few reasons I liked the original MacIntoshes

    4. Re:This is Silly... by ShavenYak · · Score: 2

      If I can specify everything in some absolute measurement - millimetres, inches, whatever - everything'll remain the size I want it and as readable as I want it no matter what display I happen to be sitting at. This is one of the very few reasons I liked the original MacIntoshes

      That's a very good point - it's too bad Winblows has screwed up everyone's ideas of how things should work on a desktop monitor. The original poster was complaining about setting a display size by millimeters being confusing - good Lord, that's the way it should be done! It's pixels that are confusing. Why do I care how many dots there are on my screen? I should care how many inches I have to work with.

      This bizarre attachment to pixels is screwing up the Web also. I should be able to set a width and height tag on an image in inches, and have the user's browser resize the image on the fly. That way, the image that is a nice banner for the 800x600 user doesn't fill the screen for the 640x480 guy and look like a postage stamp for the 1920x1280 geek.

      --

      Hey kids, there's only 5 days left 'til Yak Shaving Day!
    5. Re:This is Silly... by mosch · · Score: 5, Insightful
      Imagine if you will, a world where it's possible to hook your laptop up to a 1024x768 15" lcd panel, then switch to a 2048x1536 22" crt, then to a 3840x2400 high-res lcd panel.

      In that sort of world, it's a lot easier to specify how big you want things to be than to specify how many pixels anything should be.

    6. Re:This is Silly... by dvdeug · · Score: 3, Insightful

      Hey Limey, next time the Germans want to invade your asses we're gonna let 'em!

      Um, if I were a limey, I would be using metric. Americans are the only people still using Imperial units like inches.

  81. Re:Proof of concept by g4dget · · Score: 4, Interesting
    That mere fact that we had to wait so many years for a feature that has been available to Mac users for, like, 15 years, is the proof that X11 in general and XFree86 in particular, is the most bloated buggy unmaintainnable piece of software ever.

    The Mac solved a much simpler problem: given a proprietary GUI toolkit running on a single machine, let people rotate the screen. You can do that with a quick hack.

    X11 is a protocol, not an implementation. People can't just go in, hack the XFree86 implementation, and be done with it. If you add something to X11, it needs to be defined, discussed, and then implemented. People need to think about lots of different kinds of possible hardware and scenarios. That takes time.

    When will somebody free the world of X11 and write a light-weight fast and efficient graphics layer for Linux,

    Have you done a "ps" on your Mac lately? Have you done any kind of graphics benchmarks? X11 runs rings around the Macintosh display system, both in terms of performance and in terms of memory footprint.

    but I strongly believe 2/3 of the functionality of the X11 architecure is just a big waste of time and disk space

    Oh, and what functionality would that be? Please tell us.

    Besides, do you think that putting a PDF or Postscript interpreter into the display server is the epitomy of efficient design?

  82. Will it overlay? by strredwolf · · Score: 2

    I can see where it's useful (including Xfree on a Sharp Zaurus), but it still dependent on some screen definitions if your screen isn't quite standard.

    I mean, my laptop gets 800x600x8 bit, because it has 1 meg of vid-RAM. I can't go 16-bit... unless I shrink it down to 800x592.

    Not standard, yes?

    --

    --
    # Canmephians for a better Linux Kernel
    $Stalag99{"URL"}="http://stalag99.net";
  83. Re:Just how bad is X? by AJWM · · Score: 3, Informative

    and now dynamic sizing/resizing in X.

    Everyone is treating this like it's some super great accomplishment. Windows has allowed this since Windows 95, and the Mac since System 7.x.


    Windows has never had -- and still doesn't -- rotation, which the XRandR also provides. Cool, now I can tilt my monitor on its side and view things in portrait mode.

    The Mac supported this with certain display hardware (the Radius Pivot comes to mind), but most Mac hardware (of System 7 vintage, anyway) didn't support any resizing, dynamic or otherwise.

    I can click the [Windows] start menu and it draws instantly. I can still see Gnome and KDE menus paint across the screen chunkily -- yes, this is on a P-4 machine with whizzy graphics cards, a gig of RAM, etc.

    Then something is seriously fucked up with your Linux/X server configuration. I'm typing this on a P-III 550 with 512 MB RAM and a Matrox 200 graphics card, and "instant" is the word I'd use for the graphics. On a P-166 with 64MB and cheap S3 ViRGE graphics, it's a little slower to start drawing a menu, but once it does start the menu appears quickly, none of this "chunkily" stuff.

    Makes you wonder why all those thin clients that boot Linux + X11 do it not to connect to an X server, but to run Citrix's ICA client for Linux to connect to a Windows 2000 server.

    Umm, maybe because Windows 2000 server doesn't speak X Windows? (So, how do I set the DISPLAY variable in Win2K?)

    --
    -- Alastair
  84. Re:This is not a rhetorical question. by jg · · Score: 5, Interesting

    Rotation is used, for example, on the iPAQ PDA,
    so that you can choose either landscape or
    portrait mode. It is also useful on tablets,
    some other circumstances.

    Keith and I discussed mirroring when we originally
    designed RandR, but couldn't come up with a
    plausible need.

    Then at a conference, someone came up to me and
    said they wanted to implement a Heads-UP display
    using a Laptop on their dashboard.

    I said: "Sold!".

    So we implemented it.
    - Jim

  85. just to cut through the tech mumbo jumbo? by RestiffBard · · Score: 2

    so all I'm concerned about, will this allow me to have different resolutions on different virtual desktops? I'd like that.

    --
    - /* dead coders leave no comments */
    1. Re:just to cut through the tech mumbo jumbo? by larien · · Score: 2
      My guess is that it's probably technically possible, but will require that KDE/Gnome/whatever supports the modification of the X-server when you switch desktops.

      It does sound like a very good idea and I hope it gets implemented.

  86. Re:Just how bad is X? by cehardin · · Score: 3, Interesting

    I see, it is somewhat confusing because most people have never used a lightweight window manager. OS X has a 20K process called "Window Manager", all it knows how to do is keep track of where windows are, where the mouse is, keystrokes, etc. It is the clients responsibility to actually draw stuff. The client asks the Window Manager for a shared piece of memory to draw to. When the client is done it tells the server and the server then blits this pixmap and keeps it in memory for later use (double buffering). This is basically what Xrender does. Note that it is the client which also draws the window frame, decorations, etc, there is no "Window Manager" like there is on X11.

    Now, the clients do have access to PDF intepreters, but they run in the client only. no "code" is sent to the server. This is the fastest way to do this. ala XRender stuff. Of course, this type of graphics system does not work with remote connections.

    I thought XRender prevented remote display functionality?

    X11 is ok, but something like quartz does it so much smaller, simpler, and faster.

  87. Re:unfortunately by mgkimsal2 · · Score: 2

    But that doesn't mean that they don't want the ability to say "hey, computer, I'd like to continue with this program on the screen in my study".

    *MOST PEOPLE* don't have a study, or multiple computers in one house. Windows/Mac are more successful because they accomodate the basic needs of the majority of people. Yes, X has nifty features - those are features that won't be needed by the majority of people anywhere in the near future. Do you honestly think MS couldn't add in exported displays somehow if the demand was really there? With more money in the bank than most South American countries combined, they could figure out a way somehow. Note that if they did this, it'd put PCAnywhere and similar products out of business, and everyone would complain about the evil monopoly expanding their empire, but that's another story... :)

  88. Re:Just how bad is X? by jericho4.0 · · Score: 2
    Hmmmmm. On my G4 top shows the window manager taking 15 meg registered pages and 81megs virtual, which we all know don't count.

    I also havn't noticed the 'massive speed hits' you mention. Even when viewing a DVD with 3 layers of semi-transparent windows displaying AA text over it. Huh. Doesn't seem to be choking.

    I would also argue that useing OpenGL to render to screen is a good option. Most video cards today have a lot of proccessing power devoted to 3D rendering, and pure 2D isn't much of a priority. Don't expect anyone to bring out 128 bit floating point color anytime soon in a 2D incarnation.

    Well, judging from your nick, you're a BeOS fan. I don't know tons about BeOS, but I hear that they know multimedia. Os X looks pretty damn good to me, though.

    --
    "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
  89. Re:Now if only.... by hey · · Score: 2

    Sorry about that - right you are.

    But who has time to read questions in this hurley
    burley fast-paced age?!

  90. Rotate and Resize by certron · · Score: 4, Funny

    OK, maybe there is something wrong with me, but all I can think of with rotate and resize is the following:

    Rotate screen to view centerfold...
    Resize pants.

    I'm a bad bad person. :-)

    --

    fair.org counterpunch.com truthout.com indymedia.org salon.com
    eff.org guerrilla.net debian.org gentoo.org
  91. Re:Just how bad is X? by Dalcius · · Score: 4, Interesting

    -1 Redundant
    +1 Well Deserved

    Do you have a habit of smoking somethign when you use X?

    I'm typing this on a Dell Inspiron 7000. Pentium 333, 190 MB ram, 4 MB ATI video card. Both Windows and X take a second to read the menus and render them the first time, but that time is nearly equivilant. Afterwards, X renders instantly.

    However, I don't notice a load-time on my other machine (XP 2000+, 768 MB DDR, MSI GeForce4 Ti 4400).

    Are you running an old version of Nautilus? I don't think even that would do it, but that's all I can think of.

    Sure, like everything, X has it's problems, but I prefer flexibility and configurability over the simplistic, inflexible crap from Microsoft that passes as a desktop.

    --
    ~Dalcius
    Rome wasn't burnt in a day.
  92. Re:Just how bad is X? by starseeker · · Score: 3, Insightful

    A very good article, but there are a couple of points I would like to make:

    Free software development has a different set of standards to work by than commercial software. What this article says is probably true for commercial software, but there the motivation is to make it work and sell it. Free software is different in that selling isn't a factor. Usage is nice, but the most skilled open source programmers are artists. And it shows! We may not have produced a full MSOffice clone, but I'm writting this from a Linux box in Galeon, using Mozilla. I don't have Windows on my machine, and don't want it - Linux is an excellent system. Mozilla is a tremendous piece of work - in my estimation, the rewrite has done a lot of good. Yes we had to wait, but in the end it produced results.

    Maybe the results are not so good for Netscape the company, but Netscape the browser is a lot better off. In free software, the program means more than the company, which is a very foreign mindframe to corporate types. Understandable.

    But that's why people are interested in a total redesign of X - we don't have to care whether or not it takes five years or ten, whether we will have enough market share to pay costs. It's developed as a hobby by people who love doing it. We aren't sweating timelines or market share. Berlin is very slow, and may or may not ever replace X, but so what? They like developing it, it undoubtedly has advantages and flexibility, and may someday change the world of free software. Same with GNU Hurd or EROS. Totally cool ideas, total rewrites of everything, not fully developed but really neat and potentially very useful.

    So while it wouldn't make sense IN A COMMERCIAL SETTING to replace X, in the artistic world of free software it does. And since both X and whatever replaces it can be maintained and work together (Both DirectFB and Quartz can handle X running alongside them, for example, and if Berlin can't yet it will surely be able to) we can be backwards compatible and functional while reaching for the stars feature and style wise.

    --
    "I object to doing things that computers can do." -- Olin Shivers, lispers.org
  93. Re:Just how bad is X? by iomud · · Score: 2

    Your point also hinges on the premise that X has competition ala (netscape/microsoft) that might overtake it if it were to be rewritten. The only reason why I wouldnt want to see X redone is that we'd be throwing out just about every gui toolkit and window manager with it. Granted these things could be recoded or backwards compatibility kept but that would marginally defeat the purpose of a rewrite. I think there comes a point at which eventually you just have to chuck it all and start over, that being said, I dont think we've reached that point.

  94. Re:Don't pay too much attention to cscx... by cscx · · Score: 2

    Now that's funny (and complete bullshit)!

    I save you some time looking for that 'admission of guilt' since your entire claim is false. Get a grip on reality, buddy.

  95. Re:This is not a rhetorical question. by StringBlade · · Score: 3, Informative

    It's also possible that people may want to run XMAME and other such emulators on a monitor which has been rotated and placed inside a cabinet (or other display mount). While XMAME and other emulators may allow games to be rotated during emulation (usually one of the game's options), by allowing X to rotate the screen, it wouldn't depend on the emulated game to provide the rotation and it would provide consistancy among game orientations.

    --
    ...and that's the way the cookie crumbles.
  96. Drops hardware accel ? by sbaker · · Score: 2

    What's worrying about this is the repeated references to the
    system dropping out of hardware accelleration.

    It's not a problem for simple 2D renderings - browsers, Xterms,
    etc - but if you are running 3D applications like games and it
    kicks you out of hardware accel, you're dead.

    Not only that, but OpenGL programs will have registered a "rendering
    context" which will define what extensions to the OpenGL API are
    available to it. Once the program is using those extensions,
    you can't just take them away and drop down to a software rendering
    context. The program will crash for sure.

    It's all very well to say "Well - don't do that then" - but naive
    users will assume that all of this will work smoothly (as it should)
    and that having programs crash when you resize the screen is a BUG.

    Dunno - maybe they've thought through all the implications - but it
    doesn't look like it from a quick read of the RandR page.

    --
    www.sjbaker.org
    1. Re:Drops hardware accel ? by ProfessorPuke · · Score: 2
      That's an important point, but something that the authors of the OpenGL drivers will be able to adapt to. (Or, preferably, patches to the OpenGL extensions could be included when RandR is inserted to XFree86) Once a system is already reliably running, the most common change will be adjusting the resolution, or rotating the screen. Those are linear transformations of the image, so its fairly simple for the OpenGL driver to add one extra step to its coordinate-pipeline to account for the change.

      Screen bitdepth is harder to change on the fly (since textures may already have been uploaded to the card, and so forth). If the 3d engine on top of OpenGL was aware of that possibility, it could handle the event by just reloading all textures from disk. It would be possible for the OpenGL driver to virtualize texture access and hide the bitdepth changes from the application, but like you say, this would be slow. And complicated to implement, for a low payoff.

      It might be better if the OpenGL extensions were modified to set a flag while their programs were running. The utilities that reconfigure the screen could check the flag, and disable the changing of resolution while the apps are still running. (More likely, show a dialog box with "Warning, the following programs are 3d accelerated: DooM3. To change bit-depth, please quit those programs and try again") Explaining the problem beforehand is infinitely better than waiting for a mysterious crash.

    2. Re:Drops hardware accel ? by ProfessorPuke · · Score: 2

      Hey, I guess that was a good reason that RandR doesn't support bitdepth changing at all.

  97. Re:This is not a rhetorical question. by sbaker · · Score: 2

    Rotation is especially good for PDA's. The (sadly gone) Agenda
    PDA ran X and had screen rotation hacked in at some low level.

    It was very useful with limited screen resources because some
    applications work best in landscape and others best in portrait.

    --
    www.sjbaker.org
  98. Don't do it! by stefanlasiewski · · Score: 2, Funny

    EvilCabbage is a fraud! The product he sells is a rip-off. I bought ChairME from him 2 years ago, but the chair just flipped over and my butt smacked the floor hard, which is where I'm typing this article from now....

    --
    "Can of worms? The can is open... the worms are everywhere."
    1. Re:Don't do it! by EvilCabbage · · Score: 2, Funny

      EvilCabbage is a fraud! The product he sells is a rip-off. I bought ChairME from him 2 years ago, but the chair just flipped over and my butt smacked the floor hard, which is where I'm typing this article from now....

      No, no.. thats just an undocumented 'feature'.

      Its designed to.. erm.. improve end user agility. :)

    2. Re:Don't do it! by zenyu · · Score: 2

      I bought ChairME from him 2 years ago, but the chair just flipped over and my butt smacked the floor hard

      I have to speak in EvilCabbage's defence, it's the wheel vendors that never made a driver that could support floor contact. They decided to only support the Chair2000 intended for office since that was their target market. You shouldn't have been attempting to use Chair95 drivers for the more advanced WheelFREE! ChairME.

      Chair2000, ChairMe, WheelFREE are trademarked properties of Evil Inc.

  99. Re:This is not a rhetorical question. by mbogosian · · Score: 2

    It brings new life to tired, old, porn?

    On my Heads-Up Display?!

  100. Fresco! by extrasolar · · Score: 2

    The project is called Fresco now. There is not 'berlin'.

  101. other boss pranks ... by taniwha · · Score: 5, Funny
    I used to work somewhere where we designed video cards for Macs - the engineering group was known for pranks and when it was your birthday you were fair game.

    Anyway it was the boss's birthday and the night before he carefully locked his office and set traps in the door so he could tell if anyone had been in .... the next morning he comes in, everything seems OK, he checks the door, his chair, his desk, doesn't find anything ... sits down to work with his computer .... nolthing happens .... about 1/2 an hour later he realises his screen is slowly getting greener and greener ... aha he thinks looks in his system folder, removes a couple of suspicious INITs and reboots, it comes right ..... about 1/2 and hour later kit starts going green again .... he pulls some more stuff, reboots again, but no luck .... he's just about to reformat his disk and reload the OS when lunch came around and we explained ....

    Of course reloading everything wouldn't have done him any good ... we'd burned him a custom ROM for his graphics card

  102. elgooG by foobrain · · Score: 2, Funny

    Now we'll be able to use elgooG easily!

  103. Re:Just how bad is X? by cscx · · Score: 2

    The problem I had was with RH 7.2 as well. Possible correlation?

  104. Re:Just how bad is X? by be-fan · · Score: 2

    Hmmmmm. On my G4 top shows the window manager taking 15 meg registered pages and 81megs virtual, which we all know don't count.
    >>>>>>>>>
    'top' is unreliable on Linux, so why should it be any more reliable on OS X? Install QuartzDebug from the Developer Tools and see just how much memory you're windows take up.

    I also havn't noticed the 'massive speed hits' you mention. Even when viewing a DVD with 3 layers of semi-transparent windows displaying AA text over it. Huh. Doesn't seem to be choking.
    >>>>>>>
    I've used OS X on 800MHz Macs. My KDE 3.x desktop blows it away.

    I would also argue that useing OpenGL to render to screen is a good option. Most video cards today have a lot of proccessing power devoted to 3D rendering, and pure 2D isn't much of a priority. Don't expect anyone to bring out 128 bit floating point color anytime soon in a 2D incarnation.
    >>>>>>>
    That's the whole point. There is huge amounts of power in 3D cards, so why not draw the desktop as a 3D scene. Look at one of the main graphics primitives in Quartz, the Bezier curve. The traditional method of rendering a closed bezier curve is to break it down into polygons. It's almost begging to be hardware accelerated via OpenGL. Quartz is a vector GUI, OpenGL accelerates vector (which is what 3D really is) graphics. It's almost a no-brainer.

    --
    A deep unwavering belief is a sure sign you're missing something...
  105. Re:Fix this by g4dget · · Score: 2

    Yes, for cut-and-paste, as well as for focus. The whole world does not work like Windows, nor should it.

  106. The anti-pro-X debate is missing the point! by Francis+Avila · · Score: 5, Insightful

    There are a lot of people whining about X (myself included). Most people say X is (take your pick) bloated, slow, obsolete, inefficient, or hopeless. Now some of these individual claims may have some truth to them, but the fact is that X despite its knarliness, works, and it works today. There isn't any real alternative, and it can continue to be extended for a long time.

    But people who say such things about X are missing the point. X is ugly, in the same way that x86 is ugly. I think the analogy is a very apt one. Both are rather old designs, both are the most prevalent, both have had to be extended numerous times (and successfully), and both work, and work quite well. But neither one will get any design awards: the only thing we're doing at this point with either of these is leveraging the existing code base (i.e., the millions of x86 binaries on the one hand and X applications on the other) and avoiding duplication of past work by building something from scratch. And frankly, I think both are beginning to reach the end of the line: the further we go, the more effort we need to expend for an increasingly marginal return.

    For the x86 example, Intel perceives this, and wants to jump ship now, even though its replacement is not as robust, fast, or powerful as its last top of the line. Once again, people who point this fact out are missing the point: Intel is laying down a roadmap, to service a broader goal of an architecture it can grow with for the next decade or more.

    Why can't we do the same with X? It's going to get harder and harder to grow with X, so lets lay some groundwork now for a window system we can grow with for the next decade or more.

    I am shocked and amazed that more comments are not mentioning Berlin, that is, Fresco. Do people not know about this? This is the only project I've found that has half a chance of being a suitable replacement for X. There's a framework there, a coherent vision, and even a basic running system. This isn't vapor, folks, or are these people a bunch of anti-X whiners with no code to back up their pointless bitching. They're not FUD-mongers; at least listen to their well-balanced (I think) justification as to why they're working on this project. It's quite easy to see that they're not at all motivated by hatred of X, but by a desire to design an elegant and network-transparent window system.

    Why don't we have more of that nowadays? Half the OSS movement seems to be driven by hatred of Microsoft (or simply closed-source software), rather than love of elegant, useful, robust code born of honest work. At some point someone is going to have to worry about more than simply getting things done as quickly as possible, be-damned-how-it-works, and think more about design and the way things should be. The former type of attitude breeds stuff like MS Windows. Is that really what you want your windowing system to become? If something isn't done before long, X is going to be just like Windows: pasted and taped together and building on a merely serviceable codebase. This, I think, would be a great injustice to X. Let it die a peaceful and honorable death now, rather than a violent and hate-filled one later when it becomes so horrible, so monstrous, that the issue of replacing it is forced upon us and we throw its head on the guillotine.

    Remember that at its inception X itself was merely a design framework by people who wanted to do a windowing system the right way. That X has served so well for so long is a testament to that foresight. But please, let us have the foresight to know when to design something new on that same basis, learning from what we have done. A rejection of the code does not mean a rejection of the vision or of the talent that bore that code.

    1. Re:The anti-pro-X debate is missing the point! by FooBarWidget · · Score: 3, Insightful

      Do Berlin/Fresco work? Do they support my graphics card? Are there any applications for those systems? Are they easy to setup?
      Until all those goals are reached, Berlin and Fresco are only useful to show off how l33t you are, but serve no practical purpose.

      It's funny how you praise Berlin. Berlin communicates via CORBA. And guess what all the anti-GNOME/anti-ORBit trolls and the KDE people say about CORBA? It's slow!

      And X was *designed* to be extensible. The designers back in the 80s realized that their work will once be outdated. Sure, there will be a day when X *must* be replaced, but that day is nowhere near today. X can be extended for a very long time.

    2. Re:The anti-pro-X debate is missing the point! by psamuels · · Score: 4, Informative
      Why can't we do the same with X? It's going to get harder and harder to grow with X, so lets lay some groundwork now for a window system we can grow with for the next decade or more.

      <eliza>Why do you think that it is going to get harder and harder to grow with X?</eliza>

      (For that matter, why do you think X is bloated, or ugly, or slow, or obsolete, or inefficient?)

      I suggest you check out the X extension mechanism. You know, the thing that makes possible such things as the RandR extension, which is what we're ostensibly talking about here. The original X11 design did not make any provisions for:

      • non-rectangular windows (see the SHAPE extension)
      • double buffering (see the DOUBLE-BUFFER extension)
      • 3D hardware acceleration (see the GLX extension)
      • miscellaneous input devices (see the XInputExtension extension)
      • idle timeout events (see the MIT-SCREEN-SAVER extension)
      • optimising the protocol for low-bandwidth transports (see the LBX extension)
      • eliminating the network socket overhead entirely (see the MIT-SHM extension)
      • setting the output resolution/refresh dynamically (see the XFree86-VidModeExtension extension, and now the RandR extension)
      • transparency and alpha blending, including font antialiasing (see the RENDER extension)
      • video framebuffer acceleration (see the XVideo extension)

      and much, much more. Yet these things all work fine today, without loss of any backward compatibility to older applications.

      I agree with Jim Gettys on this one: people who say X is bloated and/or outdated are usually underinformed - meaning they have not really evaluated the alternatives or tried to design their own alternatives. Either that, or they are looking for something with a lot less functionality, like a simple framebuffer for a PDA.

      (One thing I do think XF86 could still use is a widget set extension. I'm thinking individual toolkits like gtk2 or motif2.1, when installed on an X server, would register sub-extensions with it. The client-side libraries would use them if present, so most widget UI interaction would happen entirely on the server side. I think this would be very good for perceived UI latency. This is something I'd start investigating and hacking on if I had a lot more time than I do, but alas....)

      --
      "How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README
    3. Re:The anti-pro-X debate is missing the point! by Caktus · · Score: 3, Interesting

      But neither one will get any design awards

      Of course the x86 won't get a design award. The x86 wasn't created with extensibility in mind. It has been handicaped from the very beginning. It wasn't designed thinking that they could use more registers in the future, or that it could end up using any register for any purpose. In contrast, the X system has been designed for extensibility, network transparency, multiuser systems and isolation from the kernel.

      Extensibility allows adding functionality to the system. The common example is the Renderer extension, but that is just a small example. They could have been created a widget set as an extension to reduce network traffic (not that it would be a good idea). The problem with extensions is not the proper extensions but standarisation. A non standarised extension is useless.

      Network transparency allows to use any machine (that uses X) from a single location. You can have a desktop with several apps from different machines. You can move to another location and use the same machine you used before.

      Multiuser systems allow various users to be logged into the same machine at the same time without interfering one to the other except for some level of resource competition. This allows to reduce the number of systems to be configured and mantained.

      Isolation from the kernel allows to execute the X server in a separate process. The implications of this are that if for any reason there is any operation that will cause a crash, it will only crash the X server and not the entire operating system.

      I understand that these features are of no use to the average user of a computer. In the other hand they are completely transparent to the user. I like it's design very much. What problems do people find in X?

    4. Re:The anti-pro-X debate is missing the point! by iabervon · · Score: 2

      In order to replace X, you'll need something that will emulate X for legacy applications, but also support a cleaner interface. That actually shouldn't be as hard as you might think: you just have a new core rendering engine that is sufficient to support X with all of the extensions you want to make, and then you just add a second interface to it. Since X doesn't specify the internals of how the server works, the fact that you've changed the engine doesn't matter.

      X is bloated mostly by features that used to be important but that nobody cares about any more. There's a lot of complexity in handling colors in color tables, but people only really use DirectColor these days, and dealing with the color code is just a hassle. X has a good mechanism for adding extensions, but there's no way to remove the steps that are no longer useful, and there's no way to get features which have become significant into the core protocol.

    5. Re:The anti-pro-X debate is missing the point! by IamTheRealMike · · Score: 2
      Hear hear, quite right. A few corrections however:

      optimising the protocol for low-bandwidth transports (see the LBX extension)

      LBX is basically dead, it didn't work very well when it was alive, and even with it X is still almost unusable over a slow connection :( There's a postmortem on the XFree site for those who are interested.

      eliminating the network socket overhead entirely (see the MIT-SHM extension)

      As far as I know, the SHM extension is only used for pixmaps, other stuff like events still travel over a socket. Note however that this is a UNIX domain socket, so is basically a direct line to another process via the kernel. It's far more efficient than network sockets, I think people often get confused about this.

      transparency and alpha blending, including font antialiasing (see the RENDER extension)

      XRender allows for hardware accelerated alpha-blending it is true, but I think the problem is that there isn't any way of getting a pixmap of what is underneath a window, making it not enough for semi-transparent windows. Hopefully soon....

  107. Re:unfortunately by g4dget · · Score: 2
    *MOST PEOPLE* don't have a study, or multiple computers in one house

    Many people, however, probably have a computer at work and at home, and might want to use applications from an Internet Cafe or a friend's house or their PDA. In the days of $200 desktops and $500 laptops, most homes are soon going to have multiple computers, just like most homes now have multiple television sets.

    Do you honestly think MS couldn't add in exported displays somehow if the demand was really there? With more money in the bank than most South American countries combined, they could figure out a way somehow.

    I can't think of a single instance where Microsoft has responded to "demand"; usually, they respond to threats from competitors. So, lack of this feature in Windows doesn't mean that there is no demand, it just means that their one major competitor, Apple hasn't figured out how to do this either.

    Besides, it is foolish to think that large amounts of money can buy working, high-quality software implementations; Microsoft's track record itself suggests otherwise.

  108. Re:Just how bad is X? by gehrehmee · · Score: 2

    Local mouse rendering has been implmented in version s of VNC for a few months now at least.

    --
    "You know, Hobbes, some days even my lucky rocketship underpants don't help" -- Calvin
  109. Who cares who did it first. by stefanlasiewski · · Score: 3, Insightful

    Who cares who did it first.

    What's important is that both KDE and Gnome will be able to support this feature in the next 0.x version, which is great!

    This isn't a friggen pissing contest...

    --
    "Can of worms? The can is open... the worms are everywhere."
    1. Re:Who cares who did it first. by orange7 · · Score: 2, Insightful

      > This isn't a friggen pissing contest...

      Oh, so very very wrong =)

      A.

  110. Isn't this already in Red Hat 8.0?? by mojowantshappy · · Score: 2, Interesting

    I have Red Hat 8.0 right now on my computer and when I switch to a game that runs at a different resolution depth then my current one it switches to it. Though, it may be if it is running at a resolution lower than my current one (1152x864), but it defeintly will got to full screen for 640x480, 800x600, and 1024x768. Does this have to do with that emulated thing they were talking about on the story? Just curious.

    --

    This page was generated by a Barrel of Circus Midgets, and that is the way I like it!!!

    1. Re:Isn't this already in Red Hat 8.0?? by ProfessorPuke · · Score: 2

      No, Redhat (and most existing linuxy systems) don't have anything like this.

      For a long time, XFree86 has allowed its own resolution to switch while it was running, but already running programs would be oblivious of this fact, and can't do anything to cope. Nor did the Xserver or window manager take any steps to help them. (If not in the highest possible configured resolution, then you have to very painfully pan across a virtual-desktop area with your mouse. No person could stay sane operating in that environment)

      In the case of a fullscreen game, that limitation doesn't matter- while the game is running, you don't care about seeing any programs you already had up. And you're unlikey to want to start any other stuff until done with the game.

      The RandR improvement could help with games like that, a little (unify how their startup process works, and make it easier to background UT2003 to check your email). But the real use is with GUI software like image/movie viewers and art packages.

      If RandR worked, here's what we'd have: Suppose I've got a new computer with a SOTA video card, but an older 17 inch monitor. It can run at 1600x1400, but only at a poor refresh rate, so I set the default resolution to 1280x1024. However sometimes I'd like to view an entire scanned magazine page at once. I can switch up to the higher resolution temporarily, and for that time period, all my programs will resize correctly.

      Conversely, if I wanted to play a video/animation (but still retain access to my other running X11 programs) I could drop down to 800x600, creating a performance advantage for the fast-refresh software.

  111. Re:This is not a rhetorical question. by Jah-Wren+Ryel · · Score: 2

    Not mention displaying on a projector used in either rear or front projection but without the ability to mirror in the projector (admittedly, most digital projectors can mirror, but not all and you know that murphy's law would probably apply here).

    --
    When information is power, privacy is freedom.
  112. Re:This is not a rhetorical question. by ProfessorPuke · · Score: 2

    Any such person would've long since adjusted his perception to compensate- probably without even having been aware of the "problem". (Assuming for speculative purposes that the condition didn't bring with it any other problems, such as overall bluriness. Which is unlikely)

    Even if he hadn't been born like that, he still could've adapted without much difficulty. In fact, perceptual scientists often demonstrate that people can quickly become perfectly acclimated to having a transformation (like rotation or mirroring) applied to their vision.

    For rotation this is accomplished by prisms in goggles (I don't know the optics behind mirroring your view, or if that's even possible without a digital-camera-headset rig).

    The hilarious part is that test subjects go through the same acclimation time after the goggles are removed- they've temporarily forgotten how the real world is suppose to look.

  113. RandR not *that* big a deal. by 0x0d0a · · Score: 4, Informative

    You could do every single one of the things you mentioned with DGA in XFree86 4.0 already.

    Of course, you can't run in a windowed mode, but if you're running a game, it's a fair bet that you aren't running windowed.

  114. Re:unfortunately by nathanh · · Score: 2
    *MOST PEOPLE* don't have a study, or multiple computers in one house.

    I do, and I'm looking forward to the day when I can migrate XChat from my study desktop to my laptop in the living room, move my KGhostview e-book off my laptop onto my PDA in my bedroom, or chuck the MPEG I just downloaded off the study desktop onto the big TV screen in my lounge.

  115. Re:Just how bad is X? by jmorris42 · · Score: 2

    Bzzt. Win3.11 had Win32s available. Note the "s" for Subset. Win95 was the first real release of Win32 that saw any kind of real world deployments.

    --
    Democrat delenda est
  116. Re:unfortunately by g4dget · · Score: 2
    Where as the response of the X11 people to competitors was to wait 10 years to implement a feature. Bleh. Think about the point you are arguing here.

    Nonsense. X11 has the features that its user community need. Changing resolutions on the fly was not important until recently (and actually still isn't outside the home market). Running applications remotely, however is.

    Whatever nifty stuff X11 has, it was pretty much left for dead (commercially) a long time ago, and thus has lots of catching up to do now that Unix might not really be dead on the desktop.

    X11 was never "left for dead"--it is very widely used in many enterprises, as well as in scientific and engineering environments.

    Of course, if all you have ever seen is PCs, well, then you wouldn't know.

    It's core feature of exported displays isn't even all that competitive with Citrix WinFrame,

    Oh, but it is: X11 is more efficient over LANs (the usual setting) and supports seamless integration of applications running on different hosts. Citrix doesn't even come close. And, of course, Citrix is a proprietary, single vendor, single-platform solution.

  117. X is snappy on my P120.. by MikeFM · · Score: 2

    I run KDE/Gnome on a P 120Mhz box and UI elements respond faster than my P1.2Ghz box running WinXP. Obviously anybody that has a studly box and still finds X slow must either have a configuration problem or be trying to run at an insane resolution.

    Try picking a slimmer window manager, getting rid of unneeded crap on your desktop, changing the res and color depth, etc. There must be something causing whatever slow down is causing you to be slow.

    Also, I haven't had an X crash in over a year. Partially this is because I switched from Netscape to Mozilla (and started running Netscape with memory and process limits) but I think X has gotten quite a bit more stable especially on older hardware.

    --
    At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
  118. X cut and paste /is/ more flexible than just text. by himi · · Score: 2

    My understanding of this is that X /can/ handle cutting and pasting more than just text. The problem is, it requires negotiation between both sides of the transaction in order to find a format that they can handle. Text is handled by everything, because it's easy; the general case /isn't/ easy, so it tends not to be handled.

    In any case, this /is/ something that's been fixed in the major toolkits. They don't use X's system, but the current versions support their own interoperable cutting and pasting and drag and drop and so forth.

    himi

    --

    My very own DeCSS mirror.
  119. We need more extensions! by ProfessorPuke · · Score: 5, Interesting
    It's about time this came out. For a long time I've wondered why X11 (and XFree86 in particular) wasn't making lots of obvious, incremental usability improvements. Not only does it have the (much repeated) opensource advantage of "don't just complain, submit a patch!", but also the modular "extension" architexture, which should allow changes to be made without damaging backwards compatibility.

    However, centuries passed (of computer time, which is rapider than the Julian calendar) before this fundamental capability appeared. Microsoft Windows(tm) has done this since 1996 (or earlier?). Apple surely did it long before. The fact that it took so long led me to doubt the soundness of the X11 system design- either no one else noticed those obvious deficienies (unlikely!), or the vast complexity of the protocol prohibited the creation of new functionality without the developer first learning each little secret of the large xfree86 codebase.

    We now see that the latter interpretation was somewhat correct, as this paper explains that the creation of RandR was possible only due to new software (TinyX, etc) that isolated the RandR guys from needing to deal with all of the complexities of X itself. Of course, the relentless increase in processing speed (fruit of Moore's Observation) helped too.

    I hope that changes like this have "lowered the hackivation energy" enough so that XFree86 can quickly get some other useful improvements added- within a short time, it might be possible to regain a little Wow Factor over the Microsoft and Apple GUI interfaces. I'll list some improvements I'd like to see. The RandR writeup mentioned some of these, hopefully the same team is already planning work on them) Others of these things can be done already, but with awkward, unstable configurations, or through VNC. We need these capabilities in popular linux distributions, and without VNC's least-common-denominator slowness.

    • Migrate a program from one Xserver to another We should be able to use a utility program or a window-manager icon to select a window to send elsewhere. This should be possible from a remote command line login as well (so that if I wander into another person's office I can show him either a single program I'm running, or my whole desktop). It should be your option whether or not the program permantently relocates to the new server (or returns when the window is dismissed). This brings up another feature,
    • Run the same program on multiple X displays aka xfork. Operator's choice as to whether the remote display is read-only, or also accepts input. The default should be read-only, unless the toolkit has coded support for this feature, in which case it should default to allowing the remote to provided logically read-only input only (scroll around in the window, but not change the document).
      (I've heard Microsoft's Netmeeting software does something like this. Probably just a screen scraper, but still a workable feature.)
    • Lock your desktop without locking the Xserver When I run xlock, it shouldn't only allow MY password to reactivate the display- other persons should be able to walk over and login as well. I can either wait for her turn to be up, or find another Xserver and use the above features to migrate my display to my new desk. This is a natural match for X11's capabilities, but one that Microsoft got last year. *nix has to catch up quick!
    • Dynamically reassign input devices Now that a user can change his resolution without restarting X, he should be able to do the same with his input devices. Boot your computer without having any mice installed, get to X, run mozilla to see a web-page on how to configure your Wacom table, and get that working, without needing to restart. (Linux does this to some extent with things like symlinks in /dev and the /dev/input/mice devices, but it could be better).
    • Resurrect the multi-headed display In ancient times, one computer would run 16 interactive sessions on terminals attached to its serial ports. Those capabilities were lost as displays became more complicated and PCs and fat clients emerged. But now, with the rise of USB peripherals and multiple active PCI video cards, commidity hardware could again support this functionality. On an Athlon 1500, I should be able to install a 2nd video card, 2 usb mice, and one usb keyboard, and get a fully independent GUI desktop. (Yes, this usage is a geek stunt- its real-life utility will be bounded by the length of a VGA cable)
    • Support joysticks in X This should be an easy one, right guys?
    • And many more Any ideas?
    An interesting consequence of some changes like this is that users might tend to leave X11 programs running for weeks at a time, with virtual memory becoming like a form of application serialization/persistence. That could have negative implications for efficiency and design. ("Oh, I don't need to put XMMS in my startup folder, I just left it running from last year")
    1. Re:We need more extensions! by fyonn · · Score: 2, Insightful

      Resurrect the multi-headed display

      err X supports this now and has done for quite some time. I've had my work box with 2 gfx cards, 2 mointors but onoy using one mouse and one keyboard. the 2 displays ran different window managers at different resolutions (not running xinerama) and I just dragged the mouse from one screen to the other. worked as it should.

      iirc the only thing I couldn't do was to drag an already running app from one X display to another.

      dave

    2. Re:We need more extensions! by zmooc · · Score: 2
      * And many more Any ideas?

      In order to support multiple users in the way you described (tried that and found out the hard way that only one keyboard can be used:() you'd also want sound integrated.

      --
      0x or or snor perron?!
    3. Re:We need more extensions! by Space+cowboy · · Score: 2

      You might be able to do that as well - depends whether you can get Xinerama to work. I'd guess you currently have a :0 and :1 display, thus you can't drag apps. If you run xinerama, you get a single merged :0 display, and can drag to your heart's content...

      [simon@atlantis com.saltsw.pto]$ xdpyinfo | grep dimension
      dimensions: 2560x1024 pixels (644x241 millimeters) ... which is 2x 1280x1024 displays, next to each other. Makes a great development platform :-)

      Simon

      --
      Physicists get Hadrons!
    4. Re:We need more extensions! by ProfessorPuke · · Score: 2

      Yes, I've done that too. Maybe the display is multiheaded, but the input isn't. I know of no way under linux to assign different keyboards to different X servers.

  120. What about us poor XFree86 4.1 users? by FooBarWidget · · Score: 2

    Can't the extension be backported to 4.1?

    Yes I know I can compile 4.3 from source, but yesterday I installed 4.2.1 from source, and all kinds of weird stuff happen. XVideo shows flickering green boxes, and all GTK+ 1 and QT apps segfault at startup (even after a recompile).

  121. Not dumping X, but adding a new layer? by IamTheRealMike · · Score: 2
    One thing I've considered lately might be the possibility of juggling things about a bit - this would not involve altering X at all, so we get to keep our existing investment in the X infrastructure.

    What happens is that instead of the application painting the the screen when X requests it, the app uploads a description of the GUI it wants using some kind of XML schema, perhaps a modified XUL, to an ui server (a la display postscript). That XML is then transformed into SVG and rendered using the spiffy 2D acceleration primitives that the XFree team are working on (Xr and Xc or something???). This ui server manages the windows for an app, and if the app requires direct painting they they use XEmbed to make that happen.

    This has a number of advantages, namely that being purely vector based it's resolution independant, when an application is working hard the GUI doesn't slow down, by boosting the priority of the ui server you can make the GUI feel much more responsive under load, if an app freezes the GUI does get "damaged" and you could achieve more bandwidth-friendly network transparency.

    All this could be done without any modifications to X at all. You'd need to develop some kind of remote DOM synchro technology first, one that could marshal XML Events, but once that was done the rest would be fairly easy.

    What do people think about that?

    1. Re:Not dumping X, but adding a new layer? by ProfessorPuke · · Score: 2
      Sounds OK...
      • that kind of thing was one of the original goals for Java (long before it had that name)- the platform independent bytecode could modify to wherever the user was, reducing the back&forth needed to the server for simple GUI navigation. (It wasn't a bad idea, but even after ten years of hardware improvements, Java GUIs still lag in the performance and integration aspects).
      • Also, the idea of a "layer on top of X" sounds a lot like GTK or QT. Or fltk, or wxWindows, or dozens of other things for that matter.
      • Getting into your details, though, it sounds a lot like GUIS. The focus of GUIS is running the same system, not across a network (but that could probably work). But it does address problems like keeping the program running across Xserver restarts.
  122. Re:Just how bad is X? by FooBarWidget · · Score: 2

    > Everyone is treating this like it's some super
    > great accomplishment. Windows has allowed this
    > since Windows 95, and the Mac since System 7.x.

    Something similar can already be done: using XVidMode or pressing Ctrl+Alt+Minus. But people scream all the time about how X must be replaced just because it can't change the size of the root window. Well, now you can.

    And who cares who's the first to implement a feature? The important thing is that it's there!
    Tab completion in Windows XP? Bash had that... like... almost forever? Antialiasing in Windows XP? The Apple II back in the '80s had that too!

    > Ok, that is where I'm starting to laugh. X11 is
    > S.L.O.W. slow. Windows GDI is lightning fast.
    > I can click the start menu and it draws
    > instantly. I can still see Gnome and KDE menus
    > paint across the screen chunkily

    X is fast. FAST! What you see is the slowness of GNOME and KDE!!!
    Your claim already contradicts itself. Ever tried playing a video? I can see each and every frame of it on my monitor! Ever played a 60 fps 2D game? The animation is incredibly smooth!
    Pulling down the GNOME and KDE menu obviously doesn't require 60 fps graphics. Ever used WindowMaker? Or FVWM? Tried to popup their menus? It's FAST! Tadaa - the proof that X is not the problem!

    The *real* cause is because the GNOME and KDE panel read data from disk - the harddisk is S.L.O.W.! They have to read each and every desktop item and PNG file. That takes a lot of memory.
    If you click on the menu a second time, it pops up very quickly, just as quick as Windows 95's start menu. And after not using the menu for a while, it gets swapped out.

    Don't blame X, blame GNOME and KDE!

  123. Re:Just how bad is X? by FooBarWidget · · Score: 2

    What do you call slow? Modem/ISDN/Cable/ADSL? Hello, NOTHING runs fast over those connections! Not VNC, not Windows(tm) Desktop Sharing(r) XP, not Windows(tm) Terminal(c) Services(r)!

  124. Re:Just how bad is X? by FooBarWidget · · Score: 2

    Yeah and it's already showing it's design flaws. Ever looked at the Win32 API? HORRIBLE! 30 lines just to create a window and a main loop? What?

  125. XFree86 2002 Win95 && Windows XP == Apple by FooBarWidget · · Score: 2

    Does Windows 95 support network transparency? Antialiasing? I don't think so.

    And the Apple II had antialiasing in the '80s. And now, almost 2 decades later, Windows XP finally supports antialiasing.

    Right, as if anyone cares who was the first! The important thing is that it's here NOW!

  126. Re:XFree 2002 = Windows 95 by FooBarWidget · · Score: 2

    I can count the number of viruses for Linux that are released this year with my fingers. I can't count the number of viruses for Windows released in 1 week!

  127. Re:dvorak layout by ProfessorPuke · · Score: 2
    This can already be changed on the fly. (The fact that it was too obscure for you to find can be called a design flaw of sorts, though).


    Look at the setxkbmap program. Many desktop environments (Gnome, etc) include utilities (often embedded in the taskbar) to change this. Usually called "International keyboard settings", and featuring icons of national flags to tell you the current configuration.


    (Does dvorak have a flag? It's a breakaway Soviet republic, right?)

  128. Moving clients to other displays by FooBarWidget · · Score: 2

    Could that be the first step towards infinite stability? If the X server crashes (still happen a lot less than Windows ME), will it be possible to launch a new X session and move all the old clients to the new server, and continue as if nothing happened?

  129. Re:dvorak layout by anno1602 · · Score: 2, Informative

    Under KDE, you can switch Kexboard layouts on the fly: ControlCenter->Connected Devices->Keyboard->Layout. Activate the layouts you want (dvorak is among them), and an icon appears in Kicker that lets you change the layout with a click (okay, two clicks).

  130. Re:Just how bad is X? by prockcore · · Score: 2

    Perhaps your setup is faulty.



    To tell the truth, pretty much everyone's X setup is faulty. They compare X (as it's distributed with Redhat and mandrake etc) with Windows and OSX.
    But that's not a fair comparison. X runs at the same priority as every other application on a unix box. While both OSX and Windows run their GUI's at a higher priority.


    renice -10 XFree86 and then talk to me about X being slow.


    I just wish Redhat and mandrake etc defaulted to running X at -5 or -10 for workstation installs.. the difference is night and day.

  131. Re:unfortunately by g4dget · · Score: 2
    And Citrix uses an order of magnitide less bandwidth than X11

    It probably does, but that's the wrong tradeoff for usage over LANs.

    (which of course could be fixed by adding an extention, if anyone gave a shit that is.)

    Low bandwidth X extensions have been around for about a decade.

    "X11 has the features that its user community need" You sound like an inverse version of Steve Ballmer. Give it a rest.

    It may sound like that, but it's different. X11 has the features the user community needs because the user community decides what features it has. Windows has the features its user community "needs" because Ballmer says so.

    You seriously think X has been under any form of active development for the last decade? Ha.

    Yes. But, of course, you wouldn't know.

  132. Resolution and DRI by z-man · · Score: 2, Interesting

    I have a high resolution, something I cannot do without, the sad thing however is, with this high resolution I don't have enough memory for DRI (Direct Rendering Interface). What I'm curious about is that if/when I start using RandR and decrease my resolution on the fly, will it re-initiate things like DRI that where disbled on start due to low memory or will it just change my resolution?

  133. Re:Just how bad is X? by himi · · Score: 2

    He'd need the latest version of XFree86, along with the DRI code. I /think/ the Radeon mobility is only properly supported in the CVS code, but it may have (incomplete) hardware acceleration in the base XFree86 4.2 . . .

    The DRM modules in the kernel are useless without an X server and mesa libraries to support it, so it's not quite as simple as recompiling your kernel, unless you're using the right distro.

    himi

    --

    My very own DeCSS mirror.
  134. Moving X windows by mib · · Score: 2, Informative

    xmove could do some of what you want, moving clients between X servers. I haven't used it in 3 or 4 years, so I don't know if it still works.

    From the man pages:

    xmove starts a pseudoserver which allows X11 clients to be relocated from one display to another. Upon startup it will create a listening port from which it accepts new client connections. When xmove is invoked it chooses a default server, and all clients will be displayed on that server until moved elsewhere. Several clients may connect through a single xmove, thus requiring only one xmove process per machine.
  135. Re:unfortunately by bogado · · Score: 2

    Does this answer that question?

    dynamically updated ChangeLog for Xfree.

    --
    []'s Victor Bogado da Silva Lins

    ^[:wq

  136. Re:Just how bad is X? by DrXym · · Score: 2
    By your own link you have demonstrated this is not true. The Netscape Communicator 4.x code base was a piece of shit. Stable? Yes. Modular and able to meet the growing needs of new W3C standards? Absolutely and emphatically not.


    Put straight Netscape had to bit the bullet and rewrite. The result was a year or too of pain, but the fruits are beginning to show for it.


    IMHO X is even worse. It is arcane, it is backwards, the main reason for still using it are not even relevant on a growing number of Linux desktops. While it is great to be able to run apps remotely there is one hell of a price to pay for it - primitive APIs, poor performance, lack of multimedia support, dreadful font support, terrible drag and drop and clipboard support, lack of hardware support, lack of 'frills' that other UIs have enjoyed for years such as being able to change screen resolution.


    There is an extremely strong case for dumping X altogether. So the pain will be short term (though of course people could still be using X so it would be minimal), but in the long term it would pay off in spades. A display engine akin to Aqua would be a real boon, especially for getting into DTP, graphics and other arenas. And what about the people who still need X? Why they can't do what I do when I want to run an X app on Mac OS X & Win32 - run a rootless X session on top of the underlying system.

  137. Re:Just how bad is X? by PhotoGuy · · Score: 2
    Sorry for being lazy and not looking this up myself, but do any of the X replacements (Berlin, etc.) implement an X compatability layer?

    I believe things like QNX, the dearly departed BeOS, and OS/X have a layer that allows X applications to run on their alternative window system.

    A fully functional, efficient compatability system would greatly facilitate evolving to a better underlying system until all the apps migrate.

    --
    Love many, trust a few, do harm to none.
  138. Re:Just how bad is X? by BigJimSlade · · Score: 2

    people have had to hack a working X server onto the platform

    So what's stopping the open source community from building an open source desktop rendering system like Quartz, and then implementing an X layer overtop of it?

    Nothing.

  139. Re:Just how bad is X? by FooBarWidget · · Score: 2

    Then how do you explain that 120 fps when playing games? If X is slow, then where does that 120 fps come from? Well?

  140. Why aren't menus managed by the window manager? by vrmlguy · · Score: 3, Insightful
    From the article:
    Menus are an important special case as they are typically the only user interface elements not managed by the window manager.
    I've wondered about this since I first started working with X11 back in 1993. Menus should be managed by the window manager, just like the title bars. This wouldn't be hard to do, either.

    An application would define a property, WM_MENU, on any window that needs a menu. The property would be a list of menu items, each similar to the structs used in just about every windowing system, and allowing recursive definitions of other menus by pointing to other window properties. Applications wouldn't have to respond to the menu events, only to the final selection. The advantages would be many.

    • Applications could be smaller, since they won't have to manage the menus.
    • Applications, especially those running remotely from the display server, would seem more responsive to the user because the menu would be handled locally.
    • Best of all, window managers could offer more choice in menu bars.
    Right now, every X11-based system has to use Microsoft's look-and-feel for application menus. If the WM handled menus, the WM could offer choices, such as putting the menu bar along the top of the display. Or by changing one preference, you could implement pie-menus in all of your applications. Or someone could come up with something even better!
    --
    Nothing for 6-digit uids?
  141. Re:Just how bad is X? by Archie+Steel · · Score: 2

    Indeed, my X runs at nice -10 (default setup on Mandrake 9.0). That may be why it's so snappy and responsive...

    --

    Reminder: find a new sig
  142. Re:Just how bad is X? by Archie+Steel · · Score: 2

    Again, I just did what you suggested (with opaque resize and move, Konqueror, KDE 3.04, 1600x1200 in 24bpp; hardware: Athlon 900, 1024 GB RAM, GeForce 4 TI 4400).

    I had five Konq windows open (did I mention I can't wait for tabbed browsing?) and dragged the top one over the others like crazy. I did get a little bit of redraw, but we're talking nothing that lasts more than a quarter of a second, here. Hardly worth ranting about. Seriously, I think you're being too much of a perfectionist; the very slight redraw I get is not even on the "annoying" level. Perhaps, as someone else has mentioned, X wasn't running with a high enough priority on the machines you were managing?

    --

    Reminder: find a new sig