Patch applied to trunk rev 411aa8c322f6703b20d32c7c263fd7ea8639cf3f cleanly and appears to solve all problems. Pavel, can you or other sourcemage users with r600 cards also test ?