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=8348          
     

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




------- Additional Comments From [EMAIL PROTECTED]  2006-11-01 16:30 -------
The bug lie in radeon_vtmx code, more specificly in DrawElements
and DrawRangeElements. Basicly glDrawElements and glDrawRangeElements
let you draw a number of (count) elements, and you give an array of
indices in the array of vertices. Thus you have to upload max - min
vertex where max is the highest index in the indices array and min
is the lowest index in the indices array. The (max - min) value isn't
checked against RADEON_BUFFER_SIZE thus the DrawElements might ask
for DMA region which can't be allocated.

I don't see any easy fix to that, this likely need a bunch of corner
case test. So i think we should avoid loosing time fixing this, we
will get a better solution when i (or any other person :)) port the
r300 driver to the shiny new TTM infrastructure and then get benefits
from the generic VBO handling they will come with this =).

As a workaround i suggest to disable vtmx code, you could do that by
commenting out #define RADEON_VTXFMT_A in r300_context.h

A side note: this bug is triggered by ppracer because it seems that
ppracer is growing its vertices array with new vertex while playing
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to