Re: [PATCH] enhanced core vblank support

2007-09-26 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jesse Barnes wrote: > Per the discussion in the other vblank thread, this patch does several > things: > - adds a new getMSC hook to __DRIdrawableRec > - updates glXGetVideoSyncSGI to use the new hook if present > - adds new vblank fields to __DR

Re: Vblanks, CRTCs and GLX, oh my!

2007-09-26 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michel Dänzer wrote: > On Tue, 2007-09-25 at 13:32 -0700, Jesse Barnes wrote: >> It seems that drivers that set their MSC routines to NULL will return >> GL_BAD_CONTEXT from calls like glXWaitVideoSyncSGI(), and if e.g. >> drmWaitVBlank() failed clie

DRM compatibility after TTM & modesetting

2007-09-26 Thread Jesse Barnes
At XDS and on IRC we've been discussing how to deal with backward compatibility (i.e. old Mesa & X on new DRM) once we have things like full TTM and modesetting support in the kernel. The preferred option at this point seems to be to add a new kernel config option, e.g. CONFIG_DRM_MODESETTING o

[Bug 6790] VIA Unichrome / Pro prolems

2007-09-26 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=6790 [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED] |

[PATCH] enhanced core vblank support

2007-09-26 Thread Jesse Barnes
Per the discussion in the other vblank thread, this patch does several things: - adds a new getMSC hook to __DRIdrawableRec - updates glXGetVideoSyncSGI to use the new hook if present - adds new vblank fields to __DRIdrawablePrivateRec - adds a new driDrawableGetMSC32 vblank.c routine t

Re: Vblanks, CRTCs and GLX, oh my!

2007-09-26 Thread Kristian Høgsberg
On 9/26/07, Michel Dänzer <[EMAIL PROTECTED]> wrote: > > On Wed, 2007-09-26 at 08:31 -0700, Jesse Barnes wrote: > > On Wednesday, September 26, 2007 8:11:19 am Michel Dänzer wrote: > > > On Wed, 2007-09-26 at 07:53 -0700, Jesse Barnes wrote: > > > > On Wednesday, September 26, 2007 12:08:13 am Mich

Re: Vblanks, CRTCs and GLX, oh my!

2007-09-26 Thread Jesse Barnes
On Wednesday, September 26, 2007 9:39 am Michel Dänzer wrote: > > Err yeah I was describing it backwards. The __DRIscreen hooks for > > the MSC stuff all point to dri_util.c wrapper functions that end up > > calling the driver hooks. However, drivers always set their hooks > > to either NULL or t

Re: moved i915tex

2007-09-26 Thread Sergio Monteiro Basto
On Wed, 2007-09-26 at 15:38 +0100, Sergio Monteiro Basto wrote: > libGL error: drmMap of framebuffer failed (Invalid argument) the bug is pretty clear "Invalid argument" where this is fixed ? Thanks, -- Sérgio M. B. smime.p7s Description: S/MIME cryptographic signature -

Re: Vblanks, CRTCs and GLX, oh my!

2007-09-26 Thread Michel Dänzer
On Wed, 2007-09-26 at 08:31 -0700, Jesse Barnes wrote: > On Wednesday, September 26, 2007 8:11:19 am Michel Dänzer wrote: > > On Wed, 2007-09-26 at 07:53 -0700, Jesse Barnes wrote: > > > On Wednesday, September 26, 2007 12:08:13 am Michel Dänzer wrote: > > > > On Tue, 2007-09-25 at 13:32 -0700, Je

Re: Vblanks, CRTCs and GLX, oh my!

2007-09-26 Thread Jesse Barnes
On Wednesday, September 26, 2007 8:11:19 am Michel Dänzer wrote: > On Wed, 2007-09-26 at 07:53 -0700, Jesse Barnes wrote: > > On Wednesday, September 26, 2007 12:08:13 am Michel Dänzer wrote: > > > On Tue, 2007-09-25 at 13:32 -0700, Jesse Barnes wrote: > > > > that moves the new fields over to the

Re: Vblanks, CRTCs and GLX, oh my!

2007-09-26 Thread Michel Dänzer
On Wed, 2007-09-26 at 07:53 -0700, Jesse Barnes wrote: > On Wednesday, September 26, 2007 12:08:13 am Michel Dänzer wrote: > > On Tue, 2007-09-25 at 13:32 -0700, Jesse Barnes wrote: > > > > > > that moves the new fields over to the drawable private. I added a new > > > drawable hook to implement

Re: Vblanks, CRTCs and GLX, oh my!

2007-09-26 Thread Jesse Barnes
On Wednesday, September 26, 2007 12:08:13 am Michel Dänzer wrote: > On Tue, 2007-09-25 at 13:32 -0700, Jesse Barnes wrote: > > On Monday, September 24, 2007 1:25 am Michel Dänzer wrote: > > > On Fri, 2007-09-21 at 12:46 -0700, Jesse Barnes wrote: > > > > On Friday, September 21, 2007 2:51 am Michel

[Bug 12164] blender crash with DRI driver 7.0.1

2007-09-26 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=12164 --- Comment #12 from [EMAIL PROTECTED] 2007-09-26 07:51 PST --- I think a change that I made to how _TriangleCaps is computed (last December) is the root cause here. I didn't realize _TriangleCaps was sometimes used before state valid

Re: drm: Branch 'master'

2007-09-26 Thread Keith Whitwell
Alan Hourihane wrote: > linux-core/drm_drv.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > New commits: > diff-tree 6671ad1917698b6174a1af314b63b3800d75248c (from > 03c47f1420bf17a1e0f2b86be500656ae5a4c95b) > Author: Alan Hourihane <[EMAIL PROTECTED]> > Date: Wed Sep 26 15:38:

Re: moved i915tex

2007-09-26 Thread Sergio Monteiro Basto
On Mon, 2007-09-24 at 19:04 -0700, Keith Packard wrote: > On Tue, 2007-09-25 at 02:19 +0100, Sergio Monteiro Basto wrote: > > Hi I just update all gits: libdrm, drm, mesa and xf86-video-intel > > > > And now I don't have DRI > > No, you don't have AIGLX, which is a long ways from not having DRI.

[Bug 12421] Cube texture map draw some pixels incorrectly in DRI mode

2007-09-26 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=12421 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #5 from [

[Bug 12132] occlusion query should return the number of samples passed depth test

2007-09-26 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=12132 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #6 from [

[Bug 12421] Cube texture map draw some pixels incorrectly in DRI mode

2007-09-26 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=12421 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 12421] Cube texture map draw some pixels incorrectly in DRI mode

2007-09-26 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=12421 --- Comment #3 from [EMAIL PROTECTED] 2007-09-26 01:33 PST --- (In reply to comment #2) > I didn't see any difference between DRI and no-DRI mode, they all got the > following > result: Sorry, I make a mistake. You are right. -- C

Re: i945 GM performance question

2007-09-26 Thread Michel Dänzer
On Mon, 2007-09-24 at 21:51 -0400, Jonathan Bastien-Filiatrault wrote: > > I have made a program that draws zfail/zpass shadows. I draw three > models with ~120 tris each and one light source and a simple floor, with > zpass. I can get a full 60fps until the window size reaches about > 780x580

Re: Vblanks, CRTCs and GLX, oh my!

2007-09-26 Thread Michel Dänzer
On Tue, 2007-09-25 at 13:32 -0700, Jesse Barnes wrote: > On Monday, September 24, 2007 1:25 am Michel Dänzer wrote: > > On Fri, 2007-09-21 at 12:46 -0700, Jesse Barnes wrote: > > > On Friday, September 21, 2007 2:51 am Michel Dänzer wrote: > > > > > - add code to Mesa so GetMSC/WaitForMSC set > >