Announcement

Collapse
No announcement yet.

First Release Of The New Mode-Setting Driver

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

  • First Release Of The New Mode-Setting Driver

    Phoronix: First Release Of The New Mode-Setting Driver

    David Airlie officially released the first version of the xf86-video-modesetting DDX driver this week. The xf86-video-modesetting driver is a generic KMS X.Org driver that will work with any kernel mode-setting DRM driver in Linux, but only provides shadow frame-buffer support...

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

  • #2
    I'm curious, is there an advantage to running this over KMS FB compared to fbdev on KMS FB?

    Sure it's one layer less, but still sw accel.

    Comment


    • #3
      I'm not 100% sure but I think this new DDX driver allows you to change the resolution using XRandr which I don't think you can do using fbdev

      Comment


      • #4
        That's a good point. Even though KMS FB can change the res, I don't think anyone's written a tool to do that, the console is always at max res (barring the bootcode, IIRC).

        Comment


        • #5
          Originally posted by curaga View Post
          That's a good point. Even though KMS FB can change the res, I don't think anyone's written a tool to do that, the console is always at max res (barring the bootcode, IIRC).
          Setting the res other than the native one could and should be done with a kernel boot option, eg. screen=1280x1024. No boot option will just simply set the max res allowed by the monitor

          Comment


          • #6
            Yes, and there's a clear lack of a tool, command-line xrandr so to say.

            Comment


            • #7
              This driver should also be useful as a framework for developing drivers for new graphics chips that may come out in the future

              Comment


              • #8
                Acceleration

                I am curious to know if this driver could be improved and how.

                Is it possible to add any type of acceleration to it?

                Comment


                • #9
                  Difference?

                  How is this any different from softpipe / llvmpipe?

                  Comment


                  • #10
                    Originally posted by uid313 View Post
                    I am curious to know if this driver could be improved and how.

                    Is it possible to add any type of acceleration to it?
                    I'm sure it is possible to add some degree of acceleration to it, depending on the hardware its driving. Perhaps older cards can be used with it
                    Last edited by DeepDayze; 02-18-2012, 09:51 PM.

                    Comment


                    • #11
                      Originally posted by uid313 View Post
                      How is this any different from softpipe / llvmpipe?
                      They are for 3d this is for 2d

                      Comment


                      • #12
                        Originally posted by curaga View Post
                        I'm curious, is there an advantage to running this over KMS FB compared to fbdev on KMS FB?
                        Supports multiple displays which fbdev does not.

                        Comment


                        • #13
                          Originally posted by uid313 View Post
                          I am curious to know if this driver could be improved and how.

                          Is it possible to add any type of acceleration to it?
                          As far as I'm concerned its not the place to add acceleration. If you want acceleration, write a real driver for the hardware.

                          Though I could probably be tempted to do something with the gallium XA state tracker, but it would depend on how ugly it would make things look.

                          But yeah it's pretty much feature complete from what I'll be doing with it.

                          the main reason is to have a driver for hw where I don't care about accel, but can work with multiple heads.
                          Dave.

                          Comment


                          • #14
                            Originally posted by airlied View Post
                            As far as I'm concerned its not the place to add acceleration. If you want acceleration, write a real driver for the hardware.
                            Out of interest, what are the main reasons not to aim at a generic X.Org modesetting driver for typical "modern" hardware? Maintaining three hardware-specific drivers seems a bit wasteful.

                            Comment


                            • #15
                              Originally posted by michael-vb View Post
                              Out of interest, what are the main reasons not to aim at a generic X.Org modesetting driver for typical "modern" hardware? Maintaining three hardware-specific drivers seems a bit wasteful.
                              because optimal acceleration isn't generic, going forward maybe someone can use the gallium state tracker to make accel better but so far that hasn't happened.

                              Dave.

                              Comment

                              Working...
                              X