On Tue, 26 Feb 2002 03:26:26 -0500 (EST)
"Mike A. Harris" <[EMAIL PROTECTED]> wrote:

> On Mon, 25 Feb 2002, Bjoern Fischer wrote:
> 
> >> My problem : I find 2D acceleration pretty poor. Despite I compiled
> >> a kernel without even sound drivers and with agpgart, when moving
> >> quickly a window (for instance, the gdm window after boot), the
> >> movement isn't smooth at all : it looks choppy. I tried everything
> >> (kernel, upgraded from XFree86 4.1.0 to 4.2.0, tried to optimise the
> >> XF86Config-4 file), but nothing to do : it is far to be as fast as
> >> under Win98 (sorry, I like playing 3D games). Remember, I'm talking
> >> about 2D acceleration, not 3D.
> >[...]
> >> Does someone have the solution (marvellous) or just want to help me?
> >> Are there special options for the ati drivers that increase speed ?
> >> Any answer would be very appreciated.
> >
> >I had the same problem with my ATI Radeon SDR. Either pretty fast 2D
> >and no 3D-accel *or* sluggish (read as: you-can-watch-while-it-renders)
> >2D with decent 3D.
> >
> >The solution was a new DRI/DRM kernel module directly from
> >http://dri.sourceforge.net/. I changed *nothing* of my XFree-4.1.0
> >installation, just dropped in the new kernel module. And *bang* --
> >pretty fast 2D *and* 3D. Although this was on FreeBSD, most of the
> >code for the kernel module is shared between Linux and FreeBSD, so
> >a newer kernel module should also be applicable for you.
> 
> I too have seen 2D crawl on all Radeon boards when DRI is
> enabled.  This is especially noticable in high resolution of
> 1600x1200x24 or higher in my particular setup since MTRR on my
> system does not work, so the effects are multiplied.  On systems 
> with working MTRR, it seems to not be as noticeable from my 
> experimentation and research.
> 
> The problem is that when DRI is enabled, it also uses DRI for 2D 
> acceleration, and the Radeon CP engine 2D code is not fully 
> implemented in XFree86 yet compared to the MMIO 2D accel code 
> that runs when DRI is disabled.
> 
> Since it works fine for most people, and only slows down for few 
> users aparently, nobody has shown much interest in finishing off 
> the full 2D accel code using the CP engine.  I've got it on my 
> todo list to work on when I've got time though unless someone 
> beats me to it first.
> 
> 
> -- 
> ----------------------------------------------------------------------
> Mike A. Harris                  Shipping/mailing address:
> OS Systems Engineer             190 Pittsburgh Ave., Sault Ste. Marie,
> XFree86 maintainer              Ontario, Canada, P6C 5B3
> Red Hat Inc.                    Phone: (705)949-2136
> http://www.redhat.com           ftp://people.redhat.com/mharris
> Red Hat XFree86 mailing list:   [EMAIL PROTECTED]
> General open IRC discussion:    #xfree86 on irc.openprojects.net
> ----------------------------------------------------------------------
> 
> _______________________________________________
> Xpert mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/xpert


Well, Mike, I understood but I still have some remarks :
1- Why does is DRI code used for 2D acceleration ? I thought it was a sort of API 
(like OpenGL), and didn't expect it to be used in 2D.
2- This doesn't solve my problem : DRI works well on my computer, and 2D acceleration 
isn't affected when I enable/disable it : it is still choppy. I remember, under W98, I 
had the same problem until I decided to install my Intellimouse Optical's drivers. 
Then ... a miracle : when moving or resizing a windows (even a almost maximized 
window), all was SMOOTH, I could see the drawing was fast. Remember, all this in 
1280x1024.
Under Window Maker, it seems the window I'm moving is erased somewhere and redrawn 
elsewhere, with very few transition.

Finally, THAT is my problem : thre is no reason the W98 driver is so fast and the X 
server isn't. Since I did encounter no other problem under X 4.2.0, I think it is a 
configuration problem. However, maybe it is because the mouse resolution is much 
higher in Win98 than under X, although I tried the "Resolution" option in the 
XF86Config-4 file.

Thanks for answering,
Michel
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to