On Sun, Dec 13, 2015 at 12:09:48PM +0100, Matthieu Herrb wrote: > On Fri, Dec 11, 2015 at 10:09:20AM +0100, Martin Pieuchot wrote: > > Without hardware acceleration my PowerBook G4 12'' with a NVIDIA > > GeForce FX Go 5200 is unusable. Since XAA is no longer supported, > > here's a simple EXA backend for nv(4) based on the XAA sources and > > Nouveau. It only implements Solid and Copy but that already makes > > a huge difference. > > > > To test it you need to regenerate configure scripts for xf86-video-nv > > as described in /usr/xenocara/README. > > On my test machine with an (old) GeForce 4MX, this EXA implementation > performs poorly (way slower) compared to the shadowfb mode that is now > the default. > > My traditionnal benchmark (/usr/bin/time cat /etc/xtermcap in a 80x35 > xterm with DejaVu Sans Mono 8 anti-aliased font), takes 534s with EXA > vs 42s with shadowfb. (it's less than 1s on my X240 with intel)
I did the same kind of testing on an i386 Macmini3,1 with vga1 at pci2 dev 0 function 0 "NVIDIA GeForce 9400" rev 0xb1 On a 80x25 xterm (default font/colors), the same 'benchmark' goes from 30s (without the diff) to sometimes 20s, sometimes 4s, that varies a lot. on a 120x60 xterm, it can vary from 6s to 100s sooo .. i'm not sure what to do with those numbers :) Scrolling in a manpage in a term on on icb logs feels 'smoother'. Fullscreen video still impossible because of missing xvideo support (gl is unbearably slow, 0.1fps, x11 only works in windowed mode) but that's not a regression :) Landry
pgpg3Ry4Q1c_1.pgp
Description: PGP signature