1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Marek Makes MSAA R300 Performance Optimizations

AMD

Published on 15 January 2013 08:16 PM EST
Written by Michael Larabel in AMD
8 Comments

Recently there was finally MSAA support added to the R300 Gallium3D driver. While multi-sample anti-aliasing finally made it to this open-source GPU driver that supports the old ATI R300 through R500 GPUs, benchmarks I did last week showed the R300 MSAA performance was a mess. Fortunately, Marek Olšák has made some significant performance optimizations to the R300g MSAA support.

Benchmarks published today on Phoronix looked at R300 Morphological Anti-Aliasing performance, but as luck would have it, as soon as that testing wrapped up and the article went out, there were some new interesting commits in Mesa Git master. The latest work today by Marek Olšák, likely the most prolific independent contributor to the open-source Radeon Linux graphics driver, is about MSAA performance.

The most interesting Mesa Git commit today by Marek was entitled r300g: implement MSAA compression and fast MSAA color clear. With MSAA compression and fast MSAA color clear, using multi-sample anti-aliasing should now be a hell of a lot faster for those using this Gallium3D driver in conjunction with older Radeon hardware. This is really good since last week's MSAA benchmarks showed the driver in its state just days ago was basically useless with this common anti-aliasing mode.

Today's MSAA R300g commit contains the following description:
These are optimizations which make MSAA a lot faster.

The MSAA work is complete with this commit. (except for enablement of AA optimizations for RGBA16F, for which a patch is ready and waiting until the kernel CS checker fix lands)

MSAA can't be made any faster as far as hw programming is concerned.

The catch is only one process and one colorbuffer can use the optimizations at a time. There usually is only one MSAA colorbuffer, so it shouldn't be an issue.

Also, there is a limit on the size of MSAA colorbuffer resolution in terms of megapixels. If the limit is surpassed, the AA optimizations are disabled.

The limit is:
- 1 Mpix on low-end and some mid-level chipsets (1024x768 and 1280x720)
- 2 Mpix on some mid-level chipsets (1600x1200 and 1920x1080)
- 3 or 4 Mpix on high-end chipsets (2048x1536 or 2560x1600, respectively)

It corresponds to the number of raster pipes (= GB pipes) available, each pipe can hold 1 Mpix of AA compression data.

If it's enabled, the driver prints to stdout:
radeon: Acquired access to AA optimizations.
As soon as the anti-aliasing optimizations for RGBA16F land following the Radeon DRM CS checker fix is in place for the Linux kernel, new MSAA R300g benchmarks will be carried out from Radeon X1000 class hardware. These improvements will be part of Mesa 9.1, to be released in February.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. Rosewill RS-MI-01: An Ultra Low-Cost Mini-ITX Chassis
  2. D-Link DCS-2330L HD Wireless Network Camera
  3. Gigabyte AM1M-S2H
  4. AMD's New Athlon/Semprons Give Old Phenom CPUs A Big Run For The Money
Latest Linux Articles
  1. AMD Catalyst 14.4 On Linux With Radeon R3 APU Graphics
  2. Red Hat Enterprise Linux 7.0 RC Benchmarks
  3. AMD Catalyst 14.4 Brings Few Linux Performance Improvements
  4. The Performance Of Fedora 20 Updated
Latest Linux News
  1. NGINX 1.6 Brings SPDY 3.1 & Other New Features
  2. Linux Foundation Announces A Core Infrastructure Initiative
  3. More Steam Linux Tests/Benchmarks Might Be Coming
  4. NVIDIA's Amazing Single-Board ARM Computer Might Be Delayed
  5. Fedora 21 To Get A Playground, New Features
  6. PC-BSD Is Developing Its Own Desktop Environment
  7. Valve Is Bringing VOGL To Windows & Working On Regression Tests
  8. Canonical Is Taking Over Linux 3.13 Kernel Maintenance
  9. Google Web Designer Is Now Natively Available On Linux
  10. Ubuntu 14.10 Is Codenamed The Utopic Unicorn
  11. Audacious 3.5 Lightweight Audio Player Released
  12. Steam Updated For Ubuntu 14.04 LTS, SteamOS
Latest Forum Discussions
  1. HTPC-upgrade advice: AMD Richland A8-7600 or Kaveri A10-6700T ???
  2. What Else Would You Like To See On Phoronix This Spring?
  3. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  4. The GNOME Foundation Is Running Short On Money
  5. The Most Amazing OpenGL Tech Demo In 64kb
  6. Announcing radeontop, a tool for viewing the GPU usage
  7. New card. Open source drivers only.
  8. Script for Fan Speed Control