Announcement

Collapse
No announcement yet.

XRandR Equivalent Published For Wayland, Weston

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    "ASKING" for change of resolution will NOT WORK MIRACLES.

    Unless display manager can not be notified that app quited, and can not restore previous settings, app that ASKED for change of resolution will F*ck Up your screen resolution same as that who did not asked for permission...

    ....


    It's lack of reliable RESTORATION, that is problem. Its normal that app misbehave. Display manager/server/compositior/ Whole D*** OS can not assume otherwise.

    Comment


    • #17
      Originally posted by Petteri View Post
      That would be bad way to handle this. Users without root password wouldn't be able to change their desktops display settings, usability would be annoying and using root privileges is bad for security.
      No, you're right, that is a bad idea. I think the best solution (and something I believe has been talked about with "asking" vs "setting") is that a "request" for fullscreen means the compositor can remember the previous settings used (before the request), and automatically set things back when that process exits.

      Comment


      • #18
        Originally posted by przemoli View Post
        "ASKING" for change of resolution will NOT WORK MIRACLES.

        Unless display manager can not be notified that app quited, and can not restore previous settings, app that ASKED for change of resolution will F*ck Up your screen resolution same as that who did not asked for permission...

        ....


        It's lack of reliable RESTORATION, that is problem. Its normal that app misbehave. Display manager/server/compositior/ Whole D*** OS can not assume otherwise.
        Well, like i said in my post above, I think "asking" (the display server) for a resolution change (and ultimately letting the DS decide if the request is granted) is fundamentally different than clients being able to directly force the screen resolution, in that the DS request can buffer settings about the resolution before it changes for a specific app, and automatically return to those settings when that app exits. Giving the app full direct control over the resolution means there's no guarantee that things get put back if the application dies unexpectedly.

        Comment


        • #19
          So you guys seem to be talking about very different things here. I was actually hoping that apps would simply ask what the resolution is, and use that.
          If unable to comply with that, then letterbox it, or render to a framebuffer and stretch to fullscreen. There simply shouldn't be a way to set or request resolution (without root)

          I want to be able to alt+tab out and see the normal desktop. I don't want my second monitor turned black. I don't want to have all my opened applications moved to the first monitor.. oh, and I didn't want to view the game fullscreen on monitor 1.
          I always set games to run windowed, and maximize that window in my windowmanager., which always gives a much better experience.

          Comment


          • #20
            Why would you want to change a resolution anyway? You should rather be able to configure what is the native resolution of each screen and never change that. All fullscreen programs that want a resolution change should just be rescaled to the native resolution automatically. Maybe you should be able to set whether the aspect ratio should be kept (i.e. letterboxing) or whether to stretch. But that's about it.

            I believe sdl2 does this on X and I believe I have it already seen with some valve games and it just feels so nice. Finally sane fullscreen and resolution handling.
            Last edited by ChrisXY; 03-11-2013, 05:34 PM.

            Comment


            • #21
              Originally posted by ChrisXY View Post
              Why would you want to change a resolution anyway? You should rather be able to configure what is the native resolution of each screen and never change that. All fullscreen programs that want a resolution change should just be rescaled to the native resolution automatically. Maybe you should be able to set whether the aspect ratio should be kept (i.e. letterboxing) or whether to stretch. But that's about it.

              I believe sdl2 does this on X and I believe I have it already seen with some valve games and it just feels so nice. Finally sane fullscreen and resolution handling.
              That sounds sane to me. Fullscreen apps should never ask for a larger resolution than your display is currently set to anyway, because it's likely already at the native resolution of the display. If they ask for a lower resolution, then scaling/stretching or (letter)boxing are perfectly reasonable. The user should be the only one who ever requests (and is granted) a different resolution, and ideally he shouldn't even have to do that (but we all know the ideal isn't always reality).

              Comment


              • #22
                Originally posted by ChrisXY View Post
                Why would you want to change a resolution anyway? You should rather be able to configure what is the native resolution of each screen and never change that. All fullscreen programs that want a resolution change should just be rescaled to the native resolution automatically. Maybe you should be able to set whether the aspect ratio should be kept (i.e. letterboxing) or whether to stretch. But that's about it.

                I believe sdl2 does this on X and I believe I have it already seen with some valve games and it just feels so nice. Finally sane fullscreen and resolution handling.
                Could it be that somebody has a CRT?

                Comment


                • #23
                  Originally posted by curaga View Post
                  Could it be that somebody has a CRT?
                  No .

                  Comment


                  • #24
                    Originally posted by curaga View Post
                    Could it be that somebody has a CRT?
                    Maybe. Could it be that a caveman invented time travel?

                    Comment


                    • #25
                      Originally posted by dee. View Post
                      Maybe. Could it be that a caveman invented time travel?
                      Og busy. Og invent fire yesterday, wheel the day before. What Og invent today?

                      Og know! Og show future folk how a lag-free display scalable to any resolution within limits work.


                      /me still has several CRTs around.

                      Comment


                      • #26
                        Originally posted by curaga View Post
                        Og busy. Og invent fire yesterday, wheel the day before. What Og invent today?

                        Og know! Og show future folk how a lag-free display scalable to any resolution within limits work.


                        /me still has several CRTs around.
                        CRTs were horrible. I'm glad we got rid of those monstrosities. Spend a night staring at one and they'll kill your eyes. The scalability is pointless as well because of their crappy resolutions and bad refresh rates.

                        Personally I wish plasma monitors would make a comeback.

                        Comment


                        • #27
                          Originally posted by curaga View Post
                          Could it be that somebody has a CRT?
                          Should be the same regardless of whether you have a CRT or LCD. Why would you want your desktop running at a lower resolution than a game? If you want to run a game at 1600x1200 or more, it should be reasonable to expect you to want your desktop at that resolution too. The desktop environment should be smart enough to scale elements and text to fit the higher resolution, if that is the concern. I couldn't imagine any other reason not to, anyway.

                          Comment


                          • #28
                            Re: elaborate ruse?

                            Originally posted by Ericg View Post
                            Why would they do the coding then? Mir's repo has code going back months
                            Hey, don't shoot the messenger! I'm just a man asking questions.

                            Comment


                            • #29
                              I had enough of it with crashing games and/or bad drivers on Linux that left me with a crappy desktop at super low/broken res.

                              Comment


                              • #30
                                I don't use a CRT anymore but I would have still wanted no application changing the resolution that I chose as the best resolution to display stuff.

                                This stuff was always problematic, especially when having more than one monitor. Currently postal2 in steam still has a problem that it doesn't respect your setting whether to start in fullscreen or not. The result is that I really don't want to play it, because every time I start it it disables my second monitor when setting the resolution and going to fullscreen. Why would a game do that?

                                Comment

                                Working...
                                X