Originally Posted by
bridgman
All the devs noticed that the sun seemed to shine a bit more brightly today ;)
For the short term, I guess the tasks are :
(a) continue to fix bugs,
(b) get back to 1500fps from 15fps by accelerating the back-to-front buffer copy,
(c) get the mesa code ready to merge into master
The driver actually draws decently fast, it's just the buffer copy that slows everything down. The GPU can copy VRAM-to-VRAM at 2,000 MB/s or better, but the CPU can only copy at around 5 MB/s when it has to read from uncached VRAM. The CPU is probably reading one 32-bit word at a time, and taking maybe 800nS to go out to the GPU over PCIE, have the GPU read a word from VRAM, and return the data to the CPU. The glxgears window is ~300x300 pixels, or 360K bytes - 5MB/sec over 360KB/frame gives about 15 fps.