I use the i915 and DRI2. 
I find the error of this problem, the path to open the lib i915_dri.so was bad 
in the file ..../mesa-7.4.0-1/src/mesa/src/glx/x11/dri_common.c.

Now, I can use this demo with the option "-s s" (sgi_video_sync), but with the 
option "-s b"(double buffers), there isn't vertical sync, and I don't find why?

I have noticed that the drivers calls just once the function drm_wait_vblank 
(.../linux-kernel-2.6.26-x/src/drivers/gpu/drm/drm_irq.c) with the option "-s 
b" whereas it is called many times with "-s s". Is it normal ???

Thanks
Nicolas





________________________________
De : Brian Paul <bri...@vmware.com>
À : Nicolas Cadio <nicolas.ca...@ymail.com>
Cc : "mesa3d-dev@lists.sourceforge.net" <mesa3d-dev@lists.sourceforge.net>
Envoyé le : Lundi, 29 Juin 2009, 17h18mn 57s
Objet : Re: [Mesa3d-dev] Problem with the xdemo glsync

Nicolas Cadio wrote:
> Hi
> 
> I want to test the demo glsync (...\progs\xdemos\glsync.c) with the option -s 
> b to use the verticale sync.
> The problem is when the function glXSwapBuffer calls the function 
> GetGLXDRIDrawable(dpy, drawable, NULL), GetGLXDRIDrawable returns a 
> pointer(pdraw) which is NULL.
> 
> pdraw is NULL because psc->drawHash is NULL.
> 
> The function __glXInitialize(dpy) called from GetGLXDRIDrawable returns a 
> display private wich already exists
> 
> I want to know why the drawHash structure is NULL and how to do to have a 
> drawHash which is not NULL ?

I don't see this problem here with the i965 driver.  Which driver are you using?

-Brian


      
------------------------------------------------------------------------------
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to