I tried the suggestion you made of adding the OPTION to the driver for StrangeLookups. 
It makes no difference.

I also went back and diffed the source of the X distributed by RedHat in 7.1 and 
RedHat 7.2 for the drivers. Little change in the NeoMagic area. The option you suggest 
does not exist and the code appears to be based off of the 4.0.3 release with a lot of 
patches (actually both are from the same base release).

The problem is clearly with the support for XCopyPlane since it is the only thing that 
is being done
during the drag that could cause the performance hit.

Still looking at the code. Any other thoughts?

David


David Smith wrote:
> 
> I just upgraded my system from RH7.1 to RH7.2 which changed the XFree86 version from 
>3.3.6 to 4.1. Under 3.3.6 the blt operation seemed quite fast. No complaints. Under 
>4.1 (and 4.2) the blt operation is quite slow (order of magnitude?). Testing through 
>network connected servers and on a 7.2 machine with a different card I find that they 
>all work fine.
> 
> Looking at the xdpyinfo I find that the only difference appears to be that the 
>backing store is disabled on the Neomagic driver.
> 
> Looking at the contents of /var/log/XFree86.0.log I find the following:
> 
> (II) Module neomagic: vendor="The XFree86 Project"
>         compiled for 4.1.0, module version = 1.0.0
>         Module class: XFree86 Video Driver
>         ABI class: XFree86 Video Driver, version 0.4
> (==) NEOMAGIC(0): Write-combining range (0xdf000000,0x400000)
> (II) NEOMAGIC(0): Not programming shadow registers
> (II) NEOMAGIC(0): Using linear framebuffer at: 0xDF000000
> (--) NEOMAGIC(0): 1048576 bytes off-screen memory available
> (II) NEOMAGIC(0): Using H/W Cursor.
> (II) NEOMAGIC(0): Using 256 scanlines of offscreen memory for pixmap caching
> (II) NEOMAGIC(0): Using XFree86 Acceleration Architecture (XAA)
>         Screen to screen bit blits
>         Solid filled rectangles
>         Indirect CPU to Screen color expansion
>         Solid Horizontal and Vertical Lines
>         Offscreen Pixmaps
>         Setting up tile and stipple cache:
>                 16 128x128 slots
> (II) NEOMAGIC(0): Acceleration Initialized
> (==) NEOMAGIC(0): Backing store disabled
> (==) NEOMAGIC(0): Silken mouse enabled

neo.StrangeLockups:\
Before XFree86 version 4.2.0 many NeoMagic systems experienced \
strange lockups unless they used the options \ 
"XaaNoScanlineImageWriteRect" and
"XaaNoScanlineCPUToScreenColorExpandFill". \
Setting this to "No" is faster but will lock some machines. \
Default: Yes.

You *might* wish try try putting
        StrangeLockups  "No"
into the "Devices" section of your config file (normally
/etc/X11/XF86Config-4).
In 4.2.0 (can't remember about 4.1.0) the options
"XaaNoScanlineImageWriteRect"
and "XaaNoScanlineCPUToScreenColorExpandFill" are set default
(ie the features are disabled) since the features crash many machines.
Some machines are OK and would go faster with these features enabled,
hence the new option "StrangeLockups".
 
> Any clues on how to get the "Backing store" enabled?
> Is this the likely cause of the performance difference between 3.3.6 and 4.1?
I don't think so.
Using backing store would make the server do more blits, but
wouldn't change the speed of an individual blit.

_______________________________________________
Neomagic mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/neomagic

Reply via email to