Bug 25724

Summary: Artifacts in openarena and compiz after the merge of r300-blit branch
Product: Mesa Reporter: Giacomo Perale <ghepeu>
Component: Drivers/DRI/r300Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: glxinfo output
compiz.png
openarena.png
openarena.log
compiz.log

Description Giacomo Perale 2009-12-19 11:26:19 UTC
Created attachment 32192 [details]
glxinfo output

After osiris' r300-blit branch was merged into master some graphics effects who were unbearably slow now work at a respectable speed (gaussian blur in compiz, bloom in openarena) but with some graphic glitches (see attached screenshots).

Currently using xserver 1.7.3.901, mesa, libdrm and xf86-video-ati from git (and 2.6.32 kernel with KMS enabled on a RV380 (glxinfo attached.)

Last commits:

mesa: 4b6dee08652706d02939844fe209cddbae8966e4 "r300: minor blit rework"
libdrm: f1660c249198b5cc14ebbb75107da7bcb6972033 "nouveau: remove delayed kernel bo creation"
xf86-video-ati: 52f6a2ff682ad1f8e26ef1cd7d380493dcd57752 "src/Makefile.am: missing 3 header files in tarball"
Comment 1 Giacomo Perale 2009-12-19 11:28:06 UTC
Created attachment 32193 [details]
compiz.png

Artifacts in compiz: semitransparent window with gaussian blur enabled.

Before the r300-blit branch the effect used to work without artifacts but at 1 fps or less.
Comment 2 Giacomo Perale 2009-12-19 11:40:54 UTC
Created attachment 32194 [details]
openarena.png

Artifacts in openarea with 'bloom' enabled.
Comment 3 Giacomo Perale 2009-12-19 11:42:52 UTC
Created attachment 32195 [details]
openarena.log

As requested in IRC, this is the output of openarena with the supplementary printf enabled in r300_blit.c and r300_texcopy.c
Comment 4 Giacomo Perale 2009-12-19 11:43:15 UTC
Created attachment 32196 [details]
compiz.log

The same for compiz.
Comment 5 Giacomo Perale 2009-12-22 10:15:47 UTC
This is solved by commit e65803932ee2682da0ed201ec1334f48746e772a " drm/radeon/kms: allow for texture tiling" (http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commit;h=e65803932ee2682da0ed201ec1334f48746e772a) in drm-next. Should I close the bug?

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.