Re: [Dri-devel] 3rd TMU on radeon

2003-06-27 Thread Ian Romanick
Andreas Stenglein wrote: diff -ru trunk_20030619/xc/xc/lib/GL/mesa/src/drv/radeon/radeon_tcl.c tex3_20030619/xc/xc/lib/GL/mesa/src/drv/radeon/radeon_tcl.c --- trunk_20030619/xc/xc/lib/GL/mesa/src/drv/radeon/radeon_tcl.cFri May 2 13:01:54 2003 +++ tex3_20030619/xc/xc/lib/GL/mesa/src/drv/

Re: [Dri-devel] 3rd TMU on radeon

2003-06-27 Thread Andreas Stenglein
Ian, thanks a lot for having a look at it. Am 2003.06.27 03:19:00 +0200 schrieb(en) Ian Romanick: > Andreas Stenglein wrote: > > here is a patch that works at least for multiarb.c > > It is against HEAD from 19 June 2003 > > (I cleaned it up a bit but its not ready for merge: > > still some ques

Re: [Dri-devel] 3rd TMU on radeon

2003-06-26 Thread Ian Romanick
Andreas Stenglein wrote: here is a patch that works at least for multiarb.c It is against HEAD from 19 June 2003 (I cleaned it up a bit but its not ready for merge: still some questions...) I've taken a quick peek at this patch, and I have a couple comments. I hope to be able to look at it in mo

Re: [Dri-devel] 3rd TMU on radeon

2003-06-26 Thread Andreas Stenglein
here is a patch that works at least for multiarb.c It is against HEAD from 19 June 2003 (I cleaned it up a bit but its not ready for merge: still some questions...) 1) could someone with an 8MB or 16MB Radeon check if the resulting max_texturesize is big enough? (just use mesa's glxinfo: glxinfo

Re: [Dri-devel] 3rd TMU on radeon

2003-06-24 Thread Michel Dänzer
On Mon, 2003-06-23 at 18:08, Andreas Stenglein wrote: > > Am 2003.06.23 12:17:26 +0200 schrieb(en) Michel Dänzer: > > On Sat, 2003-06-21 at 14:14, Andreas Stenglein wrote: > > > > > > + init_rgba_st_st_st(); > > > + init_rgba_spec_st_st_st(); > > > + init_st_st_st_n(); > > > + init_rgpa_

Re: [Dri-devel] 3rd TMU on radeon

2003-06-23 Thread Roland Scheidegger
Ian Romanick wrote: Forge wrote: I think a detail is being overlooked here. R200 does not have 3 TMUs per pipe. R200 is 4 pipes, 2 TMUs each. Only R100 (Radeon) and RV200 (Radeon 7500) and their derivatives use the 2*3 pipes/TMUs layout. Does anyone have any evidence to the contrary? No. It

Re: [Dri-devel] 3rd TMU on radeon

2003-06-23 Thread Ian Romanick
Forge wrote: I think a detail is being overlooked here. R200 does not have 3 TMUs per pipe. R200 is 4 pipes, 2 TMUs each. Only R100 (Radeon) and RV200 (Radeon 7500) and their derivatives use the 2*3 pipes/TMUs layout. Does anyone have any evidence to the contrary? No. It has 2 TMUs per pipe an

Re: [Dri-devel] 3rd TMU on radeon

2003-06-23 Thread Jonathan Thambidurai
On Mon, 2003-06-23 at 16:30, Andreas Stenglein wrote: > Am 2003.06.23 19:12:01 +0200 schrieb(en) Keith Whitwell: > On my 64MB Radeon7500 the max texture size is 2048 with 2TMU and > 1024 with 3TMUs. It shouldnt be a problem for 32MB versions as long es > the max texture size is as big as opengl re

Re: [Dri-devel] 3rd TMU on radeon

2003-06-23 Thread Forge
I think a detail is being overlooked here. R200 does not have 3 TMUs per pipe. R200 is 4 pipes, 2 TMUs each. Only R100 (Radeon) and RV200 (Radeon 7500) and their derivatives use the 2*3 pipes/TMUs layout. Does anyone have any evidence to the contrary? - Rich 'Forge' Mingin -

Re: [Dri-devel] 3rd TMU on radeon

2003-06-23 Thread Ian Romanick
Andreas Stenglein wrote: Am 2003.06.23 19:12:01 +0200 schrieb(en) Keith Whitwell: Ian Romanick wrote: As another data point, I have attached my very old patch to enable the 3rd TMU on Radeon. IIRC, it worked w/HW TCL, vtxfmt, & codegen. It is now quite outdated. There were a couple of reason

Re: [Dri-devel] 3rd TMU on radeon

2003-06-23 Thread Andreas Stenglein
Am 2003.06.23 19:12:01 +0200 schrieb(en) Keith Whitwell: > Ian Romanick wrote: > > Andreas Stenglein wrote: > > > >> I tried to get the 3rd TMU working on radeon, > >> and with this patch it works at least > >> without hw-TCL for multiarb.c from Mesa/demos. > >> (RADEON_TCL_FORCE_DISABLE=1) > >> >

Re: [Dri-devel] 3rd TMU on radeon

2003-06-23 Thread Keith Whitwell
Ian Romanick wrote: Andreas Stenglein wrote: I tried to get the 3rd TMU working on radeon, and with this patch it works at least without hw-TCL for multiarb.c from Mesa/demos. (RADEON_TCL_FORCE_DISABLE=1) With hw-TCL the 3rd texture is visible, but isnt rotating. The patch also includes some code

Re: [Dri-devel] 3rd TMU on radeon

2003-06-23 Thread Ian Romanick
Andreas Stenglein wrote: I tried to get the 3rd TMU working on radeon, and with this patch it works at least without hw-TCL for multiarb.c from Mesa/demos. (RADEON_TCL_FORCE_DISABLE=1) With hw-TCL the 3rd texture is visible, but isnt rotating. The patch also includes some code for the kernelmodule

Re: [Dri-devel] 3rd TMU on radeon

2003-06-23 Thread Keith Whitwell
Andreas Stenglein wrote: thanks a lot! btw, I got the 3rd TMU working with hw-tcl and codegen, too. (at least multiarb.c works) I'm going to clean the patch up a bit, so that it only contains things related to 3rd TMU support. Am 2003.06.23 12:17:26 +0200 schrieb(en) Michel Dänzer: On Sat, 2003-0

Re: [Dri-devel] 3rd TMU on radeon

2003-06-23 Thread Andreas Stenglein
thanks a lot! btw, I got the 3rd TMU working with hw-tcl and codegen, too. (at least multiarb.c works) I'm going to clean the patch up a bit, so that it only contains things related to 3rd TMU support. Am 2003.06.23 12:17:26 +0200 schrieb(en) Michel Dänzer: > On Sat, 2003-06-21 at 14:14, Andreas

Re: [Dri-devel] 3rd TMU on radeon

2003-06-23 Thread Felix Kühling
On 23 Jun 2003 12:17:26 +0200 Michel Dänzer <[EMAIL PROTECTED]> wrote: > On Sat, 2003-06-21 at 14:14, Andreas Stenglein wrote: [snip] > > > + /* question: shouldn't the following be controlled by the > > kernelmodule */ > > + /* and/or Xserver-configuration if it can crash the card? */ > >

Re: [Dri-devel] 3rd TMU on radeon

2003-06-23 Thread Michel Dänzer
On Sat, 2003-06-21 at 14:14, Andreas Stenglein wrote: > > [...] some comments where I dont know what to do. I'll try to address some of them: > + if( (sPriv->drmMinor < 3) || (getenv( "RADEON_NO_3RD_TMU")) ) /* > question: is the check for drmMinor necessary? */ > + ctx->Const.MaxTextureU

RE: [Dri-devel] 3rd TMU on radeon

2003-06-22 Thread Daniel Vogel
> Before starting another attempt: What version do I need: > ut2003demo-lnx-2206.sh.bin ? Correct. > and the UT2003 2225 patch ? > Or do I need to get the full game for the latest features and fixes? You need the full version of the game in order to patch it to version 2225. -- Daniel, Epic Ga

Re: [Dri-devel] 3rd TMU on radeon

2003-06-22 Thread Andreas Stenglein
Now I have it working with hw-tcl, too. :) (Just missed a few bits here and there) But its necessary to disable codegen or vtxfmt. (export RADEON_NO_CODEGEN=1) greetings, Andreas --- This SF.Net email is sponsored by: INetU Attention Web Develo

Re: [Dri-devel] 3rd TMU on radeon

2003-06-22 Thread leahcim
On Sun, Jun 22, 2003 at 01:47:44PM +0200, Andreas Stenglein wrote: > Am 2003.06.21 22:23:40 +0200 schrieb(en) Daniel Vogel: > > > On Sat, Jun 21, 2003 at 02:14:20PM +0200, Andreas Stenglein wrote: > > > > Which programs/demos/games could/should be tested as > > > > they make use of the 3rd texture

Re: [Dri-devel] 3rd TMU on radeon

2003-06-22 Thread Andreas Stenglein
Am 2003.06.21 22:23:40 +0200 schrieb(en) Daniel Vogel: > > On Sat, Jun 21, 2003 at 02:14:20PM +0200, Andreas Stenglein wrote: > > > Which programs/demos/games could/should be tested as > > > they make use of the 3rd texture unit? > > > > There was a patch on the list ages ago (before a lot of > >

RE: [Dri-devel] 3rd TMU on radeon

2003-06-21 Thread Daniel Vogel
> On Sat, Jun 21, 2003 at 02:14:20PM +0200, Andreas Stenglein wrote: > > Which programs/demos/games could/should be tested as > > they make use of the 3rd texture unit? > > There was a patch on the list ages ago (before a lot of > the new stuff like TCL / vtxfmt was added) > > http://marc.theaim

Re: [Dri-devel] 3rd TMU on radeon

2003-06-21 Thread leahcim
On Sat, Jun 21, 2003 at 02:14:20PM +0200, Andreas Stenglein wrote: > Which programs/demos/games could/should be tested as > they make use of the 3rd texture unit? There was a patch on the list ages ago (before a lot of the new stuff like TCL / vtxfmt was added) http://marc.theaimsgroup.com/?l=dr

[Dri-devel] 3rd TMU on radeon

2003-06-21 Thread Andreas Stenglein
I tried to get the 3rd TMU working on radeon, and with this patch it works at least without hw-TCL for multiarb.c from Mesa/demos. (RADEON_TCL_FORCE_DISABLE=1) With hw-TCL the 3rd texture is visible, but isnt rotating. The patch also includes some code for the kernelmodule for cube-textures on ra