Announcement

Collapse
No announcement yet.

Freedreno Graphics Driver Reaches Version 1.0

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

  • Freedreno Graphics Driver Reaches Version 1.0

    Phoronix: Freedreno Graphics Driver Reaches Version 1.0

    The xf86-video-freedreno X.Org driver for providing support for Qualcomm's Adreno/Snapdragon graphics hardware has reached version 1.0 in its first stable release...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    The question is how it compares to the closed driver in performance and most importantly in features that save battery.

    Comment


    • #3
      A Freedreno-supported hardware is the best way right now to ensure getting future versions of Android through CyanogenMod or Omni. Also, Linux/Wayland.

      Even OMAP-based phones are getting the finger right now. Think about that the next time you buy a phone...

      Comment


      • #4
        small note.. the XA support isn't merged yet. Early on I had some slight corruption/mis-rendering issues with it so it stayed on a branch. But I think I've figured out the gallium issue (seems there is a workaround needed for hw bug in a320), so I should revisit XA when I have time.

        As far as performance, for desktop stuff it should be as good or better than blob driver. (Well, that is a slightly artificial statement, because blob driver doesn't support gl and blob driver doesn't support linux, so essentially freedreno is infinite times faster.) I implement some scissor related optimizations that the blob driver does not, which really help for gnome-shell/compiz type workloads. For things like xbmc which are not vertex heavy, and simple shaders, it should be comparable (although, without non android drivers there is really no way to compare). For stuff with high vertex loads and complex shaders, the blob driver is almost certainly better at this stage (if it existed for linux)... for this I need two things: (a) compiler optimizing pass(es) and (b) hw binning support. I have an experimental branch with the former, which gives >10% boost in fps in xonotic, and gives me what I need to generate vertex shaders for hw binning pass (which is the next step). I can't quite say what the fps boost for hw binning support will be, but from some rough expirements I'm guestimating >20% at 1024x768 and more at higher resolutions.

        That all said, the focus so far has not been performance. It has been getting something that works at all. (See again comment about no linux blob driver.) Certainly there are known optimizations that will come with time, but you have to walk before you can run. But the nice thing is we don't have those pesky reclocking issues, so it shouldn't be >10x differences from blob driver.

        Comment


        • #5
          Originally posted by robclark View Post
          small note.. the XA support isn't merged yet. Early on I had some slight corruption/mis-rendering issues with it so it stayed on a branch. But I think I've figured out the gallium issue (seems there is a workaround needed for hw bug in a320), so I should revisit XA when I have time.

          As far as performance, for desktop stuff it should be as good or better than blob driver. (Well, that is a slightly artificial statement, because blob driver doesn't support gl and blob driver doesn't support linux, so essentially freedreno is infinite times faster.) I implement some scissor related optimizations that the blob driver does not, which really help for gnome-shell/compiz type workloads. For things like xbmc which are not vertex heavy, and simple shaders, it should be comparable (although, without non android drivers there is really no way to compare). For stuff with high vertex loads and complex shaders, the blob driver is almost certainly better at this stage (if it existed for linux)... for this I need two things: (a) compiler optimizing pass(es) and (b) hw binning support. I have an experimental branch with the former, which gives >10% boost in fps in xonotic, and gives me what I need to generate vertex shaders for hw binning pass (which is the next step). I can't quite say what the fps boost for hw binning support will be, but from some rough expirements I'm guestimating >20% at 1024x768 and more at higher resolutions.

          That all said, the focus so far has not been performance. It has been getting something that works at all. (See again comment about no linux blob driver.) Certainly there are known optimizations that will come with time, but you have to walk before you can run. But the nice thing is we don't have those pesky reclocking issues, so it shouldn't be >10x differences from blob driver.
          oh, and in case you haven't seen it, there is some status about performance and what is known to work/not-work at:
          open source driver project for adreno GPUs. Contribute to freedreno/freedreno development by creating an account on GitHub.


          (needs some update.. I plan to spend a bit of time on wiki updates in near future, but I've been busy getting a new board working)

          Comment


          • #6
            Originally posted by amehaye View Post
            A Freedreno-supported hardware is the best way right now to ensure getting future versions of Android through CyanogenMod or Omni. Also, Linux/Wayland.

            Even OMAP-based phones are getting the finger right now. Think about that the next time you buy a phone...
            As far as i see, all that was mentioned is linux support, the driver developer never lost a word about linux , so why are you having such high hopes?

            Comment


            • #7
              Originally posted by amehaye View Post
              A Freedreno-supported hardware is the best way right now to ensure getting future versions of Android through CyanogenMod or Omni. Also, Linux/Wayland.

              Even OMAP-based phones are getting the finger right now. Think about that the next time you buy a phone...
              Where did they mention Android support? I only read so far about running linux on those devices.

              Comment


              • #8
                Originally posted by bemerk View Post
                As far as i see, all that was mentioned is linux support, the driver developer never lost a word about linux , so why are you having such high hopes?
                Just fwiw, while my personal interest is "traditional" linux (xorg, wayland), there is nothing about the libdrm or gallium parts of freedreno that are window system specific. If someone wants to figure out how to build and use freedreno on android (or webos or mir or whatever), that should be completely possible. Obviously you won't need xf86-video-freedreno on android or others which directly use GL(ES) for compositor. And it is possible that different environements trigger some bug that I haven't seen yet (although at least according to piglit freedreno is getting much more solid). I'll certainly help try to help debug and fix issues in other environments as best I can (it helps for rendering bugs if you can get an apitrace or a test program the reproduces the issue on an environement that I have, ie. wayland/xorg).

                Of course freedreno won't help with other aspects of getting new android running on old device (ie. porting newer kernel to older device, or somehow making other subsystems like camera work on older kernel). It would be nice if this was a less painful process, but I've yet to see a vendor android kernel that isn't a mess.

                But graphics has traditionally been the biggest stumbling block, and at least now that is not so much of an issue.

                Comment


                • #9
                  Originally posted by 89c51 View Post
                  The question is how it compares to the closed driver in performance and most importantly in features that save battery.
                  No idea about battery but this independent comparison of a pre-1.0 version already declared it ?Good? while the blob is ?Horrible? regarding standards support.
                  In light of the recent announcements by NVIDIA and AMD in support of Linux for their graphics drivers, we would like to share with the world some of the experience we had developing our open source project, Dolphin, a GameCube and Wii emulator for Windows, Linux, Mac and recently Android....

                  Comment


                  • #10
                    Originally posted by bemerk View Post
                    Where did they mention Android support? I only read so far about running linux on those devices.
                    A) Android is Linux and B) Mesa in general works with Android, although the port is AFAIK mainly maintained by Intel for Android on Intel's own hardware.

                    Comment

                    Working...
                    X