tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sluggish behaviour with native Xorg and mga(4)



On Thu, Jul 02, 2009 at 05:16:24PM +0200, Tonnerre Lombard wrote:
> Salut,
> 
> On Wed, Jul 01, 2009 at 10:05:53PM +0200, Jukka Salmi wrote:
> > While trying to debug this problem I noticed that if I manually run
> > `./configure [...]; make' in xsrc/external/mit/xf86-video-mga/dist and
> > use the resulting mga_drv.so instead of the one built by NetBSD's build
> > framework (i.e. src/external/mit/xorg/server/drivers/xf86-video-mga),
> > then I _don't_ see those performance problems!  Moving windows etc. is
> > as fast as it used to be.
> 
> I found that most of the problems originated from this change:
> 
> http://cgit.freedesktop.org/xorg/driver/xf86-video-mga/commit/?id=6cd7677c41cf59194561225ed521a295e535862f
> 
> Perhaps the difference in what configure discovers lies in that?

The normal NetBSD build doesn't use configure while building x11.

This means that we need a config.h if the mga configure scripts finds
xf86ModeBandwidth, which I will assume it does.

There are other drivers who use xf86ModeBandwidth too, but they check the
xorg server version instead of relying on a configure test case:
 xf86-video-intel
 xf86-video-nv

Bernd


Home | Main Index | Thread Index | Old Index