Announcement

Collapse
No announcement yet.

Marek Files 22 Gallium3D / R600g Improvements

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

  • Marek Files 22 Gallium3D / R600g Improvements

    Phoronix: Marek Files 22 Gallium3D / R600g Improvements

    Just days after making a number of improvements to Mesa/Gallium3D, Marek is back this week so far with 22 patches to improve Gallium3D and specifically to benefit the AMD Radeon "R600g" graphics driver...

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

  • #2
    Awsome!!!10chars

    Comment


    • #3
      Nice! I hope this will boost the performance.

      I hope this will commit quite quickly and that airlied or ajax puts this in koji so that I can test this within ETQW! (I can't do it myself since I never succeed in cross-compiling mesa from 64-bit to 32-bit)

      Comment


      • #4
        Any benchmark data?

        Comment


        • #5
          Originally posted by whitecat View Post
          Nice! I hope this will boost the performance.

          I hope this will commit quite quickly and that airlied or ajax puts this in koji so that I can test this within ETQW! (I can't do it myself since I never succeed in cross-compiling mesa from 64-bit to 32-bit)
          It's dead easy with gentoo

          Comment


          • #6
            Originally posted by FireBurn View Post
            It's dead easy with gentoo
            You have already do it?
            If so, please, can you tell me your ./configure option?

            Comment


            • #7
              Originally posted by whitecat View Post
              (I can't do it myself since I never succeed in cross-compiling mesa from 64-bit to 32-bit)
              On archlinux it works like
              Code:
                export CC="gcc -m32"
                export CXX="g++ -m32"
                export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
                export LLVM_CONFIG=/usr/bin/llvm-config32
              
                  ./autogen.sh --prefix=/usr \
                  --with-dri-driverdir=/usr/lib32/xorg/modules/dri \
                  --with-gallium-drivers=r600 \
                  --with-dri-drivers= \
                 --with-egl-platforms=x11,drm \
                 --enable-texture-float \
                 --enable-gles1 \
                 --enable-gles2 \
                 --enable-egl \
                 --enable-xorg \
                 --enable-xa \
                 --enable-vdpau \
                 --enable-gallium-g3dvl \
                 --enable-glx-tls \
                 --enable-glu \
                 --enable-gbm \
                 --enable-gallium-gbm \
                 --enable-shared-glapi \
                 --enable-xorg \
                 --enable-gallium-llvm \
                 --enable-openvg \
                 --enable-gallium-egl \
                 --enable-32-bit \
                 --libdir=/usr/lib32 \
                 --enable-r600-llvm-compiler

              Comment


              • #8
                just use your normal way to build but add those two things:
                - add "--enable-32-bit" (without the quotes) to the autogen.sh parameters
                - set the following two environment variables: CFLAGS="-m32" and CXXFLAGS="-m32"

                Comment


                • #9
                  Originally posted by droste View Post
                  just use your normal way to build but add those two things:
                  - add "--enable-32-bit" (without the quotes) to the autogen.sh parameters
                  - set the following two environment variables: CFLAGS="-m32" and CXXFLAGS="-m32"
                  The gentoo way: http://www.linuxsystems.it/2012/05/g...tilib-overlay/
                  ## VGA ##
                  AMD: X1950XTX, HD3870, HD5870
                  Intel: GMA45, HD3000 (Core i5 2500K)

                  Comment


                  • #10
                    Actually, the true Gentoo way is using the multilib-portage overlay. That way you can build all dependencies for both 32 bit and 64 bit. I do this on my laptop and it works great. No emul-linux-x86 packages required at all.

                    See: http://git.overlays.gentoo.org/gitwe...b-instructions

                    Comment


                    • #11
                      In fact, it looks like I missed some i686 libs. But it's OK now!
                      So I tested the current git (with the recent Vadim patch included) + this series of patch from Marek.

                      My config is a RV770 (HD 4850), 2 Go RAM, Pentium Dual Core E2160 @ 2,7 GHz, Fedora 17 (kernel 3.4.4 / xorg-x11-drv-ati 6.14.4 / libdrm 2.4.33).

                      I play ETQW at 1680*1050 and with the lowest graphics details. The FPS are roughly 30 FPS (average), which is quite playable. Even if there is some lag many times. Now the FPS can grow up to 60 FPS more often! I haven't tested very well, it depends on maps as I can see but the FPS boost is awesome!! Without visual regression. But still some lag many times.

                      Comment

                      Working...
                      X