Re: [r300] texturing mode issue with r420 (X800 XT)

2005-09-03 Thread Rune Petersen

Aapo Tahkola wrote:

On Sun, 28 Aug 2005 22:18:20 +0200
Rune Petersen <[EMAIL PROTECTED]> wrote:



Hi,

I've found some texturing modes course corruption and lockups on my 
hardware.
With quake3 I get corruption, and often lockup when starting a 
match/map. Q3DM0 locks up 9 out of 10 times. Q3DM17 works 10 out of 10 
times.



This is most likely r420 specific.
Q3DM0 would seem to use multi texturing more often than Q3DM17, so you might 
want to try progs/demos/multiarb .

I coulden't reproduce the corruption with multiarb.
I do however think I've found a partial fix, it looks ike someone 
commented out a break by mistake. correcting this fixed the textures in 
bzflag (the menu is still corrupted).

patch attached.


Rune Petersen
Index: r300_tex.c
===
RCS file: /cvs/mesa/Mesa/src/mesa/drivers/dri/r300/r300_tex.c,v
retrieving revision 1.15
diff -u -r1.15 r300_tex.c
--- r300_tex.c  20 Jul 2005 21:35:27 -  1.15
+++ r300_tex.c  3 Sep 2005 13:40:22 -
@@ -826,9 +826,9 @@
R200_STATECHANGE(rmesa, tf);
rmesa->hw.tf.cmd[TF_TFACTOR_0 + unit] =
envColor;
-   }
+   }*/
break;
-   */}
+   }
 
case GL_TEXTURE_LOD_BIAS_EXT:{
GLfloat bias, min;


Re: [r300] texturing mode issue with r420 (X800 XT)

2005-08-31 Thread Aapo Tahkola
On Sun, 28 Aug 2005 22:18:20 +0200
Rune Petersen <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I've found some texturing modes course corruption and lockups on my 
> hardware.
> With quake3 I get corruption, and often lockup when starting a 
> match/map. Q3DM0 locks up 9 out of 10 times. Q3DM17 works 10 out of 10 
> times.

This is most likely r420 specific.
Q3DM0 would seem to use multi texturing more often than Q3DM17, so you might 
want to try progs/demos/multiarb .

> With bzflag I get corruption the instent I select the affected modes.
> 
> The affected texture modes are:
> NEAREST_MIPMAP_LINEAR
> LINEAR_MIPMAP_LINEAR
> LINEAR_MIPMAP_NEAREST

I imagine mipmaps would work a lot better if the gpu would know what levels are 
actually available...
r300 tex reg layout is different from r200s so R200_MAX_MIP_LEVEL_SHIFT 
shouldnt work.

-- 
Aapo Tahkola


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[r300] texturing mode issue with r420 (X800 XT)

2005-08-28 Thread Rune Petersen

Hi,

I've found some texturing modes course corruption and lockups on my 
hardware.
With quake3 I get corruption, and often lockup when starting a 
match/map. Q3DM0 locks up 9 out of 10 times. Q3DM17 works 10 out of 10 
times.

With bzflag I get corruption the instent I select the affected modes.

The affected texture modes are:
NEAREST_MIPMAP_LINEAR
LINEAR_MIPMAP_LINEAR
LINEAR_MIPMAP_NEAREST

setup:
I uning the latest CVS versions of DRM and Mesa. Xorg is about 2 weeks old.

Can someone confirm if this is a general problem or just on my setup?
And does anyone have any idea as to what the caues could be?


Rune Petersen




---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel