Announcement

Collapse
No announcement yet.

ATI R600 Gallium3D Driver Continues Advancing

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

  • Originally posted by glisse View Post
    What CPU ? What GPU ? How much RAM ? What kernel/ddx version and what mesa git commit. I am trying to find a config where r600g perform significantly slower but so far i only have config were it's at same level or little bit slower but definitly not 2 times slower (i have all vsync stuff off)
    AMD Phenom II Quad 2.8 GHz
    4 GB RAM
    64-bit gentoo (OpenArena is also 64-bit)
    Kernel is 2.6.36-rc6
    I'm not sure about which mesa git commit, but it's the git version from yesterday. Same with libdrm and ddx (all from head).
    Radeon HD 4550 (rv710)
    xserver is 1.9.0

    It could be that vsync is aggravating the problem, but it was considerably slower.

    If I can test something in particular, let me know. I can switch between the drivers rather easily. If you remind me how to turn off vsync in ddx, I can do that to, and benchmark with a standard demo.

    r600g also uses color tiling with this kernel/mesa combination, right? It could be a likely culprit.

    Comment


    • Originally posted by pingufunkybeat View Post
      If you remind me how to turn off vsync
      Technical support and discussion of the open-source AMD Radeon graphics drivers.


      If you use gentoo you can put a file in /etc/portage/env/x11-drivers/ named xf86-video-ati with:
      Code:
      post_src_prepare() {
       epatch "/patch/filename.patch"
      }
      It will patch the ddx every time you compile it.
      ## VGA ##
      AMD: X1950XTX, HD3870, HD5870
      Intel: GMA45, HD3000 (Core i5 2500K)

      Comment


      • Awesome! Thanks.

        Comment


        • Hrm, I'm having trouble with the patch, fullscreen apps are always synced although I turned it off in the game and in driconf. glxgears is not synced.

          The patch is probably not applying correctly, I'll debug it and get back to you on that one.

          In the meantime, with vsync on, this is what I get with the anholt demo in openarena at 1920x1080

          classic: 43.3 fps
          gallium: 22.0 fps

          Again, the vsync introduces a non-linear drop, so these are not an accurate measure of performance, but it's a significant drop nevertheless.

          Comment


          • Originally posted by pingufunkybeat View Post
            The patch is probably not applying correctly
            Which version of portage are you using? As far as I know 2.2 is needed (I use 2.2_rc88). If you do not want to upgrade portage, please use bashrcng-patching from the gechi overlay.

            With portage 2.2 you you should see something like:

            >>> Emerging (1 of 1) x11-drivers/xf86-video-ati-9999 from x11
            * Package: x11-drivers/xf86-video-ati-9999
            * Repository: x11
            * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU
            >>> Unpacking source...
            * GIT update -->
            * repository: git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
            * at the commit: e843faf355c864beab81e74f0e39f8ad53d4c2bf
            * branch: master
            * storage directory: "/usr/portage/distfiles/git-src/xf86-video-ati"
            Cloning into /var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999...
            done.
            >>> Unpacked to /var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999
            >>> Source unpacked in /var/tmp/portage/x11-drivers/xf86-video-ati-9999/work
            >>> Preparing source in /var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999 ...
            * Running eautoreconf in '/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999' ...
            * Running aclocal ... [ ok ]
            * Running libtoolize --copy --force --install --automake ... [ ok ]
            * Running aclocal ... [ ok ]
            * Running autoconf ... [ ok ]
            * Running autoheader ... [ ok ]
            * Running automake --add-missing --copy --foreign ... [ ok ]
            * Running elibtoolize in: xf86-video-ati-9999/
            * Applying portage-2.2.patch ...
            * Applying sed-1.5.6.patch ...
            * Applying as-needed-2.2.6.patch ...
            >>> Source prepared.
            * Applying xf86-video-ati_vsync.patch ... [ ok ]
            >>> Configuring source in /var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999 ...
            ## VGA ##
            AMD: X1950XTX, HD3870, HD5870
            Intel: GMA45, HD3000 (Core i5 2500K)

            Comment


            • Yeah, I use the latest 2.2, and it's not applying for some reason. Even when I hack it into the ebuild directly.

              I'll have to look at it when I get the time.

              Comment


              • Originally posted by glisse View Post
                What CPU ? What GPU ? How much RAM ? What kernel/ddx version and what mesa git commit. I am trying to find a config where r600g perform significantly slower but so far i only have config were it's at same level or little bit slower but definitly not 2 times slower (i have all vsync stuff off)
                PhenomII x4 965 set to 3.4 GHz fir this test
                HD4890 1G vram
                4G RAM (but running 32bit system)
                d-r-t, git mesa,ddx,xserver,libdrm.

                Both vsyncs off for this test, tiling on as I just read it's now enabled for r600g (Although it seems to regress mesa demos drawpix, copypix and pixeltest).

                Openarena 0.81, everything on/up (bloom is causing some visual artifacts for me on anholt)

                Gallium - 840 frames 38.7 seconds 21.7 fps 29.0/46.1/89.0/9.1 ms

                Classic - 840 frames 8.0 seconds 105.0 fps 5.0/9.5/22.0/2.6 ms

                top -b | grep Cpu running never showed any CPU used more than 30% for gallium.

                Comment


                • Originally posted by legume View Post
                  Openarena 0.81, everything on/up (bloom is causing some visual artifacts for me on anholt)
                  Ugh, one minute edit rule.

                  Forgot the res = 1920x1080

                  Comment


                  • Originally posted by legume View Post
                    Ugh, one minute edit rule.
                    Yeah, it sucks hard.

                    [fucking character limit sucks too]
                    ## VGA ##
                    AMD: X1950XTX, HD3870, HD5870
                    Intel: GMA45, HD3000 (Core i5 2500K)

                    Comment


                    • Originally posted by darkbasic View Post
                      I just noticed you implemented color tiling on R600g
                      To be honest it didn't work without color tiling (I had to reboot X), but now it works fine so I did some more benchmarks.

                      Openarena, 2560x1600, Very High quality.
                      R600c + color tiling: 92.3 fps
                      R600g + color tiling: 15.9 fps

                      Is it slow enough? HD 3870, 2 GB of ram, Athlon 64 3800+X2. Kernel: yesterday's drm-radeon-testing. ddx and mesa are today's snapshots.
                      Ok so i need to ask for 30" you have insanely high resolution. I definitly not tested that. I will try to see what shows up on sysprof.

                      Comment

                      Working...
                      X