Slashdot Mirror


A Proposal To Fix the Full-Screen X11 Window Mess

jones_supa writes "The SDL developers Ryan Gordon and Sam Lantinga have proposed a window manager change to work out the full-screen X11 window mess, primarily for games. The proposal is to come up with a _NET_WM_STATE_FULLSCREEN_EXCLUSIVE window manager hint that works out the shortcomings of the full-screen hint used currently by most games, _NET_WM_STATE_FULLSCREEN. Ryan and Sam have already worked out an initial patch for SDL but they haven't tried hooking it to any window manager yet. Those interested in the details, information is available from this mailing list message. One of the key changes is that software would make the request to the window manager to change the resolution, rather than tapping RandR or XVidMode directly. Martin Gräßlin of KDE was rather wary about the patch and said that games changing the resolution just tend to mess up the desktop." Seems like a reasonable idea, given a bit of time to mature as a spec. In KDE's case, a separate daemon from the window manager handles resolution changes so going through the WM would add complexity, and the plasma shell still has no way to realize that it shouldn't reflow the desktop widgets. Setting window properties seems like a sensible IPC method for communicating intent though (without making yet another aspect of the X desktop reliant upon the not-very-network-transparent dbus): "hey, I need to resize, but just for me so don't reshuffle the desktop and docks."

358 comments

  1. Hilarious excuses by dnaumov · · Score: 5, Insightful

    Martin Gräßlin of KDE was rather wary about the patch and said that games changing the resolution just tend to mess up the desktop.

    So, ugh... fix your desktop?

    1. Re:Hilarious excuses by cpicon92 · · Score: 2

      Agreed. Why can't the plasma widgets just save their positions and change back when the resolution changes back?

    2. Re:Hilarious excuses by Anonymous Coward · · Score: 1

      Poor program structural choices is what it reads which where probably influenced by legacy structures. They just didn't see that it might be necessary to allow for temporary resolution changes so the WM just doesn't expect them. Now, I having done a bit of game and media player work on mac OS in the 00s before and after the game sprockets where released handling resolution has to be consistent by having a common framework that works in a sane manor. The Sprockets did this for Mac OS classic and X11 needs to seat down and make the programing frame works that make games easy to program. SDL works but it's not in a truly sane manor because X11 doesn't give a clear path for taking over the screen.

    3. Re:Hilarious excuses by adolf · · Score: 0

      And make KDE even slower? Meh.

    4. Re:Hilarious excuses by Anonymous Coward · · Score: 2, Insightful

      Indeed, he didn't even realize this flag wouldn't even tell the widgets the resolution changed so they would never be rearranged for starters. I doubt he has even read the proposed spec.

    5. Re:Hilarious excuses by Lord+Byron+II · · Score: 2

      Except that we're no longer in the era of CRTs. Since LCDs have one native resolution, they should always be driven at that resolution. If a game wants to run at 640x480, then that should be accomplished by scaling it up and adding black bars, if necessary, but the signal to the LCD should still be at the original resolution.

    6. Re:Hilarious excuses by kiddygrinder · · Score: 1

      yeah, i'm sure repositioning icons every 30 minutes or so will bring systems to their knees

      --
      This is a joke. I am joking. Joke joke joke.
    7. Re:Hilarious excuses by MBCook · · Score: 2

      If you don't trust your LCD to do it (I don't blame you, some LCDs are better at scaling that others), that sounds like something that should be done automatically and transparently by the video driver instead of something the WM should have to manage.

      --
      Comment forecast: Bits of genius surrounded by a sea of mediocrity.
    8. Re:Hilarious excuses by Kjella · · Score: 4, Insightful

      The desktop doesn't know what caused the changes, so you could run into a lot of strange issues. Imagine you lay out your desktop on a 30" 2560x1440 monitor, then switch to a 1920x1080 monitor and added/removed/moved an icon. What happens when you reattach the first monitor, should everything just "snap back" to the places it had - even if you'd arranged your icons completely differently now? To me the solution outlined here seems much smarter, just let the game have it's own "screen" with its own settings, no need to even tell the other windows about it.

      --
      Live today, because you never know what tomorrow brings
    9. Re:Hilarious excuses by Anonymous Coward · · Score: 0

      Martin Gräßlin's comments on this are bizarre. That's one of the problems this proposal is meant to *solve*. He's completely missing the point.

    10. Re:Hilarious excuses by jonadab · · Score: 0

      My desktop is fine. It uses precisely the resolution I want it to use on each monitor. Under no circumstances would I ever want an application window (other than the control panel that I use to set it up) to *mess* with that.

      Then again, I also can't imagine circumstances where I would want an application window to be "fullscreen". (Maximized, yes, but maximized windows don't overlap my panels. That's important.)

      Why do game developers always assume that my computer doesn't have any other purpose except to play their game? I've got other stuff on this computer -- stuff that is more important than the games. My computer is my alarm clock, my calendar, and a communication tool, among other things. Games had darned well better stay in the window I put them in, or I won't be playing them.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    11. Re:Hilarious excuses by Anonymous Coward · · Score: 4, Informative

      This is the exact purpose of this proposal, to create a new signal that would tell the window manager that the change is temporary and only takes effect while a specific window has focus. This way they window manager would know there's no need even to move the icons in the first place.

    12. Re:Hilarious excuses by adolf · · Score: 1

      yeah, i'm sure repositioning icons every 30 minutes or so will bring systems to their knees

      Ever hear the story about the straw that broke the camel's back?

      As I see it, with the way things stand and the direction in which they seem to be going, we generally need leaner (simpler, perhaps more clever) solutions to problems, not heavier ones.

      Even if it's just a tiny bit of additional overhead. Operating systems are slow enough, these days, almost as if nobody even tries to optimize anything anymore with a grander view of things.

      FFS: Why bother repositioning icons at all, if nobody is ever going to see the results of this in the first place? In the very best case, work was wasted. In the very worst case, it will be annoying to watch it happen and cause other issues.

      All this work (millions of processor cycles, however instantaneous this might theoretically seem, silently occurring when all I'm trying to do is either load software or return to my desktop), just to let a game play full-screen at a different display resolution. Fuck that.

      The fact that the position of desktop icons is even a factor in this discussion of full-screen gaming means that the entire philosophy is broken.

    13. Re:Hilarious excuses by Anonymous Coward · · Score: 2, Insightful

      Why do game developers always assume that my computer doesn't have any other purpose except to play their game? I've got other stuff on this computer -- stuff that is more important than the games. My computer is my alarm clock, my calendar, and a communication tool, among other things. Games had darned well better stay in the window I put them in, or I won't be playing them.

      Because not everybody wants to be annoyed by the rest of the UI when playing a game. Of course, when fullscreen is available it should be an option (and not the only way to play the game), but that isn't an excuse to completely get rid of it.

    14. Re:Hilarious excuses by epyT-R · · Score: 1

      or even multiples/divisors of that resolution, ideally exposed via EDID. since they're even, the screen can do a simple, lossless point sample scale which is computationally simple (compared to common bilinear) and allow these low resolutions to be full screen with no added latency (scaler chips inside most panels are sloow). These are needed because desktops might be 2560x1600 but most gpus won't run games well at that resolution.

      nvidia's windows drivers support scaling in the gpu too, but unfortunately it's filtered.. I wish there was a way to disable that.

    15. Re:Hilarious excuses by dgatwood · · Score: 5, Interesting

      Why don't games just spawn a separate X11 window server instance with a different resolution on a separate VC? Adding proper resource sharing between X11 instances seems like it would be a lot easier to do than rearchitecting all the existing apps to do the right thing during a temporary resolution change.

      And there's no benefit to a full-screen app running in the same X11 instance as any other app other than making it possible to transition a window from being a normal window to a full screen window and back, and with a resolution change, that won't work very well anyway, which makes even that argument mostly moot.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    16. Re:Hilarious excuses by Anonymous Coward · · Score: 0

      Or, make X use 2 (or more! with 8+ GB RAM on computers these days, should be able to find some RAM to store off an inactive display, no?) framebuffers. One for games, one for desktop. Then each one can run in separate resolutions, and be more independent of one another.

      But who am I kidding.

    17. Re:Hilarious excuses by Lord+Byron+II · · Score: 3, Insightful

      It's not that I don't trust the LCD. It's that when you change the resolution, you tend to screw other things up as well.

      I have three monitors and I game on the center one. I like to keep my email and IRC open on the other ones while I play. But if the game adjusts the resolution, the positions of the other windows move around and I can no longer see all of them. This happens in Windows if the game doesn't run at the same resolution as my center monitor.

    18. Re:Hilarious excuses by Pseudonym+Authority · · Score: 1, Insightful

      Exclusive fullscreen allows for better hardware\3D acceleration; windowed mode requires scaling and positioning of the contents of the window, often done in software because no-one plays games in god damn windowed mode anyway, and wastes even more resources drawing the desktop. It won't matter for Tux Racer, but for more advanced (read: 3D) games it's a big slow down.

    19. Re:Hilarious excuses by Anonymous Coward · · Score: 1

      VT switching tends to crash a lot of video card drivers.

    20. Re:Hilarious excuses by tyrione · · Score: 4, Insightful

      Why don't games just spawn a separate X11 window server instance with a different resolution on a separate VC? Adding proper resource sharing between X11 instances seems like it would be a lot easier to do than rearchitecting all the existing apps to do the right thing during a temporary resolution change.

      And there's no benefit to a full-screen app running in the same X11 instance as any other app other than making it possible to transition a window from being a normal window to a full screen window and back, and with a resolution change, that won't work very well anyway, which makes even that argument mostly moot.

      Why the hell should the user suffer with resource expansion taken up by X because the damn paradigm is a big pile of hurt that goes back to the early days? I remember all the arrogance of X windows during NeXT's days and decisions with Display Postscript. It's rather clear the NeXT design has always been superior and OS X benefits from it.

    21. Re:Hilarious excuses by Anonymous Coward · · Score: 0

      Network transparency.
      "on a separate VC."

      If you can't see the incompatibility of these terms, you're part of the problem.

    22. Re:Hilarious excuses by damnbunni · · Score: 1, Troll

      Actually, while I always play games full screen, quite a few of my friends complain when a game doesn't have a windowed mode.

      Seems silly to me, but people DO run games that way.

    23. Re:Hilarious excuses by damnbunni · · Score: 2

      That's crazy talk! We can't do that! It's impossi-

      ... wait, isn't that how the Amiga worked? Workbench stayed at its resolution, games opened their own screen at whatever they wanted, and both the desktop and game screen took up video RAM?

      (Assuming it wasn't a boot-from-floppy game, that is.)

    24. Re:Hilarious excuses by nschubach · · Score: 1

      "Full Screen Windowed" is a mode I prefer. It allows me to move my mouse to another screen and do stuff without dropping out of the game. It's full screen on one monitor, but it's still in a window so you can have more control over your mouse. Most games (first/third person) will lock the mouse on right click (the button you use to rotate the camera) and when you release it, let go of the mouse so you can mouse to another monitor.

      Full Screen is bad in most cases because some games don't handle switching contexts well and can crash by essentially alt-tabbing.

      Windowed just sucks. I'll give you that.

      --
      Every time I start to have faith in humanity, I ruin it by driving to work between 7 and 8 am.
    25. Re:Hilarious excuses by kiddygrinder · · Score: 1

      heh, i was gonna argue with you but i sensed an informed argument and rtfa, i completely agree. the only thing i would add is if monitors are disconnected/connected probably icons should snap back. icons that did not exist should pick the closest icon that did exist the last time that screen set up was used and try to stay with it (optional of course)

      --
      This is a joke. I am joking. Joke joke joke.
    26. Re:Hilarious excuses by Chrisq · · Score: 1

      yeah, i'm sure repositioning icons every 30 minutes or so will bring systems to their knees

      Ever hear the story about the straw that broke the camel's back?

      This proposal would not affect normal operation, only the time taken to go to full screen mode and to return from it to the Windows manager. Though not an ideal solution this should not affect normal operation of the windows manager.

      The fact that the position of desktop icons is even a factor in this discussion of full-screen gaming means that the entire philosophy is broken.

      Yes, I agree there is no need to reposition icons that are "behind" a full-screen view.

    27. Re:Hilarious excuses by Anonymous Coward · · Score: 1

      Your proposal sounds interesting, but it's technically too complex. You don't only need to manage the screen state, but also sound and input (keyboard, mouse, etc), maybe also a webcam or a kinect-like peripheral. All this is handled by the running X11 instance, and making them to collaborate sounds like too much effort.

      Really, just let the Window Manager handle it (it's his job, after all) makes things so much simple.

    28. Re:Hilarious excuses by Anonymous Coward · · Score: 2, Interesting

      > Why don't games just spawn a separate X11 window server instance
      Because the X server may require root privilege, and making something as complex as an X server setuid root is a bad idea, so the only safe and reliable way to start an X server is via a root-owned daemon (i.e. display manager).
      Also: a bare X server isn't always useful. You may need other parts of the desktop environment e.g. to configure the keyboard (particularly if it isn't a US layout)
      An "exclusive full-screen" WM property is conceptually the right way to go. The push-back from the KDE guy is mostly due to KDE being unable to resize the screen without resizing the desktop. X itself doesn't have a problem with windows being either larger than the physical screen or larger than their parent.

    29. Re:Hilarious excuses by TheRaven64 · · Score: 1

      When you want to be totally immersed in a game, full screen is the way to go. When you want to use it to fill in some time while waiting for something else to finish (compiling!) then having it in a window so you can glance over at the status of the other things is better. The thing that pisses me off most is when games don't have a windowed mode and also disable application switching. If I get an email and want to check whether it's important, I have to quit the game and then reload it afterwards, for something that would otherwise be a 2-3 second activity.

      --
      I am TheRaven on Soylent News
    30. Re:Hilarious excuses by hairyfeet · · Score: 4, Insightful

      You do have to admit though its ironic as hell that everyone here complains about "Windows cruft" and yet here we are talking about an obviously creaky backwards ass design going back all the way to the days of NeXT and you have people defending it or coming up with sucky workarounds rather than just admit its broken and probably needs replacing after all these years.

      I mean c'mon guys, X11 has had a good run but it should probably be in the same group as Gopher and Telnet, things you can install when you need legacy support, not something everyone is depending on.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    31. Re:Hilarious excuses by Anonymous Coward · · Score: 0

      So how do you deal with the mouse leaving the game while walking around?
      Or do you now have to take care of never letting the mouse leave the window of the game?

    32. Re:Hilarious excuses by serviscope_minor · · Score: 5, Insightful

      I mean c'mon guys, X11 has had a good run but it should probably be in the same group as Gopher and Telnet,

      Aw geez not this crap again.

      Why whenever anything new comes up do a shrill group of people start shreiking omg omg x11 is so old omg omg scrap it omg omg we can't possibly make a minor tweak to fix a minor problem omg omg omg legacy omg omg omg bloat ong oh the legacy omg won't someone please THINK OF THE CHILDREN omg legacy.

      Without ever stopping to *THINK*.

      Just stop and think. Not about X11, but about any GUI system.

      The GUI runs at the monitor's maximum resolution. Things like windows are spread out over the whole area, as perhaps are icons, widgets etc.

      If the user reduces resolution, a common thing to do is to move all the windows into the new area, otherwise they may become inaccessible.

      So far so good. Nothing specific about X11 in there.

      Any good system will have a protocol or API for changing resolutions so 3rd parts resolution changing programs are possible to write.

      So far so good.

      But in some cases you don't want to rearrange the windows because the resolution change is temporary, so you need to have an extra flag which tells the system that it's temporary and not to bother.

      OK, still nothing about X11 in there.

      Now this is a proposal to add such a flag using a mechanism for adding such flags which has been standardised since 1985. And it will work smoothly and be completely backwards compatible.

      IOW the design of X11 is ideal for this kind of change and it shows how solid the underlying design is.

      Nothing breaks. No need to have a ChangeResolution and ChangeResolution2 API, no need to deprecate the old API no need to break anything.

      Seriously if you scrapped the entire GUI and rendering system whenever a minor tewak is needed you'd never get anywhere.

      --
      SJW n. One who posts facts.
    33. Re:Hilarious excuses by Anonymous Coward · · Score: 1

      As I understand it, rather than being replaced, X11 has been under constant refactoring since the fork to Xorg. Major overhaul kind of level. And this just fits right into that.

    34. Re:Hilarious excuses by Anonymous Coward · · Score: 0

      Why not make these changes temporary until an icon actually is changed.

    35. Re:Hilarious excuses by Anonymous Coward · · Score: 1

      it is way too simplicistic and wont handle multiple monitors well.

      this looks like something probably best handled by mesa and other libraries that manage the game rendering surface.

      there are two reason to run at low res:
      1 the game is super new and requires too much resources
      2 the game is super old and doesn't cope well with high resolution monitors.

      both of them may be handled by stretching at canvas level, with no change at the window manager.

      now, we can debate that the window manager should protect windows from changes made by other windows to the hardware resolution, and this would be the proper way to do it in my (debatable) opinion. but it would require a much more invasive change.

    36. Re:Hilarious excuses by egr · · Score: 2

      Sounds terrible for multi-monitor environment. What I want as a gamer is seamless windows switching from fullscreen to desktop, possibility to simultaneously see my other windows on other monitors and game in full screen on the separate one, but still be able to minimize (I often use an monitor to display stats, chats, manuals, random news, even movies if the game is turn-based or not so engaging).

      I should be able to decide how many monitors, and at what resolution I want to dedicate to the game and how many I want to use for my personal needs. I feel that many of proposed solutions are too short sighted.

    37. Re:Hilarious excuses by Anonymous Coward · · Score: 0

      Seriously if you scrapped the entire GUI and rendering system whenever a minor tewak is needed you'd never get anywhere.

      Amen, brother.

      But you can preach all day and the CADT crowd will never listen.

    38. Re:Hilarious excuses by trum4n · · Score: 1

      Why would you change resolution to game? I just don't understand. My games and my win7 desktop both run at native res for me... with an old ass GTX280....flawlessly...

    39. Re:Hilarious excuses by serviscope_minor · · Score: 1

      Why would you change resolution to game? I just don't understand. My games and my win7 desktop both run at native res for me... with an old ass GTX280....flawlessly...

      My guess would be that many games can't sustain the fill rate required for full-screen gaming. A solution would be to render to a texture then use the hardware to scale that up to full size. That would require a bit more fill rate which may be too much. Also, older games won't support that. No reason that a compositing WM couldn't do that invisibly, though.

      --
      SJW n. One who posts facts.
    40. Re:Hilarious excuses by trum4n · · Score: 1

      Every game i play runs at native, including some titles from the 2003 era. Hell, with a config file hack, Rollercoaster tycoon (original) plays at 1080p. Linux people apparently like making things hard. That's why i don't use it outside embedded systems.

    41. Re:Hilarious excuses by jonadab · · Score: 1

      > for more advanced (read: 3D) games

      You mean Doom clones? I lost interest in those sometime in the late nineties after noticing that if you've played one you've essentially played them all. Though I do think the aalib version of Quake is a neat hack.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    42. Re:Hilarious excuses by serviscope_minor · · Score: 2

      Linux people apparently like making things hard.

      Now you're just making stuff up.

      Every game i play runs at native, including some titles from the 2003 era.

      Well that's nice for you. My netbook certainly can't push much on a 2560x1600 monitor (maximum supported resolution). More realistically, it struggles to do much above video playback at 1080p.

      --
      SJW n. One who posts facts.
    43. Re:Hilarious excuses by trum4n · · Score: 1

      You're netbook also isn't hooked to a 2560x1600 LCD. Netbooks arn't made for gaming anyway.

    44. Re:Hilarious excuses by Anonymous Coward · · Score: 0

      He is netbook? This does not make any sense.

    45. Re:Hilarious excuses by serviscope_minor · · Score: 1

      You're netbook also isn't hooked to a 2560x1600 LCD. Netbooks arn't made for gaming anyway.

      Why do people keep telling me what I can and can't do with my hardware?

      It's getting really quite annoying. If you want arbitrary and silly restrictions, I'm sure you can pay someone to enslave you. I'd rather not have restrictions on what my general purpose computation devices can do purely because of the name some corporation has chosen to assign to it.

      My netbook isn't hooked to a 2560x1600 LCD: that's the maximum supported. It is, however hooked to a 1920x1080 screen very often, because I use it as a media player and machine for the kind of games I like to play.

      --
      SJW n. One who posts facts.
    46. Re:Hilarious excuses by hobarrera · · Score: 1

      I won't be able to alt-tab between those, and it would be way harder for applications to switch between full-screen and windows-mode.

    47. Re:Hilarious excuses by nschubach · · Score: 1

      If you click outside the window, the game loses focus and you stop. But if you are holding down the right mouse button, the mouse is locked to the window and can't leave (Pointer Locking, Mouse Capturing, whatever you want to call it.)

      --
      Every time I start to have faith in humanity, I ruin it by driving to work between 7 and 8 am.
    48. Re:Hilarious excuses by MikeBabcock · · Score: 1

      The fact that you don't appreciate X's features doesn't mean its tired and useless, it just means you probably don't deal with network computing on the scale that makes X so wonderful.

      --
      - Michael T. Babcock (Yes, I blog)
    49. Re:Hilarious excuses by trum4n · · Score: 1

      Meh, typo. Don't Care.

    50. Re:Hilarious excuses by MikeBabcock · · Score: 1

      What? A story about Linux making things easier is about making it harder?

      Do you think before typing or just blurt out random crap on the Internet?

      --
      - Michael T. Babcock (Yes, I blog)
    51. Re:Hilarious excuses by MikeBabcock · · Score: 1

      Strangely perhaps, I spent years playing a Linux-compatible MMO in a Window. It allowed me to run two or three characters at a time and keep the Wiki/Forums open in another at the same time.

      I also know I wasn't the only one who did it.

      I quite commonly play a game in a smaller Window while watching something compile remotely too.

      --
      - Michael T. Babcock (Yes, I blog)
    52. Re:Hilarious excuses by trum4n · · Score: 1

      They are talking about modifying the window manager, when they should be buying a 35$ graphics card from this decade, and just always run at native res. There isn't a reason i can find to run at a lower resolution. Also, if you have a VGA LCD, you can actually shorten its life by running outside native. The chip can do the scaling, but they don't cool them properly for this.

    53. Re:Hilarious excuses by X0563511 · · Score: 1

      Then there is something wrong with the VT switching process, or the drivers.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    54. Re:Hilarious excuses by X0563511 · · Score: 1

      Why the hell should the user suffer with resource expansion taken up by X.

      You really are clueless aren't you?

      X takes up almost nothing. It's KDE/gnome and all that other stuff that sucks up the resources you are thinking of. These things are completely unnecessary in this context.

      Seriously, running a web browser idle at about:blank takes up more resources than running a second X display barebones would.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    55. Re:Hilarious excuses by drinkypoo · · Score: 1

      No matter who manages it, it shouldn't be the WM. The typical modern video card has a scaler that operates basically for free, and most displays have a scaler too. But some of the new cheap IPS displays don't have a scaler, and there's no reason not to use the one in the video card except that the support may or may not be there.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    56. Re:Hilarious excuses by drinkypoo · · Score: 1

      The Amiga hardware was designed to do it, too. But PC video cards aren't designed for it. It would be nice to have virtualization support in video cards. Heck, maybe some of them have it now and I don't even know.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    57. Re:Hilarious excuses by Anonymous Coward · · Score: 0

      Because you need root to start a new X instance?

    58. Re:Hilarious excuses by Anonymous Coward · · Score: 0

      Why dont you ask Carmack about it? He sure has some very *nice* things to say about performance of the Quake and Doom level editor previews using postscript for rendering.

    59. Re:Hilarious excuses by damnbunni · · Score: 1

      It's not a feature of the Amiga hardware. AmigaOS can do it on Amiga Zorro-slot video cards, on Voodoo3 PCI cards, and even (in AmigaOS 4) on AMD Radeon HD 7000-series PCI Expess cards.

      They can't do the trick where mutiple horizontal resolutions are visible at the same time, but they can indeed have individual, distinct resolution screens.

    60. Re:Hilarious excuses by dgatwood · · Score: 1

      Which is arguably a bug in and of itself.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    61. Re:Hilarious excuses by makomk · · Score: 1

      Historically, you couldn't get 3D acceleration on any desktop except the first. I'm not sure if that's true anymore, though it probably is for some of the proprietary drivers at least.

    62. Re:Hilarious excuses by semi-extrinsic · · Score: 1

      I can verify this. My work laptop with Nvidia Optimus runs two X servers so that I get three monitors (using Bumblebee). It uses ~40 MB RAM extra.

      --
      for i in `facebook friends "=bday" 2>/dev/null | cut -d " " -f 3-`; do facebook wallpost $i "Happy birthday!"; done
    63. Re:Hilarious excuses by hairyfeet · · Score: 1

      Classic games for run? Try to get say Redneck Rampage (available at GOG, great game, highly recommend) to run at a native 1600x900 when 4x3 was the rule of the day and the REALLY expensive monitors were 800x600?

      But none of this matters, what matter is we are talking about a tech that Steve Jobs avoided when at NeXT because it was frankly too limited THEN, yet here we are in 2012 and the creaky old X11 is still there, still crashing, still causing major problems when running multimedia.

      Look nobody is saying X11 should be banned, just that it should be in the legacy bin so those that NEED the network centric functionality of X11 can have it and the vast majority that frankly are NOT using client/server video rendering on their system? Can have something built for today's systems.

      I mean can you imagine how badly we'd be laughing if MSFT had tried to hang onto GDI as the MAIN renderer for this damn long? We'd all be laughing our asses off, yet here is a piece that is older, creakier, and frankly just never built to handle what modern systems are doing, yet you have a bunch of old guys defending this? I'm sorry but old shite be old, it needs to be in legacy, not as a centerpiece that everyone depends on.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    64. Re:Hilarious excuses by hairyfeet · · Score: 1

      And how many DO use those features? 5%? 8%? 10%? If you managed to get double digits I'd frankly be surprised be surprised unless you bring in headless SERVERS which just shows MSFT did get it right that desktops and servers should be two different OSes because they have different needs.

      Whether you like it or not Linux will never become more than a hobbyist OS on the desktop if the creaky old shit that causes people so much grief isn't replaced. Do you want me to post the rant from the owner of OSNews on how he was watching a video and brought up a chat window and X11 completely crashed with such a basic operation? Let's face it, X11 was designed to do a VERY different job than what its being used for now, it was designed to allow headless servers to send a very primitive GUI across the networks for remote administration and THAT IS ALL. But instead of accepting that is all its had years and years worth of shit bolted on top and its just not good, its more creaky, more crashy, more unstable, there is a time to accept it and cut your losses and now is the time.

      Of course we all know that isn't gonna happen as long as Torvalds and friends are in charge, which is why with Win 8 being a disaster Mac and Win 7 will gain, Linux will be flatline. Nobody listens, everyone expects the world to change to X11 instead of making something the world wants, so they avoid you, simple as that.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    65. Re:Hilarious excuses by RocketRabbit · · Score: 1

      BeOS did this too, every virtual desktop had its own individual resolution and color depth.

      I don't believe it kept the other virtual desktops in VRAM at the same time though. Could be wrong, but I probably would have noticed performance hits if they had.

    66. Re:Hilarious excuses by bersl2 · · Score: 1

      old ass GTX280

      OBJECTION!

      bersl2@procyon (umask 0022):~$ lspci -s 05:00.0
      05:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7800 GT] (rev a1)

      You kids have no sense of perspective. Back in my day, CRTs changed resolution regularly in response to games. AND WE LIKED IT! Not to mention on Linux, configuring XFree86 display modes manually, uphill, in the snow, both ways!

    67. Re:Hilarious excuses by Anonymous Coward · · Score: 0

      I'm posting in anon from my phone but the GTX 280 is old these days. However my Tandys all boot just fine.

    68. Re:Hilarious excuses by MikeBabcock · · Score: 1

      First off, not everyone uses LCD panels (I have a Linux box connected to a DLP projector for example).

      Secondly one of the best features of Linux is that it runs on old hardware. Now I know PC centric people tend to think that swapping out a video card is simple and cheap, but a lot of people have a laptop (yes, that would have an LCD panel) and replacing the video hardware is no simple task.

      I know several people who have laptops and notebooks from yesteryear that were feeling very slow on Windows but run quite happily on Linux. Now when those people decide to launch a game, and can only play it at 640x480, you're saying they should put up with 10fps instead at full resolution because the other option is what, wrong?

      Sorry but one of the best things about Linux is offering users a choice. Do it however you want, re-write it even if you don't like it. I don't understand telling someone that a fix for a problem, no matter how few people need it, is a bad thing when it causes no secondary harm, at least that has been described here.

      --
      - Michael T. Babcock (Yes, I blog)
  2. Games are the problem? by Anonymous Coward · · Score: 2, Insightful

    Just start the goddamn games on a totally different TTY. There, problem solved!

    1. Re:Games are the problem? by Anonymous Coward · · Score: 1

      "Let's not fix the underlaying problem and come up with client-side work arounds"

    2. Re:Games are the problem? by Waffle+Iron · · Score: 1, Redundant

      Just start the goddamn games on a totally different TTY. There, problem solved!

      That's what I do to play games.

      I usually just switch over to TTY1. Then I can load TREK73.BAS:

      *
       
        * *
                *
              -E-
                    *
       
      quadrant 3/1
      condition GREEN
      torpedoes 9
      energy 1434
      shields 1000
      klingons 14
       
      command:

    3. Re:Games are the problem? by Arker · · Score: 3, Insightful

      "Let's not fix the underlaying problem and come up with client-side work arounds"

      Not what I heard. Sounded more like "why the heck are you making the problem more complicated than it needs to be?

      Ideally, I am not sure why the heck a game of the full-screen sort would need X11 to begin with. Perhaps for portability. Wouldnt want to try and run games over remote X either, so why?

      Assuming there are nonetheless plenty of reasons in practice to want to make that work (starting with 'lots of existing games that do require it' of course) then why not just set them to start their own exclusive server instance, tuned for that purpose?

      If it's a game that's supposed to be running full screen and not interacting with a desktop, why then force a desktop to be part of the environment at all? Keep it simple.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    4. Re:Games are the problem? by dbIII · · Score: 2

      All I can think of as a semi-valid reason is the use case of having a full screen game on one monitor and email, web or whatever on the other. I do that at times on linux and like it, and it pisses me off immensely that I cannot do that on MS Windows (eg. skyrim on one screen, web browser with game info on the other, only possible to get from one to the other with ALT-TAB and it frequently crashes Windows7 when I do that). However, even in that case it would run just as well if the full screen game is a completely different X session without any window manager at all. Moving the mouse offscreen can still be picked up by the other X session if appropriate.

    5. Re:Games are the problem? by Anonymous Coward · · Score: 0

      "Let's not fix the underlaying problem and come up with client-side work arounds"

      Not what I heard. Sounded more like "why the heck are you making the problem more complicated than it needs to be?

      Ideally, I am not sure why the heck a game of the full-screen sort would need X11 to begin with. Perhaps for portability. Wouldnt want to try and run games over remote X either, so why?

      Not all games are gigantic OpenGL-demanding gibfests. (e.g. Civ, Alpha Centauri, etc.)

      Not all GL implementations suck over the network. (e.g. Xdmx)

      So yeah, people would want to try and run games over remote X...

    6. Re:Games are the problem? by Anonymous Coward · · Score: 0

      You can already do this smoothly in linux with windows games. I don't know how well it works on other WMs, but under WindowMaker I can have two screens, set the Virtual Desktop size in wine to fullscreen sized for one or the other display, then boot it, grab the titlebar and pull it off the top of the screen, causing it to snag the wine desktop window to the top border of the current display (making sure not to move it left or right, since it's easy to 'pull' it off-center in the horizontal plane), then, depending on the game, either alt-tab to switch over to the browser window on the other display, or CTRL-ALT-LEFT/RIGHT arrows to jump over a workspace and pull input context away from the game (This is a problem with both wine and certain linux games, notably minetest, which will hold onto the mouse cursor and/or keyboard input after switching focus to another window.)

      That's the really cool thing with X11 and varying window managers: There are lots of ways to skin an app, and not all of them are as the developer intended. But sometimes that's the only way you can get a misbehaving app to act in the manner you want, and something that windows, thanks to it's singular development model, lacks.

    7. Re:Games are the problem? by Anonymous Coward · · Score: 0

      Right, because every gamer wants to game on unaccelerated video buffers and/or TTYs that can't switch atomically.

    8. Re:Games are the problem? by Anonymous Coward · · Score: 0

      This is what I do also (or try to do it does not always work with in linux either). However I have never gotten windows 7 to crash while alt-tabbing. Some game might have crashed, but even that is quite rare.

    9. Re:Games are the problem? by ArsenneLupin · · Score: 1

      One reason could be games or applications that can either run in their own window, or switch to full screen at the click of a button. Many movie-players work like that. So you can start them small, and once you reach the place where the "action" is, switch to full screen.

    10. Re:Games are the problem? by TheRaven64 · · Score: 0

      XBlast multiplayer worked by using remote X. You'd start up one instance, give it a list of remote X displays, and each display would get its own window. It worked really well over a (shared) 10Mbit network with 8 players. With AIGLX, even remote display of OpenGL games should work. I played GLQuake on a remote display with an SGI machine back in the day and it worked pretty well.

      --
      I am TheRaven on Soylent News
    11. Re:Games are the problem? by Anonymous Coward · · Score: 0

      Some people like to play in windowed mode, and others like to play in full screen mode. Windowed mode is for the case where you want the game to be visible alongside some other windows on your desktop.

    12. Re:Games are the problem? by Arker · · Score: 1

      In my experience, games either will work in windowed mode and I play them in that mode, or they dont work (at least not very well) in windowed mode, and then and only then do I worry about full screen. So for me, any given game is only going to need to run in one mode or another. Apparently for others this is different, which is fine.

      Simpler is still better.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    13. Re:Games are the problem? by dbIII · · Score: 1

      Skyrim crashes every time within a few ALT-TABs, which means for instance every single time I look at web pages about potion ingredients. If you've got that game give it a try and you'll see what I mean. It's even more painful with that game since a "feature" of steam syncing is that if you attempt to restart within 30 or so seconds of quitting or it crashing it will not start up.
      I'm beginning to think MS Windows is even a waste of time for games.

    14. Re:Games are the problem? by MikeBabcock · · Score: 1

      I would've recommended nethack myself, but I recognized TREK immediately lol.

      --
      - Michael T. Babcock (Yes, I blog)
    15. Re:Games are the problem? by aaron552 · · Score: 1

      Skyrim crashes every time within a few ALT-TABs

      Really? I've been running the game in a 1080p window, switching to other windows periodically for IM chat or web pages and I've never seen it crash from the ALT-TAB. And I'm running it on relatively ancient hardware too (Radeon 3870 X2, Core 2 Duo, 4GB RAM). Are you sure it's not a driver issue?

      --
      I had a sig once. It was lost in the great storm of '09.
    16. Re:Games are the problem? by Anonymous Coward · · Score: 0

      And again comments from people that don't know anything. Games are often OpenGL and OpenGL requires windowing to get along with GUI and even just get the rendering context. On Linux if you want OpenGL it means GLX and now guess what the X in GLX stands for. Right, X11. This is the main problem why Wayland currently only has OpenGL ES - EGL is much simpler than GLX which is for good measure of making porting harder also designed for the way X11 does things.
      On the upside with Wayland it should indeed be easy and straight forward to launch a game in its own tty but, I think, one of the goals of Wayland was to make it so that fullscreen would not suck (X11 has no real fullscreen at all unless you call root window fullscreen).

    17. Re:Games are the problem? by dbIII · · Score: 1

      Since the article is about the behaviour of full screen apps and my example is about a full screen app that's not what is being talked about.
      On the other hand maybe I should try running it in windowed mode instead of banging my head on a broken wall if it isn't crashing that way for you. Thanks.

    18. Re:Games are the problem? by Arker · · Score: 1

      Games are often OpenGL and OpenGL requires windowing

      What's this then?

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    19. Re:Games are the problem? by Anonymous Coward · · Score: 0

      Did you actually read that article? And understand it? I bet you did not. Hardware accelerated is not magically OpenGL the API used for any serious non-Windows-only games (and some Windows-only too) to do their 3D. From what I can tell, it's to accelerate DirectFB but apps still use DirectFB API not OpenGL.

  3. Music to my ears! by DaneM · · Score: 5, Interesting

    With Linux finally becoming a more "proper" gaming platform (i.e. Steam and others), it's "about time" that this is dealt with. _NET_WM_STATE_FULLSCREEN_EXCLUSIVE, where have you been my whole adult life? Gotta hand it to Ryan Gordon ("Icculus," as I recall) for consistently making Linux gaming that much more viable.

    1. Re:Music to my ears! by Anonymous Coward · · Score: 0

      I agree: between full-screen support and wireless driver fixes, 2013 will truly by the year of Linux on the desktop. I can only hope that this sort of rapid innovation will cause Microsoft and Apple to wake up to what's possible if they put their minds (and money) to it.

    2. Re:Music to my ears! by asmkm22 · · Score: 1

      I didn't see any information in the article, but what exactly is the problem with X11 full screen support? I don't game in Linux, and this is the first time I've even heard of this.

    3. Re:Music to my ears! by DaneM · · Score: 4, Informative

      I didn't see any information in the article, but what exactly is the problem with X11 full screen support? I don't game in Linux, and this is the first time I've even heard of this.

      The biggest issue is that when the game goes full-screen, it changes the resolution to whatever the game is set to--which may or may not be what you keep your desktop at. Then, when you exit the game, the icons are usually huge; the taskbars are usually all messed-up (even when "locked!"), and you have to futz around to make it usable again. Also, many games on Linux won't even let you Alt-Tab to other windows! Either nothing happens; or the resolution won't be correct; or the game crashes. It's really unpleasant to deal with. Also, it's worth noting that many games (especially Linux games, sadly) are extremely limited about what resolutions they'll let you use--so even if you want to set the game to your native resolution, it might not work or let you even try.

    4. Re:Music to my ears! by Anonymous Coward · · Score: 1

      A lot of games are designed for specific aspect ratios or even specific resolutions and many work a lot better at lower than your max resolution, especially if the icons are sized in pixels etc.... so you do not just want to go to full screen but full screen of this resolution.

      Rather than having a resolution for the full screen application there is only one for the whole system, so the desktop is shuffled and all the applications you also have open get rearranged when you start and can not store an undo state so don't go back. Worse if the game crashes it can leave the resolution much lower than it should be, sometimes even making the system unusable, very frustrating.

      This should solve both these problems.

    5. Re:Music to my ears! by Anonymous Coward · · Score: 0

      Which is nothing that locking out other apps with an exclusive mode will fix.

      This seems to be more about DRM than fixing fullscreen mode.

      If they want to fix fullscreen mode, they just need to make stuff respect the front window in _WM_STATE_FULLSCREEN.

    6. Re:Music to my ears! by Anonymous Coward · · Score: 0

      That's not Linux-only issues. The same can be said about some Windows games.

    7. Re:Music to my ears! by Anonymous Coward · · Score: 0

      I'm normally one to take the piss out of "year of the Linux desktop" and suchlike, but are you sure you weren't talking about Windows?

    8. Re:Music to my ears! by TheRaven64 · · Score: 4, Informative

      The article contained a lot of detail. The current mechanism is a two-step thing where the application first requests full-screen control from the WM. The WM then resizes the window to fit the current screen (which may not make the game happy), removes decorations, and then gets out of the way. Then the game changes the resolution and resizes the window again. The resolution change notification is delivered to the WM, which then propagates it to all of the applications, so if you want to play a fullscreen game at 640x480 then you may find that all of your application windows have resized themselves to fit in this screen when you exit it. The game then runs (hopefully) and if it crashes then in theory the WM is responsible for restoring the video mode, but in practice it doesn't know for certain that the game was responsible for changing it, so it may not.

      With the new proposal, the game resizes its window to the resolution it wants and then requests full screen mode. The WM should then change the screen resolution to the closest to the current window size and doesn't propagate the resolution change notification to any other applications. This means that nothing else gets resized. If the game crashes, or if you do any kind of switching out of the game, then the desktop resolution will be restored.

      And, while it's fashionable to hate X11, it's worth noting that Windows and OS X both suffer from some of the problems that this proposal is intended to fix.

      --
      I am TheRaven on Soylent News
    9. Re:Music to my ears! by Anonymous Coward · · Score: 0

      This has never been a problem for me. I don't use stupid desktop effects though. Or run games at anything other than the panel native resolution which is the same as what I run the desktop. The reason playing games on Linux is so screwed is because of all the layers of abstraction. If you get rid of alsa pulseaudio compositing window managers then games work just fine.

    10. Re:Music to my ears! by Anonymous Coward · · Score: 0

      Then, when you exit the game, the icons are usually huge; the taskbars are usually all messed-up (even when "locked!"), and you have to futz around to make it usable again.

      I thought we were talking about Linux? That sounds like every time one of my Windows games CTDs.

    11. Re:Music to my ears! by Anonymous Coward · · Score: 0

      Ummm...yeah, first off, Steam isn't available for Linux yet. Even if it was, the most that's going to be available for a _very_ long time is a few of Valve's Half Life 2 engine-based titles (Left 4 Dead, more than likely Portal 2, etc.), it's not as if every Steam title is going to be magically ported over to Linux overnight. I doubt Valve will even be able to convince one large company like EA to even consider it, so there go everything but your "quirky" indy games like Slender, which was appalling, and the occasional gem. As for the "others" you mentioned? Yeah, chances are all those "others" are going to be the handful of decent games from the Humble Indy Bundles that were actually ported...and that's it. Add Minecraft in too if you want, that'll make it about five or six in total. So if you like one off games from indy companies or playing the incomplete Half Life 2 series, Steam will be a whole lot of laughs for you. Everyone else will still be playing games either on a PC with Windows, a console or a phone (and even the phones running Linux/Android have managed better than actual Linux distributions). If you have a ton of games that are Windows only on Steam then there's no good reason to switch over to Linux completely because you won't be able to play the games that you bought. Not all of them.

      Incidentally, Ryan "Icculus" Gordon? Yeah, he was the one that was supposed to be porting Unreal Tournament 3 over to Linux. In fact I'm sure if you e-mail him he'll still claim that he's working on it. Icculus has a whole bunch of abandoned ports under his belt, people only seem to remember the ones he actually finished. Epic has given up on Linux, iD has given up on Linux, none of the other big companies were ever interested in it in the first place.

      I use Fedora 17 on my desktop, I've been using Linux since the only alternative I had was DOS 5 or Windows 3.0 on top of it, and even I can see that it's nowhere what it needs to be in order to be a viable gaming platform. That's why I and many others install it -in addition- to the operating system on the PC. One for entertainment (usually Windows), one for everything else (usually Linux). Why? Well, technically you can bash a nail into something with a wrench, but most people would use a hammer.

    12. Re:Music to my ears! by DaneM · · Score: 1

      Ummm...yeah, first off, Steam isn't available for Linux yet.

      The external beta is due to be released in the next few days (by the end of October, barring complications): http://blogs.valvesoftware.com/linux/beta-late-than-never-3/ This makes the above claim true but less-than-relevant. It's true that the first games to be ported will be Source games--particularly L4D games; but Valve has made it clear that they're currently more interested in producing games for Linux than for Windows 8, which Gabe Newell calls a "disaster." This bodes well for commercial Linux gaming. (Also, a lot of folks agree with him regarding Windows 8, so that's also a good sign for Linux.)

      Even if it was, the most that's going to be available for a _very_ long time is a few of Valve's Half Life 2 engine-based titles (Left 4 Dead, more than likely Portal 2, etc.), it's not as if every Steam title is going to be magically ported over to Linux overnight. I doubt Valve will even be able to convince one large company like EA to even consider it, so there go everything but your "quirky" indy games like Slender, which was appalling, and the occasional gem.

      Several commercial EA games are now available in the Ubuntu Software Center. More are on the way. Some of them are quite a bit more "produced" than an "indie" game would be.

      Incidentally, Ryan "Icculus" Gordon? Yeah, he was the one that was supposed to be porting Unreal Tournament 3 over to Linux. In fact I'm sure if you e-mail him he'll still claim that he's working on it. Icculus has a whole bunch of abandoned ports under his belt, people only seem to remember the ones he actually finished.

      I share your frustration regarding UT3, as I bought it so I could play it on Linux. Still, Gordon did port a number of other games I enjoy, so I still consider it a "win" of sorts. I read that UT3 had some kind of legal fiasco going on, but that could just be rumor. Anyway, as one of the few folks who have ported any "AAA" games, at all to linux, Gordon is doing pretty well IMHO.

      Epic has given up on Linux, iD has given up on Linux, none of the other big companies were ever interested in it in the first place.

      The only recent game ID didn't release for Linux, so far as I can recall, is Rage. Quake 4, RTCW, Wolfenstein:ET, Doom 3 (and expansion), Prey, etc. are all available with Linux clients. Id hasn't produced a lot of games, lately, so as you might imagine, these aren't particularly recent titles. I'm bummed about not having Rage on Linux, but them's the breaks. Now that a first-class software distribution platform is coming to Linux, we have reason to be hopeful for future offers.

      I use Fedora 17 on my desktop, I've been using Linux since the only alternative I had was DOS 5 or Windows 3.0 on top of it, and even I can see that it's nowhere what it needs to be in order to be a viable gaming platform. That's why I and many others install it -in addition- to the operating system on the PC. One for entertainment (usually Windows), one for everything else (usually Linux). Why? Well, technically you can bash a nail into something with a wrench, but most people would use a hammer.

      I tried Fedora for Linux gaming, and it was atrocious. I hassled with it for about 6 months, and eventually went back to Linux Mint. (In point of fact, I had better luck with gaming on Gentoo and Slackware, back when I was using them.) While I respect anyone's preference for a distribution, the present fact is that if you want "mainstream" software to run on Linux, you need a Debian/Ubuntu derivative.

      Your comment about dual-booting with Windows for entertainment is certainly well-received, though; until gaming becomes truly "mainstream" on Linux, I doubt I'll be reformatting my Windows partition anytime soon. Likewise, being unable to play some of the games I own is a bummer, so your note about that is also right-on. I hope recent and near-future developments change this.

  4. CRT's by mcelrath · · Score: 4, Insightful

    Who is still running a CRT? Who wants any program to change the resolution of their screen?

    This strikes me as the wrong solution to the problem: A program should instead request the "current monitor's resolution" (because there can be more than one!) set its display area to that size, and then tell the window manager to "fullscreen" it by removing title bar and border decorations and moving it to (0,0) of that monitor. But NEVER EVER RESIZE MY MONITORS. Thank you. The window manager should always be superior to the app, and one should always be able to manage the window (task switch, move to another desktop, etc) using the window manager, regardless of what the app thinks it is doing.

    --
    1^2=1; (-1)^2=1; 1^2=(-1)^2; 1=-1; 1=0.
    1. Re:CRT's by Anonymous Coward · · Score: 0

      If you have a game that requires more horsepower than the system can provide to render at native resolution, this could be a problem.

      However, it may be the case that display resolution can be 1920x1080 and the internal resolution still be 1280x720 (and in fact generally this approach leads to better visuals than LCD rescalers).

    2. Re:CRT's by wisnoskij · · Score: 2

      I agree, I have no idea why game windows are not handled better.
      It is basically impossible to run many, quite possibly most, games in a window. And even the ones that do allow it often require editing of files or hacking the exe.
      Theoretically the OS should be being sent this visual data and no matter how it was programed you would resize it/run it in a window.

      --
      Troll is not a replacement for I disagree.
    3. Re:CRT's by EvanED · · Score: 5, Insightful

      Who wants any program to change the resolution of their screen?

      Someone whose graphics card isn't up to the task of running a game at full native resolution? That'd be my guess anyway; I haven't willingly used a lower resolution for a while. (Some games don't support high resolutions, or don't support widescreen resolutions, and there it's "reasonable" that they change it as well. But a program like that probably wouldn't use that in the first place, so whatever.)

      The window manager should always be superior to the app, and one should always be able to manage the window (task switch, move to another desktop, etc) using the window manager, regardless of what the app thinks it is doing.

      I don't know enough about this proposal to say how it interacts with this (indeed, I'm rather disappointed by both the summary and TFA not actually, you know, saying what the problems are in the first place), but there's absolutely no reason why those goals are in conflict. In fact, the proposal specifically addresses this: "If the window loses input focus while fullscreen, the Window Manager MUST revert the resolution change and iconify the window until it regains input focus. The Window Manager MUST protect desktop state (icon positions, geometry of other windows, etc) during resolution change, so that the state will be unchanged when the window ceases to be marked as fullscreen."

    4. Re:CRT's by Anonymous Coward · · Score: 0

      Who is still running a CRT? Who wants any program to change the resolution of their screen?.

      People who use a high resolution for their desktop but who's graphics cards can't run games with a frame rate at that resolution?

    5. Re:CRT's by marcansoft · · Score: 5, Insightful

      This. I came here to say the same thing, but you already had. Every single modern graphics card is very efficient at scaling textures, and in fact, LCD scaling these days most often ends up happening on the GPU anyway. Don't touch my screen resolution. Ever. If the goal is to get better performance by rendering at a lower resolution, then render at a lower-resolution offscreen buffer and scale that up to the screen resolution.

      I wish Wine had a mode that did this for Windows games that expect to change the screen resolution and don't play well with Xinerama. These days I end up using the "virtual desktop" wine mode with per-game settings and KDE's window override support to put it on the right display head and remove the borders, but it's a suboptimal manual solution. The Linux game situation is slightly better (they tend to be configurable to respect the current resolution and usually get the display head right), but still don't have scaling support.

      Need inspiration? Do what video players (particularly mplayer) do. That is how fullscreen games should work.

    6. Re:CRT's by Mike+deVice · · Score: 2

      Who is still running a CRT? Who wants any program to change the resolution of their screen?

      Gamers often do. An average application might run nicely at a high resolution, but for a smooth Skyrim experience, many people may find it necessary to allow it to run at a lower resolution.

    7. Re:CRT's by Lord+Byron+II · · Score: 1

      in fact generally this approach leads to better visuals than LCD rescalers

      Citation needed.

      What difference does it make who (the graphics card or the monitor) is doing the scaling??

    8. Re:CRT's by Anonymous Coward · · Score: 0

      Actually, it makes a ton of sense for games to change the resolution - you might not have the graphical power to run your game at the native resolution, or you might sit further away while gaming, so a lower resolution makes interface components more readable. You might have a super high-resolution display, which, at the desktop, would make things far too small, but in a game, makes for great graphics.

      Windowed mode also sucks for gaming, as it's generally far easier to loose mouse/keyboard focus, have windows pop-up in front, have distracting stuff around your game window that draws your focus out, not to mention using a small portion of the screen unless it supports scaling (which is rare).

    9. Re:CRT's by AnAirMagic · · Score: 1

      Imagine how this might work with Wayland: Game renders at one resolution (say, 640x480) generates output and sends it to the compositor. The compositor takes the game window and scales it to match the actual screen resolution (say, 1920x1080). No hacks needed. /me drools a bit

    10. Re:CRT's by Anonymous Coward · · Score: 0

      Why don't video cards support resizing? As in render to, say, 800x600 and resize/stretch to 1280x1024 (I'm showing my age with those resolutions, aren't I?)

      That's real easy math for the video card, it shouldn't hurt performance in any serious manner. Yes, it would still look like crap, but if you need to run at a lower resolution to make the card perform well, it's going to look like crap either way, isn't it?

    11. Re:CRT's by DRJlaw · · Score: 4, Interesting

      Who is still running a CRT?

      This is not a CRT-only problem.

      Who wants any program to change the resolution of their screen?

      Gamers.

      This strikes me as the wrong solution to the problem:

      Not surprising, since you're ignoring the underlying problem. Your 2560x1600 desktop on that 30" LCD is going to kill the ability of your videocard to display a modern game at an acceptable frame rate. Many gamers will not accept windowed half-screen (or whatever fraction is required) gaming on their $1K LCD.

      A program should instead request the "current monitor's resolution" (because there can be more than one!) set its display area to that size, and then tell the window manager to "fullscreen" it by removing title bar and border decorations and moving it to (0,0) of that monitor. But NEVER EVER RESIZE MY MONITORS.

      No. Windows and OSX have figured this out. Linux window managers (at least one popular one) need to as well.

      The window manager should always be superior to the app, and one should always be able to manage the window (task switch, move to another desktop, etc) using the window manager, regardless of what the app thinks it is doing.

      Irrelevant to your desired scheme, where keyboard hotkeys would still be required. In Windows and OSX you can still task switch, move to another desktop, etc. using such hotkeys. Yet the game controls the resolution of the monitor in fullscreen mode.

    12. Re:CRT's by Anonymous Coward · · Score: 0

      Why do you need a citation? Scalers in the average LCD monitor are shit.

    13. Re:CRT's by amRadioHed · · Score: 1

      It doesn't matter who, but it does matter what algorithm they're using. Monitors aren't guaranteed to be using the algorithm that produces the best results.

      --
      We hope your rules and wisdom choke you / Now we are one in everlasting peace
    14. Re:CRT's by Anonymous Coward · · Score: 0

      As if that cute toy Wayland is the only compositing window manager out there.

      -- Ethanol-fueled

    15. Re:CRT's by Carewolf · · Score: 3, Insightful

      Not surprising, since you're ignoring the underlying problem. Your 2560x1600 desktop on that 30" LCD is going to kill the ability of your videocard to display a modern game at an acceptable frame rate. Many gamers will not accept windowed half-screen (or whatever fraction is required) gaming on their $1K LCD.

      No, you are missing his point. There is no reason the game could not run at a lower resolution and be scaled by the WM, instead relying on the screen to do the rescaling. Only CRTs are able to do rescaling physically, LCDs end up doing it in software anyway and usually in a crappier maner than what the WM could do.

    16. Re:CRT's by Anonymous Coward · · Score: 0

      Any good GPU post 2008 should have scaling built in. Any high end GPU post 2000 should have scaling built in. Nvidia had it for a long time and added some software version to allot of their drivers and it works great. So it should be handed by the GPU.

    17. Re:CRT's by jedidiah · · Score: 2

      Then buy a better video card or run it windowed.

      This full screen nonsense is something you flee from Windows to get away from. The idea that it is being dragged back into Linux is just annoying.

      It's 2012. It's long past time that Game programmers realized that they don't get to run amok with the system.

      It's 2012 and a modern OS, not an Amiga.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    18. Re:CRT's by antdude · · Score: 1

      Not me, but I want to but they are impossible to find new quality ones. Anyways, I still use low resolutions like old games, MAME, demos, etc. I still use old KVM from Y2K that use VGA so not changing resolutions and keeping black bars doesn't work. :(

      --
      Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
    19. Re:CRT's by Chemisor · · Score: 1

      Unless your game uses OpenGL and you have a fully accelerated driver (read: the proprietary Catalyst or nVidia blob), it will not be able to scale fast enough. Most games use SDL and main memory surfaces that are then blitted to the screen. Any scaling is done in software by the CPU and is dreadfully slow. My Core i7 can handle 1680x1050@60, but just barely, with one core pegged to 100%. The cheapest GPU, of course, can handle that easily, but you must run proprietary drivers and use OpenGL. If you don't, resolution scaling is your only option.

    20. Re:CRT's by Culture20 · · Score: 1

      I'm still running a hugemongous CRT. It probably won't go bad for another four years.

    21. Re:CRT's by Bill,+Shooter+of+Bul · · Score: 1

      Uh, wayland isn't a composting window manager, its a display server protocol. Kind of like X11.

      --
      Well.. maybe. Or Maybe not. But Definitely not sort of.
    22. Re:CRT's by cheater512 · · Score: 1

      You missed the point. LCDs don't have different resolutions, they have one resolution and only one resolution.

    23. Re:CRT's by mcelrath · · Score: 3, Informative

      Someone whose graphics card isn't up to the task of running a game at full native resolution?

      For the myriad of responses that brought up this point: the answer is video card hardware scaling. E.g. add a flag _NET_WM_STATE_SCALING_ALLOWED which directs the WM to use hardware scaling from a fixed-size framebuffer, as is done by video players. Not only can you make it full screen, but you can resize it to any arbitrary shape and size (e.g. don't cover your widget bar, etc). Then the Window Manager decides what is "fullscreen". It could even make an app span more than one monitor when "fullscreen", or just one.

      --
      1^2=1; (-1)^2=1; 1^2=(-1)^2; 1=-1; 1=0.
    24. Re:CRT's by adolf · · Score: 1

      But LCDs scale for free, while CPUs and GPUs do not.

      Why reinvent the wheel?

    25. Re:CRT's by Anonymous Coward · · Score: 0

      That's a terrible, terrible non-solution. People want to be able to run games full screen at a lower resolution.

      I'm fine with requiring user confirmation, but blocking all resolution change is a poor idea.

    26. Re:CRT's by zippthorne · · Score: 1

      Your second reason is stupid. Just because Windows and OSX still sort of do it that way doesn't mean it actually makes sense that you should have to futz with the resolution just to make widgets use more or less screen real estate for better viewing. Window managers should handle scaling of UI elements and text sanely.

      If I want bigger text to be easier to read, I still want crisp text. If I want smaller text to have more stuff on the screen, I don't want the letters to all run together like a censor bar.

      --
      Can you be Even More Awesome?!
    27. Re:CRT's by dgatwood · · Score: 2

      What difference does it make who (the graphics card or the monitor) is doing the scaling?

      Three big differences come to mind:

      • The graphics card probably has more precise pixel values (floating-point values instead of scaled integers per color channel), so even if the hardware scaling algorithms in the monitor are better than "whatever we can do on ten cents of silicon" (which is a big assumption), they'll still be slightly lower quality than the GPU can produce.
      • The monitor doesn't have anything remotely as powerful as a GPU in it, so it is limited in the quality of scaling algorithm it can realistically implement.
      • The monitor can scale only the final, layer-blended image data. That means elements that need to be precise (e.g. text) are just as blurry as everything else. By contrast, a game doing the scaling on the GPU could scale those elements separately, rendering things like text at the panel's native resolution and using alpha blending to superimpose it over blurrier, scaled-up game elements.
      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    28. Re:CRT's by UnknownSoldier · · Score: 1

      Exactly.

      Cheap LCD don't scale properly.

    29. Re:CRT's by silas_moeckel · · Score: 1

      If your talking about rendered 3D the vid card can always do a better job it has more information to work with. That's not to say that it will.

      --
      No sir I dont like it.
    30. Re:CRT's by Anonymous Coward · · Score: 0

      I know that in the Windows world, virtually all video driver control panels have the option to make the GPU do the scaling, rather than sending the lower-resolution image to the monitor. I'd imagine that's possible in Linux as well, though I don't know how it's typically requested.

    31. Re:CRT's by obarthelemy · · Score: 1

      some of us have underpowered graphics cards, or, god forbid IGPs, that can't play games at full rez, and need to downscale.

      sorry, i'll go dig myself a hole and jump in it now, i'm obviously not worthy.

      --
      The Cloud - because you don't care if your apps and data are up in the air.
    32. Re:CRT's by UnknownSoldier · · Score: 3, Insightful

      > This strikes me as the wrong solution to the problem: .. set its display area to that size
      *sigh*

      It is sad to see you unfortunately don't know what you the hell you are talking about. Let me explain:

      There are these precious little things called RAM, Video Memory, Video Buffers, DMA speed, and Scaling.

      Games typically use _at least_ *four* buffers:

      * Frame Buffer Front (32-bit)
      * Frame Buffer Back (32-bit)
      * Depth Buffer (24-bit)
      * Stencil Buffer (8-bit)

      Why should the Window Manager force the app to *over* allocate memory say @ 1920x1080 when the user has selected 640x480??

      That is, why would you have the GPU waste a total of 24 MB (8 MB FB Front + 8 MB Back + 6 MB Depth + 2 MB Stencil) compared to ONLY needing 3.6 MB (1200K + 1200K + 900K + 300K) ??

      More memory allocated for the buffers means you have LESS resident textures on the GPU.

      Also, By using a native (lower) resolution you force the monitor to use native *hardware* up-scaling.

      > and then tell the window manager to "fullscreen"
      And this is done for "free" in your fantasy world??

      Why would you force the GPU to do *extra* work of texture-copy up-scaling when it doesn't need to one in the first place if you are running at a 1:1 resolution at full-screen??

      > set its display area to that size, and then tell the window manager to "fullscreen" it by removing title bar and border decorations and moving it to (0,0) of that monitor.

      That is called "Windowed No Border Mode"

      i.e. Gamers want _3_ choices

      * Full-Screen (change resolution)
      * Windowed (don't change resolution)
      * Windowed No Border (don't change resolution)

      Lastly SOME games do NOT support arbitrary resolutions. I *want* them to fill my 22" monitor at whatever resolution they DO support. The *fonts* and the rest of the UI elements are BIGGER and easier to see when running in full-screen mode.

      Likewise, games that *only* run in full-screen mode are BADLY DESIGNED.

      The *proper* thing to do is to give the _user_ choice: Namely the 3 I listed above.

      Hope this helps explains some of the issues and WHY this solution is The Right Thing.

    33. Re:CRT's by obarthelemy · · Score: 4, Insightful

      This is a very nice example of what is wrong with Linux. Not the actual problem. The attitude towards the problem and the users who experience it.

      --
      The Cloud - because you don't care if your apps and data are up in the air.
    34. Re:CRT's by Pseudonym+Authority · · Score: 2

      Disgusting. You should NEVER have to upscale images if you are doing things right. This is the zeroth rule of Image Manipulation. Might as well save it as a 50% JPEG too, because you're already losing most of the resolution and it's going to be a blurry mess.

    35. Re:CRT's by Arker · · Score: 1

      Yes, theoretically, but in reality resizing stuff on the fly, particularly to odd, one-off resolutions to fit in a window, is a big performance sink - fine for some games but there is a good chunk of the market where that isnt acceptable. Plus, for many games, moving the mouse to the edge of the screen actually has a specific meaning. It's not always straightforward to determine whether you mean to throw the mouse against the edge of the screen in-game or just mean to move the mouse out of the window to check your calendar. One way to make sure is just to force full screen.

      On a lot of games I agree with you though, they *should* be playable in a window and it's annoying when there is no good reason for it.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    36. Re:CRT's by slacka · · Score: 1

      Every heard of 2880×1800 retina displays? Like to play your games at 60FPS? Well, as someone rocking one on a 15" monitor with a mid-low end GPU, I frequently run into this issue under Linux. And let me tell you the current system is terrible. Mac OS can do it, Windows can do it, If Linux wants to get competitive, they need to fix this issue. Just a few days ago, I fired up Tux Racer for a friend to play. I think I had to reboot after that fiasco.

      I don't care how it's resolved, different TTY or _NET_WM_STATE_FULLSCREEN. Both sound reasonable. But I want my apps to be able to change resolution, even if it breaks your perfect paradigm.

    37. Re:CRT's by Darinbob · · Score: 1

      Because many games only come at a fixed resolution. Plus many screens have such an enormous resolution that games are impractical at that scale.

    38. Re:CRT's by Anonymous Coward · · Score: 1

      It is not like game devs are forcing this on people. Myself and most other gamers prefer full screen. It isn't an option for Linux to not support this and be taken seriously as a game platform.

    39. Re:CRT's by Anonymous Coward · · Score: 0

      No they are not. It adds display lag to the game.

    40. Re:CRT's by Jonner · · Score: 1

      It's certainly a worthy goal to never need to change the monitor mode. However, I don't think we're quite there yet. Most games that rely on 3D acceleration cannot maintain the maximum frame rate at the maximum resolution supported by the monitor. Therefore, users need to be able to choose resolution to tune the game to their machine and preferences. Once frame rate is truly independent of mode, there should never be a need to reduce resolution.

    41. Re:CRT's by poet · · Score: 1

      I want to change the resolution and I will tell you why. On 32" monitor, I can't read the text unless it runs in 720P of even 800x600.

      --
      Get your PostgreSQL here: http://www.commandprompt.com/
    42. Re:CRT's by adolf · · Score: 1

      No they are not. It adds display lag to the game.

      [[citation needed]]

    43. Re:CRT's by pipatron · · Score: 1

      Actually, the Amiga OS handles the concept of multiple separate resolutions on the OS level, it's fully supported in a system-friendly way without the need for any hardware-hacking. You just use separate 'screens' (I guess each 'screen' can be thought of as a single virtual desktop, but can have different resolutions and size).

      --
      c++; /* this makes c bigger but returns the old value */
    44. Re:CRT's by epyT-R · · Score: 1

      um.. why would you want a blurry 640x480 stretched game? In addition to looking like shit, it would consume lots of extra gpu resources. better to run the game in 960x540 (or some other even multiple) and have X11/gpu scale it up losslessly.

    45. Re:CRT's by guruevi · · Score: 1

      Just scale it in the WM. iOS seems to do fine with it. You can either leave it at 1:1 but have a really small screen or double it etc. nVidia drivers can do it, I have a display (projector) that can only output in one format (1400x1050 @ 120Hz). You can put in a 'new' resolution with custom timings. I leave the timings set to the native resolution but the active pixels to 640x480, 800x600 and 1024x768 - scales it really nicely to my set resolution.

      --
      Custom electronics and digital signage for your business: www.evcircuits.com
    46. Re:CRT's by damnbunni · · Score: 1

      The window manager will not be handling text and icons IN THE GAME.

      Back when I used to play World of Warcraft, I had a monitor and video card capable of running the game well at 2048 x 1536 on a 21" screen, but the game interface was too small to see. Text was perfectly sharp, it was just tiny. (The interface size slider wouldn't make it bigger, just smaller.)

      So I had to reduce the resolution from what I normally used, in order to play the game.

    47. Re:CRT's by Jesus_666 · · Score: 1

      I know a number of people who deliberately run their desktop at a fairly low resolution (think 1024x768) because they have poor eyesight and find that easier than mucking around with font settings and hoping there aren't any programs that make assumptions on how large certain UI elements are. At the same time, they might run video games at a higher resolution because video games are usually pretty good about providing resolution-independent readable text. How would you propose to handle this situation, other than "tell the user to manually change their desktop resolution before and after playing a game" or "they only get to play at 1024x768"?

      By the way, I don't see how the program being able to request a different resolution would preclude the WM being in charge. I'm certain there are conceivable models where the WM remains in charge despite being able to accomodate fullscreen programs. For instance, the WM could resize the screen at its own discretion, then return the new dimensions of the screen to the game and proceed as you have described. If the game loses focus the screen gets resized to its normal dimensions. Don't want the WM to resize? Tell it not to. As long as you're not running Gnome there's probably an option for that.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    48. Re:CRT's by Anonymous Coward · · Score: 0

      Way to miss the point entirely. Amiga supported a bunch of screen modes because both the hardware and the video output were quite limited. It was a nice workaround for the time, but entirely unnecessary now.

    49. Re:CRT's by Anonymous Coward · · Score: 0

      Someone whose graphics card isn't up to the task of running a game at full native resolution?

      For that there's render to texture. Drawing a fullscreen quad doesn't take that much unless you have ridiculously large monitor and a really underpowered gpu (in which case the result is going to be slow anyway).

    50. Re:CRT's by Anonymous Coward · · Score: 0

      I'm still running a couple of CRTs, one of them is just at the point of failure (dodgy capacitor somewhere, not tracked it down).
      Why do I keep them?, for the cats, mainly, as I'm sick of the furry little fuckers decking/destroying the LCD monitors by trying to sprawl out on top of them when they're nice and warm...

    51. Re:CRT's by Anonymous Coward · · Score: 0

      I'm running a CRT, you insensitive clod.

      And witness the crispness when a game changes your resolution to 640x480 or 800x600 and draws its interface. It looks so ... very ... nice.

    52. Re:CRT's by Anonymous Coward · · Score: 0

      Not surprising, since you're ignoring the underlying problem. Your 2560x1600 desktop on that 30" LCD is going to kill the ability of your videocard to display a modern game at an acceptable frame rate.

      1. It takes less than a millisecond to scale a lower resolution picture to 2560x1600 with my outdated geforce 9600. If the game didn't already have a post-processing pass where you could stuff extra scaling at virtually no cost, that price might actually be realized and I might suffer a frame drop every now and then. Horrors.

      2. My $2500 30" doesn't really do scaling (except blocky 2x2), so GPU ends up doing it in one way or another anyway (although this might or might not be off from other rendering resources, haven't checked in detail).

      3. The real underlying problem of course is that games typically don't support such scaling, but the reason for that is that there has been other (sucking) option for doing that so it's largely deemed unnecessary.

    53. Re:CRT's by Anonymous Coward · · Score: 0

      There's no shortage of composting window managers, though.

    54. Re:CRT's by Anonymous Coward · · Score: 0

      My LCD complains that I'm using a sub-optimal resolution, and then turns off the screen about 30 seconds later.

      Hardware scaling is really very cheap these days.

    55. Re:CRT's by Anonymous Coward · · Score: 0

      Several years ago there were measurements on this. The results were that you were pretty much guaranteed to get almost nonexistent lag by simply getting a screen that didn't even support scaling, but some particularly bad models with scaling managed to add even 3-4 frames of lag (sometimes irrespective on whether native resolution was used). This was probably because they didn't have well integrated scaling circuitry but processed full frames with something resembling a cpu. I figure it's nowadays better, or at least hope so.

    56. Re:CRT's by Anonymous Coward · · Score: 0

      Except if the graphics card isn't up to running it at native resolution, many users don't want to be wasting what power it has on scaling, either.

      A hint for hardware scaling when your GPU is more than fast enough for a lower resolution, but not enough for full quality, is a needed part of the solution, though. Some people can't stand jaggies, other people are less tolerant of blurring. Some may even prefer different settings for different games. Or different performance tradeoffs. So being able to have different fullscreen applications do what's needed is a good idea.

    57. Re:CRT's by Anonymous Coward · · Score: 0

      Running on a different TTY doesn't require anything from the developers. Just start an X server on another TTY, with the resolution you want, and start the game with DISPLAY=:1

    58. Re:CRT's by ArsenneLupin · · Score: 1

      Running in a window would not be desirable for some action games, where you might lose valuable time and lives if you accidentally move the mouse out of the window in the heat of the action...

    59. Re:CRT's by ArsenneLupin · · Score: 0

      Many gamers will not accept windowed half-screen (or whatever fraction is required) gaming on their $1K LCD.

      So, why don't these gamers give most of that $1K to charity, and buy a much cheaper (and lower resolution) LCD from what is left?

      If these people have too much money, they should at least let everybody else use their hardware in the most efficient way.

    60. Re:CRT's by ArsenneLupin · · Score: 1

      But I want my apps to be able to change resolution,

      Hopefully only with permission. I already dread the day when flash applets in web pages will be able to do this, and Firefox ignores the problem for 10 years...

    61. Re:CRT's by dabadab · · Score: 1

      Actually your comment is a very nice example of what /. has come to: a lot of users who are unable to grasp even relatively simple technical matters.
      For what it's worth, he is recommending to handle the problem the same way as bastions of "userfriendliness" and "non-linuxness" (namely the gaming consoles: Xbox, Playstation, Wii) handle it.

      --
      Real life is overrated.
    62. Re:CRT's by 91degrees · · Score: 1

      A 1920x1280 monitor displays 960x640 perfectly well.

      But the window manager is superior to the app. It can ignore hints.

    63. Re:CRT's by Anonymous Coward · · Score: 0

      A game can run in a window and still capture the mouse. All games I've played in window mode capture the mouse, so you can't move the mouse cursor out of the window unless you pause or alt-tab etc.

    64. Re:CRT's by Carewolf · · Score: 1

      And you make it handled by the GPU by sending the task to the WM. If you change screen resulution, the GPU does not get a chance.

    65. Re:CRT's by Carewolf · · Score: 1

      Scaling is easily handling by almost all GPUs and it works very smooth. You can do using the CPU, a high quality scaling of full HD content at 30fps on an old Pentium 4 (this is what playing video full-screen often does), will consume only 20% CPU. Doing it on the GPU or with a modern CPU much even better.

    66. Re:CRT's by Anonymous Coward · · Score: 0

      No they don't. The scaling is done on the GPU.

    67. Re:CRT's by sgtrock · · Score: 1

      Actually, this isn't just a Linux problem. For example, I have become a HUGE fan of Good Old Games. I've been playing through a few classics that I never got around to back in the day, plus revisiting some old favorites. One thing that GOG has to deal with with every game is how to make them work at modern resolutions. The way that they do it is to reset the resolution for the entire system, let you play the game, then reset back to the original resolution once you're done. I have no idea how they do it, but I've seen it plenty of times. A good example of this can be found with their implementation of Lord of the Realms 2.

      If someone can solve this problem for Linux, it removes one more barrier for GOG to create a Linux client. That gets me one step closer to removing my Windows gaming partition. :-)

    68. Re:CRT's by Bill,+Shooter+of+Bul · · Score: 1

      The point of bringing up wayland is that it may not have a problem going fullscreen because its a different system than X. All window managers that use X have this problem.

      --
      Well.. maybe. Or Maybe not. But Definitely not sort of.
    69. Re:CRT's by drinkypoo · · Score: 1

      Just look around, citations abound. It takes n processing stages to do anything on the display where n is at least 1 stage (a frame's worth) and may be several. Deinterlacing takes a stage, for example. Scaling takes at least 1 stage. Some scalers are better, some are faster, some are more expensive. But if you can just output the kind of video the display actually displays to begin with then it doesn't have to do any processing, and that takes 0 stages.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    70. Re:CRT's by drinkypoo · · Score: 1

      It's been a normal thing for Windows games to do since time immemorial. I don't know that the games even do it directly themselves in most cases, I thought opening a whatever-resolution DirectDraw or Direct3D surface did that for you.

      I tried to play MAX on Linux (it's a dosbox install after all) but the display shows up as one-quarter size...

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    71. Re:CRT's by drinkypoo · · Score: 1

      It's 2012 and a modern OS, not an Amiga.

      The Amiga could mix different-resolution displays on the same monitor and switch between them with ease or even pull one part way up over the other, you insensitive clod! Or something.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    72. Re:CRT's by petermgreen · · Score: 1

      Not everyone who buys a computer uses it for just one thing. Being satisfied with a resoloution in games does not nessacerally mean being satisfied with that same resoloution on the desktop.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    73. Re:CRT's by obarthelemy · · Score: 1

      You mean consoles with a GPU capable to generate and push out pixels about as fast as their video resolution requires, in games ? As opposed to, say, PCs, which can often output at a much higher resolution, but don't always have the chops to create and move all those triangles and pixels around ? For exemple Intel HD4000 can do 2560x1440. Nice for text and video, try to play at that rez...
      Who's not getting the problem, again ?
      And, again, yes, it often makes sense to use a lower rez, even on a LCD, to ensure full-screen and framerate, at the cost of resolution.

      --
      The Cloud - because you don't care if your apps and data are up in the air.
    74. Re:CRT's by cynyr · · Score: 1

      and 12pt font should always 12/72" tall regardless of the monitor resolution or PPI.

      --
      All of the above was encrypted with a Quad ROT-13 method. Unauthorized decryption is in violation of the DMCA.
    75. Re:CRT's by Anonymous Coward · · Score: 0

      You do not know how graphics cards work.

  5. Martin Gräßlin doesn't get it by Anonymous Coward · · Score: 0

    Was reading that e-mail from Martin Gräßlin. He's completely missing the point, he's complaining about all the issues this proposal *is meant to fix*, the whole idea is that a program going fullscreen doesn't interfere with anything else. Way to go.

  6. No assistance required by OhANameWhatName · · Score: 3, Funny

    Martin Gräßlin of KDE was rather wary about the patch and said that games changing the resolution just tend to mess up the desktop

    KDE doesn't need the help.

    1. Re:No assistance required by Anonymous Coward · · Score: 0

      Ever played a VGA game in Windows? Those screw up dekstop layout, too. Do wear a Gstring and Gbuttplug while typing your Gfud in Galeon on Gnome?

  7. Then will it be year of the Linux desktop? by theshowmecanuck · · Score: 1
    Here's to hoping.

    Seems like a reasonable idea, given a bit of time to mature as a spec.

    So another ten years? Seriously, this is well past due. This is the second story about someone wanting to fix the desktop in the last month or so. Hopefully if there are enough one of them might actually gain traction. Here is hoping. The X system really is a heap. As much as the purists like to bitch about it, thank goodness for nvidia when it comes to multiple monitor support. Too bad it doesn't help the gaming though.

    --
    -- I ignore anonymous replies to my comments and postings.
    1. Re:Then will it be year of the Linux desktop? by Anonymous Coward · · Score: 0

      I've found multi-monitor support to be great across the board these days with XRandR - for my triple monitor setup, I used an ATI card. We are past the days where TwinView was the only good solution.

    2. Re:Then will it be year of the Linux desktop? by ryanw · · Score: 2, Insightful

      I'm pretty sure somebody did go in and fix the X11 desktop..... It was Apple w/ OSX.

    3. Re:Then will it be year of the Linux desktop? by bill_mcgonigle · · Score: 1

      I'm pretty sure somebody did go in and fix the X11 desktop..... It was Apple w/ OSX.

      Do you mean DisplayPostScript from NeXT? Apple never used X11 for their primary display (ignoring AU/X and mkLinux for the sake of convenience here) so they had nothing to fix.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    4. Re:Then will it be year of the Linux desktop? by dbIII · · Score: 1

      Summary so far: Recent KDE and Gnome have problems with their icons, the others are OK (including older versions of both), someone from and Xorg offers help and some guy without a clue says it's all because X is a heap? That's like blaming Ford for a faulty LED torch you've plugged into a car cigarette lighter socket.

    5. Re:Then will it be year of the Linux desktop? by theshowmecanuck · · Score: 1

      Some guy without a clue? More like some guy who has been using computers more years than your IQ. Multmonitor support sucks in Linux. You probably are one of the retards who keeps saying Microsoft sucks when it can automatically figure out what monitor you have even if you just plugged it in to a running system, and then support it in twin view. It can also support full screen games properly when you have more than one monitor, and could do it for almost as long as Linux has been around. X almost never gets it right to this day and forces you to log off and restart the x server and even then fucks up full screen gaming unless you want to fuck around like hell with configuration. And personally, I would rather use the system than have to figure out how to either rebuild it or reconfigure it all the time. That is not a useful system for average day to day use. So I use Linux only for software development and anything that requires any complicated work to systems running Windows or Mac. KDE multimonitor support can't even remember its multimonitor configuration from session to session. You're a fucking git who obviously believes personal attacks are valid arguments. So I reply in kind. But I also provide examples. What you provide is no better than the drool that leaks from the corner of your mouth. And I still use KDE, albeit on VM on my Win 7 box. So yeah, it's about time X cleans up its act. You should too numb nuts.

      --
      -- I ignore anonymous replies to my comments and postings.
  8. Trying to solve the wrong problem by narcc · · Score: 0

    We can all agree the X is a gigantic mess. It needs replaced by something better -- badly.

    Yeah, we'll lose ... a lot ... but won't it ultimately be worth it in the end?

    1. Re:Trying to solve the wrong problem by Anonymous Coward · · Score: 0

      That's kind of funny.

      Developer from the TFA: pointing out a very specific, very locally scoped problem, and using X's extensibility features to offer a solution.

      You: Well I agree X is bad. No specifics offered.

      I would much rather have the guy with the first approach around than someone like you.

      But don't worry. I'm sure that Wayland vaporware will fulfill your desires for ... I'm not sure what exactly. Not being called X?

    2. Re:Trying to solve the wrong problem by Anonymous Coward · · Score: 0

      How about something that's not rooted in antique design and protocols from 1987?

    3. Re:Trying to solve the wrong problem by Black+Parrot · · Score: 2

      We can all agree the X is a gigantic mess. It needs replaced by something better -- badly.

      Maybe instead of everyone jumping in and telling us how bad X is, someone could take a minute to explain what's wrong with it for us non-technical types.

      --
      Sheesh, evil *and* a jerk. -- Jade
    4. Re:Trying to solve the wrong problem by Anonymous Coward · · Score: 0

      No need to be vague. You're not going to bore anyone here with details.

    5. Re:Trying to solve the wrong problem by agrif · · Score: 4, Informative

      X is a very old protocol, with a lot of things that need to be implemented in order for something to say that it "speaks X". Things like font rendering and 2d drawing routines. Things that nobody actually uses anymore.

      X used to be in charge of providing font rendering and such, but now libraries like Freetype and Cairo do it instead (and do it better). X used to be in charge of accelerated video, but now we have good OpenGL support and Kernel Mode Setting. The only thing X really does now is act as a proxy between window managers and applications. But X still has support for all the old stuff, and so it's huge and lumbering.

      Wayland is a new protocol designed to be used between window managers and applications directly. In a new breed of window managers, the window manager itself will set up the screen and draw to it using kernel mode setting and opengl, and it will communicate and delegate windows to applications by talking the Wayland protocol. So there's nothing like the X server sitting between them anymore: the window manager runs directly on the console, and talks directly to applications.

      This might sound like it would cause a lot of duplication of effort, and in one sense that's true. However, the amount boilerplate code needed to set up a simple Wayland-speaking window manager is about the same as the amount of boilerplate code needed to set up a simple X11 window manager. Except with the Wayland case, there's no huge X server sitting between applications and the screen, because Wayland is so simple the window managers can speak it directly.

      One side effect of this is the Wayland library API is *much* simpler to use than the X libraries, so it becomes a lot easier to write new experimental window managers. I expect we'll see a lot of new WM's after Wayland becomes standard. Another plus is that Wayland has built-in support for multiple pointers and arbitrary window transformations, and that's an extremely nice touch for multi-touch screens.

    6. Re:Trying to solve the wrong problem by Anonymous Coward · · Score: 0

      Was 1987 a bad year for you, do you want to avoid everything that came from that year? Why bother complaining about the date and actually complain about something wrong with it...

    7. Re:Trying to solve the wrong problem by Anonymous Coward · · Score: 0

      nice copy and paste of something you don't understand. Some of us actually do use the X protocol.

    8. Re:Trying to solve the wrong problem by Anonymous Coward · · Score: 0

      fallacy.. just because it's old doesn't mean it doesn't work.

    9. Re:Trying to solve the wrong problem by Anonymous Coward · · Score: 0

      Sorry, X is not big and bloated. It is simply not true. The parts which are not used anymore are from a time when computers had 1/1000. the amount of memory. These parts are also needed for backwards compatiblity. So we should drop backwards compatiblity and a lot of functionality such as network transparency to get ... well nothing, because everyhing Wayland might add could also be put into X (as they admin in their FAQ)? This is insane.

    10. Re:Trying to solve the wrong problem by Anonymous Coward · · Score: 0

      The for loop is a very anitquated concept. I know I'm not alone when I say I'm eager about its replacement.

    11. Re:Trying to solve the wrong problem by agrif · · Score: 1

      X is big and bloated, in the sense that X contains a lot of dead code. This severely limits how fast the project can move, and makes it hard to attract new developers. This is more important than (I think) most people realize. Nobody wants to work on a codebase where 90% of code isn't used (but has to keep working), and the 10% people actually do still use are all implemented as extensions. That's insane.

      With regards to network transparency, see this other post of mine. I will never understand why this myth is perpetuated.

      With regards to backwards compatibility, you can always run an X server on top of Wayland. It's not even particularly inefficient to do so, because Wayland is such a thin layer.

      With regards to not gaining any features, removing X takes away one layer between applications and the screen. This matters, even today. If you're running a video game on a compositing window manager, that game's frame now has one less layer to pass through before it hits the screen. Using Wayland simplifies the Linux display process.

      Basically, using Wayland will not prevent you from doing what you've always been doing, nor will it encourage developers to write programs that prevent you from doing what you're doing. What it will do is make it easier for those developers to make new things and be happy about it.

    12. Re:Trying to solve the wrong problem by Anonymous Coward · · Score: 0

      Yeah, I mean linux is almost that old, isn't it about time to start building a new kernel from scratch relying on MODERN design principles?

      Maybe you should write it entirely in C++ with none of that legacy assembly or C code.

      If you're really ambition, how about writing it in java, or mono! :)

    13. Re:Trying to solve the wrong problem by Anonymous Coward · · Score: 0

      X used to be in charge of providing font rendering and such, but now libraries like Freetype and Cairo do it instead (and do it better).

      In my experience, the programs that uses X font rendering - xterms, xcalc, even xfontsel - always provide perfectly sharp text. Where as Freetype requires editing config files, recompiling to turn on patented hinting algorithms, etc, or they will give fuzzy text that looks just like my old out of focus CRT looked.

      As for Cairo, last I complained about fuzzy fonts in Evince, the answer was "sorry, that's a Cairo limitation, Cairo has no way to render sharp text". Not sure if they fixed that since, I try to avoid PDFs.

    14. Re:Trying to solve the wrong problem by Anonymous Coward · · Score: 0

      With regards to network transparency, see this other post of mine [slashdot.org]. I will never understand why this myth is perpetuated.

      Because the Wayland developers keep saying that it's not a part of Wayland, and those who need it will just have to use a crappy solution like VNC, just like we used to in Windows 95.

    15. Re:Trying to solve the wrong problem by Anonymous Coward · · Score: 0

      Actually, I think the major defect in X11 is the focus model and things like grabs that are a huge pain in the ass to work with, and make little sense in the modern world (which window gets an input event for a multi-touch gesture for example? Actually, there's an X extension for that now...). The protocol itself is pretty clean and not particularly inefficient. The issue with compositing is that it might involve a few extra context switches, triggering things like TLB flushes... of course, the last couple of generations of x86-64 chips have tagged TLBs (albeit only designed for virtualization) so in theory even that expense could be mitigated. And then the compositor is probably just bypassing most of X anyway nowadays, so someone got the bright idea to get rid of X. I suspect a compositor-specific protocol for X might solve a lot of the problems (because, well, window managers performing compositing instead of having external compositors hints at a flaw in the way compositing fits in the X architecture).

      So, instead of adopting very well grounded microkernel design principles for a next generation display server, the developers of Wayland are shoving everything into the kernel and a few shared libraries (smells like 80s UNIX design, if they had had shared libraries... because it is). It'll probably fail honestly.

      That's not to say some major problems aren't being solved as part of the efforts tangentially related to Wayland (and it certainly makes a compelling demo for the modernized graphics stack)... the graphics stack before KMS and whatnot was heavily tied to X (or: was X), and you were doomed if you wanted to even attempt writing an alternative display server. Now at least modesetting is split into a separate module (although why it isn't in userspace is beyond me, but I see no reason why the tty/console layer shouldn't be in userspace, especially now that we have GRUB2 + multiboot + initrds and all of that magic so it's not like you can't load userspace components as part of loading the kernel... I'm weird), the OpenGL stack doesn't require GLX, etc. Hell, with Gallium3d AFAICT you can even implement a complete alternative to OpenGL if it's not your thing and have it more-or-less Just Work (tm) with hardware. Maybe Fresco wouldn't have died if things had been how they are now (we'll pretend they'd also avoid using CORBA, naturally).

      Luckily all of this happens to benefit X11 too. And maybe someone will come along and write that fancy successor to X11 that doesn't suck now that all of this effort has been put into transforming the graphics stack from a ball of mud into a (well, for C) clean modular architecture.

    16. Re:Trying to solve the wrong problem by dkf · · Score: 1

      Actually, I think the major defect in X11 is the focus model and things like grabs that are a huge pain in the ass to work with, and make little sense in the modern world (which window gets an input event for a multi-touch gesture for example? Actually, there's an X extension for that now...). The protocol itself is pretty clean and not particularly inefficient. The issue with compositing is that it might involve a few extra context switches, triggering things like TLB flushes... of course, the last couple of generations of x86-64 chips have tagged TLBs (albeit only designed for virtualization) so in theory even that expense could be mitigated. And then the compositor is probably just bypassing most of X anyway nowadays, so someone got the bright idea to get rid of X. I suspect a compositor-specific protocol for X might solve a lot of the problems (because, well, window managers performing compositing instead of having external compositors hints at a flaw in the way compositing fits in the X architecture).

      There are a few things that need sorting out. The keyboard handling code is... umm... "mysterious to mortals", and the whole business with visuals and colormaps has been outdated for well over a decade. But the big thing now is probably that window positions and sizes are described by a short; it's now becoming generally practical (if still a little expensive) to assemble a display that is larger than 32k pixels in some dimension, so now is the time to update the protocol to allow larger values for coordinates. Yes, it sounds trivial, but it permeates through the whole protocol itself, so fixing it will be disruptive and incompatible. But it needs doing.

      The compositing problem is mostly due to the lack of a good way to do alpha blending of an image at speed. Some apps need closer integration, but they're a minority. (And for goodness' sake, font rendering belongs server side. If only I could be certain that it didn't have crippling bugs when rendering at angles other than the four cardinal directions...)

      --
      "Little does he know, but there is no 'I' in 'Idiot'!"
    17. Re:Trying to solve the wrong problem by serviscope_minor · · Score: 1

      Things that nobody actually uses anymore.

      Liar.

      I, and many others still use xterm (among other things), so you're making a false claim to support your point. That's called lying. Stop doing it.

      The only thing X really does now is act as a proxy between window managers and applications.

      Um yeah? And input device handling. The windowing system, especially the reparenting aspect is one of the major parts and it is why X11 is so much of a better GUI than any other system.

      But X still has support for all the old stuff, and so it's huge and lumbering.

      It worked on a Sun 3/60. There is no way it could be bloated by modern standards.

      And now for some fud:

      However, the amount boilerplate code needed to set up a simple Wayland-speaking window manager is about the same as the amount of boilerplate code needed to set up a simple X11 window manager

      One side effect of this is the Wayland library API is *much* simpler to use than the X libraries, so it becomes a lot easier to write new experimental window managers.

      Those can't both be true. And the X11 API isn't really that complicated. It's quite simple if you understand it.

      --
      SJW n. One who posts facts.
    18. Re:Trying to solve the wrong problem by agrif · · Score: 1

      I, and many others still use xterm (among other things), so you're making a false claim to support your point. That's called lying. Stop doing it.

      I meant developers no longer use it. If you know of a project started in the last 5 years that decided to use these features of X, and not use GTK or Qt or some other toolkit (which themselves don't use these features), I would like to hear about it because I genuinely don't know of any.

      You will still be able to run xterm under a Wayland compositor, don't worry about that.

      Um yeah? And input device handling.

      Input is a bit of a sticky wicket, but that's not exactly an insurmountable problem. Why should input devices be tied in with the display server (and in X's case, font rendering, vector graphics, ...)? I honestly feel like they're better off in a completely separate system that can be re-used elsewhere without bringing in all of X. Isn't that the unix philosophy?

      It worked on a Sun 3/60. There is no way it could be bloated by modern standards.

      See this cousin comment. All this old stuff it needs to support makes the X project huge and lumbering. Dead code stifles innovation because it scares off developers.

      Those can't both be true. And the X11 API isn't really that complicated. It's quite simple if you understand it.

      Yes, that is often the case with things you understand. I have tried and failed many times to understand X, I really have. I understood what the Wayland protocol does in about a day. As for the first part, code length is not the same as understandability, or even simplicity. You can have 1 kilobyte of brainfuck and 2 kilobytes of python, and the python is still simpler. Wayland provides bitmaps to compositors, and delivers input events from compositors to windows, and at no point do you need to probe some server for COMPOSITE support, or manage the child X window's global coordinates to correspond to where you're drawing them on screen, or muck around with who gets control of the root window. You get bitmaps, you draw them. You get input events, you distribute them however you please. It's really straightforward.

    19. Re:Trying to solve the wrong problem by Anonymous Coward · · Score: 0

      Please be respectful. Are we here to have a discussion, or are we here to call each other names?

      Surely you can tell the difference between xterm -- a program that happens to have x in the name -- and the X11 protocol. right?

      Please have a look at this link. http://vignatti.wordpress.com/2012/10/17/the-damn-small-wayland-api/. It describes the X api and how it compares to the Wayland API. There is no real contest.

      Wayland is bloated. I am not as well-informed as agrif on this topic, but it seems to me you are applying only a superficial amount of logic. Just because it runs on a Sun 3/60 doesn't mean it isn't bloated. Bloat in this case is referring to the amount of dead code. It contributes to the un-maintainability of X. In short, it's becoming harder and harder for the developers to work on it. You can't dispute this fact unless you are an X dev. This is no longer an opinion.

    20. Re:Trying to solve the wrong problem by Hatta · · Score: 1

      That's great and all, but why do we have to lose network transparency? Nothing you said requires losing network transparency, and nothing you said is worth trading network transparency for.

      --
      Give me Classic Slashdot or give me death!
    21. Re:Trying to solve the wrong problem by serviscope_minor · · Score: 1

      If you know of a project started in the last 5 years

      Woah there cowboy! Linux is what, 20 years old? There's an awful lot of software out there which is older than 5 years but is not going to disappear for the forseeable future.

      I'm sure you could find some, especially window managers if you looked around though.

      Input is a bit of a sticky wicket, but that's not exactly an insurmountable problem. Why should input devices be tied in with the display server (and in X's case, font rendering, vector graphics, ...)? I honestly feel like they're better off in a completely separate system that can be re-used elsewhere without bringing in all of X. Isn't that the unix philosophy?

      Well, for input devices you need to control which application gets the inpus, so you need the windowing stuff. And you need good ways for the applications to communicate (copy/paste) and so on and so forth. The rendering is a small part of that.

      See this cousin comment. All this old stuff it needs to support makes the X project huge and lumbering. Dead code stifles innovation because it scares off developers.

      I contest that. The drawing code is from the Sun 3/60 days. If it existed then it is tiny by modern standards. The Linux kernel is vast and most code for most people is effectively dead code since there is tons driver etc code.

      Wayland provides bitmaps to compositors, and delivers input events from compositors to windows, and at no point do you need to probe some server for COMPOSITE support, or manage the child X window's global coordinates to correspond to where you're drawing them on screen, or muck around with who gets control of the root window. You get bitmaps, you draw them. You get input events, you distribute them however you please. It's really straightforward. ...and that hides half the complexity under the carpet because you need more than just that for a system to work.

      Why are you managing a child's global coordinates? That's a very odd thing to be doing. Why are you dicking with the root window? That's a good way to annoy users. And how on earth is handling X events anything other than "you get events and distribute them however you please"?

      --
      SJW n. One who posts facts.
    22. Re:Trying to solve the wrong problem by serviscope_minor · · Score: 1

      X is big and bloated,

      No, it isn't,

      in the sense that X contains a lot of dead code.

      no it doesn't. The amount of code is quite small.

      This severely limits how fast the project can move, and makes it hard to attract new developers. This is more important than (I think) most people realize. Nobody wants to work on a codebase where 90% of code isn't used (but has to keep working), and the 10% people actually do still use are all implemented as extensions. That's insane.

      er huh? Have you looked at Linux? Much of the functionality is in modules. Huge amounts of code are dead to almost all users because they will never have an S390 or Sparc box to run it on. That doesn't seem to hinder Linux, and yet it still supports binary code from 20 years ago.

      With regards to backwards compatibility, you can always run an X server on top of Wayland. It's not even particularly inefficient to do so, because Wayland is such a thin layer.

      Noone ever said you couldn't.

      But the X clients won't integrate well with the native ones and the native ones won't have remoting.

      With regards to not gaining any features, removing X takes away one layer between applications and the screen. /em.

      Except that now DRI works, there is no layer in the way.

      --
      SJW n. One who posts facts.
    23. Re:Trying to solve the wrong problem by JesseMcDonald · · Score: 2

      The "network transparency" objection is a red herring, and it's getting rather tiresome. We're not "losing" network transparency. First, we don't have network transparency now; when nearly every application depends on Xshm and direct rendering for anything resembling reasonable display performance, the fact that you can draw obsolete primitives on the server through X11 core rendering protocol requests is hardly relevant. Remote X11 apps have already been reduced to rendering their windows locally and sending uncompressed pixmaps to the X server. The most basic of all possible remoting protocols for Wayland could hardly be worse than what we already have for X11.

      Second, Wayland is specifically designed to be a local API, basically a front-end for KMS, DRI2, and the input subsystem. It does not define a rendering protocol, either local or remote. A separate layer for forwarding arbitrary Wayland apps across the network has already been prototyped, and should be far more efficient than sending raw pixmaps as remote X11 do due to the use of video compression algorithms.

      As if this wasn't sufficient, it is also possible to implement a remote rendering protocol (like X11 core rendering) which sends only the drawing commands over the network to be rendered locally and then displayed by Wayland. This seems to be what most of the detractors are pushing for, but in practice it's likely to require more bandwidth and have more latency issues than simply rendering the window remotely and streaming the result to the local display as compressed video.

      --
      "The state is that great fiction by which everyone tries to live at the expense of everyone else." - Bastiat
    24. Re:Trying to solve the wrong problem by Hatta · · Score: 1

      The "network transparency" objection is a red herring, and it's getting rather tiresome.

      Guarantee that every Wayland app will work at least as well across the network as X11 apps do today and we'll shut the hell up.

      First, we don't have network transparency now

      Funny, I use it every day. NX is a big help, and I agree that X's network transparency isn't ideal. But that's no reason to toss the baby out with the bathwater.

      Second, Wayland is specifically designed to be a local API, basically a front-end for KMS, DRI2, and the input subsystem. It does not define a rendering protocol, either local or remote.

      Then how can you guarantee that every Wayland app will be compatible with whatever remote rendering protocol becomes standard, if any?

      in practice it's likely to require more bandwidth and have more latency issues than simply rendering the window remotely and streaming the result to the local display as compressed video.

      Do you have data to back that up?

      I would love to be convinced that Wayland will provide superior network transparency to X11. But it doesn't seem like the Wayland developers take network transparency seriously.

      --
      Give me Classic Slashdot or give me death!
    25. Re:Trying to solve the wrong problem by JesseMcDonald · · Score: 1

      Guarantee that every Wayland app will work at least as well across the network as X11 apps do today and we'll shut the hell up.

      What do you want as a guarantee? As someone which is familiar with Wayland's design, though not one of the developers, I have no doubt that any non-trivial remote Gtk or Qt-based application will work at least as well with Wayland on the display side as it currently works with X11. It's basically the same process as X11 apps already use in practice, but with fewer round trips and better compression algorithms.

      First, we don't have network transparency now

      Funny, I use it every day. NX is a big help, and I agree that X's network transparency isn't ideal. But that's no reason to toss the baby out with the bathwater.

      You're missing the point. X works over a network, obviously, but it isn't transparent. Modern toolkits assume that it is cheap to render into pixmaps with DRI and send them (via shared memory) to the server for compositing. This is true in the local case, but not when the client and server are on different systems. When running an X11 app remotely, you don't have direct rendering and pixmaps must be serialized and transferred over the network. The protocol doesn't even allow for compression. NX can cut down on the resource requirements, but once again, that's something you have to manage yourself, on top of the X11 protocol; it isn't transparent.

      Then how can you guarantee that every Wayland app will be compatible with whatever remote rendering protocol becomes standard, if any?

      The current plan for arbitrary Wayland apps is to have two Wayland compositors, one on the client and one on the server. The app supplies frames to the client-side compositor, which compresses them and sends the compressed video to the server. A Wayland app on server decompresses the video and sends it to the server-size Wayland instance, which composites it onto the display. Any app which supports the local Wayland protocol can be remoted in this manner. In this scenario the app does not require any remote rendering protocol; all the rendering is local, and can take advantage of the client's GPU via DRI2.

      Any actual remote rendering protocol, like X11, would obviously require support from the app itself, which in practice means the major toolkits (Gtk and Qt).

      in practice it's likely to require more bandwidth and have more latency issues than simply rendering the window remotely and streaming the result to the local display as compressed video.

      Do you have data to back that up?

      I don't have benchmarks, but it's obvious if you think about it. Rendering a window with OpenGL, as most modern toolkits do, requires textures, depth buffers, mask layers, etc., which may even be higher resolution and/or higher bit-depth than the window itself. Altogether they represent much more data than the final window. A PCIe connection with gigabits per second of bandwidth is required to process them efficiently. Even regarding basic geometry, I understand that current rendering techniques can require more triangles than there are pixels in the final framebuffer. Sending just the final result—the changes in the final result, after motion estimation and video compression—is bound to require less bandwidth than the raw data required to render the same image.

      As for latency, rendering on the server requires copious synchronization and round-trips where a simple video stream needs only one-way communication for display, and perhaps some delay feedback if there is sound involved.

      --
      "The state is that great fiction by which everyone tries to live at the expense of everyone else." - Bastiat
    26. Re:Trying to solve the wrong problem by Anonymous Coward · · Score: 0

      So why haven't you stopped using TCP/IP?

  9. Dump X by Anonymous Coward · · Score: 5, Insightful

    I still think X needs to go. For truely forward thinking, it needs to be replaced. Just look at Andriod. Andriod would not be useful if it was forced to use X.

    Frankly, X does too many things that too few people need. It was designed for a different era and it scales to modern workflows very clumsily. Multi-monitor desktops and gaming on windows is effortless. On X it's frankly a chore.

    Sorry, no, network transperancy is not an important feature anymore. Probalby implemented by .001% of regular users. VNC/RDP style remote access is the way it's done now. An no, nobody cares if it's tehnically inferior. It's hundreds of times easier to implment and use.

    Modern toolkits pretty much ignore 95% of X's built in features an just pass bitmaps.

    Yeah, X has lots of cool things but you have to realize most of them are impractical or unnecessary. Today we really have the memory, computational power, and bandwith to bang whatever we want on to the screen with out any trouble. The latency and overhead X present are the enemies today.

    Now stop. - Yes you, stop. I know you're about to type up a 10 paragraph screed about how you ported X ap to obscure platform Y, or remotely managed 10,000 servers with facial twitches and GTK. Just stop. Your use case does not represent the vast majority of computer users. It doesn't even represent a full fraction of a percent.

    Legacy baggage and clinging to old ideas spawned x.org. The same thing is what will spawn whatever is to replace X.

    1. Re:Dump X by Anonymous Coward · · Score: 0

      I'm sorry, but this is WAY too much honest and brutal truth to be a slashdot comment.

      Or rather, fucking eh! Let's toss X11 on an iceflow already and work on something better. I've more or less given up on Linux game development because X11 is such a cantankerous bitch-hog, which all modern window managers have had to implement work-arounds and addons just to do simple things like rendering TrueType fonts for christ's sake. Please.

    2. Re:Dump X by Anonymous Coward · · Score: 0

      Yes, because in the brave new world of massive networking, what we really need is some crappy graphics API which is unable to display across a network.

      X11 was way ahead of Windows technically, yet now we have innumerable idiots demanding that we throw it away and copy Windows single-device crappy API.

    3. Re:Dump X by Anonymous Coward · · Score: 0

      Cue one person who may have actually used this mainframe-timeshare style of computing. I've been using Linux for over a decade and I've never seen an implementation of network-based X11 terminals in real life, ever. Some school in Germany may have fussed with it a decade ago.

      Can X11 show HD video over it's network protocol? Can you play a game or use a CAD/3D application with full speed on that protocol? Just because something is technically superior, it doesn't mean anything if it can't meet the needs of most users. Pragmatism is lost on the community far too often.

      If you ever want to see the 'year of the Linux desktop', we need to ditch this technically-superior but useless to most mentality and just do something that *works*.

    4. Re:Dump X by Anonymous Coward · · Score: 3, Insightful

      This is a lot of FUD.

      Android. Look at the N9 with an award winning UI. It uses X and is really cool (on outdated hardware).

      Network transparency is really useful. VNC/RDP sucks compared to X. And I don't see how it is
      easier to use than X. Maybe there are more GUI for it that make it easier for beginners, but that
      is not for any technical reasons.

      I don't see what overhead X causes. I worked fine decades ago. Latency is an issue over the network,
      but only because the toolkits never cared about that. It's not a problem on a LAN and can also
      be solved with a (local) proxy.

      My use case does not interest you? That was never the Linux philosophy. Please go back to Windows.

      Legacy baggage. There is no legacy baggage. There are some APIs which are not used anymore by
      modern application, but that does not hurt anybody.

    5. Re:Dump X by deek · · Score: 2

      I agree that we need to come up with a brand new system to handle today's graphics systems. That's what Wayland is for, and why it's such an interesting project. It is not legacy baggage, but a ground up designed system. You have heard of it, haven't you? Seems like every Linux user and their dog knows about it these days.

      Also, I'm very glad that Wayland is implementing an X compatibility layer. I'm one of those fraction of a percent that use and enjoy network transparency. It would annoy the hell out of me if I had to run a full graphic system on the servers I manage, and then use VNC to connect to them. It's just so much nicer to ssh into the machine, run the program, and have it appear directly on my screen. Never mind that I like keeping a minimal amount of packages installed on the servers. I try to keep it simple.

      By the way, if we have the memory, computational power, and bandwidth, why are you so worried about X overhead and latency? Surely they become marginal with more resources.

    6. Re:Dump X by agrif · · Score: 1, Informative

      Wayland has an X compatibility layer, sure, but you may also be pleased to know that there are efforts underway to get native Wayland network transparency.

      See, the cool thing about wayland is the protocol is written to be flexible enough to have some other program handle the network transparency part, seamlessly. It's not part of the core design of wayland simply because it doesn't have to be in the core at all.

      An added bonus of this flexibility is the ability to do network-tranpsarency things that even X couldn't do, like move a window from one screen to another, possibly on another computer entirely. Yes, I'm serious. It's awesome.

    7. Re:Dump X by Anonymous Coward · · Score: 0

      Well, or it is not as simple:

      http://www.jakemp.org/posts/2011/8/14/turns-out-its-not-as-simple-as-i-thought.html

      I think network transparency has to build in at the core or it will always suck. The other problem
      is that a new protocol will not be backwards or forwards compatible.

      Also, X can move windows from screen to another without a problem. Most toolkits don't support it,
      but there has been extensions/patches around for a while.

      You know X may have some outdated APIs which are not used anymore, but it is actually a nice
      and extensible. Everthing Wayland can do could also be added to X as an extension (see Wayland
      FAQ). So giving up more than a decade of backwards compatibility for *less* features stupid.

    8. Re:Dump X by deek · · Score: 1

      That ... is awesome news! Thanks for that information. I hadn't heard anything about it.

      The X compatibility layer will still be useful regardless, but I'm very glad to hear that Wayland will likely have network transparency as well. The more I hear about this system, the more I'm liking it.

    9. Re:Dump X by agrif · · Score: 1

      The feature I was referring to was demo'd here, where the presenter forwards a window from one display to the other, ending up with the same window on two displays. This is local in the demo, but he says that it's transferring graphics data over the network and I have no reason to not believe him. This presentation is from last month, almost a year after the blog post you linked.

      Also, X can move windows from screen to another without a problem. Most toolkits don't support it, but there has been extensions/patches around for a while.

      I was not aware that this was a feature of X, but I would like to point out that this is not an *extension* of Wayland doing this, it's just a normal use of the Wayland protocol. It doesn't need special support in window managers or applications. This might also be true of X window forwarding, but you mentioned extensions/patches so it doesn't sound like it.

      You know X may have some outdated APIs which are not used anymore, but it is actually a nice and extensible. Everthing Wayland can do could also be added to X as an extension (see Wayland FAQ). So giving up more than a decade of backwards compatibility for *less* features stupid.

      You will still be able to run X programs with Wayland. It's just a matter of running an X server that speaks the Wayland protocol as well. That's not giving up backwards compatibility. In fact, the demo uses an X11 program (IIRC).

      Just because it can be added to X doesn't mean that's the best solution. X badly needs a cleanup, there is a lot of dead weight there and using Xlib is a pain in the ass. That's a breaking change no matter how you look at it. Most of what X used to do has been pushed into other libraries that do it better (like freetype, cairo, opengl, and kernel mode setting), and it no longer makes sense for there to be a central proxy server sitting in the middle and managing it all. If you get rid of X entirely, the only thing missing is a little bit of glue for applications to talk to window managers, and the Wayland protocol provides that. It's a much simpler model that provides the same features.

    10. Re:Dump X by pipatron · · Score: 2

      If you ever want to see the 'year of the Linux desktop', we need to ditch this technically-superior but useless to most mentality and just do something that *works*.

      If you ditch the technically-superior bit in order to play games more easily, you'll have a cheap copy of Windows on the desktop, not Linux.

      If that's what you want, it's already available at piratebay. (Or what the heck, even a legally obtained copy of Windows is "free" for most people.)

      --
      c++; /* this makes c bigger but returns the old value */
    11. Re:Dump X by Alomex · · Score: 0

      Android. Look at the N9 with an award winning UI. It uses X and is really cool (on outdated hardware).

      From wikipedia:

      Android does not have a native X Window System by default nor does it support the full set of standard GNU libraries

    12. Re:Dump X by epyT-R · · Score: 1

      1. android is not a valid comparison. A cellphone is not comparable to a computer desktop of 1993 or 2013, the latter two being quite similar in many respects compared with android.

      2. define modern workflow please. when I think 'modern workflow', I think many applications open at once, multimonitor support, and remote screen capability. of course, what most people think 'modern workflow' means today is forced full screen one-window-at-a-time ala unity or gnome3 (or windows 8). if this is what you meant by modern workflow, please do us all a favor and use one of those. The rest of us need desktops that are more powerful than a tabletOS graft.

      3. modern toolkits are also bloated and buggy too. there's no reason for a simple media player to take dozens of megabytes of ram just to display a window and play a music file. If you want to kill bloat, start with the toolkits first, then the backend stuff written in interpreted languages, then maybe worry about X.

      4. most of the latency comes from what sits on top of X these days, not X itself. those opengl 'enhanced' window managers are a HUGE lagfest compared with conventional 2D blitting from X. Since most popular distros now ship with them enabled (often on reverse engineered drivers), it doesn't surprise me that most people attribute the performance problems with X.

      5. no I wasn't. I was talking from experience of using X on one to two monitors on a single desktop system over the years, starting from 1996-present.

      6. old, new, doesn't matter. what matters is whether they are good ideas. a lot of what passes for 'new and improved' these days doesn't seem to hold up to the promise, yet takes more and more resources. I agree with you though: bloat is a big problem these days and it needs to be addressed, but X isn't anywhere near the top of the list.

    13. Re:Dump X by Anonymous Coward · · Score: 0

      "Latency is an issue over the network, but only because the toolkits never cared about that."

      Remote display worked fine over 19200 baud connections back in the day. But that was before GTK and QT.

      The toolkits apparently do a lot of synchronous handshaking with the server. The toolkit developers should have tested their stuff with a 100-millisecond latency emulator.

    14. Re:Dump X by mlw4428 · · Score: 1

      "If that's what you want, it's already available at piratebay. (Or what the heck, even a legally obtained copy of Windows is "free" for most people.)" Which goes totally against the "we can make Linux what we want" mentality that makes it great to begin with.

    15. Re:Dump X by Anonymous Coward · · Score: 0

      you are wrong.

      me, and the dozen people in who work in my lab all use networked X every day. we are in no way unusual. this is a common thing. just because you don't personally use something and don't have the imagination to understand why you would need it, does not make it useless or a corner case.

      so fuck off mr. troll.

    16. Re:Dump X by Anonymous Coward · · Score: 0

      > VNC/RDP sucks compared to X

      Completely wrong. RDP shits all over X11's face as a remote GUI protocol in every way. The only reason RDP "sucks" is because seamless windowing requires $$$$.

      Wait until Wayland supports remoting .... you will be sorry you ever wasted your time with X's bloated 1985 garbage.

    17. Re:Dump X by Kidbro · · Score: 1

      [citation needed]

      Every X-user I know uses network transparency. And given your numbers and estimated number of people using X for their desktop, I apparently know every single network transparency using person in the world, and then some.

      It is much more common than you think, apparently.

    18. Re:Dump X by Kidbro · · Score: 1

      There is no conflict between what you say, and what GP says. Android does not natively support X. The N9 does, because Nokia implemented it themselves. Its UI is award winning (whatever that means), presumably proving that X does just fine on a handheld device, contrary to OP's point.

    19. Re:Dump X by aztracker1 · · Score: 1

      Why have gui programs on your servers to begin with? I keep hearing this touted as the biggest reason for keeping X over Wayland, but still fail to see WTF you are running on the server like this?

      --
      Michael J. Ryan - tracker1.info
    20. Re:Dump X by Anonymous Coward · · Score: 0

      What many of us are worried about is being able to run Wayland programs under X. Transparently, not some crap like RDP or VNC desktop window.

      Because we fear that both KDE and Gnome will switch to Wayland at some point.

      In short, we are worried that those of us not running Wayland will be back to what not running Windows meant in 1991.

    21. Re:Dump X by wer32r · · Score: 1
      Oh.. Here you make A LOT of claims without citing credible sources (or any sources for that matter)...

      Andriod would not be useful if it was forced to use X. [citation needed]

      Sorry, no, network transperancy is not an important feature anymore. Probalby implemented by .001% of regular users. [citation needed]

      An no, nobody cares if it's tehnically inferior. It's hundreds of times easier to implment and use. [citation needed]

      Modern toolkits pretty much ignore 95% of X's built in features [citation needed]

      Now stop. - Yes you, stop. I know you're about to type up a 10 paragraph screed about how you ported X ap to obscure platform Y, or remotely managed 10,000 servers with facial twitches and GTK.

      Actually, that was not what I was about to type, but still:

      Your use case does not represent the vast majority of computer users. It doesn't even represent a full fraction of a percent. [citation needed]

      (my emphasis)

    22. Re:Dump X by Anonymous Coward · · Score: 0

      Actually they should use an emulator that adds 50ms outbound from the server and 150ms inbound from the client. So that it will simulate most ADSL/Cable connections.

    23. Re:Dump X by Anonymous Coward · · Score: 1

      Multi-monitor desktops and gaming on windows is effortless. On X it's frankly a chore.

      Use Windows, then! Seriously, if Windows is effortless for the things you care about, why the fuck do you not just use that? Why are you so obsessed with taking something that isn't suitable for your needs (but is ideal for its current users) and forcing it to change into what you want (but its current users do not), when the thing you want already exists elsewhere?

      Just stop. Your use case does not represent the vast majority of computer users.

      The vast majority of computer users don't care about multi-monitor desktops or full-screen games, either, so you're being rather hypocritical here. The vast majority of computer users just want something like an iPad. Linux isn't suitable for them? No fucking shit, Sherlock! Nor is Windows HPC Server. And I know you'll find this hard to believe, but it turns out that a car is more suitable for their daily commute than an aircraft carrier!

      Look, this isn't rocket science.

      Today, desktop Linux has a niche. Nothing else fits that niche. Linux fills it very well and meets real people's real needs.

      People like you are desperate for some reason to take Linux out of that niche and turn it into a poor man's Windows. You are quite happy, in the process, to destroy everything that makes Linux useful to its current users, and leave them without anything that meets their needs. And then what? Linux will still be a poor man's Windows. Everyone who wants Windows will still prefer Windows.

      So what then? Will you argue that Linux is open source? Big fucking deal, since the number of users who care about access to source code is frankly even smaller than the number of users who care about network transparency. That it's more secure? Big fucking deal, since everyone is so indoctrinated in the Microsoft way that many are reluctant to consider Linux today since it doesn't come with a big flashing thing claiming to be anti-virus. That it's free as in beer? Big fucking deal, since the cost of Windows is minuscule compared to the cost of the hardware.

      The Linux you are desperate to create is a Linux that nobody actually wants. The "real users" you constantly invoke could not care less about the Linux of your dreams. Instead, you will destroy a useful platform and replace it with something worthless. What exactly is the good side of this supposed to be?

    24. Re:Dump X by ArsenneLupin · · Score: 1

      Multi-monitor desktops and gaming on windows is effortless. On X it's frankly a chore.

      If you truly think that windows is so much superior, why don't you fucking stay with windows rather than trying to convince people to make Linux as broken as Windows. We already have way to much crap such as this in Firefox because of people like you. We don't want background apps that steal our focus while doing important work. We want a browser history feature that works, even if some banks think otherwise. We want to have control over our window sizes. We want to be sure that the text shown as selected is indeed the text that will get pasted. We want error messages that tell as the real cause of an issue, rather than sending us on a wild goose chase.

      These have been broken because at some point in time it was 'how it "works" on windows'. Funny thing is, in the meantime, windows has eventually seen that some of these were bad ideas, partly fixed the issues, but in Linux and Firefox we're still stuck with them.

    25. Re:Dump X by serviscope_minor · · Score: 1

      Mod me down, I have karma to burn.

      The reason X fans jump to the defense of X is not because it's perfect: few would dispute that X has flaws. It's because the Wayland fanbois tell us that (a) we represent 1e-308% of the users and therefore should basically go to hell and (b) make up weird stuff about how X11 is deficient that is basically not true.

      --
      SJW n. One who posts facts.
    26. Re:Dump X by serviscope_minor · · Score: 1

      If you truly think that windows is so much superior, why don't you fucking stay with windows rather than trying to convince people to make Linux as broken as Windows.

      YES!

      Windows and OSX are there for those who want them. I use Linux not because I'm too stingy to pay for a quality OS, I use it because it is the superior solution.

      --
      SJW n. One who posts facts.
    27. Re:Dump X by Alomex · · Score: 1

      tell us that (a) we represent 1e-308% of the users and therefore should basically go to hell

      Wayland has an X11 compatibility mode. So in what sense is that a "go to hell message"?

      make up weird stuff about how X11 is deficient that is basically not true.

      The two modern versions of *nix, namely OSX and Android ditched X. That alone should tell you a lot about it.

      But if you go back and look at the design specifications of X around which the architecture was developed you'll see why it is the wrong tool for the job. It was designed for remote terminal window manager with thin client aspirations. These are not the main uses of X today, so it is not surprising that it is found to be fundamentally deficient by people who peek under the hood.

    28. Re:Dump X by serviscope_minor · · Score: 2

      Wayland has an X11 compatibility mode. So in what sense is that a "go to hell message"?

      Have you ever used an "x11 compatibility layer" on e.g. OSX or Windows.

      They suck, because the integration between X and non X sucks. They suck because you cant use an X11 window manager to manage native windows. They suck because native windows can't be remoted using X11.

      Basically it makes X11 programs bastard red headed stepchildren and doesn't work nearly as well as using a single system.

      The two modern versions of *nix, namely OSX and Android ditched X. That alone should tell you a lot about it.

      In what way is OSX modern? The kernel is (for instance) of a paleolithic design, and terribly poor performance. And my 700MHz androd is laggy as hell half the time. And neither support arbitrary window management schemes. The userland libc on android is ridiculous and cut down in the silliest of ways.

      Having use both systems quite extensively, it tells me that we're much better sticking off with X.

      These are not the main uses of X today,

      Remember where I said: "tell us that (a) we represent 1e-308% of the users and therefore should basically go to hell."

      You're basically telling me (again) that I represent a tiny fraction of the users and should therefore go to hell. And you wonder why X fans get cross.

      Please stop telling me that I should change to a system that doesn't support my workflow because *you* don't use the same workflow as me.

      Anyway, you've failed to provide any logical reason as to why X11 is deficient.

      --
      SJW n. One who posts facts.
    29. Re:Dump X by Hatta · · Score: 1

      Sorry, no, network transperancy is not an important feature anymore.

      Fuck you. The internet is a bigger part of our lives today than it has ever been, and you think network transparency is unimportant? What the fuck is wrong with you?

      --
      Give me Classic Slashdot or give me death!
    30. Re:Dump X by Hatta · · Score: 1

      Also, I'm very glad that Wayland is implementing an X compatibility layer.

      This is not an adequate solution by any stretch of the imagination. If Wayland succeeds, future apps will be built on Wayland directly, and not be able to take advantage of the X11 layer. If network transparency is not an inherent feature of Wayland -- that is if we can't expect every Wayland app to support it, just by the fact that it's Wayland (the way we can with X today) -- it's a huge step backwards.

      --
      Give me Classic Slashdot or give me death!
    31. Re:Dump X by Hatta · · Score: 1

      I run things like R on a server with much more memory than my workstation and have it display over X forwarding.

      --
      Give me Classic Slashdot or give me death!
    32. Re:Dump X by Anonymous Coward · · Score: 1

      N9 != Android; GGP said "Just look at Andriod. Andriod would not be useful if it was forced to use X.", so GP pointed out the N9 as a damn good Android competitor that does use X11 and doesn't suck or "not be useful".

    33. Re:Dump X by drinkypoo · · Score: 1

      Well, I don't want to see it go away, and I don't see any good reason for it to go away (what, we're not going to pass messages any more? I'll believe it when I see it) but hardly anyone displays just an app any more, it's mostly a whole desktop. And I'm sure VNC will work with Wayland.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    34. Re:Dump X by EvanED · · Score: 1

      Cue one person who may have actually used this mainframe-timeshare style of computing. I've been using Linux for over a decade and I've never seen an implementation of network-based X11 terminals in real life, ever. Some school in Germany may have fussed with it a decade ago.

      To be fair, I have used X11's network transparency on several occasions, and it's not to deal with mainframe-timeshare stuff: it's to just run a program over SSH.

      Yes, there are other ways of doing it, with VNC and whatever. But I've never bothered to figure out how to set that up. Why? Because ssh -X something and ssh -Y something are quick, easy, and easy to remember (-X to get X).

      You don't need to be in the thin client mindset to want network transparency. (That said, I could almost not care less if it goes away. I only use that once a month at most, and even less rarely is it actually important that it works.)

    35. Re:Dump X by Hatta · · Score: 1

      hardly anyone displays just an app any more

      I do.

      And I'm sure VNC will work with Wayland.

      Yeah, a desktop in a desktop. That's not a hackish workaround or anything.

      --
      Give me Classic Slashdot or give me death!
    36. Re:Dump X by makomk · · Score: 1

      That's basically Wayland in a nutshell though - it's simple because they've left all the hard parts, such as network transparency, for someone else to deal with. Then because they've designed the thing on the assumption that they don't have to worry about network transparency it's wound up with a whole bunch of design choices that make it hard to forward over the network.

    37. Re:Dump X by kenaaker · · Score: 1
      The last time I messed with this (long ago), I put a gtk application through xscope. Before the window materialized there were thousands of calls to XGetGeometry (which is a synchronous operation). The answer was always the same.

      Just sloppy.

    38. Re:Dump X by Anonymous Coward · · Score: 0

      Another highly-regarded opinion that will guarantee Linux will never get anywhere. 'If you don't like our broken 20 year old thin client terminal windowing environment', just use Winblowz you luser!'

      Fuck you.

    39. Re:Dump X by cynyr · · Score: 1

      3d works ok over gigabit, CAD should work better than a game*. HD video is probably not going to work, but then again it seems like something could be done to handle these cases better, and if wayland doesn't even let me use Xterm it's not likely i'll be all that interested.

      *side note, care to share a cad system for linux that can speak inventor and solidworks and isn't $XX,XXX Pro-E (if they still have a linux version) that is a bottom up parametric solid modeler. No blender does not count.

      --
      All of the above was encrypted with a Quad ROT-13 method. Unauthorized decryption is in violation of the DMCA.
    40. Re:Dump X by deek · · Score: 1

      Third party software. For the most part, I administer everything via the command line. There are some third party systems that use an X GUI for configuration. Thus I need network transparency.

  10. deeply technical by manu0601 · · Score: 1

    It is a bit unusual to craft a news entry with deeply technical stuff taken from project mailing lists. What is _NET_WM_STATE_FULLSCREEN_EXCLUSIVE? A flag in some protocol?

    1. Re:deeply technical by Rockoon · · Score: 2

      The issue is that some programs change the screen resolution, and different programs take notice and rearrange their windows and icons when a screen resolution change notification takes place.

      The problem is that there are no semantics in X that allow a program to change the screen resolution while NOT causing those other programs to do stuff.

      This new flag is to signal these semantics. "Hey, we are changing the resolution, but we have this new idea called Exclusive Control over the display, so nobody needs to know that we did it because they cant render themselves anyways"

      ..and thus, those different programs never see the resolution change and therefore do not destroy the users chosen window and icon layout in their attempt to "fit" the temporary resolution that never should have mattered to them to begin with.

      --
      "His name was James Damore."
    2. Re:deeply technical by manu0601 · · Score: 1

      And the flag is passed to an API? (libX11 level? higher?), or it lives within the X11 protocol? Or both? I understand the background, I was just saying it was weird to use a flag name as being #define'ed in source code without the context required for it to make any sense.

    3. Re:deeply technical by jedidiah · · Score: 1

      I dunno. If a game is running amok because gamers and game programmers suffer from an 80s mentality that a computer is a game console, then perhaps you don't want the rest of the GUI acknowledging this foolishness.

      The fact that games on Linux don't scramble my desktop like they do under Windows IS ACTUALLY A GOOD THING.

      Even with the status quo, cleaning up after a game run amok is less bothersome under Linux.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    4. Re:deeply technical by Anonymous Coward · · Score: 1

      In X, you can assign what amounts to key/value string pairs on windows. These are the "hints". There are some existing ones in use today, including for a fullscreen window. This all requires cooperation between the app and the WM. App sets key/value pairs, WM adapts behavior accordingly.

      So the proposal is a new key/value pair (or possibly set of pairs) that better communicates intent than the current one for fullscreen.

    5. Re:deeply technical by Rockoon · · Score: 1

      The fact that games on Linux don't scramble my desktop like they do under Windows IS ACTUALLY A GOOD THING.

      The desktop is being scrambled because for various reasons the shell doesnt treat the resolution change as only temporary. You seem to be arguing against the wrong thing. You are arguing against a signal which indicates the resolution change is temporary, by pointing to a shell that disregards that signal.

      Whether or not the shell should disregard that signal is a completely different discussion. Clearly the stock windows explorer shell ignores that signal to some extent, but that isnt an argument against the signal.

      --
      "His name was James Damore."
  11. Make it a library! by Kenja · · Score: 1

    And then make sure that different versions of it cant coexist on the same system and cant run each others code. Perhaps change all the method calls every build.

    --

    "Have you ever thought about just turning off the TV, sitting down with your kids, and hitting them?"
  12. Re: rendering lower then scaling up to native by brion · · Score: 5, Interesting

    This is exactly how some games work on Mac OS X, for instance Source-based games like Portal and Half-Life 2. They don't muck with the actual screen resolution, but just render into an offscreen buffer at whatever resolution ant blit it stretched to the full screen. Switching from the game back to other apps doesn't disturb the desktop in any way. Would definitely love to see more Linux games using this technique.

    --

    Chu vi parolas Vikipedion?

  13. Easy Fix by ryanw · · Score: 1

    When a game starts, it wants the entire desktop, it doesn't want the other desktop elements at all, no dock, no icons, interaction, etc.

    Why isn't there a function to create a new virtual desktop at any resolution you want and leave the other desktop untouched? So when you switch between them it knows to switch resolutions as well. Have the resolution tag part of the desktop, so when you switch between them it knows what to switch to.

    Seems like an easy fix.

    1. Re:Easy Fix by PPH · · Score: 0

      When a game starts, it wants the entire desktop,

      I don't want it to have the entire desktop. I'm using it for other stuff as well. If you need the entire desktop, get a PS3.

      --
      Have gnu, will travel.
    2. Re:Easy Fix by Anonymous Coward · · Score: 0

      This is something I completely don't understand. If I'm playing a game, I'm playing the game, 90% of the time, I keep it fullscreen, unless the loading screens are long enough to warrant a reddit check every now and again. What else are you doing on your computer while you play that game? Unless you're talking about small games like solitaire or minesweeper.

    3. Re:Easy Fix by Anonymous Coward · · Score: 0

      If you need the entire desktop, get a PS3.

      "If I don't use that feature, no one else should be allowed to"

    4. Re:Easy Fix by PPH · · Score: 1

      What else are you doing on your computer while you play that game?

      Working, posting snarky comments on Slashdot, etc.

      --
      Have gnu, will travel.
    5. Re:Easy Fix by PPH · · Score: 1

      I'm replying to the "game wants the entire desktop so it takes it" comment. If I want to expand an app to the full screen, fine. That's my choice. But if I don't want to, then the developers should damned well figure out how to write 'well behaved' apps.

      --
      Have gnu, will travel.
    6. Re:Easy Fix by tepples · · Score: 1

      So what if I want to grant the entire desktop to a game from a developer to whom Sony won't give the time of day?

    7. Re:Easy Fix by Anonymous Coward · · Score: 0

      But apparently not playing a game.

    8. Re:Easy Fix by Qzukk · · Score: 1

      What else are you doing on your computer while you play that game?

      Alt-tabbing to gamefaqs, at least on games where that's not a one-way trip.

      --
      If I have been able to see further than others, it is because I bought a pair of binoculars.
  14. Horrible idea! by Anonymous Coward · · Score: 0

    Linux is a serious OS, it shouldn't pander to those Windows-raised babies that use computers for trivial shit like gaming.

    Quick solution? Strip 3D graphics HW support from all X11 drivers. Problem solved.

    1. Re:Horrible idea! by Anonymous Coward · · Score: 0

      Right on, computers shouldn't let people use them for what they want. Gaming is just for losers who should get back to work. Full screen presentations aren't needed, because that is only used by marketing types, and marketing is just BS anyways. Video displays and editing is also more useless screwing around and not productive in the slightest, and no one needs that because they can just get a DVD player and a TV. 3D modeling, design and data displays are only used by people who went to art school, and nothing they do amounts to anything. Engineers can do real work with just 2D projections.

      It is clear now, Linux has a golden opportunity to bring the walled garden paradigm to desktop computers. Less is more, right? Actually, why do you need X11 anyway,shouldn't you just be booting straight into Emacs or VI?

    2. Re:Horrible idea! by narcc · · Score: 1

      Full screen presentations aren't needed

      There are some users here that have a pathological hatred for maximized windows -- just hearing about full screen, to them, is like getting raped by Satan.

      These guys don't believe you can do anything productive without at least 7 36" monitors, with 15 or so windows arranged in each.

      I have little doubt that they'd try to give a presentation on their dedicated presentation monitor (one of those old, microscopic, 21" LCDs) in a window that takes up about 25% of the display.

      Be careful. They tend to bite if they're not handled a few times a week.

  15. The only problem as far as I'm concerned by Anonymous Coward · · Score: 0

    The only problem as far as I'm concerned is SDL's god-awful and inconsistent handling of input when in fullscreen mode.

    They go out of their way use "raw input" methods which disable conveniences like alt-tab.
    And if you're using SDL_ShowCursor(0) in fullscreen, woe onto you if you're using something like a tablet in a game like civilisation, as the cursor will be constantly offset by several thousand pixels each update. (I believe they blame the X guys, but this is SDL's fault, pure and simple)

    And the first was an absolute pain in the ass a few years back too.
    SDL_Mixer, thanks to racing condition bugs, happened to fuck with memory allocated to the NVIDIA driver and lock up various fullscreen applications too.

    As a result, I've been conditioned to run everything windowed...
    And Ryan Gordon, What the hell where you thinking by making your ports (like Aquaria) exhibit this exact same inane behaviour in windowed mode!?

    This is one case where I'm with Martin and the Wayland guys, "fullscreen games" should render into an appropriately sized offscreen buffer which is then blit onto the screen. It's sweet, simple, has little overhead, and if you happen to still have a CRT, it even avoids the moire patterns with low resolutions.

    captcha: evident

    1. Re:The only problem as far as I'm concerned by Anonymous Coward · · Score: 0

      A large amount (all?) of those input inconsistencies when SDL fullscreen have to do specifically with X never providing a proper way to go fullscreen, which this proposal is trying to fix.

    2. Re:The only problem as far as I'm concerned by Anonymous Coward · · Score: 0

      It's specific to SDL literally hogging input. X has no concept of a fullscreen window, it's literally just a window with hints to have no border, stay on top, and it's large enough to cover the whole screen's view port.
      Input is completely unrelated to that fact, SDL just has an exceptionally retarded way of handling it, and usually it's only when the application is launched in fullscreen.

  16. Re:CRT's -- Simple fix. by Anonymous Coward · · Score: 2, Funny

    Force ALL games to run at 640x480 -- problem solved.

    Except for those i386 Linux systems who are trying to run Half Life 2 .. perhaps we should lower that resolution to 320x240, just to guarantee we're not butting heads with the window manager. After all, the first goal of every Linux game designer should be to ensure the tail log window you're running is properly proportioned at all times.

  17. Sam Lantinga (from Loki Games) by mattdm · · Score: 4, Informative

    I don't know if kids today remember, but Loki Games was one of the first commercial plays for big name games on Linux. Ended in tragic business troubles and financial doom.

    It warms my heart to see that Sam Lantinga is still working on SDL.

    That is all.

    1. Re:Sam Lantinga (from Loki Games) by bootkiller · · Score: 3, Informative

      Is also working on Valve Linux team now.

    2. Re:Sam Lantinga (from Loki Games) by game+kid · · Score: 1

      I have had the feed of the SDL Mercurial changelog on watch for a good while, from back when I felt I could make a game with SDL within a reasonably short time.

      Times changed, assorted Shit Happened (both within and without my PC), and my SDL tinkery and SVG tinkery became Blender tinkery (short YouTube video of mine) became "fuck this I'll just play some Torchlight and roughly build a witch there instead", but I still had the feed on watch and saw a relevant change. The summary had a different tone from the many other changes I've seen before, enough to make me think "Something big will come from this." Then I closed the feed tab and went back to whatever the hell I was doing, I forget.

      I admire Sam Lantinga's work (and patience) with SDL, given the collective trouble the various OSes bring. Many of the recent changes were for iOS...that must've been fun.

      --
      You can hold down the "B" button for continuous firing.
    3. Re:Sam Lantinga (from Loki Games) by dbIII · · Score: 1

      That was the story of just about every other promising startup at that time.
      They were on track but the tech market took a dive and guys feeding them money to grow pulled out.

  18. Wayland. by Anonymous Coward · · Score: 0

    This is exactly the sort of case where Wayland should be used instead of patching around problems in X11 and/or window managers.

    Yes, there are the huge amounts of servers where XWayland can still be used.
    For many many users and use-cases X11 just needs to die, finally.

    1. Re:Wayland. by laffer1 · · Score: 1

      When Wayland supports !linux, it can be considered.

    2. Re:Wayland. by Anonymous Coward · · Score: 0

      wayland isn't needed.. it's to X what systemd is to sysvinit.. uneeded, unwanted, and comes with a ton of annoying acolytes.

  19. Re: rendering lower then scaling up to native by sunderland56 · · Score: 3, Informative

    This works - but wastes both ram space and performance.

  20. Eveything sucks and they're all doin' it wrong by Corwn+of+Amber · · Score: 1

    Get it fucking right.

    Even Windows had it right by the time of XP SP1, when no game worth even pirating actually broke anything when changing resolution.

    Ho comes Linux can't do that?

    Yeah, I know some answers. Fuck those answers. I can install HackOSX on the same machine and it works even better even when it's not even supposed to.

    That speaks of QUALITY.

    Linux's state of hardware 3D support and everything that needs for it to Just Work Right fucking SUCKS, and that this article exists is a symptom of that. A band-aid on a wooden leg, a hack on top of a hack, and nothing works right anyway.

    That's actually the one first reason I hate using Linux. One more datapoint in the graphs, but I know I'm not exceptional enough that I'm not in a statistically-significant place. Are YOU that arrogant? Do you deserve to?

    Games shouldn't need to change resolutions in the first place. If the real unemasculated cards were sold at reasonable prices, everyone could play every current game at native resolution in the year they come out, and next ones at native res and lessened candy.

    Lolno not gonna happen. It's not like I don't know it. But that's what we deserve for spending money on things. A graph card that can't display current games at native resolutions is a scam deserving of a class-action for damages beyond bankruptcy until one company (or some Open Design) gets it right.

    Just so that we use tech the way it's designed to be used.

    --
    Making laws based on opinions that stem up from false informations leads to witch hunts.
    1. Re:Eveything sucks and they're all doin' it wrong by Anonymous Coward · · Score: 0

      I hope to goodness that English is a second language for you. Most of that didn't even make sense.

    2. Re:Eveything sucks and they're all doin' it wrong by serviscope_minor · · Score: 1

      I can install HackOSX on the same machine and it works even better even when it's not even supposed to.

      That's actually the one first reason I hate using Linux.

      Then don't use Linux, simple. And please let the rest of us who actually prefer it enjoy it in peace.

      --
      SJW n. One who posts facts.
    3. Re:Eveything sucks and they're all doin' it wrong by Corwn+of+Amber · · Score: 1

      You're right, English is my second language. What I was saying isn't worth the effort to parse something so badly-written.
      I was drunk and willing to rant about how Linux still sucks at hardware 3D, always has, how games shouldn't need to switch resolution, how THAT is caused by how the hardware is either grossly underperforming or ridiculously expensive, and how MacOSX is done so much better than Linux that Hackintoshes work better than any distro's default install.

      --
      Making laws based on opinions that stem up from false informations leads to witch hunts.
    4. Re:Eveything sucks and they're all doin' it wrong by drinkypoo · · Score: 1

      Even Windows had it right by the time of XP SP1, when no game worth even pirating actually broke anything when changing resolution.

      But you're full of shit. I have had endless games which changed the resolution and didn't change it back, sometimes literally leaving me with a 320x2something desktop which I didn't even think was possible. That this still happens on Linux today is pathetic, but that doesn't change the fact that Windows did the same kinds of crap.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  21. Every time I read about X11 problems by Anonymous Coward · · Score: 0

    I think....you guys have heard of the Windows 7 distro from Microsoft right?

    1. Re:Every time I read about X11 problems by dbIII · · Score: 1

      I think....you guys have heard of the Windows 7 distro from Microsoft right?

      Yes. I have about a dozen people running that with X on top (XWin32) so they can run scientific software on a cluster as well as applications that only run on MS Windows.
      Why don't you guys actually find out what X is before you attempt to lecture us about alternatives?

  22. Well.. by Anonymous Coward · · Score: 0

    As a hardcore gamer and extreme noob to linux...

    I gotta say who the fuck knows what this means... it don't mean shit to me...

    Sounds like linux is finally figuring out something that everyone else has had working since the early days of multitasking...
    took 20 years to copy it eh?

    1. Re:Well.. by Anonymous Coward · · Score: 0

      Well the funny thing to me is, this doesn't affect me under windowmaker, but affects me greatly under desktop environments, where if you have too many widgets on the taskbar when you switch, and then switch back, they end up in a different order than they were in originally (especially annoying when you locked all of them so they WOULDN'T move).

      On the other hand, windowmaker already handles this correctly. Even if the game crashes the worst thing you have to do is open a terminal and do 'xrandr -s 0' and everything pops back as it should be. Mind you the downside of this is that windows may be positions off your screen until you restore the original screen resolution, kill them and restart, or use whatever magic key/function magnets them back into your current viewport (I have for example 'lost' windows after saving a session while running dual monitor, then starting up the following time in single monitor mode. All the additional windows retained their positions outside of my current viewing area. I'm not positive if that was a WM or X windows issue (I may not have disabled the 2nd monitor in my xorg.conf file.)

      Point is, while it's nice that there's a fix for this problem being offered, it's honestly pretty trivial for anyone who has avoided falling into the mismanged fap that is 'Desktop Enviroments' on linux.

      And yes I meant fap. Because DEs on linux for the most part are one big circle jerk of egos.

  23. Windows has similar problem by detain · · Score: 1

    I'm glad they have a fix for this issue but it isnt one exclusive to X11. Try loading a fullscreen game at an alternate resolution on a multi-screen desktop in windows and you will see the other screens get all messed up

    --
    http://interserver.net/
    1. Re:Windows has similar problem by detain · · Score: 1

      Windows does however let you run windowed but take up the fullscreen to get around this problem (as opposed to running fullscreen). However, doing this won't let you run at alternate resolutions.

      --
      http://interserver.net/
  24. Re:Perfect fix that works every time: by Black+Parrot · · Score: 1

    Switch to OS X or Windows and dump Linsux already.

    Actually, I keep a Windows box to use for gaming. Linux works just fine for everything else.

    (And would probably work just fine for gaming, if anyone would bother making games for it.)

    --
    Sheesh, evil *and* a jerk. -- Jade
  25. Run a dedicated X-server by smugfunt · · Score: 3, Interesting

    Not sure what 'mess' is referred to in the title but I sidestepped the issues I met with Baldur's Gate by running it in its own X-server on a separate VT.
    As I recall it just took a simple script to start the server and the game, and one extra command to make the mouse cursor less fugly. My main desktop remained completely undisturbed and just an Alt-F7 away. A little polish and this approach could be a good general solution, no?

    1. Re:Run a dedicated X-server by kwalker · · Score: 1

      Possibly, but you would have to post the script first (hint hint).

      --
      ... And so it comes to this.
    2. Re:Run a dedicated X-server by Anonymous Coward · · Score: 0

      Sadly, a lot of recent changes from the "let's turn Linux into Windows!" brigade have conspired to make this solution much harder.

      For example, with recent versions of ConsoleKit, it is now extremely difficult to get sound working in secondary X servers. Before I moved from Fedora to Debian in search of a distro that wasn't desperately trying to take the Unix out of Linux, I basically had to switch to another VT, log in again, and launch X manually to get this to work.

      The rationale for this change, so far as I recall, is that it makes it easier to use secondary X servers for fast user switching (i.e. a feature that basically nobody ever uses, but Windows has it so we must obviously throw away valuable Linux features to add it).

  26. Re: rendering lower then scaling up to native by Anonymous Coward · · Score: 0

    Do you know by any chance what the performance hit is? The RAM hit isn't too bad, given that GPUs these days ship with 1GB or more, but I could see performance possibly being an issue in some circumstances.

  27. A Clue! by uvajed_ekil · · Score: 2

    Why hasn't Linux taken off yet on the mainstream desktop (er, laptop)? Why don't average folks want to run Linux yet? Isn't it ready for prime time?

    --
    This is a hacked account, for which the owner can not be held responsible.
  28. Re:Perfect fix that works every time: by bmo · · Score: 1

    >Linsux

    Anyone who says this or "loonix" or a variation on this is just as bad as someone who spells Microsoft as Micro$oft and variations thereof.

    --
    BMO

    Disclaimer: I had that habit but then I grew up.

  29. It's stories like these... by FiloEleven · · Score: 1

    ...that make me realize I may not really belong here.

  30. Re: rendering lower then scaling up to native by Anonymous Coward · · Score: 0

    One screen buffer takes up tiny fraction of the gpu memory, resizing it to 1080p at 60fps requires about 124 megapixel fillrate, 1/10 of what a playstation 2 was capable of.ten years ago.

  31. Re: rendering lower then scaling up to native by PhrostyMcByte · · Score: 4, Interesting

    Exceedingly little, though.

    Modern games render to more than one off-screen buffers already (necessitated by HDR, deferred shading, and other fun things), only blitting and gamma-correcting the final bits to the screen's framebuffer at the very end.

    The tiny amount of RAM occupied by the 8-bit framebuffer to accommodate a large screen resolution is dwarfed by these several framebuffers, some which will use 16-bit components.

    The amount of GPU needed to draw a solid full-screen quad really is too trivial to care about.

  32. Fullscreen mode IS legacy baggage by Anonymous Coward · · Score: 0

    Fullscreen mode is a concept that's all twisted and warped by what's come before. An application should never have to change the video card output resolution from the desktop. Hell even the embedded Intel chips can handle having stuff rendered to a surface at a lower resolution then composited to the desktop.

    Isn't fullscreen mode just a relic from the days when we didn't have compositing window managers? Mouse pointer exclusivity should be handled separately and is something that mistakedly gets bundled in with the concept of a 'fullscreen mode resolution change'.

  33. Even easier solution by dbIII · · Score: 1

    Use a window manager without this problem (ie. everything apart from gnome and kde) until they fix their window managers or this extension especially for them is added.

  34. Re:Perfect fix that works every time: by Anonymous Coward · · Score: 0

    yeah because osx is just so awesome for gaming right?

  35. Please stop emitting vapor from ass by dbIII · · Score: 1

    One side effect of this is the Wayland library API is *much* simpler to use than the X libraries

    Examples instead of future hopes please.

    1. Re:Please stop emitting vapor from ass by agrif · · Score: 2

      These two files, window.c and image.c, are an entire simple GUI toolkit and an example program using that toolkit, for use with a Wayland compositor.

      This directory is an entire compositing window manager that speaks the Wayland protocol. This is already impressively small, but keep in mind that most of the complexity here is in actually drawing to the screen and getting input events from hardware, something that Wayland has nothing to do with, and it's *still* small.

      Wayland is simple because it is small, and it's small because it only concerns itself with communication between compositors and applications. There are already good APIs for drawing (cairo, opengl), so Wayland lets application developers use those, or whatever else crops up in the future.

  36. Linux dabbler / Windows Gamer by mlw4428 · · Score: 1

    As a Linux Dabbler / Windows Gamer it does seem kind of silly that the X crowd doesn't embrace: A) The idea of change. B) The idea of the change helping to make Linux more popular. Why can't X support a module or a plugin or behavior switch along those lines that does what some people want AND still do what it has done all along? This could be added right into the config which then makes the choice at boot up. You get your cake and eat it too...althought this Wayland project sounds interesting as well. I just keep wondering: why can't X just add this functionality ontop of its core functionality with ability to swap methods prior to it starting up the display, sort of like how I can choose to use GNOME or I can choose to use KDE prior to logging in?

    1. Re:Linux dabbler / Windows Gamer by Robert+Zenz · · Score: 1

      As a Linux-User, I'm not looking forward to a window trying claim the whole desktop. I have two monitors, and everytime a window tries to go fullscreen (either native or Wine, Flash or otherwise) something goes wrong. Either it expands over both monitors (which sucks, because my secondary monitor is really secondary with lowered contrast/lighting) or it uses the main monitor and blanks out the second (which I'd like to keep because there's quite some stuff on there I'd like to see) or it does it right, goes fullscreen on the main monitor and grabs the controls completely...

    2. Re:Linux dabbler / Windows Gamer by serviscope_minor · · Score: 1

      t does seem kind of silly that the X crowd doesn't embrace: A) The idea of change.

      Er huh? Freedesktop has been adding quality features like nobody's business, with all sorts of extra protocols for things like system trays, more advaned xrandr etc etc.

      What we don't appreciate is changes which break the behavioud of our favourite system to appeal to users of a different system.

      B) The idea of the change helping to make Linux more popular.

      Linux is fantastic. Trying to make it appeal to OSX or Windows fans will turn it into a substandard Windows or OSX clone. It won't work because it will never be the real thing and it will also no longer appeal to the core users who like it for what it is.

      Why can't X support a module or a plugin or behavior switch along those lines that does what some people want AND still do what it has done all along? This could be added right into the config which then makes the choice at boot up.

      You don't understant X11. The proposed solution is much, much simpler and more flexible.

      The application tells the window manager things about itself by setting data properties of its window. These are called hints for a very good reason: the window manager is under no obligation to obey them.

      Some windows suggest that they like to be on top. Others suggest that they want to draw their own decorations. My WM almost invariably ignores those hints.

      This is just a new hint. New window managers may choose to obey it. It's up to the WM's config whether or not it will do so. Old WMs will ignore the hint.

      Some WMs will allow dynamically changing the config. Others will require a restart (which is not a disruptive process).

      --
      SJW n. One who posts facts.
  37. Scaler between the video cable and the LCD by tepples · · Score: 1

    LCDs have one resolution, but the scaler between the video cable and the LCD has several resolutions. I'll grant that cheap monitors are more likely to have cheap looking scalers.

  38. GPU scaling on the Xbox 360 by tepples · · Score: 3, Interesting

    For the myriad of responses that brought up this point: the answer is video card hardware scaling.

    And this is exactly the solution that the Xbox 360 uses. A lot of newer games are fill rate limited. Because of the complexity of the pixel shaders that games use, the AMD Xenos integrated GPU in the Xbox 360 (similar to a Radeon X1800) can't run it with an acceptable frame rate at any resolution over 1024x576. So games use the Xenos's scaler to turn 1024x576 into 1280x720 or 1920x1080 pixels for the component or HDMI output.

  39. Good, fast, cheap: pick two by tepples · · Score: 1

    You should NEVER have to upscale images if you are doing things right.

    Doing things right in real time is often cost prohibitive, as it'd need a newer, much more powerful GPU that the user may not already own. This is why a lot of Xbox 360 games run in 576p and upscale to 720p or 1080p as the system settings request.

  40. Expected production values by tepples · · Score: 1

    Unless your game uses OpenGL and you have a fully accelerated driver (read: the proprietary Catalyst or nVidia blob), it will not be able to scale fast enough. Most games use SDL and main memory surfaces that are then blitted to the screen.

    I thought "most games" made for PC and sold in 2012 either were 3D (and relied on OpenGL or DirectX) or were designed for Flash or HTML5. I thought user expectations were beyond the point where commercial games could still use SDL software rendering. Or by "most games" are you including hobbyist productions?

  41. Scale MAME by a factor of four by tepples · · Score: 1

    "Standard resolution" arcade games have 240p graphics that can be scaled up by a factor of four to look good on a 1080p monitor.

  42. NeXT fixed X11 by replacing it by tepples · · Score: 1

    Do you mean DisplayPostScript from NeXT? Apple never used X11 for their primary display [on mainstream products]

    The implication is that NeXT fixed X11 by replacing it with DPS, and Apple continued this by basing Quartz on the PDF data model.

  43. Who cares? by shaitand · · Score: 0

    Games are one roadblock to Linux adoption that went away on its own at least with regard to desktop Linux. If you aren't a gamer you don't care about high end games and if you are a gamer you don't game on the PC anymore. Gaming is all about the console these days.

  44. People are buying Linux laptops by tepples · · Score: 1

    Linux already runs on shipping laptops, albeit not necessarily GNU/Linux or X11/Linux. There are Android tablets with a clamshell keyboard (e.g. ASUS Transformer series), there are Android netbooks, and there are Chromebooks.

  45. 10 LET M$ = "Microsoft" by tepples · · Score: 1

    There are two exceptions.

    "Micro$oft" is immature, but "M$" alludes to Microsoft's origins as a BASIC interpreter publisher and distinguishes it from the other MS. As the old joke goes, the difference between M$ and MS is that one is a debilitating and surprisingly widespread affliction that renders the sufferer barely able to perform the simplest task, and the other is a medical condition.

    "Loonix" and "Linsux" are immature, but "LUnix" is an operating system for Commodore 64/128.

    1. Re:10 LET M$ = "Microsoft" by Anonymous Coward · · Score: 0

      "M$" is pretty damn immature too. I find it hard to think of a context in which it would actually be hard to distinguish from context whether someone meant MS or MS. (Hey, there's a context! Not.) I can remember being confused about that... um, never.

  46. Re: ...just an Alt-F7 away... by girlinatrainingbra · · Score: 1
    Re: ...just an Alt-F7 away...

    Don't you mean a Ctrl-Alt-F7 away? At least, that how I change between x-server windows on Debian...

  47. Full disclosure by Anonymous Coward · · Score: 0

    Every X-user I know uses network transparency. And given your numbers and estimated number of people using X for their desktop, I apparently know every single network transparency using person in the world, and then some.

    It is much more common than you think, apparently.

    I feel compelled to keep parent honest. He failed to disclose that he is a member of an X11 network transparency religious order that has taken a vow of solitude and lives in a monastery on a Himalayan mountain top.

    Other than that semi-tangential detail, what he said was absolutely true: he *does indeed* know every network transparency using person in the world (and then some)—they are the fellows of his order and their acolyte trainees.

  48. Re:Perfect fix that works every time: by Anonymous Coward · · Score: 0

    I tried to switch to OSX, but it wouldn't boot on my system. Told me something about needing genuine Apple hardware.

  49. Resolution independence by jvonk · · Score: 2

    I want to change the resolution and I will tell you why. On 32" monitor, I can't read the text unless it runs in 720P of even 800x600.

    Actually, unless you have become totally inured to blocky, pixelated displays what you really want is for everything to be rendered larger.

    Fortunately, many operating systems support resolution independence, which would allow you to keep your display at its high, native resolution and still draw your widgets, text, etc at a large size. This is done by changing the DPI hint in the OS so that it knows to render things larger (or smaller).

    This approach would accomplish the overall effect you desire while avoiding the blocky scaling artifacts. As a bonus, changing the DPI typically gives you the ability to change the size of things at a much finer granularity than the handful of resolutions offered by a display, so you can often make things precisely the size you desire rather than having to settle (as it appears you have been forced to do with 720p vs 800x600).

    I'm uncertain which GUI you're using, but if you Google for " change dpi" you may find that it's only a few clicks to tweak it.

  50. Screen resize wasn't a problem before. by Anonymous Coward · · Score: 0

    When DEs like KDE and Gnome allowed you to specify through X11 the virtual viewport to be the screen size whilst the rendered (and partially off screen) "X11 desktop" was bigger (allowing, for example, 800x600 on a 15" moitor when your X11 session was pretending to run on 1280x1024), screen resize didn't screw up your desktop.

    The DEs now DEMAND you use full screen and now they screw up your desktop if it gets resized.

    The problem isn't X11.

    It's the DEs.

  51. Re: rendering lower then scaling up to native by TheRaven64 · · Score: 1
    This proposal allows exactly this behaviour. The window manager is typically also a compositing manager and so it is perfectly at liberty to keep the same screen resolution with this proposal and simply render the application's output scaled to the native resolution. That is part of one of the core ideas of X11: the separation of policy and mechanism. Something that the Wayland guys, in their rush to create a half-arsed copy of Quartz, miss. This is just a way of the game telling the WM that it is going to draw at a specific resolution and it wants to have exclusive use of the screen. The WM can then either:
    • Resize the screen to exactly match that resolution.
    • Resize the screen to be slightly (or a lot) more than that resolution, centre the game window, and draw black around the edges.
    • Keep the screen resolution the same but upscale the game's output during the compositing phase.
    • Send the game to the projector designated by the user as the screen to use for full screen games
    • Do something else that the WM author thought was a good idea.
    --
    I am TheRaven on Soylent News
  52. Re:OMFG by jones_supa · · Score: 1

    It seems that you could benefit of "Cognitive Retention Therapy, a dementia treatment". ;)

  53. Re:Perfect fix that works every time: by serviscope_minor · · Score: 1

    What about MICROS~1?

    --
    SJW n. One who posts facts.
  54. Decimal numbers are even older. by Anonymous Coward · · Score: 0

    "X is a very old protocol": this is not a problem.

    "Things like font rendering and 2d drawing routines." DirectDraw ring a bell?

    "Things that nobody actually uses anymore." So they don't actually make the product worse. They just make writing it a bigger task. Since we already have it, not a problem.

    "But X still has support for all the old stuff, and so it's huge and lumbering." How can code it isn't running make it huge and lumbering? And despite this, X11 with Compiz did 3D desktop better and with less resource use than Vista did. Proof that it isn't huge and cumbersom "by industry norms".

    "Wayland is a new protocol designed..." You were asked why X11 was bad. Not why Wayland.

    "One side effect of this is the Wayland library API is *much* simpler to use than the X libraries" Since there are plenty of window managers and you already say most of the "unused" code is "unused", therefore DOES NOT HAVE TO BE CALLED, how can binding to X11 with a WM be harder?

    1. Re:Decimal numbers are even older. by agrif · · Score: 1

      You list statements I made and rebut them as if every single sentence in that post is a reason why X is bad. Sometimes the sentences are used to introduce a reason why X is bad, or provide a comparison.

      X is old, which explains why it has a lot of unused code. Wayland is an example of how you can replace X with something conceptually simpler, with other benefits. Dead code increases the barrier to entry for new developers, and causes the X project itself to be organizationally huge and lumbering.

      Is Vista our gold standard for how good a composited desktop can be? If we can do better than Compiz, why shouldn't we?

      Writing a compositor for X is harder because X has a lot of fiddly bits that compositor authors really shouldn't have to worry about, like global window positions and probing for COMPOSITE support. The Wayland protocol delivers bitmaps to compositors, and input events from compositors to client windows. That's it.

  55. Smartphones and handhelds. by Anonymous Coward · · Score: 0

    Smartphones and handhelds will want to use colour maps and indexed colours. STBs and so on as well. Linux is more than your gaming PC.

    And the keyboard handling has allowed the same pogram to manage programmable keyboards, joysticks, non-haptic devices (e.g. remotes) and so on to work with it, all for the cost of being a little arcane. A fair compromise. If it were a commercial entity, they'd be able to pressure companies into writing their own UI for configuring program and the arcanity would be hidden from users.

    1. Re:Smartphones and handhelds. by Unknown+Lamer · · Score: 1

      I'm really not convinced of the utility of Colormaps and indexed visuals in the modern world... my phones going back about eight years now have supported at lesat 15-bit color, and at that point you stop using colormaps. But maybe not. You certainly shouldn't have to agonize over whether your application will work on a very small fraction of displays, and it's madness that (unless you use a toolkit, but you're mad if you're not using a toolkit nowadays) your application will just fail to work if you don't handle ColorMaps.

      The input mechanism is certainly powerful, but it's wonky and not particularly clean. The way input events make it to windows is particularly ugly... you do not want to be the one writing code to deal with it.

      I like X11 (I mean, it gets the job done, and I probably use the network transparancy features to my home server a couple times a month), but the protocol events really need revisiting. Things like colormaps and core text handling could be moved to extensions, all of the universally implemented extension should be made part of the protocol. Wayland is the first attempt at that. Maybe it'll fail, maybe it'll succeed. But there's no reason to think we can't do better than X11.

      --

      HAL 7000, fewer features than the HAL 9000, but just as homicidal!
  56. Re:Perfect fix that works every time: by bmo · · Score: 1

    That one is a valid criticism.

    Long filename support on FAT file systems was a joke. I had one FAT filesystem literally blow up on me because Windows forgot how to string together the 8.3 filename kludge to make the long filenames.

    File.001
    File.002
    File.003

    Dir.001
    Dir.002
    Dir.003

    And so on...

    Try finding your data after this happens.

    --
    BMO

  57. X Sux by Doc+Ruby · · Score: 1

    X needs to be replaced with something the way Linux replaced Unix. X is full of old solutions to old problems, loads of features and methods that nobody (or hardly anybody) uses, is far too complex. It's stuck with an architecture and components slavishly oriented to the client/server pattern rather than distributed peers and meshes of servers for shared AV on multiple devices of very different power that people actually use.Android ditched X. We should replace it even on Linux with Skia, adding a multi-window extension and a widget that allows both X and Skia to display simultaneously. Until nobody uses X anymore.

    Make these windows into objects that can be easily collected into groups, pipe data among them, flick them among networked machines (including public screens). A new infrastructure for the new, ubiquitous AV presentation we're running on mobile parallel supercomputers.

    --

    --
    make install -not war

  58. this is exactly why windows is still # 1 installed by Anonymous Coward · · Score: 0

    windows had this issue fixed a long, long time ago. whilst windows was focused on usability, linux was focused on security. sure, what microsoft did made their OS less secure and what the linux community did made their OS more secure then one question is begging to be asked: was it worth it for either side?

  59. Nobody will read this but... by Qzukk · · Score: 1

    X had half of a solution to this decades ago. It's called the Viewport. Remember back when you scrolled around your 1600x1280 desktop on your 800x600 monitor? Rather than simply changing the resolution of the display and saying fuck everything else that's running, the operation should be to set the viewport to the current resolution, then lock it to prevent it from scrolling away from the origin. Then you can decrease the display resolution without fucking up the desktop.

    The other half, if you want to have an 800x600 desktop and game at 3200x5000 or something ridiculous, that's left as an exercise to the reader.

    --
    If I have been able to see further than others, it is because I bought a pair of binoculars.
  60. Re: rendering lower then scaling up to native by EvanED · · Score: 1

    The RAM hit isn't too bad, given that GPUs these days ship with 1GB or more

    Sure, for desktops. What about laptops?

  61. You can't polish a turd by JDG1980 · · Score: 1, Interesting

    Rather than try to cram modern features into the creaky old pile of bloat that is X11, that ancient technology needs to be relegated to server-only usage, and replaced with something modern that can talk more closely to the hardware without going through half a dozen abstraction layers.

    Yes, network transparency, I know. 99% of users don't give a shit, and just want things to display and animate smoothly – which X11 fails miserably at. Keep that on servers, where it matters, and drop it on desktops, where it doesn't. There is a reason why, when Google borrowed parts of Linux to make Android, they dropped the X11 layer without a second thought.

  62. $clue: command not found by Tenebrousedge · · Score: 1

    The desktop market is probably the last thing that Linux should be trying to succeed in.

    Linux isn't really an OS. It's more like a box of parts for an OS. Some people have slick packages that have been put together that work pretty well, but you're going to get the most out of it if you have an interest in getting under the hood -- starting with installing it. For most people having to install an OS is a non-starter.

    For "serious" computing this can be inescapable. It's also useful to embedded developers.

    So tell me what's so compelling about the desktop market anyway? Users will hammer the developers ("Isn't it ready for prime time?") if the product isn't perfect in every way, and generally aren't interested in paying for support or even the OS itself. If you've read The Old New Thing, you may recall that they considered each product-support call to cost about the same as the sale price of the software. When people (mostly anti-Linux commentators these days) talk about how Linux should be a contender in the desktop market, I can only think of millions of complaints as vacuous as yours, or worse.

    I believe that mass-market appeal and the ability to tinker with system internals are diametrically opposed. Android and iOS are the success stories of recent OS history: do note that these are single-user systems with extremely limited system configuration options. I haven't played much with Win8, but it seems like they're running in this direction as fast as they can.

    The refrain seems to be "Linux has technical problem X which means it's not suitable for the desktop!" I would like to hear a compelling argument that [a] the technical perfection of an OS has anything to do with market share, and [b] that the desktop market is worth participating in.

    --
    Those who advocate genocide deserve every protection afforded by law, and none afforded by common human decency.
    1. Re:$clue: command not found by marcosdumay · · Score: 1

      The desktop market is probably the last thing that Linux should be trying to succeed in.

      It is. Linux is already a success on everything else, and the desktop market is the last thing people are trying to make it fit into.

  63. Re: rendering lower then scaling up to native by makomk · · Score: 1

    Actually, I'm not sure it does - how do you scale mouse input if you're just scaling the window to fill the display rather than changing the display resolution, for instance?

  64. This better not break ... by Skapare · · Score: 1

    ... my delicate compiz configuration or I will get mad and whine.

    --
    now we need to go OSS in diesel cars
  65. Re: rendering lower then scaling up to native by cynyr · · Score: 1

    the low end game of WOW with all the special effects on in a populated area will easilly use all of that 1GB and probably can now even use at least 2GB. I know 2 expansions ago people were running into the 4GB per 32 bit app memory limit.

    --
    All of the above was encrypted with a Quad ROT-13 method. Unauthorized decryption is in violation of the DMCA.
  66. Re: rendering lower then scaling up to native by TheRaven64 · · Score: 1

    XInput2 provides the ability for the window manager to perform arbitrary coordinate transforms on user input, for precisely this reason (the use case was screen magnifiers, wanting to make a window larger and still have input work correctly).

    --
    I am TheRaven on Soylent News