Page 1 of 7 123 ... LastLast
Results 1 to 10 of 64

Thread: Wayland's Weston Gets Output Configuration File

  1. #1
    Join Date
    Jan 2007
    Posts
    10,369

    Default Wayland's Weston Gets Output Configuration File

    Phoronix: Wayland's Weston Gets Output Configuration File

    Weston, the reference compositor to Wayland, now has support for output configuration from the Weston config file, i.e. the equivalent of configuring your output options with an X.Org Server from the xorg.conf...

    http://www.phoronix.com/vr.php?view=MTE1MDg

  2. #2
    Join Date
    May 2009
    Posts
    10

    Question hmm

    Wasn't it actually a good thing to have a dynamic setup of output devices?
    I can remember that there was quite some work done to allow Xorg to run without a xorg.conf file once, right?

  3. #3
    Join Date
    Jan 2012
    Posts
    734

    Default

    Nice to see progress in Wayland/Weston.

    But what's the point of this feature? Doesn't KMS already does the job of setting the modes automatically?

  4. #4
    Join Date
    Jan 2012
    Posts
    734

    Default

    Quote Originally Posted by FunkyM View Post
    Wasn't it actually a good thing to have a dynamic setup of output devices?
    I can remember that there was quite some work done to allow Xorg to run without a xorg.conf file once, right?
    That's my question, why are Wayland developers reintroducing a feature (configuration file) when Xorg devs tried to get rid of it?

  5. #5
    Join Date
    Nov 2009
    Posts
    373

    Default

    Quote Originally Posted by asdx View Post
    That's my question, why are Wayland developers reintroducing a feature (configuration file) when Xorg devs tried to get rid of it?
    It is really so 90's
    This is one reason why I wouldn't use a binary driver with Xorg...

    p.s. I know nVidia-Fans, they provide xrandr support for a month now (after ~15 years or so)

  6. #6
    Join Date
    Jan 2012
    Posts
    734

    Default

    WTF Wayland/Weston devs.

    Why the fuck do we need this when we have KMS?

  7. #7
    Join Date
    Dec 2011
    Posts
    1,353

    Default

    That is retarded.

    In a INI file, the [output] is considered a header/category/topic and everything under is key and value.
    You cant have a header with same name, that is not valid INI file!

  8. #8
    Join Date
    Dec 2010
    Posts
    45

    Default

    We want a config file because we can't assume that the correct configuration will always be selected. I have two laptops with external monitors, on one I want the laptop monitor off and the external at its native resolution. On the other I want both lvds and hdmi to be at the greatest common resolution. How is KMS going to do this correctly? This config file seems perfectly flexible, I don't understand the complaints.

  9. #9
    Join Date
    Nov 2008
    Posts
    75

    Default

    Quote Originally Posted by asdx View Post
    Why the fuck do we need this when we have KMS?
    Because KMS don't remember a custom resolution after a restart.

    All Wayland does with this information is tell KMS to turn on/off the specified output and change its resolution to the one specified, the default (eg without a config file) will be to keep each display as is (usually at the native resolution which the kernel autodetected at startup), just like it does today.

    E.g. KMS knows how to change resolution, but needs to be told what resolution the user wants to use. This is just one way of telling it, one that persists over a reboot. Dynamic (xrandr-style) resolution changes will of course also be supported.
    Last edited by Jonno; 07-31-2012 at 11:49 AM.

  10. #10
    Join Date
    Jan 2012
    Posts
    734

    Default

    Quote Originally Posted by Jonno View Post
    Because KMS don't remember a custom resolution after restart.

    All Wayland does with this information is tell KMS to turn on/off the specified output and change its resolution to the one specified, the default (eg without a config file) will be to keep each displays settings as is (usually the native resolution which the kernel autodetected at startup), just like it does today.
    I don't fucking care if KMS remembers the resolution or not after restart, I don't want to be editing a config file like a fucking idiot for setting something basic as my screen resolution.

    We're not in 1970 anymore.

    The resolution is the job for KMS to handle, not the user. Period.

    What the fuck is this.
    Last edited by asdx; 07-31-2012 at 11:50 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •