Announcement

Collapse
No announcement yet.

Radeon KMS, New TTM Code Works But Needs Testing

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

  • Radeon KMS, New TTM Code Works But Needs Testing

    Phoronix: Radeon KMS, New TTM Code Works But Needs Testing

    It has been a while since Jerome Glisse last had any major public announcements, but this morning he is calling for those using the open-source ATI Linux graphics stack to checkout the latest code. Kernel mode-setting for ATI Radeon hardware should now be working atop the new TTM-based memory management code. Jerome along with Alex Deucher, David Airlie, and other X.Org developers have been busy getting ATI kernel mode-setting ready for mainline inclusion hopefully at some point this year (perhaps 2.6.31 or 2.6.32)...

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

  • #2
    Makes me wish I had the drive space to set up a direct-to-hardware testing environment.

    Comment


    • #3
      Makes me wish I had the knowledge to set up a direct-to-hardware testing environment.

      Comment


      • #4
        UUhhh.. does he mean just not running in a VM? seriously you can get a 250Gb drive for $50

        Comment


        • #5
          Work the new Code with R600 and higher ? in the past the version are only work with r100-r500

          Comment


          • #6
            Originally posted by Nille View Post
            Work the new Code with R600 and higher ? in the past the version are only work with r100-r500
            not yet, AFAIK

            Comment


            • #7
              Originally posted by Pfanne View Post
              Makes me wish I had the knowledge to set up a direct-to-hardware testing environment.
              It's kind of explained here: http://jglisse.livejournal.com/1822.html

              Comment


              • #8
                Would I get any improvement over the radeon included in Fedora 11, with a kernel r600 gpu? In another words, has there been any changes with the r600 code since the fedora 11 driver? 3D support?

                Comment


                • #9
                  Yes, can I expect KMS to work on R600/700?

                  Apart from that: Awesome, great, awesome...! Thanks so much guys!

                  Comment


                  • #10
                    3d support for r600+ still isn't really in a usable state. I think some people can get glxgears to work, but even that's spotty. It will probably be another few months before these cards have really useful 3d support in the open-source driver.

                    The Fedora 11 driver is relatively current, I believe, and supports EXA and Xv on r600+, so that's the best stuff that's end-user ready right now. That said, once the DRM code stabilizes, GEM-ified EXA and Xv, as well as KMS and DRI2 should have significant benefits for end-users (potentially better 2d performance, KMS (of course), and Xv working properly with compiz, etc.)

                    @bugmenot Yup, the KMS code is based on ATOMBIOS, and therefore (theoretically) should work on recent ATI cards. There are still bugs, though. (note for inevitable question: yes the KMS also has register banging code that works with older ATI cards that don't have ATOMBIOS. However for new cards, it turns out ATOMBIOS is by far the easiest/fastest way to do things.)
                    Last edited by TechMage89; 04-30-2009, 11:52 AM.

                    Comment


                    • #11
                      I'll give it a try... but damn, those (kernel-)sources are big (I'm on a pretty slow connection). :/

                      Comment


                      • #12
                        I just tested with a X1700 and xorg-1.6.1 (on a gentoo / arch amd64)

                        KMS works but then X is not any more accelrated.

                        here's what I can see in Xorg.0.log :

                        EE) RADEON(0): [dri] RADEONDRIGetVersion failed because of a version mismatch.
                        [dri] radeon.o kernel module version is 2.0.0 but version 1.17.0 or newer is needed.
                        [dri] Disabling DRI.


                        which to me seems a complete non sense

                        any idea ?

                        Comment


                        • #13
                          Originally posted by Zhick View Post
                          I'll give it a try... but damn, those (kernel-)sources are big (I'm on a pretty slow connection). :/
                          If you already have a local repository tracking another linux tree (e.g. mainline), you can tell git to share the objects, greatly reducing the amount of stuff that has to be downloaded (and saving disk space):
                          Code:
                          git clone --reference /the/existing/repo git://somewhere/drm-next
                          (thanks to sharing I had to download only 4.5MiB)

                          Comment


                          • #14
                            kms doesn't work on r6xx/r7xx with this. at least not on my HD4870, i tried it about an hour ago.

                            Comment


                            • #15
                              Originally posted by justinkb View Post
                              kms doesn't work on r6xx/r7xx with this. at least not on my HD4870, i tried it about an hour ago.
                              The repo contains code only for radeons up to R580 (see radeon_asic_init); airlied drm tree (drm-rawhide branch) has kms code for r6xx and newer, but note that jglisse tree contains a different code base (refactored and cleaned up I think).

                              Comment

                              Working...
                              X