Sunday, February 22, 2015

a4xx shaping up

So, I finally figured out the bug that was causing some incorrect rendering in xonotic (and, it turns out, to be the same bug plaguing a lot of other games/webgl/etc).  The fix is pushed to upstream mesa master (and I guess I should probably push it to the 10.5 stable branch too).  Now that xonotic renders correctly, I think I can finally call freedreno a4xx support usable:



Also, for fun, a little comparison between the ifc6540 board (snapdragon 805, aka apq8084), and my laptop (i5-4310U).  Both have 1920x1080 resolution, both running gnome-shell and firefox (with identical settings).  Laptop is fedora f21 while ifc6540 is rawhide), but it is quite close to an apples-to-apples comparision:



Obviously not a rigorous benchmark, so please don't read too much into the results.  The intel is still faster overall (as it should be at it's size/price/power budget), but amazing that the gap is becoming so small between something that can be squeezed into a cell phone and dedicated laptop class chips.

12 comments:

  1. Hi Rob,
    could you record a Xonotic videon with GALLIUM_HUD enabled? I'm curious how fast Snapdragon 805 is.

    ReplyDelete
    Replies
    1. the-big-keybench runs at ~43fps at 1080p (that is still missing hw binning support, which was worth ~30% on a3xx..) and ~30fps at 720p on ifc6410 (snapdragon 600) (without tiled textures and texture compression, also missing on a4xx)

      Delete
  2. The ifc6540 looks really neat but it's $250, right?

    ReplyDelete
    Replies
    1. right, I think $250.. there is the ifc6410 at $150 (sometimes on sale for $75), which is still not to shabby (2GB DDR3, apq8064, sata, gig-e, etc)

      Delete
  3. Hi,
    what kernel version is good to run with freedreno? I'm running linaro/intergration-linux-qcomlt on ifc6410, but hdmi is not working (nor is wi-fi/bt but I don't care about those).
    I could not run upstream because some address fixup is needed at boot (fixup.{S,bin} in linaro repo).
    thanks

    ReplyDelete
    Replies
    1. For ifc6410, the linaro integration branch is what I normally use. It at least usually works. Note that it is frequently updated, srini seems to rebase it every week or so. If you can't get it working, but do have serial (or can ssh to board) kernel traces w/ drm.debug=15 in kernel cmdline may shed some light.

      Note that you can just copy the fixup.{S,bin}, those are just added to the git tree to make 'em easy to find. The same atags fixup needs to be prepended to any kernel. But we still need the iommu from the integration branch.

      Delete
  4. Hi rob,
    is it possible to install this driver to Razer Forge Tv.
    this is new product, it has 805 processor and 100$.
    Thanx for reply.

    ReplyDelete
    Replies
    1. I would expect so.. ofc I'm waiting to see how locked down the razer forge is, hopefully not so much as the firetv was. I put my email addr in to get notifications about when it would be avail when it was first announced (but haven't seen anything since).

      Delete
  5. Hello Rob,

    I have recently bought ifc6540 and would like to run freedreno on it like you have done.

    Could you kindly tell me the steps on how to run freedreno on ifc6540?

    I have read the whitepaper that Inforce offers (http://www.inforcecomputing.com/public_docs/linux-adreno-gpu-whitepaper/Adreno_GPU_Linux_White_Paper_02-2016.pdf) but cannot figure out which kernel it works on.

    It would be helpful if you told me your environment including its versions.

    Thank you.

    ReplyDelete
    Replies
    1. I use the same userspace filesystem as on ifc6410.. but with this kernel:

      https://github.com/freedreno/kernel-msm/commits/ifc6540-4.4.4-drm

      Delete
  6. Hi Rob,
    I have a ifc6540 running linaro, and I wanna put OpenCL on it to make that OpenCV 3.1 functions can access Adreno GPU. Do you know if it is possible? Do you have some tips of how to put OpenCL on IFC6540 with linaro?

    Thank you

    ReplyDelete
  7. Hi Rob,
    I have a ifc6540 running linaro, and I wanna put OpenCL on it to make that OpenCV 3.1 functions can access Adreno GPU. Do you know if it is possible? Do you have some tips of how to put OpenCL on IFC6540 with linaro?

    Thank you

    ReplyDelete