Bug 25093

Summary: mesa demo cubemap renders incorrectly with some filter combinations.
Product: Mesa Reporter: Andy Furniss <adf.lists>
Component: Drivers/DRI/R600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: incorrect cubemap
new cubemap corruption
current 600c cubemap

Description Andy Furniss 2009-11-14 14:33:12 UTC
Created attachment 31208 [details]
incorrect cubemap

Git mesa/ddx & drm-next on rv670 AGP.

I've only just tried this so don't know if it has ever worked.

Pressing "f" several times to cycle through the filter types with mesa/progs/demos/cubemap reveals that some combinations result in incorrect rendering compared to swrast.

example attached.
Comment 1 Andy Furniss 2010-02-26 11:34:40 UTC
(In reply to comment #0)
> Created an attachment (id=31208) [details]
> incorrect cubemap
> 
> Git mesa/ddx & drm-next on rv670 AGP.
> 
> I've only just tried this so don't know if it has ever worked.
> 
> Pressing "f" several times to cycle through the filter types with
> mesa/progs/demos/cubemap reveals that some combinations result in incorrect
> rendering compared to swrast.
> 
> example attached.
> 

This is now working for me.

My testing hasn't been that regular recently, so I am not sure when the fix happened.
Comment 2 Andy Furniss 2010-03-04 12:06:26 UTC
Created attachment 33765 [details]
new cubemap corruption
Comment 3 Andy Furniss 2010-03-04 12:07:36 UTC
(In reply to comment #1)

> This is now working for me.

Must have been a fluke - it seems like if other games/demos have been run first it has a chance of looking OK.

If however it is the first thing I run then it's always corrupt, although I can't get it to look like the original screen shot I posted.

Tried running several recent kernels,UMS,KMS,PCIE gart or AGP gart - all show the same corruption as attached. Once other apps have run the square is likely not to show, the black around the edges needs f pressing and only seems to show on filters involving nearest.
Comment 4 Andy Furniss 2010-11-17 03:39:33 UTC
Created attachment 40333 [details]
current 600c cubemap

Have been using a rv790 for a while and cubemap rendered OK with that a couple of weeks ago.

Testing current gits again with my rv670 AGP box, there is still corruption but things have changed a bit.

Gallium shown no corruption.

Classic only shows corruption around the red section on the sphere and only when the filter contains mipmap.
Comment 5 Andy Furniss 2011-01-23 08:10:02 UTC
Working OK now with current git.

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.