Re: [Dri-devel] Re: [Mesa3d-dev] Re: Mesa tree re-org

2003-06-04 Thread Keith Whitwell
Brian Paul wrote: Denis Oliver Kropp wrote: Quoting Brian Paul ([EMAIL PROTECTED]): Denis Oliver Kropp wrote: I think the DRI drivers should be moved into the dri/ directory which itself should be in the drivers/ directory, because drivers/ contains the public APIs of Mesa, e.g. OSMesa, fxMesa

Re: [Dri-devel] Endless loop in radeon_do_wait_for_idle()

2003-06-03 Thread Keith Whitwell
Linus Torvalds wrote: Have others seen this? Current DRI CVS tree, current 2.5.x kernel (which is pretty current kernel-module-wise, the only difference to the current DRI tree _seems_ to be the documentation updates). Same thing happens with an older DRI CVS tree too (with new kernel modules),

Re: [Dri-devel] Endless loop in radeon_do_wait_for_idle()

2003-06-03 Thread Keith Whitwell
Linus Torvalds wrote: On Fri, 30 May 2003, Linus Torvalds wrote: Modulo that, X is happy, with no error messages apart from a mention of the irq issue in the logs up until the lockup: (II) RADEON(0): [drm] failure adding irq handler, there is a device already using that irq [drm]

Re: [Dri-devel] Re: [PATCH] A bunch of libGL.so optimizations

2003-06-03 Thread Keith Whitwell
I haven't released 5.1 (devel release) yet so 5.2 (stable release) won't be coming for a while. 5.1 is in pretty good shape though. I'm trying to decide if I should do the directory re-org before or after the 5.1 release. Thoughts? I don't see any reason to delay... Keith

Re: [Dri-devel] [RFC] New Xv adapter using MESA_ycbcr_texture

2003-06-03 Thread Keith Whitwell
Alex Deucher wrote: I've been thinking of trying to implement an XV adapter using OpenGL and MESA_ycbcr_texture for YUV or regular RGB textures for RGB video. This would not only provide a default Xv adapter (in the event that the hw didn't have one) or it would provide hw accelerated video

Re: [Dri-devel] Mesa tree re-org

2003-06-03 Thread Keith Whitwell
Keith Whitwell wrote: Brian Paul wrote: Sounds like the Mesa directory re-org should happen sooner, rather than later. I've been doing some research into CVS and it looks like there are two approaches to doing the re-org: 1. Use the usual cvs add/remove/commit commands to move everything

Re: [Dri-devel] Endless loop in radeon_do_wait_for_idle()

2003-06-03 Thread Keith Whitwell
Linus Torvalds wrote: On Mon, 2 Jun 2003, Keith Whitwell wrote: Under what circumstances does this actually happen? First 3d app run? Even something like 'glinfo'? I don't even get a desktop - the thing hangs at initialization time (probably when clearing the screen. My hardware may

Re: [Dri-devel] [RFC] New Xv adapter using MESA_ycbcr_texture

2003-06-03 Thread Keith Whitwell
Matt Sealey wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michel Dänzer Sent: Tuesday, June 03, 2003 12:42 AM To: Alex Deucher Cc: Keith Whitwell; [EMAIL PROTECTED] Subject: Re: [Dri-devel] [RFC] New Xv adapter using MESA_ycbcr_texture On Tue, 2003

[Dri-devel] Re: [PATCH] A bunch of libGL.so optimizations

2003-06-01 Thread Keith Whitwell
Nicholas Wourms wrote: Keith Whitwell wrote: [SNIP] Boy, this looks interesting. Unfortunately I'm about to leave on a week's holidays so I won't be able to properly read the patch or comment until I get back. I'm broadly in favour of applying this but would love to participate

[Dri-devel] Re: [PATCH] A bunch of libGL.so optimizations

2003-06-01 Thread Keith Whitwell
Nicholas Wourms wrote: Keith Whitwell wrote: [SNIP] Boy, this looks interesting. Unfortunately I'm about to leave on a week's holidays so I won't be able to properly read the patch or comment until I get back. I'm broadly in favour of applying this but would love to participate

Re: [Dri-devel] Build problems...

2003-05-31 Thread Keith Whitwell
Adam K Kirchhoff wrote: For the past 24 hours, I've been having build problems with the cvs trunk: make[5]: Leaving directory `/home/adamk/xc/xc/lib/GL/mesa/src/drv/common' cleaning in lib/GL/mesa/src/drv/r200... make[5]: Entering directory `/home/adamk/xc/xc/lib/GL/mesa/src/drv/r200' Makefile:8:

Re: [Dri-devel] Build problems...

2003-05-31 Thread Keith Whitwell
Adam K Kirchhoff wrote: Well, it doesn't seem to be a false alarm any more. I found out that the problem with the kernel build is a known issue between gcc 3.3 and 2.4.20. In addition, I have been able to successfully compile XFree86 4.3.0, without any problems... So, anyone else have any ideas

Re: [Dri-devel] Radeon performance boxes

2003-05-31 Thread Keith Whitwell
Felix Kühling wrote: How are performance boxes enabled in the radeon driver? Apperently setting rmesa-boxes to 1 is not enough. There is a variable dev_priv-do_boxes in the kernel driver. But it is initialized to 0 in radeon_do_init_cp and not changed anywhere else. Am I missing something? No -

Re: [Dri-devel] Radeon performance boxes

2003-05-31 Thread Keith Whitwell
Felix Kühling wrote: On Fri, 30 May 2003 22:03:20 +0100 Keith Whitwell [EMAIL PROTECTED] wrote: Felix Kühling wrote: How are performance boxes enabled in the radeon driver? Apperently setting rmesa-boxes to 1 is not enough. There is a variable dev_priv-do_boxes in the kernel driver

Re: [Dri-devel] Radeon performance boxes

2003-05-31 Thread Keith Whitwell
Ian Romanick wrote: Felix Kühling wrote: It's not that I need performance boxes. I just came across this converting environment variables to configuration options in the radeon driver. There are two more environment variables that don't seem to refer to working code: RADEON_COMPAT (assertion

Re: [Dri-devel] Re: sched_yield()

2003-05-30 Thread Keith Whitwell
Ian Romanick wrote: Keith Whitwell wrote: Michel Dänzer wrote: The bottom line is that with a 2.5 kernel, sched_yield() will discard the time slice of the process, so misuse of it will cause bad performance. I guess it's possible that this could be a problem. The yield is there to allow two

Re: [Dri-devel] Re: [Dri-users] Problem with latest trunk and i810?

2003-05-29 Thread Keith Whitwell
Jens Owen wrote: My apologies for sending my first reply to dri-devel. This is really a dri-users configuration issue. However, there is one aspect to this posting that may be very relevant to dri-devel. Jens Owen wrote: I remember a recent change to support a 32 bit depth buffer and I

Re: [Dri-devel] Re: [Dri-users] Problem with latest trunk and i810?

2003-05-29 Thread Keith Whitwell
Jens Owen wrote: Keith Whitwell wrote: Jens Owen wrote: My apologies for sending my first reply to dri-devel. This is really a dri-users configuration issue. However, there is one aspect to this posting that may be very relevant to dri-devel. Jens Owen wrote: I remember a recent change

Re: [Dri-devel] Re: [forum] Notes from a teleconference held 2003-3-27

2003-04-04 Thread Keith Whitwell
Philip Brown wrote: On Fri, Apr 04, 2003 at 08:43:31AM -0700, Jens Owen wrote: Possible Future: Mesa Tree -+-- XFree86 Tree - API Focus|- X/3D Integration - 3D HW Focus |- Complete Window System Focus | +--

Re: [Mesa3d-dev] Re: [Dri-devel] TnL interface in the OOP/C++ world

2003-04-04 Thread Keith Whitwell
José Fonseca wrote: On Fri, Apr 04, 2003 at 08:48:35AM -0700, Brian Paul wrote: In general, this sounds reasonable but you also have to consider performance. The glVertex, Color, TexCoord, etc commands have to be simple and fast. As it is now, glColor4f (for example) (when implemented in X86

Re: [Dri-devel] Re: [forum] Notes from a teleconference held 2003-3-27

2003-04-04 Thread Keith Whitwell
Philip Brown wrote: On Fri, Apr 04, 2003 at 10:09:00PM +0100, Keith Whitwell wrote: Philip Brown wrote: Are you perhaps envisioning pushing Mesa to evolve into something like the nvidia UDA API? Where there is suddenly a single, unified cross-hardware/OS platform for all 3d-accel hardware

Re: [Mesa3d-dev] Re: [Dri-devel] Re: [forum] Notes from a teleconferenceheld 2003-3-27

2003-04-04 Thread Keith Whitwell
Philip Brown wrote: On Fri, Apr 04, 2003 at 10:34:05PM +0100, Keith Whitwell wrote: [Philip Brown writes] So to truely create something akin to nvidia's UDA libs/interface, would involve porting support for 3d hardware currently handled by DRI, over to Mesa, and making mesa capable of using

Re: [Dri-devel] TnL interface in the OOP/C++ world

2003-04-04 Thread Keith Whitwell
The things I found more interesting in the issue of applting the TCL operations on all the vertices at once, or a vertice at each time. From previous discussions on this list it seems that nowadays most of CPU performace is dictated by the cache, so it really seems the later option is more

Re: [Mesa3d-dev] Re: [Dri-devel] TnL interface in the OOP/C++ world

2003-04-04 Thread Keith Whitwell
Brian Paul wrote: José Fonseca wrote: On Fri, Apr 04, 2003 at 10:08:36AM -0800, Ian Romanick wrote: Right now people use things like Viewperf to make systems purchase decisions. Unless the graphics hardware and the rest of the system are very mismatched, the immediate API already has an

Re: [Mesa3d-dev] Re: [Dri-devel] TnL interface in the OOP/C++ world

2003-04-04 Thread Keith Whitwell
Ian Romanick wrote: José Fonseca wrote: On Fri, Apr 04, 2003 at 10:08:36AM -0800, Ian Romanick wrote: In principle, I think the producer/consumer idea is good. Why not implement known optimizations in it from the start? We already having *working code* to build formated vertex data (see the

Re: [Mesa3d-dev] Re: [Dri-devel] TnL interface in the OOP/C++ world

2003-04-04 Thread Keith Whitwell
Ian Romanick wrote: Before going down that road we'd want to sit down with oprofile and a bunch of applications to decide which sets of state we wanted to tune for. IMHO, we'd be better to spend our time writing a highly optimized just-in-time compiler for ARB_vertex_program. Then we could

[Dri-devel] Re: [XFree86] [Bug 25] radeon_vtxfmt.c:1057: radeonVtxfmtUnbindContext:Assertion `vb.context == ctx' failed.

2003-04-03 Thread Keith Whitwell
So, this is fixed in current DRI CVS trunk -- how should this be indicated/handled? Keith [EMAIL PROTECTED] wrote: [This e-mail has been automatically generated.] http://bugs.xfree86.org//cgi-bin/bugzilla/show_bug.cgi?id=25 [EMAIL PROTECTED] changed: What|Removed

Re: [Dri-devel] question re 810 vs 830 drivers

2003-04-02 Thread Keith Whitwell
Dave Airlie wrote: I've noticed the i830 drivers have a unified memory allocation scheme for 2d and 3d, is there any reason this couldnt be used on the i810? Is there any major reasons the i830 driver couldn't be usd on the i810 with the functionality it doesn't need turned off? I'm just wondering

Re: [Dri-devel] radeon_vtxfmt.c and alpha-errors

2003-04-01 Thread Keith Whitwell
Andreas, Looking at the code, the FPCOLOR/FPALPHA elements are only turned on when colormaterial is used -- in all other cases we use a ubyte 'PKCOLOR' representation. If we're using FPCOLOR, I don't think that it would be so bad to always turn on FPALPHA too, as it seems like the current

Re: [Dri-devel] Merge into 2.5.x kernel tree..

2003-03-30 Thread Keith Whitwell
Linus Torvalds wrote: I just finished a merge of the current DRI CVS tree kernel parts into 2.5.x. I've not done one of these in a while, so sadly the merge ends up being several totally unrelated things (i830 irq updates, the lock context fixes, and various random smaller things). I've pushed

Re: [Dri-devel] Re: Merge into 2.5.x kernel tree..

2003-03-30 Thread Keith Whitwell
Linus Torvalds wrote: On Sat, 29 Mar 2003, Linus Torvalds wrote: I tested on radeon, and tested by compiling all the drivers into the kernel. Looked good as far as I can tell. Although I have to say that the current DRI CVS tree has a lot of flashing textures on the commercial tuxracer thing. I

[Dri-devel] alpha planes, glxinfo, etc

2003-03-28 Thread Keith Whitwell
Leif Delgass wrote: On Thu, 27 Mar 2003, Keith Whitwell wrote: Leif Delgass wrote: I removed the alpha component from the visuals because the 32 bit span read function in i830_span.c doesn't read alpha from the framebuffer (it always returns 255). There's a comment there saying that it should

[Dri-devel] [Fwd: [Mesa3d-dev] [ mesa3d-Bugs-677007 ] glDrawArrays with GL_LINEStype]

2003-03-28 Thread Keith Whitwell
The use of 'minimum = 1' is definitely correct for GL_LINES. It sounds like what's actually happening is that the stride of the vertex arrays isn't being taken correctly into account when chopping the large arrays into bite-sized chunks... Keith ---BeginMessage--- Bugs item #677007, was opened

Re: [Dri-devel] Re: [Dri-patches] CVS Update: xc (branch: trunk)

2003-03-27 Thread Keith Whitwell
Leif Delgass wrote: I removed the alpha component from the visuals because the 32 bit span read function in i830_span.c doesn't read alpha from the framebuffer (it always returns 255). There's a comment there saying that it should work but doesn't. I think that should be fixed before advertising

Re: [Dri-devel] Re: [Dri-patches] CVS Update: xc (branch: trunk)

2003-03-27 Thread Keith Whitwell
Leif Delgass wrote: On Thu, 27 Mar 2003, Keith Whitwell wrote: Leif Delgass wrote: I removed the alpha component from the visuals because the 32 bit span read function in i830_span.c doesn't read alpha from the framebuffer (it always returns 255). There's a comment there saying that it should

Re: [Dri-devel] Server-side GLX / DRI issues

2003-03-26 Thread Keith Whitwell
Ian Romanick wrote: Alan Hourihane wrote: On Tue, Mar 25, 2003 at 11:27:17PM +, Keith Whitwell wrote: Alan Hourihane wrote: If there's any architectural reason why we can't use XFree86's module loader for OS indepence here ? The whole point of the drmCommand*() interface is that it's

Re: [Dri-devel] Server-side GLX / DRI issues

2003-03-26 Thread Keith Whitwell
The current memory management system looks like this: Core X routines | V Coarse grained, block oriented cache / paged memory system | V Keith's mmHeap_t code Actually that's not my code at all, if you're talking about the stuff in

Re: [Dri-devel] Server-side GLX / DRI issues

2003-03-26 Thread Keith Whitwell
Andreas Ehliar wrote: On Wed, Mar 26, 2003 at 07:23:09PM +, Keith Whitwell wrote: Actually that's not my code at all, if you're talking about the stuff in common/mm.[ch]. I know it's ended up with my name on it, but that's bogus. I can't remember who's it is, but it's lifted from Utah so

Re: [Dri-devel] Fallback in radeon_Materialfv() doesnt work

2003-03-25 Thread Keith Whitwell
:12 +0100 schrieb(en) Keith Whitwell: Andreas Stenglein wrote: this patch helps for the demo. but someone more familiar with radeon_vtxfmt should check if it really fixes all cases... I think in case of GL_QUAD_STRIP we should check for 0, too. (and maybe for 1?) --- radeon_vtxfmt.c_origFri Mar

[Dri-devel] Re: [Mesa3d-dev] Reasons for current context and current dispatchtable

2003-03-25 Thread Keith Whitwell
Allen Akin wrote: On Sat, Mar 22, 2003 at 07:24:15PM +, José Fonseca wrote: | Also, I can't help thinking that some of these tricks wouldn't be | necessary if the OpenGL standard had chosen to pass opaque pointers | (i.e., handles) to contexts and textures, instead of using concepts such | as

Re: [Dri-devel] Fallback in radeon_Materialfv() doesnt work

2003-03-25 Thread Keith Whitwell
Andreas, Does this work for you? Keith --- radeon_vtxfmt.c 4 Mar 2003 01:02:33 - 1.10 +++ radeon_vtxfmt.c 25 Mar 2003 09:56:06 - @@ -312,13 +312,20 @@ return 2; } case GL_TRIANGLE_STRIP: - ovf = MIN2( nr-1, 2 ); + switch (nr) { + case 0:

Re: [Dri-devel] 4.3.0 merge

2003-03-25 Thread Keith Whitwell
Alan Hourihane wrote: On Tue, Mar 25, 2003 at 06:52:57AM -0700, Brian Paul wrote: Alan Hourihane wrote: On Tue, Mar 25, 2003 at 01:40:57AM +, Alan Hourihane wrote: I'll finish up tomorrow, sorry for the build bustage for now. O.k. there's another issue here. I think I remember Ian

Re: [Dri-devel] 4.3.0 merge

2003-03-25 Thread Keith Whitwell
I'm not averse to changing this policy for this merge (as opposed to backing these changes out bringing something else in). I'll stop the merge for now, until we get a consensus on how to continue. I'll defer to Brian on this. Keith ---

Re: [Dri-devel] Server-side GLX / DRI issues

2003-03-25 Thread Keith Whitwell
Ian Romanick wrote: As many of you know, I've been doing a lot of thinking lately about the GLX part of XFree86 DRI. In that process I've come across a few stumbling blocks. A few things that make forward progress more difficult. To this point my efforts have been focused on the

Re: [Dri-devel] Server-side GLX / DRI issues

2003-03-25 Thread Keith Whitwell
Gareth Hughes wrote: Keith Whitwell wrote: Yes, very nice. Utah did have some stuff going for it. It was designed as a server-side-only accelerated indirect renderer. My innovation was to figure out that the client could pretty easily play a few linker tricks load that server module

Re: [Dri-devel] Fallback in radeon_Materialfv() doesnt work

2003-03-25 Thread Keith Whitwell
Hmmm, this looks very much like it could be the reason for the problems I reported the other day: http://cpbotha.net/thingies/dri_scapula.png That scapula consists mostly out of triangle strips. :) Yep. This is the vertex copying code. It isn't explained then why turning off the VTXFMT code

Re: [Dri-devel] Server-side GLX / DRI issues

2003-03-25 Thread Keith Whitwell
My impression is that a patch trying to add a dlopen() call to one of the xfree86 hosted ddx drivers would be rejected. Last I looked at the XF86 loader, it had some stuff in it that implied to me that it couldn't simply be treated as a wrapper for dlopen(), dlsym(), etc. I don't remember

Re: [Dri-devel] Server-side GLX / DRI issues

2003-03-25 Thread Keith Whitwell
Alan Hourihane wrote: On Tue, Mar 25, 2003 at 10:51:05PM +, Keith Whitwell wrote: Gareth Hughes wrote: Keith Whitwell wrote: Yes, very nice. Utah did have some stuff going for it. It was designed as a server-side-only accelerated indirect renderer. My innovation was to figure out

Re: [Dri-devel] Fallback in radeon_Materialfv() doesnt work

2003-03-25 Thread Keith Whitwell
Gareth Hughes wrote: Andreas Stenglein wrote: Yes, at least the part with GL_TRIANGLE_STRIP. In case of 0 you can just return 0, no copying is needed. case 0: return 0; break; You're going to do that, just in a slightly different manner: switch (nr) { case 0: ovf = 0; break; case

Re: [Dri-devel] Server-side GLX / DRI issues

2003-03-25 Thread Keith Whitwell
Alan Hourihane wrote: On Tue, Mar 25, 2003 at 11:18:45PM +, Keith Whitwell wrote: My impression is that a patch trying to add a dlopen() call to one of the xfree86 hosted ddx drivers would be rejected. Last I looked at the XF86 loader, it had some stuff in it that implied to me

Re: [Dri-devel] i810 sharing interrupts race condition..

2003-03-24 Thread Keith Whitwell
Dave Airlie wrote: I've just had the misfortune of having my NFSROOT system (lots of network interrupts), have its card sharing interrupts with the i810 graphics.. once I run anything 3d the kernel oops.. The attached patch contains the quick fix which is to check in thr irq handler if

Re: [Dri-devel] i810 sharing interrupts race condition..

2003-03-24 Thread Keith Whitwell
It looks fine to me, though I can't test it myself. Even if it doesn't completely fix the problem, I think it's the 'Right Thing' to do. I've committed the i810/i830_dri.c fix to the DRI trunk (I also added the drmCtlUninstHandler symbol to the referenced symbol list in i810_driver.c). If

Re: [Dri-devel] Fallback in radeon_Materialfv() doesnt work

2003-03-24 Thread Keith Whitwell
Andreas Stenglein wrote: this patch helps for the demo. but someone more familiar with radeon_vtxfmt should check if it really fixes all cases... I think in case of GL_QUAD_STRIP we should check for 0, too. (and maybe for 1?) --- radeon_vtxfmt.c_origFri Mar 21 17:22:23 2003 +++ radeon_vtxfmt.c

Re: [Dri-devel] 4.3.0 merge

2003-03-24 Thread Keith Whitwell
Alan Hourihane wrote: I'm going to start the 4.3.0 merge. Be prepared for breakage. I'll post another followup when I'm finished. Thanks for doing this, Alan. Keith --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven.

Re: [Dri-devel] rendering errors with current DRI CVS

2003-03-23 Thread Keith Whitwell
Charl P. Botha wrote: Dear list, http://cpbotha.net/thingies/dri_scapula.png shows a surface-rendering of a human scapula (shoulder blade). Notice the strange extra edges that I've indicated with grotesque red arrows. http://cpbotha.net/thingies/dri_scapula_wireframe.png is a wireframe rendering

Re: [Dri-devel] performance oddities

2003-03-22 Thread Keith Whitwell
MichaelM wrote: I just checked the logs, and there was no such message, even though what you descibed seems the most logical reason. The problem doesn't bother me (i can play games now =) ), but the fact that's its there may be of concern for others ... Hmm. Just to doublecheck, can you post

Re: [Dri-devel] performance oddities

2003-03-22 Thread Keith Whitwell
MichaelM wrote: Here's a stack trace. It looks like the problem is with the pageflipping code. I think I'll disable it for now, unless it's only gears that gets hurt by it. Program received signal SIGINT, Interrupt. 0x401e47b1 in nanosleep () from /lib/libc.so.6 (gdb) backtrace #0 0x401e47b1 in

Re: [Dri-devel] Comoditize Mesa's driver interfaces.

2003-03-22 Thread Keith Whitwell
Brian Paul wrote: OK, I'm getting caught up on email and have read through this thread. Comments follow, and in subsequent messages... José Fonseca wrote: As I've been writing the Mesa C++ wrappers I've come across some dificulties posed by the way the interfaces are exported. As I progressed I

Re: [Mesa3d-dev] Re: [Dri-devel] Comoditize Mesa's driver interfaces.

2003-03-22 Thread Keith Whitwell
José Fonseca wrote: On Sat, Mar 22, 2003 at 06:55:08PM +, Keith Whitwell wrote: Brian Paul wrote: Unfortunately, we can't change this without breaking the current libGL / driver ABI. I'm _really_ hesitant to go there. Oh wow, I missed this. (I've been sleeping really badly lately

Re: [Dri-devel] Comoditize Mesa's driver interfaces.

2003-03-21 Thread Keith Whitwell
José Fonseca wrote: As I've been writing the Mesa C++ wrappers I've come across some dificulties posed by the way the interfaces are exported. As I progressed I started to realize I was loosing too much time and effort trying to fight the system, and the system in this case - Mesa - needs not to

Re: [Dri-devel] Comoditize Mesa's driver interfaces.

2003-03-21 Thread Keith Whitwell
José Fonseca wrote: On Fri, Mar 21, 2003 at 08:29:02PM +, Keith Whitwell wrote: José Fonseca wrote: That is, instead of Mesa acting as the middle man, it should act more as a library. This specificaly means that, instead of (phony names): userapp.c: glEnable(GL_TEXTURE); mesa.c

Re: [Dri-devel] Re: XFree86 bugzilla available

2003-03-21 Thread Keith Whitwell
José Fonseca wrote: No DRI developer expressed his interest or opposition, probably because there isn't opposition, or simply no interest. In either case I see no reasons why not proceed, so I'll open a bug to address this. I'll ask that [EMAIL PROTECTED] (the same addressed used on SF BT system)

Re: [Dri-devel] Re: Re: XFree86 bugzilla available

2003-03-20 Thread Keith Whitwell
Or, someone could just leave it as is, disable it and forget about it because sourceforge's bug tracking system sucks. [1] I don't think we ever found out how to disable it. Just another aspect of its suckage - you can't turn it off. Keiht

Re: [Dri-devel] Re: R200 vertex format strangness

2003-03-20 Thread Keith Whitwell
Ian Romanick wrote: I forgot to include the log. Sorry. While I'm waiting to merge the texmem-0-0-1 branch into the trunk, I've been looking into the problems with Unreal Tournament 2003 on the R200 driver. Here's how I've set up my debug environment, in case anyone wants to reproduce what

[Dri-devel] Re: [XFree86] Invitation for public discussion about the future ofX

2003-03-20 Thread Keith Whitwell
XFree86 BOD wrote: It has been brought to the attention of the XFree86 Core Team that one of its members, Keith Packard, has been actively (but privately) seeking out support for a fork of XFree86 that would be led by himself. He is also in the process of forming a by-invitation-only group of

[Dri-devel] Re: [forum] Re: [XFree86] Invitation for public discussion aboutthe future of X

2003-03-20 Thread Keith Whitwell
Keith Whitwell wrote: XFree86 BOD wrote: It has been brought to the attention of the XFree86 Core Team that one of its members, Keith Packard, has been actively (but privately) seeking out support for a fork of XFree86 that would be led by himself. He is also in the process of forming

[Dri-devel] Re: [forum] Re: [XFree86] Invitation for public discussion aboutthe future of X

2003-03-20 Thread Keith Whitwell
Alan Hourihane wrote: On Thu, Mar 20, 2003 at 11:37:34 +, Keith Whitwell wrote: XFree86 BOD wrote: It has been brought to the attention of the XFree86 Core Team that one of its members, Keith Packard, has been actively (but privately) seeking out support for a fork of XFree86 that would

[Dri-devel] Re: [forum] Re: [XFree86] Invitation for public discussion aboutthe future of X

2003-03-20 Thread Keith Whitwell
- Extend CVS access to regular contributors. Use scripts or whatever to control access to subtrees if you want. This comes up from time to time, and I'm sure will get discussed even more. I know there have been offers to others for CVS commit access, and some have refused and some have

[Dri-devel] Re: [Dri-users] Radeon R250, Blender

2003-03-18 Thread Keith Whitwell
Keith Whitwell wrote: Ben Atkin wrote: I just bought a Radeon 9000, for the main intention of using it on Linux. Unfortunately, I didn't take the specific chipset into account, and it appears the card doesn't have the greatest compatibility with linux. I installed XFree 4.3.0 and got DRI

Re: [Dri-devel] Serious Sam: 2nd Edition crash

2003-03-17 Thread Keith Whitwell
Michel Dänzer wrote: On Mon, 2003-03-17 at 06:15, Jonathan Thambidurai wrote: On Sun, 2003-03-16 at 19:59, Michel Dänzer wrote: On Mon, 2003-03-17 at 01:36, Jonathan Thambidurai wrote: When playing Serious Sam: The Second Encounter, the game (and maybe the system, or just the input)

Re: [Dri-devel] read/write/select/poll of DRM?

2003-03-14 Thread Keith Whitwell
Eric Anholt wrote: Does anything use read/write/poll on the DRM? The drm-filp changes will touch all of the device entry points for BSD, and I was wondering if these functions are still used/useful in the current state of things. I don't think so. There are some gimmick statistics that come out

Re: [Dri-devel] Improving DRI support for Torque engine games

2003-03-14 Thread Keith Whitwell
[EMAIL PROTECTED] wrote: Hello, I do linux ports of Torque engine games from www.garagegames.com. The Torque engine is based on the Tribes 2 engine. From user reports, it seems like the engine has problems with DRI-based cards. I've received reports of problems from users with Voodoo3, Matrix

Re: [Dri-devel] drm-filp-0-1-branch and radeon

2003-03-13 Thread Keith Whitwell
Eric Anholt wrote: On Wed, 2003-03-12 at 05:57, Keith Whitwell wrote: OK, now that the recycle lockup has been found fixed, I don't see any problems with this patch. Has anyone got any objections to merging it to the trunk? Eric, do you think this will be impossible to support on bsd

Re: [Dri-devel] possible error in drm documentation, plus DMA question

2003-03-12 Thread Keith Whitwell
Philip Brown wrote: I'm reading through http://dri.sourceforge.net/doc/drm_low_level.html int drmDMA(int fd, drmDMAReqPtr request) drmDMA can be used to reserve DMA buffers and to dispatch previously reserved DMA

Re: [Dri-devel] drmScatterGatherAlloc missing from docs

2003-03-12 Thread Keith Whitwell
Philip Brown wrote: http://dri.sourceforge.net/doc/drm_low_level.html should be updated with a functional description of drmScatterGatherAlloc() [and probably a few other drmXXXYYY() routines that have appeared since 1999 ;-) ] Patches welcome... :-) Keith

Re: [Dri-devel] drm-filp-0-1-branch and radeon

2003-03-12 Thread Keith Whitwell
Keith Whitwell wrote: Keith Whitwell wrote: Linus Torvalds wrote: On Sun, 2 Mar 2003, Linus Torvalds wrote: The _second_ DRI-enabled X startup caused problems, even if I had done multiple non-DRI X sessions in between. This is what makes me think that the DRI kernel modules keep some history

Re: [Dri-devel] drm-filp-0-1-branch and radeon

2003-03-12 Thread Keith Whitwell
OK, now that the recycle lockup has been found fixed, I don't see any problems with this patch. Has anyone got any objections to merging it to the trunk? Eric, do you think this will be impossible to support on bsd? It seems to fix some fundamental braino's in the orignal drm... Keith

Re: [Dri-devel] Re: patch for function naming consistency

2003-03-12 Thread Keith Whitwell
Mike A. Harris wrote: On Wed, 12 Mar 2003, Philip Brown wrote: [] IMHO, the names of functions and the file they are located in should be based on the functionality that they are providing, and should be grouped based on similar functionality and not based on similarities in portions of

Re: [Dri-devel] Re: radeon dri xserver recycle lockup

2003-03-12 Thread Keith Whitwell
Michel Dänzer wrote: On Mit, 2003-03-12 at 12:29, Keith Whitwell wrote: Michel Dänzer wrote: On Mit, 2003-03-12 at 11:51, Keith Whitwell wrote: In fact the lockup comes down to this one line: --- radeon_driver.c28 Oct 2002 02:21:14 -1.44 +++ radeon_driver.c29 Oct 2002 13:49:25

[Dri-devel] radeon dri xserver recycle lockup

2003-03-12 Thread Keith Whitwell
In fact the lockup comes down to this one line: --- radeon_driver.c28 Oct 2002 02:21:14 -1.44 +++ radeon_driver.c29 Oct 2002 13:49:25 -1.45 @@ -4639,6 +4639,7 @@ save-cap0_trig_cntl = 0; save-cap1_trig_cntl = 0; save-bus_cntl =

Re: [Dri-devel] radeon dri xserver recycle lockup

2003-03-12 Thread Keith Whitwell
Michel Dänzer wrote: On Mit, 2003-03-12 at 11:51, Keith Whitwell wrote: In fact the lockup comes down to this one line: --- radeon_driver.c28 Oct 2002 02:21:14 -1.44 +++ radeon_driver.c29 Oct 2002 13:49:25 -1.45 @@ -4639,6 +4639,7 @@ save-cap0_trig_cntl = 0

Re: [Dri-devel] reproducible VTK + DRI breakage

2003-03-11 Thread Keith Whitwell
Charl P. Botha wrote: Dear list, I've attached a wxPython + VTK example (just the wxVTKRenderWindowInteractor.py slightly modified) to illustrate the drmCmdBuffer: -22 bug that I'm actually seeing. It seems my glthreads.c attempts were off the track. In anycase, if you have wxPython and VTK with

Re: [Mesa3d-dev] Re: [Dri-devel] Mesa C++ driver framework update

2003-03-11 Thread Keith Whitwell
Gabriel Dos Reis wrote: Keith Whitwell [EMAIL PROTECTED] writes: [...] | struct function_table { |... |void (*BlendFunc)(GLcontext *ctx, GLenum sfactor, GLenum dfactor); |... | } driver; | and | class Context { |... |void BlendFunc(GLenum sfactor, GLenum dfactor

Re: [Dri-devel] reproducible VTK + DRI breakage

2003-03-11 Thread Keith Whitwell
Charl P. Botha wrote: On Tue, 2003-03-11 at 10:16, Keith Whitwell wrote: Charl P. Botha wrote: In anycase, if you have wxPython and VTK with working Python wrappings installed, please run the attached example. Manipulate the 3D cone in both windows and then close the one window. Manipulating

Re: [Dri-devel] reproducible VTK + DRI breakage

2003-03-11 Thread Keith Whitwell
Keith Whitwell wrote: Charl P. Botha wrote: On Tue, 2003-03-11 at 10:16, Keith Whitwell wrote: Charl P. Botha wrote: In anycase, if you have wxPython and VTK with working Python wrappings installed, please run the attached example. Manipulate the 3D cone in both windows and then close the one

Re: [Dri-devel] drm-filp-0-1-branch and radeon

2003-03-11 Thread Keith Whitwell
Keith Whitwell wrote: Linus Torvalds wrote: On Sun, 2 Mar 2003, Linus Torvalds wrote: The _second_ DRI-enabled X startup caused problems, even if I had done multiple non-DRI X sessions in between. This is what makes me think that the DRI kernel modules keep some history around

Re: [Dri-devel] Double define for radeon data structures?

2003-03-11 Thread Keith Whitwell
Guido Landra wrote: Hi all, This is my first post, be patient, please! :) I'm reading radeon code on CVS. In radeon_drm.h, on kernel side, I can see a lot of data structures already defined on client side in radeon_sarea.h. They are about shared area, but also about data types used by IOCTLs

Re: [Dri-devel] Mesa C++ driver framework update

2003-03-10 Thread Keith Whitwell
José Fonseca wrote: I'm just giving a quick update of the Mesa C++ wrappers, in case anybody wants to discuss it a little in today's meeting. Wrappers C functions to all the GL context callbacks are already in place at http://jrfonseca.dyndns.org/projects/dri/cpp/mesa.cxx . (These were first

Re: [Dri-devel] Mesa C++ driver framework update

2003-03-10 Thread Keith Whitwell
José Fonseca wrote: On Mon, Mar 10, 2003 at 08:32:18PM +, Keith Whitwell wrote: José Fonseca wrote: Once textures are finished, the most tricky will be the software rasterizer and the TnL module. For these my idea is to make the driver able to switch rasterizers and/or TnL modules in real

Re: [Mesa3d-dev] Re: [Dri-devel] Mesa C++ driver framework update

2003-03-10 Thread Keith Whitwell
José Fonseca wrote: On Mon, Mar 10, 2003 at 09:11:06PM +, Keith Whitwell wrote: José Fonseca wrote: What disptach table would you be referring to, glapi or the TnL one? The problem with disptach tables is that they completely break the OOP concept as they work with regular functions instead

Re: [Mesa3d-dev] Re: [Dri-devel] Mesa C++ driver framework update

2003-03-10 Thread Keith Whitwell
José Fonseca wrote: On Mon, Mar 10, 2003 at 10:36:21PM +, Keith Whitwell wrote: No, because one of the things C++ does is pass around an extra parameter -- namely the 'self' pointer. The 'real' prototype looks something like: void Context::BlendFunc( Context *self, GLenum sfactor, GLenum

Re: [Mesa3d-dev] Re: [Dri-devel] Mesa C++ driver framework update

2003-03-10 Thread Keith Whitwell
Felix Kühling wrote: On Mon, 10 Mar 2003 22:23:07 + José Fonseca [EMAIL PROTECTED] wrote: [snip] As I said above this can be done in C++, and without damage to efficiency. Imagine you have a TnL abstract class: class TNL { // A OpenGL function virtual void Coord3f(GLfloat x, GLfloat y,

Re: [Mesa3d-dev] Re: [Dri-devel] Mesa C++ driver framework update

2003-03-10 Thread Keith Whitwell
Marcelo E. Magallon wrote: On Mon, Mar 10, 2003 at 10:23:07PM +, José Fonseca wrote: struct function_table { ... void (*BlendFunc)(GLcontext *ctx, GLenum sfactor, GLenum dfactor); ... } driver; and class Context { ... void BlendFunc(GLenum sfactor, GLenum

Re: [Mesa3d-dev] Re: [Dri-devel] Mesa C++ driver framework update

2003-03-10 Thread Keith Whitwell
Jon Smirl wrote: --- José Fonseca [EMAIL PROTECTED] wrote: Yes, this works as you say _if_ the method isn't virtual, or at least the exact type of the class is known at compile time, i.e., it's not an abstract Context *, but actually a non-abstract RadeonContext *. It works for virtual methods

Re: [Mesa3d-dev] Re: [Dri-devel] Mesa C++ driver framework update

2003-03-10 Thread Keith Whitwell
Marcelo E. Magallon wrote: On Mon, Mar 10, 2003 at 11:08:23PM +, José Fonseca wrote: But the function I put in the table _was_ an ordinary function, and not a C++ method, and no redirection call would take place with inlining. That was the point of the explanation... Uhm... how do you

Re: [Mesa3d-dev] Re: [Dri-devel] Mesa C++ driver framework update

2003-03-10 Thread Keith Whitwell
José Fonseca wrote: On Tue, Mar 11, 2003 at 12:01:16AM +, Keith Whitwell wrote: Jon Smirl wrote: --- José Fonseca [EMAIL PROTECTED] wrote: Yes, this works as you say _if_ the method isn't virtual, or at least the exact type of the class is known at compile time, i.e., it's not an abstract

Re: [Dri-devel] drm-filp-0-1-branch and radeon

2003-03-08 Thread Keith Whitwell
Linus Torvalds wrote: On Sun, 2 Mar 2003, Linus Torvalds wrote: The _second_ DRI-enabled X startup caused problems, even if I had done multiple non-DRI X sessions in between. This is what makes me think that the DRI kernel modules keep some history around that they shouldn't. And maybe the

Re: [Dri-devel] Radeon Depth buffer

2003-03-07 Thread Keith Whitwell
Jonathan Thambidurai wrote: I was looking at the source for the radeon driver and noticed that the depth buffer is always set to 32 bits if a 24 bpp color depth is selected. Is this a hardware limitation, or might it be possible to change it to 16 bpp? It's possible to do this with a

Re: [Dri-devel] Radeon Depth buffer

2003-03-07 Thread Keith Whitwell
Felix Kühling wrote: On Fri, 07 Mar 2003 08:30:56 + Keith Whitwell [EMAIL PROTECTED] wrote: Jonathan Thambidurai wrote: I was looking at the source for the radeon driver and noticed that the depth buffer is always set to 32 bits if a 24 bpp color depth is selected

[Dri-devel] Mesa embedded-1-branch

2003-03-04 Thread Keith Whitwell
So it's now fairly easy to build either a regular DRI driver, or an fbdev/miniglx driver for the classic radeon on this branch. Check out the branch, and look in Mesa/Makefile.include for configuration options. People on this list probably aren't interested in the subsetted driver. It's

<    3   4   5   6   7   8   9   10   11   12   >