Re: 3D texture size limitations in mesa/r200?

"R. Aditya Kadambi" <[email protected]> Sat, 5 Jan 2008 09:28:15 -0700
Newsgroups gmane.comp.video.dri.user
Message-ID <[email protected]>
On Jan 5, 2008 8:35 AM, Roland Scheidegger <[email protected]>
wrote:

> R. Aditya Kadambi wrote:
> > I get these debug messages at start on setting R200_DEBUG=tex. Same
> > messages for the successful rendering and unsuccessful rendering!
> >
> > r200AllocTexObj( 0x802bf2800, 0x802ef0800 )
> Hmm that's not much debug output. Guess you'd need a version built for
> debugging...
>
> > Thanks. Looks like the patch is for drivers/dri/radeon/*. I thought
> > the driver was drivers/dri/r200/*. Am I missing something here?
> No this patch is for the kernel module. It is against the git drm, but
> it should apply to the kernel drm as well probably (but obviously the
> file will be in a different location then).
>
> > In the meantime, I will put in the debug flags and report back. Also
> > I will try out the different sizes mentioned.
> If the problem is what I think it is, going past a certain texture
> height * depth is what will trigger the problem.
>
> Roland


Hi;

I did a little bit more experimentation yesterday.

I increase the texture size in the r200 driver from 256 to 512.

(a)I was able to render a 512x512x32 succesfully. Then I tried 256x256x64.
It rendered successfully.

(b) I restarted X and then rendered 256x256x256. Only "half" volume rendered
successfully.

I tried (a) again and it was a success. That sequence always works.

(c) I tried 512x512x32. Successful. Then tried 512x512x16. Successful. Then
tried 256x256x64. Successful.

I will experiment a bit more. It almost looks like graphics memory is not
"cleaned up". But it is "cleaned up" when I go from 512x512x* to
lower  volumes.

I will report back on the sequences.

Thanks,
Aditya

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

--
_______________________________________________
Dri-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-users