[Bug 6991] ppracer "doing" level locks r300 after drawing n frames

2006-06-26 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=6991  
 




--- Additional Comments From [EMAIL PROTECTED]  2006-06-26 22:40 ---
Try with fglrx and check your card temperature. I had a bad surprise when i
found out that after i runned the first r300init lockups remains even with fglrx
and Windows. Further investigation pointed out that r300init modified some
memory timings parameters. Those very aggressive parameters mistreated the AGP
stuff of my MB ( an A7N8X ) and then my second MB ( an A7N8X-E D ). And that
distorded MB mistreated my second GC ( another 9800 Pro ). Result : 2 MB and 2
GC almost dead, unusable ( artifacts , no 3D, crash after 30 minutes even in 2D 
).  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [r300][PATCH] fix vertex attribs - try 2 - Re: [r300] ARB vp attribs broken?

2006-06-26 Thread Aapo Tahkola
On Mon, 26 Jun 2006 21:22:12 +0200
Rune Petersen <[EMAIL PROTECTED]> wrote:

> Brian Paul wrote:
> > Rune Petersen wrote:
> >> Tilman Sauerbeck wrote:
> >>
> >>> Rune Petersen [2006-06-25 16:31]:
> >>>
>  I've been looking at vertex shaders this weekend.
> 
>  It would appear that attribs are broken. The most straight
>  forward way to test this it to compare progs/tests/arbvptest3 to 
>  progs/tests/vptest3
> 
>  On my system I get different colors when I resize the window.
> 
>  Can someone confirm this? (it would explain why Doom 3 is broken)
> >>>
> >>> Yes, I have reported this some weeks ago:
> >>> http://marc.theaimsgroup.com/?l=dri-devel&m=114855685402158&w=2
> >>>
> >>
> >> Don't know how I fixed that...
> >>
> >> It would appear to be caused bu the reshuffling of the attribs.
> >>
> >> Any idea where the attribs are passed to the driver?
> >> and how to read the data in the attribs...
> > 
> > I can't comment on the r300 driver, but the change in vertex
> > aliasing in core Mesa is pretty simple.  It's really just a change
> > of which index into the VB->Attribs[] array corresponds to
> > glVertexAttribARB(index, ...).
> > 
> 
> 
> This is getting embarrassing...
> 
> try 3 attached.

Checked in. Thanks.

-- 
Aapo Tahkola

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 6991] ppracer "doing" level locks r300 after drawing n frames

2006-06-26 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=6991  
 




--- Additional Comments From [EMAIL PROTECTED]  2006-06-26 17:04 ---
Log and xorg.conf attached.
I don't have a working fglrx installation at the moment.  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 6991] ppracer "doing" level locks r300 after drawing n frames

2006-06-26 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=6991  
 




--- Additional Comments From [EMAIL PROTECTED]  2006-06-26 17:00 ---
Created an attachment (id=6057)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=6057&action=view)
xorg.conf for above log.
  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 6991] ppracer "doing" level locks r300 after drawing n frames

2006-06-26 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=6991  
 




--- Additional Comments From [EMAIL PROTECTED]  2006-06-26 16:59 ---
Created an attachment (id=6056)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=6056&action=view)
Log for a minimal X session with a ppracer hang.

Using current CVS/GIT of Mesa, DRM and X.org. Ignore the fact that X is on :1
instead of :0. This is the first instance of X invoked since reboot.  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 6991] ppracer "doing" level locks r300 after drawing n frames

2006-06-26 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=6991  
 




--- Additional Comments From [EMAIL PROTECTED]  2006-06-26 16:23 ---
Could you attach your xorg.conf and one Xorg.0.log to the bug please. Did you
try running one Xorg server with fglrx first and then another one with open
driver althought in your case this doesn't seems to help we might miss another
initialization voodoo.  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 6991] ppracer "doing" level locks r300 after drawing n frames

2006-06-26 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=6991  
 




--- Additional Comments From [EMAIL PROTECTED]  2006-06-26 13:36 ---
ppracer still crashes. with the latest CVS/GIT versions of Mesa+DRM+X.org,
(including the "radeon: force CP and VIP clocks on some r300 and rv100 chips"
change to xf86-video-ati). 

BTW, the crash is not fully deterministic. Here, if I pick the first ppracer
practice track and let it run without touching anything, the crash varies
between 10 to 12 seconds into the game.  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[r300][PATCH] fix vertex attribs - try 2 - Re: [r300] ARB vp attribs broken?

2006-06-26 Thread Rune Petersen

Brian Paul wrote:

Rune Petersen wrote:

Tilman Sauerbeck wrote:


Rune Petersen [2006-06-25 16:31]:


I've been looking at vertex shaders this weekend.

It would appear that attribs are broken. The most straight forward 
way to test this it to compare progs/tests/arbvptest3 to 
progs/tests/vptest3


On my system I get different colors when I resize the window.

Can someone confirm this? (it would explain why Doom 3 is broken)


Yes, I have reported this some weeks ago:
http://marc.theaimsgroup.com/?l=dri-devel&m=114855685402158&w=2



Don't know how I fixed that...

It would appear to be caused bu the reshuffling of the attribs.

Any idea where the attribs are passed to the driver?
and how to read the data in the attribs...


I can't comment on the r300 driver, but the change in vertex aliasing in 
core Mesa is pretty simple.  It's really just a change of which index 
into the VB->Attribs[] array corresponds to glVertexAttribARB(index, ...).





This is getting embarrassing...

try 3 attached.


Rune Petersen
Index: radeon_vtxfmt_a.c
===
RCS file: /cvs/mesa/Mesa/src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c,v
retrieving revision 1.14
diff -u -r1.14 radeon_vtxfmt_a.c
--- radeon_vtxfmt_a.c   12 Jun 2006 22:39:49 -  1.14
+++ radeon_vtxfmt_a.c   26 Jun 2006 19:18:54 -
@@ -73,6 +73,9 @@

for (i=0; i < ctx->Const.MaxTextureCoordUnits; i++)
CONV_VB(VERT_ATTRIB_TEX0 + i, TexCoordPtr[i]);
+
+   for (i=0; i < 16; i++)
+   CONV_VB(VERT_ATTRIB_GENERIC0 + i, 
AttribPtr[VERT_ATTRIB_GENERIC0 + i]);

rvb->Primitive = vb->Primitive;
rvb->PrimitiveCount = vb->PrimitiveCount;
Index: r300_maos.c
===
RCS file: /cvs/mesa/Mesa/src/mesa/drivers/dri/r300/r300_maos.c,v
retrieving revision 1.33
diff -u -r1.33 r300_maos.c
--- r300_maos.c 12 Jun 2006 22:39:49 -  1.33
+++ r300_maos.c 26 Jun 2006 19:18:54 -
@@ -368,6 +368,12 @@
rmesa->state.aos[nr++].aos_reg = 
prog->inputs[VERT_ATTRIB_TEX0+i];
}
}
+   for (i=0;i<(_TNL_LAST_GENERIC-_TNL_FIRST_GENERIC);i++) {
+   if (InputsRead & (1<<(VERT_ATTRIB_GENERIC0+i))) {
+   RENDERINPUTS_SET( inputs_bitset, 
_TNL_ATTRIB_GENERIC(i) );
+   rmesa->state.aos[nr++].aos_reg = 
prog->inputs[VERT_ATTRIB_GENERIC0+i];
+   }
+   }
nr = 0;
} else {
RENDERINPUTS_COPY( inputs_bitset, 
TNL_CONTEXT(ctx)->render_inputs_bitset );
@@ -457,6 +463,14 @@
r300->state.texture.tc_count++;
}
}
+   for (i = 0; i < (_TNL_LAST_GENERIC-_TNL_FIRST_GENERIC); i++) {
+   if (RENDERINPUTS_TEST( inputs_bitset, _TNL_ATTRIB_GENERIC(i) )) 
{
+   CONFIGURE_AOS(i_attrib[i], AOS_FORMAT_FLOAT,
+   
VB->AttribPtr[VERT_ATTRIB_GENERIC0+i],
+   immd ? 4 : 
VB->AttribPtr[VERT_ATTRIB_GENERIC0+i].size,
+   count);
+   }
+   }
for(i=0; i < nr; i++)
if(r300->state.aos[i].aos_format == 2){
assert(r300->state.aos[i].aos_size == 1);
Index: r300_context.h
===
RCS file: /cvs/mesa/Mesa/src/mesa/drivers/dri/r300/r300_context.h,v
retrieving revision 1.97
diff -u -r1.97 r300_context.h
--- r300_context.h  26 Apr 2006 11:36:27 -  1.97
+++ r300_context.h  26 Jun 2006 19:18:55 -
@@ -544,6 +544,7 @@
   int i_color[2];
   int i_fog;
   int i_tex[R300_MAX_TEXTURE_UNITS];
+  int i_attrib[_TNL_LAST_GENERIC-_TNL_FIRST_GENERIC];
   int i_index;
   int i_pointsize;
};
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[r300][PATCH] fix vertex attribs - try 2 - Re: [r300] ARB vp attribs broken?

2006-06-26 Thread Rune Petersen

Brian Paul wrote:

Rune Petersen wrote:

Tilman Sauerbeck wrote:


Rune Petersen [2006-06-25 16:31]:


I've been looking at vertex shaders this weekend.

It would appear that attribs are broken. The most straight forward 
way to test this it to compare progs/tests/arbvptest3 to 
progs/tests/vptest3


On my system I get different colors when I resize the window.

Can someone confirm this? (it would explain why Doom 3 is broken)


Yes, I have reported this some weeks ago:
http://marc.theaimsgroup.com/?l=dri-devel&m=114855685402158&w=2



Don't know how I fixed that...

It would appear to be caused bu the reshuffling of the attribs.

Any idea where the attribs are passed to the driver?
and how to read the data in the attribs...


I can't comment on the r300 driver, but the change in vertex aliasing in 
core Mesa is pretty simple.  It's really just a change of which index 
into the VB->Attribs[] array corresponds to glVertexAttribARB(index, ...).




try 2:

I believe I have found the problem... the attributes weren't copied..

Patch attached.


Rune Petersen
Index: radeon_vtxfmt_a.c
===
RCS file: /cvs/mesa/Mesa/src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c,v
retrieving revision 1.14
diff -u -r1.14 radeon_vtxfmt_a.c
--- radeon_vtxfmt_a.c   12 Jun 2006 22:39:49 -  1.14
+++ radeon_vtxfmt_a.c   26 Jun 2006 18:18:06 -
@@ -73,6 +73,9 @@

for (i=0; i < ctx->Const.MaxTextureCoordUnits; i++)
CONV_VB(VERT_ATTRIB_TEX0 + i, TexCoordPtr[i]);
+
+   for (i=0; i < 16; i++)
+   CONV_VB(VERT_ATTRIB_GENERIC0 + i, 
AttribPtr[VERT_ATTRIB_GENERIC0 + i]);

rvb->Primitive = vb->Primitive;
rvb->PrimitiveCount = vb->PrimitiveCount;
Index: r300_maos.c
===
RCS file: /cvs/mesa/Mesa/src/mesa/drivers/dri/r300/r300_maos.c,v
retrieving revision 1.33
diff -u -r1.33 r300_maos.c
--- r300_maos.c 12 Jun 2006 22:39:49 -  1.33
+++ r300_maos.c 26 Jun 2006 18:18:06 -
@@ -368,6 +368,12 @@
rmesa->state.aos[nr++].aos_reg = 
prog->inputs[VERT_ATTRIB_TEX0+i];
}
}
+   for (i=0;i<(_TNL_LAST_GENERIC-_TNL_FIRST_GENERIC);i++) {
+   if (InputsRead & (1<<(VERT_ATTRIB_GENERIC0+i))) {
+   RENDERINPUTS_SET( inputs_bitset, 
_TNL_ATTRIB_GENERIC(i) );
+   rmesa->state.aos[nr++].aos_reg = 
prog->inputs[VERT_ATTRIB_GENERIC0+i];
+   }
+   }
nr = 0;
} else {
RENDERINPUTS_COPY( inputs_bitset, 
TNL_CONTEXT(ctx)->render_inputs_bitset );
@@ -457,6 +463,14 @@
r300->state.texture.tc_count++;
}
}
+   for (i = 0; i < (_TNL_LAST_GENERIC-_TNL_FIRST_GENERIC); i++) {
+   if (RENDERINPUTS_TEST( inputs_bitset, _TNL_ATTRIB_GENERIC(i) )) 
{
+   CONFIGURE_AOS(i_attrib[i], AOS_FORMAT_FLOAT,
+   
VB->AttribPtr[VERT_ATTRIB_GENERIC0+i],
+   immd ? 4 : 
VB->AttribPtr[VERT_ATTRIB_GENERIC0+i].size,
+   count);
+   }
+   }
for(i=0; i < nr; i++)
if(r300->state.aos[i].aos_format == 2){
assert(r300->state.aos[i].aos_size == 1);
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [r300][PATCH] fix vertex attribs - Re: [r300] ARB vp attribs broken

2006-06-26 Thread Rune Petersen
f* it up 


Rune Petersen

Rune Petersen wrote:
> Brian Paul wrote:
>> Rune Petersen wrote:
>>> Tilman Sauerbeck wrote:
>>>
 Rune Petersen [2006-06-25 16:31]:

> I've been looking at vertex shaders this weekend.
>
> It would appear that attribs are broken. The most straight forward 
> way to test this it to compare progs/tests/arbvptest3 to 
> progs/tests/vptest3
>
> On my system I get different colors when I resize the window.
>
> Can someone confirm this? (it would explain why Doom 3 is broken)

 Yes, I have reported this some weeks ago:
 http://marc.theaimsgroup.com/?l=dri-devel&m=114855685402158&w=2

>>>
>>> Don't know how I fixed that...
>>>
>>> It would appear to be caused bu the reshuffling of the attribs.
>>>
>>> Any idea where the attribs are passed to the driver?
>>> and how to read the data in the attribs...
>>
>> I can't comment on the r300 driver, but the change in vertex aliasing 
>> in core Mesa is pretty simple.  It's really just a change of which 
>> index into the VB->Attribs[] array corresponds to 
>> glVertexAttribARB(index, ...).
> 
> I believe I have found the problem... the attributes weren't copied..
> 
> Patch attached.
> 
> 
> Rune Petersen


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[r300][PATCH] fix vertex attribs - Re: [r300] ARB vp attribs broken

2006-06-26 Thread Rune Petersen

Brian Paul wrote:

Rune Petersen wrote:

Tilman Sauerbeck wrote:


Rune Petersen [2006-06-25 16:31]:


I've been looking at vertex shaders this weekend.

It would appear that attribs are broken. The most straight forward 
way to test this it to compare progs/tests/arbvptest3 to 
progs/tests/vptest3


On my system I get different colors when I resize the window.

Can someone confirm this? (it would explain why Doom 3 is broken)


Yes, I have reported this some weeks ago:
http://marc.theaimsgroup.com/?l=dri-devel&m=114855685402158&w=2



Don't know how I fixed that...

It would appear to be caused bu the reshuffling of the attribs.

Any idea where the attribs are passed to the driver?
and how to read the data in the attribs...


I can't comment on the r300 driver, but the change in vertex aliasing in 
core Mesa is pretty simple.  It's really just a change of which index 
into the VB->Attribs[] array corresponds to glVertexAttribARB(index, ...).


I believe I have found the problem... the attributes weren't copied..

Patch attached.


Rune Petersen

Index: radeon_vtxfmt_a.c
===
RCS file: /cvs/mesa/Mesa/src/mesa/drivers/dri/r300/radeon_vtxfmt_a.c,v
retrieving revision 1.14
diff -u -r1.14 radeon_vtxfmt_a.c
--- radeon_vtxfmt_a.c   12 Jun 2006 22:39:49 -  1.14
+++ radeon_vtxfmt_a.c   26 Jun 2006 17:52:09 -
@@ -73,6 +73,9 @@

for (i=0; i < ctx->Const.MaxTextureCoordUnits; i++)
CONV_VB(VERT_ATTRIB_TEX0 + i, TexCoordPtr[i]);
+
+   for (i=0; i < 16; i++)
+   CONV_VB(VERT_ATTRIB_GENERIC0 + i, 
AttribPtr[VERT_ATTRIB_GENERIC0 + i]);

rvb->Primitive = vb->Primitive;
rvb->PrimitiveCount = vb->PrimitiveCount;
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [r300] ARB vp attribs broken?

2006-06-26 Thread Rune Petersen
Brian Paul wrote:
> Rune Petersen wrote:
>> Tilman Sauerbeck wrote:
>>
>>> Rune Petersen [2006-06-25 16:31]:
>>>
 I've been looking at vertex shaders this weekend.

 It would appear that attribs are broken. The most straight forward 
 way to test this it to compare progs/tests/arbvptest3 to 
 progs/tests/vptest3

 On my system I get different colors when I resize the window.

 Can someone confirm this? (it would explain why Doom 3 is broken)
>>>
>>> Yes, I have reported this some weeks ago:
>>> http://marc.theaimsgroup.com/?l=dri-devel&m=114855685402158&w=2
>>>
>>
>> Don't know how I fixed that...
>>
>> It would appear to be caused bu the reshuffling of the attribs.
>>
>> Any idea where the attribs are passed to the driver?
>> and how to read the data in the attribs...
> 
> I can't comment on the r300 driver, but the change in vertex aliasing in 
> core Mesa is pretty simple.  It's really just a change of which index 
> into the VB->Attribs[] array corresponds to glVertexAttribARB(index, ...).
> 
But how do I pass the data?
I assume there is an existing function that does this...

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [r300] ARB vp attribs broken?

2006-06-26 Thread Tilman Sauerbeck
Rune Petersen [2006-06-25 21:55]:
> Tilman Sauerbeck wrote:
> > Rune Petersen [2006-06-25 16:31]:
> >> I've been looking at vertex shaders this weekend.
> >>
> >> It would appear that attribs are broken. The most straight forward way 
> >> to test this it to compare progs/tests/arbvptest3 to progs/tests/vptest3
> >>
> >> On my system I get different colors when I resize the window.
> >>
> >> Can someone confirm this? (it would explain why Doom 3 is broken)
> > 
> > Yes, I have reported this some weeks ago:
> > http://marc.theaimsgroup.com/?l=dri-devel&m=114855685402158&w=2
> > 
> Don't know how I fixed that...
> 
> It would appear to be caused bu the reshuffling of the attribs.
> 
> Any idea where the attribs are passed to the driver?
> and how to read the data in the attribs...

I figured it out. For NV vp's, the generic attributes will shadow the
conventional ones, which means that src->Index will be 3 if you're
accessing
  vertex.attrib[3] (the 3rd generic attribute).

In ARB vp's, src->Index will be 19 instead for the 3rd generic attribute
(= VERT_ATTRIB_GENERIC3).

It seems the code in r300_vertexprog.c (and thus also the hardware)
wants the number of the generic attribute...

Modifying t_src_index in r300_vertexprog.c like this:

tmp = src->Index;
if (tmp >= VERT_ATTRIB_GENERIC0)
tmp -= VERT_ATTRIB_GENERIC0;
 
/* use tmp instead of src->Index in the following lines */

doesn't help though.

Not sure what to do :/

Regards,
Tilman

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?


pgppa3yAGGlET.pgp
Description: PGP signature
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [r300] ARB vp attribs broken?

2006-06-26 Thread Brian Paul
Rune Petersen wrote:
> Tilman Sauerbeck wrote:
> 
>>Rune Petersen [2006-06-25 16:31]:
>>
>>>I've been looking at vertex shaders this weekend.
>>>
>>>It would appear that attribs are broken. The most straight forward way 
>>>to test this it to compare progs/tests/arbvptest3 to progs/tests/vptest3
>>>
>>>On my system I get different colors when I resize the window.
>>>
>>>Can someone confirm this? (it would explain why Doom 3 is broken)
>>
>>Yes, I have reported this some weeks ago:
>>http://marc.theaimsgroup.com/?l=dri-devel&m=114855685402158&w=2
>>
> 
> Don't know how I fixed that...
> 
> It would appear to be caused bu the reshuffling of the attribs.
> 
> Any idea where the attribs are passed to the driver?
> and how to read the data in the attribs...

I can't comment on the r300 driver, but the change in vertex aliasing 
in core Mesa is pretty simple.  It's really just a change of which 
index into the VB->Attribs[] array corresponds to 
glVertexAttribARB(index, ...).

-Brian


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 6991] ppracer "doing" level locks r300 after drawing n frames

2006-06-26 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=6991  
 




--- Additional Comments From [EMAIL PROTECTED]  2006-06-26 07:15 ---
Created an attachment (id=6047)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=6047&action=view)
R300 dynamic clock initialization

Could you try this one, like the other change the addr at top of file to
reflect your addr. This sime you can launch it without leaving X but launch it
with no application running and do sync before and as root.

Or you may try the lastest radeon driver in git (the same fix goes in few hour
ago).  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 6991] ppracer "doing" level locks r300 after drawing n frames

2006-06-26 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=6991  
 




--- Additional Comments From [EMAIL PROTECTED]  2006-06-26 07:07 ---
All of my reports are with the default EnablePageFlip = off.
  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 6991] ppracer "doing" level locks r300 after drawing n frames

2006-06-26 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=6991  
 

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Additional Comments From [EMAIL PROTECTED]  2006-06-26 05:31 ---
Do you have page flipping enabled? If you have, disable it and see if it 
works.  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel