Announcement

Collapse
No announcement yet.

Mesa 10.0 Delivers Many Exciting New Features

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

  • Mesa 10.0 Delivers Many Exciting New Features

    Phoronix: Mesa 10.0 Delivers Many Exciting New Features

    Mesa 10.0 is due to be released today and with it will become many new features that landed in this open-source graphics driver project over the past three months...

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

  • #2
    What about OpenGL support in r600g ?
    Reading GL3.txt, it looks like r600g supports OpenGL 3.2, GLSL 1.50 and Geometry Sharders but it's not the case in fact.

    Comment


    • #3
      Originally posted by whitecat View Post
      What about OpenGL support in r600g ?
      Reading GL3.txt, it looks like r600g supports OpenGL 3.2, GLSL 1.50 and Geometry Sharders but it's not the case in fact.
      I believe that r600g is still missing GLSL 1.50 in order to support OpenGL 3.2.

      If you head to a terminal, try:
      MESA_GLSL_VERSION_OVERRIDE=150 glxinfo

      On my radeonsi (7850) with a 2-week old mesa git checkout (currently bisecting something), I get:
      Code:
      OpenGL vendor string: X.Org
      OpenGL renderer string: Gallium 0.4 on AMD PITCAIRN
      OpenGL core profile version string: 3.2 (Core Profile) Mesa 10.0.0-devel (git-2be85e2)
      OpenGL core profile shading language version string: 1.50

      Comment


      • #4
        Megadrivers seems to be in this release. Did it also break gallium drivers for pre-1.15 X servers, or only classic (Intel)?

        Comment


        • #5
          r200 mega driver loads fine here if xserver 1.14 is patched with:

          http://cgit.freedesktop.org/xorg/xse...dcb8aa52b44922

          Comment


          • #6
            wooooo

            I was so excited for the OpenCL changes, but to enable them is not that easy...
            One need to recompile Mesa with the enable flag, ok not too hard.
            BUT, to do that you need latest libcl, ok easy.
            BUT, for that you need latest clang, and for mesa, llvm needs to be in shared mode.

            Somehow the combination of all of that is that I have not been able to get there yet...
            Even with all the beautiful pkgbuild in aur... Hmmmm

            Comment


            • #7
              Originally posted by geearf View Post
              I was so excited for the OpenCL changes, but to enable them is not that easy...
              One need to recompile Mesa with the enable flag, ok not too hard.
              BUT, to do that you need latest libcl, ok easy.
              BUT, for that you need latest clang, and for mesa, llvm needs to be in shared mode.

              Somehow the combination of all of that is that I have not been able to get there yet...
              Even with all the beautiful pkgbuild in aur... Hmmmm
              I followed the wiki pages and it works.For llvm you have to enable shared mode or it wont work.
              I have built it this way (the disable docs i put there because i had some ocaml related build errors initiall, not sure its needed):
              Code:
              ./configure --enable-experimental-targets=R600 --enable-targets=x86_64 --enable-shared --disable-docs --enable-optimized
              Dont forget to clone clang too in the llvm git's tools folder.

              Comment


              • #8
                Thanks, I was trying to reuse existing pkgbuilds, but maybe I should have written mine instead

                Comment


                • #9
                  Originally posted by geearf View Post
                  Thanks, I was trying to reuse existing pkgbuilds, but maybe I should have written mine instead
                  Well I managed to install everything, but a simple test from here http://wiki.tiker.net/OpenCLHowTo crashes...

                  I will try again with mesa-master, I only got llvm and libclc master with Mesa 10.2.
                  Let's see if that makes a difference.

                  Comment


                  • #10
                    Originally posted by geearf View Post
                    Well I managed to install everything, but a simple test from here http://wiki.tiker.net/OpenCLHowTo crashes...

                    I will try again with mesa-master, I only got llvm and libclc master with Mesa 10.2.
                    Let's see if that makes a difference.
                    No difference... :/

                    (Is there a bloody way to edit that I am missing?)

                    Comment


                    • #11
                      Originally posted by geearf View Post
                      for mesa, llvm needs to be in shared mode
                      This is no longer required.

                      Comment


                      • #12
                        At least up to rc-2 it was required when enabling opencl.
                        I have not tried fiddling with it in the master branch.

                        Comment


                        • #13
                          Originally posted by geearf View Post
                          Well I managed to install everything, but a simple test from here http://wiki.tiker.net/OpenCLHowTo crashes...
                          That how to is for the Catalyst driver. I am not sure it should work with the OSS driver.
                          Look here for opencl on mesa/gallium (examples at the bottom of the page):

                          http://dri.freedesktop.org/wiki/GalliumCompute/
                          While those worked for me (reported succcess, the GPU was reset after each test (gpu hang for more than 10000 msecs dmesg error). Maybe they are designed to be run without an X server.

                          Comment


                          • #14
                            Oh I was just using the simple test from that page nothing more.

                            I also tried the opencl examples linked in the wiki, and about 1/3 of them fail :/

                            How did you get them all to pass? Did you run them without X?

                            Comment


                            • #15
                              Originally posted by geearf View Post
                              Oh I was just using the simple test from that page nothing more.

                              I also tried the opencl examples linked in the wiki, and about 1/3 of them fail :/

                              How did you get them all to pass? Did you run them without X?
                              I ran everything from within X (i dont remember seeing anything about not using it with the simple tests) and i got gpu resets all over the place but most reported pass. Might be some failed, ill have to check again sometimes. First time i tried none worked and i recompiled everything - llvm+clang (aded the shared option that might have been the problem previously), mesa, drm, glamor, xf86-ati. Then they worked, but as i said i had gpu resets which might or might not be ok.

                              Also note that opencl/llvm git are quite unstable on mesa. I pulled the latest git (it said version 3.5svn) of llvm and clang, recompiled mesa and x restarted when i started libreoffice after a few seconds. After restart i observed that glamor wouldnt work anymore and x was started with exa rendering despite having explicitly set glamor in the xorg.conf. It seems that it started, crashed and started automatically again with auto settings which in my case its exa. Tried restarting the lightdm server a few times, but every time glamor crashed. I didnt have the time to mess around so i recompiled mesa without llvm which works with no issues.

                              So dont get your hopes up, opencl/llvm is very much a work in progress prone to breakage if you use the latest version with the latest features, dont try to use it for anything serious ATM.

                              Comment

                              Working...
                              X