Re: DGA and tearing effects

2004-11-25 Thread swivel
What mechanism are you using to sync to vertical retrace? Also, the for loop you provide is not going to be very fast code for copying the buffer, at least not in my experiences. Try using something like memcpy() for the bulk of the copying, perhaps a memcpy() invocation per horizontal line.

Re: Handling multi-monitor configuration

2004-11-25 Thread Thomas Winischhofer
David Dawes wrote: I've been reworking the multi-monitor configuration support that I started a while ago, and I have a patch relative to the latest XFree86 snapshot (4.4.99.17) that implements it. This provides a better way of handling the multi-monitor configuration than the current mergedfb

Re: Handling multi-monitor configuration

2004-11-25 Thread David Dawes
On Thu, Nov 25, 2004 at 10:43:51AM +0100, Thomas Winischhofer wrote: David Dawes wrote: I've been reworking the multi-monitor configuration support that I started a while ago, and I have a patch relative to the latest XFree86 snapshot (4.4.99.17) that implements it. This provides a better way of

Re: DGA and tearing effects

2004-11-25 Thread Mark Vojkovich
If you want tearless rendering you should be flipping. Ie. render to a non displayed portion of the framebuffer, then call XDGASetViewport to display it after the copy is finished. See the DGA test apps at http://www.xfree86.org/~mvojkovi/, specifically texture.tar.gz. If the texture and

Re: Handling multi-monitor configuration

2004-11-25 Thread Marc Aurele La France
On Wed, 24 Nov 2004, David Dawes wrote: I've been reworking the multi-monitor configuration support that I started a while ago, and I have a patch relative to the latest XFree86 snapshot (4.4.99.17) that implements it. This provides a better way of handling the multi-monitor configuration than

Re: DGA and tearing effects

2004-11-25 Thread James Wright
Isn't DGA mode being phased out? I been using XPutImage and the XVidMode extension to provide fullscreen instead. Only problem being you have no control over when the image is actually copied to the display, so tearing results, unless someone else here would like to enlighten me... On

Maximizing DVI Flatpanel resolution in nVidia nv

2004-11-25 Thread Antonino A. Daplas
Hi all, Looking at the xfree86 source of nv, it seems that the maximum resolution achieved when the input type is DDI is set by the BIOS (fpWidth/fpHeight). Is there a way to bypass this limitation such as a flatpanel display capable of 1600x1200, but only 1024x768 is achievable. IOW, what

Re: Handling multi-monitor configuration

2004-11-25 Thread David Dawes
On Thu, Nov 25, 2004 at 01:00:34PM -0700, Marc Aurele La France wrote: On Wed, 24 Nov 2004, David Dawes wrote: I've been reworking the multi-monitor configuration support that I started a while ago, and I have a patch relative to the latest XFree86 snapshot (4.4.99.17) that implements it. This

Re: Maximizing DVI Flatpanel resolution in nVidia nv

2004-11-25 Thread Thomas Winischhofer
Antonino A. Daplas wrote: Hi all, Looking at the xfree86 source of nv, it seems that the maximum resolution achieved when the input type is DDI is set by the BIOS (fpWidth/fpHeight). Is there a way to bypass this limitation such as a flatpanel display capable of 1600x1200, but only 1024x768 is

Re: Maximizing DVI Flatpanel resolution in nVidia nv

2004-11-25 Thread Mark Vojkovich
The nv driver contains no code to program the DVI interface. The only reason why it works at all with DVI is because the BIOS setup the timings for the text mode. Subsequently, the nv driver is not able to run in any mode other than the one the BIOS setup. If the BIOS setup the text mode to