Announcement

Collapse
No announcement yet.

Drawing Open-Source Triangles On The ATI RV770

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

  • Drawing Open-Source Triangles On The ATI RV770

    Phoronix: Drawing Open-Source Triangles On The ATI RV770

    On Monday AMD released the open-source R600/700 3D code to begin fostering the development of an open-source 3D driver for their newer ATI hardware while the related programming documentation still on the way. This code that's finally out in the public domain brings basic EXA acceleration and X-Video support, but on the 3D side there isn't any usable OpenGL support. It is expected that there will be a modest level of open-source 3D support for the ATI R600 and R700 series in the first half of 2008 for end-users, but for now there is just the DRM code and an r600_demo program. In this article we are taking a brief look at this r600_demo debugging utility on the RV770 hardware.

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

  • #2
    Whew, it worked

    For a bit of history, I think this is the first triangle ever drawn on 6xx/7xx with "our own code", back in August :



    Note the top of the triangle is missing; it took a few months to go from this point (where the code only worked on Alex's system and only with one specific card) to the point where it worked on most of our systems and all of the cards we had, then another month or so to get through final IP review and out the door.
    Last edited by bridgman; 12-31-2008, 01:52 AM.

    Comment


    • #3
      omg, triangles - and that too open source, yummy . holy jesus christ. nope, nothing to take away, its just that i find it funny in the big picture (and to write an article about). its sure awesome to see a baby walking first time though (especially after watching it crawl for years, that too in the world of iron man who learns to run before walking ). keep up the good work .

      and i am pleasantly surprised at the overwhelming response (close to 100 replies within a day!) at the article regarding amd/ati releasing r600/700 doc/code. just shows the amount of expectation (and frustration ) ati users have.

      would be very interesting now to see how some clean simple (native) and by-and-large full-featured code written from scratch works against a complex bloated (essentially ported?) ultra-featured (including a awesome watermark) fglrx. personally, i am sure david will beat goliath .
      Last edited by hdas; 12-31-2008, 03:39 AM.

      Comment


      • #4
        It always begins with triangles!

        At http://www.fresco.org/screenshots.html, check out the screenshot from 1999-12-13!

        Way to go!

        Comment


        • #5
          Unbelievable, now create some circles

          Comment


          • #6
            Originally posted by Kano View Post
            Unbelievable, now create some circles
            Amazing what modern GPUs can do, isn't it

            Hopefully basic OpenGL support arrives early Q2.

            Comment


            • #7
              Drawing Open-Source Triangles
              yeah, i'd hate to see any "proprietary triangles" on my box ;-)

              i just hope triangles don't get patented, ever :]

              Comment


              • #8
                Microsoft invented triangles, but they're nice enough folks and don't sue people using them.

                Comment


                • #9
                  [...] It is expected that there will be a modest level of open-source 3D support for the ATI R600 and R700 series in the first half of 2008 for end-users, [...]
                  Either they're running very late, or it's scheduled for 2009?

                  Comment


                  • #10
                    Is it supposed to work on RS780 chips, yet? And are bug reports welcome already or do they make no sense in this early state? And where to file the bug reports?

                    Thanks!

                    Comment


                    • #11
                      Originally posted by bugmenot View Post
                      Is it supposed to work on RS780 chips, yet?
                      Frankly said, nobody tested it on notebook chips so far. The DRM at least has microcode for RS780, I just verified.

                      You can try to run r600_demo, but you will have to add your pci ID in r600_demo.c - it's easy to spot where. I assume an RS780 is closest to an RV610 or so. Technically, it comes after an RV635, but it probably doesn't have vertex caches, like an RV610.

                      Originally posted by bugmenot View Post
                      And are bug reports welcome already or do they make no sense in this early state? And where to file the bug reports?
                      Basically, bug reports are always welcome
                      Currently there is no list for r600_demo, there probably will never be one. Best chances are on dri-devel, or on the radeonhd list.

                      Comment


                      • #12
                        Originally posted by yoshi314 View Post
                        i just hope triangles don't get patented, ever :]
                        LOL, sounds like something Rambus or Creative would do if they were in the graphics biz. DEATH TO PATENT TROLLS.

                        Comment


                        • #13
                          Before coming to ATI I was actually visited by a team of lawyers demanding royalty payments for the use of "their IP", which was XOR-ing a cursor image onto the screen. At the time I ran a small company designing & building graphics cards and accelerators for other companies selling Mac upgrades.

                          We told them to get lost and never heard from them again, but I never liked software patents after that experience.
                          Last edited by bridgman; 01-02-2009, 01:22 PM.

                          Comment


                          • #14
                            Originally posted by mshopf View Post
                            Frankly said, nobody tested it on notebook chips so far. The DRM at least has microcode for RS780, I just verified.

                            You can try to run r600_demo, but you will have to add your pci ID in r600_demo.c - it's easy to spot where. I assume an RS780 is closest to an RV610 or so. Technically, it comes after an RV635, but it probably doesn't have vertex caches, like an RV610.
                            Currently there is no list for r600_demo, there probably will never be one. Best chances are on dri-devel, or on the radeonhd list.
                            Hello, thanks for the answer.
                            I added the pci ID of my card, now it is not an untested chip anymore, but it still does not work.
                            I installed the R600/700 branches of radeonhd and drm and there are not errors in the xorg.0.log, drm seems to load successful. I assume that there is something with the DRM not ready for my card yet. Also the xserver freezes within 2-20 seconds if I start x with exa enabled. I can move the mouse then, but nothing else. I think DRM is not ready for my device, yet.

                            Here is the Xorg.0.log of the try to log in with exa enabled: http://pastebin.ca/1297086

                            ...and the try with r600_demo:
                            http://pastebin.ca/1297156

                            Thanks for your hard work! I'm looking forward to paint my personal triangle

                            Comment


                            • #15
                              I'm a git n00b. How does one get the r6xx-r7xx-support branch? I have a spare distro and I'd like to play around with it. I tried
                              git checkout -b r6xx-r7xx-support
                              but I don't see any r6xx source files.

                              Comment

                              Working...
                              X