[Dri-devel] SW TCL problems with Mesa 5.1

2004-01-05 Thread Michel Dänzer

bzflag shows partially invisible menu and console text (see
http://penguinppc.org/~daenzer/DRI/bzflag.jpeg), some in-game rendering
seems missing as well, in particular in the radar. I see this with r200
on my TiBook, but Robert F. Merrill confirmed it with r100 on x86 on
IRC.

spectex shows what looks like Z fighting with 2-pass lighting +
texturing, see http://penguinppc.org/~daenzer/DRI/spectex.png .

Neither problem was present before the Mesa 5.1 merge.


-- 
Earthling Michel DÃnzer  | Debian (powerpc), X and DRI developer
Software libre enthusiast|   http://svcs.affero.net/rm.php?r=daenzer



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Dri-devel] Radeon TMU3, R200 and Mesa-templates TMU6 patch

2004-01-05 Thread Dieter Nützel
Am Sonntag, 04. Januar 2004 14:50 schrieb Andreas Stenglein:
> Am 2004.01.03 16:22:54 +0100 schrieb(en) Felix Kühling:
> [...]
>
> > I just added a short HOWTO to the Wiki:
> > http://dri.sourceforge.net/cgi-bin/moin.cgi/ConfigurationForDevelopers.
> > Let me know if you find any problems with the config code or the HOWTO.
>
> thanks a lot!
>
> > I'm going to try your patch in a minute. I think Torcs can use 3 TMUs.
>
> did it work ?
>
>
> here are three patches to use additionally to the TMU3/6 patch.
>
> Now by default 2 TMUs are chosen and you can adjust to 1..3 / 1..6

Update available?

It chocks on

Mesa/src/mesa/drivers/dri/r200/r200_swtcl.c
and
Mesa/src/mesa/drivers/dri/radeon/radeon_swtcl.c

-  if (ctx->Texture.Unit[0]._ReallyEnabled)
-inputs |= VERT_BIT_TEX0;
-
-  if (ctx->Texture.Unit[1]._ReallyEnabled)
-inputs |= VERT_BIT_TEX1;
+  for (unit = 0 ; unit < ctx->Const.MaxTextureUnits; unit++) {
+if (ctx->Texture.Unit[unit]._ReallyEnabled)
+inputs |= VERT_BIT_TEX(unit);
+  }


Ah and this is redundant, now (same for r200):

++ Mesa/src/mesa/drivers/dri/radeon/radeon_context.c   Sun Jan  4 14:30:49 
2004
@@ -304,9 +304,10 @@
 */

ctx = rmesa->glCtx;
-   ctx->Const.MaxTextureUnits = 2;
-   ctx->Const.MaxTextureImageUnits = 2;
-   ctx->Const.MaxTextureCoordUnits = 2;
+   ctx->Const.MaxTextureUnits = driQueryOptioni (&rmesa->optionCache,
+"max_tmu");
+   ctx->Const.MaxTextureImageUnits = ctx->Const.MaxTextureUnits;
+   ctx->Const.MaxTextureCoordUnits = ctx->Const.MaxTextureUnits;


Greetings,
Dieter


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Dri-devel] [Bug 314] 3D support for Radeon IGP chips

2004-01-05 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 your comments there.  
 
http://bugs.xfree86.org/show_bug.cgi?id=314   
   

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2004-01-05 18:23 ---
Patches for IGP support have been committed to Mesa and DRI CVS.  Please update
to the very latest of those and the DRM before submitting additional bug
reports.  Future bug reports on IGP issues should be filed as new bugs based on
with the code mentioned above and not as followups to this bug report.   
   
--
Configure bugmail: http://bugs.xfree86.org/userprefs.cgi?tab=email   
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Dri-devel] Weekly IRC meeting reminder

2004-01-05 Thread Ian Romanick

This is just a friendly reminder that the weekly dri-devel IRC meeting will
be starting in the #dri-devel channel on irc.freenode.net at 2100 UTC (or
4:00PM EST or 1:00PM PST, if you prefer).

Time zone conversion available at:

http://www.timezoneconverter.com/cgi-bin/tzc.tzc

Logs of previous IRC meetings are available at:

http://dri.sourceforge.net/IRC-logs/


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Dri-devel] Radeon TMU3, R200 and Mesa-templates TMU6 patch

2004-01-05 Thread Keith Whitwell
Keith Whitwell wrote:
Andreas Stenglein wrote:

here is what I fiddled together to support the 3rd TMU on radeon
and 6TMUs on r200.
I tried on R200 with multiarb.c and projtex.c and it works almost as 
it should.
(projtex is broken somehow on r200, even with only 2 TMUs)


The patches look ok.  I've actually been working on something 
simultaneously which avoids the combinatoric explosion when using 
t_dd_vbtmp.h by allowing the driver to submit a list of vertex 
attributes at runtime.  Currently it's slightly slower than 
t_dd_vbtmp.h, but codegen will fix that and should be a performance win 
as well.  The new code is in tnl/t_vertex.[ch], I don't have an example 
of its use to post at this time, though.
Hmm.  Slight hiccup committing t_vertex.[ch], due to a braino on my behalf. 
They've ended up in the old sf cvs - I'll yell again when its fixed.

Keith



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Dri-devel] Radeon TMU3, R200 and Mesa-templates TMU6 patch

2004-01-05 Thread Keith Whitwell
Andreas Stenglein wrote:
here is what I fiddled together to support the 3rd TMU on radeon
and 6TMUs on r200.
I tried on R200 with multiarb.c and projtex.c and it works almost as it should.
(projtex is broken somehow on r200, even with only 2 TMUs)
The patches look ok.  I've actually been working on something simultaneously 
which avoids the combinatoric explosion when using t_dd_vbtmp.h by allowing 
the driver to submit a list of vertex attributes at runtime.  Currently it's 
slightly slower than t_dd_vbtmp.h, but codegen will fix that and should be a 
performance win as well.  The new code is in tnl/t_vertex.[ch], I don't have 
an example of its use to post at this time, though.

I don't see why this patch can't be committed once it is working correctly, 
though.

ut2003_demo works a bit but then hangs the card (R200), sadly.
It did work longer on radeon (R100) last time I checked.
q3a works.. but I think it only uses 2 TMUs.

Felix: could you have a look at it and maybe show me
how to make the maxTexUnits configureable between 1..3 / 1..6 
and maybe default to 2 (for the moment) ?

Keith: there are some workarounds in r200_texstate.c for q3a.
how should that get extended? (dbg values)
Are these workarounds still needed?
I believe they are.

Keith



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [Dri-devel] Self introduction.

2004-01-05 Thread Ian Romanick
Anthony Best wrote:

Hello,

I've just recently been able to get the mach64 drivers working on my 
laptops "Rage Mobility P/M" and linux 2.6.0.

I'm new to driver hacking, and willing to learn. I'm still reading the 
source and figuring out how things work, I just had to Introduce myself 
first.
Make sure and attend the weekly chat on Monday.  A reminder (with the 
time & "place") will be sent out late Monday morning.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel