Re: 2.6.9-rc1: scrolling with tdfxfb 5 times slower

Antonino A. Daplas
2004-09-01T10:20:49Z

On Wednesday 01 September 2004 15:20, Paolo Ornati wrote:

> Ok, with this patch and CONFIG_FB_3DFX_ACCEL=y the scrolling speed comes
> back (only a bit slower than with 2.6.8.1 without CONFIG_FB_3DFX_ACCEL):
>
> $ time cat MAINTAINERS: ~2.67s

Ok. However, I'm still wondering at the scrolling speed, it's a bit slower
than what I would expect (I get < 1 second with vesafb which is completely
unaccelerated).

Did you set info->flags = FBINFO_DEFAULT | FBINFO_HWACCEL_YPAN?
Do you use the 'nopan' boot option?

Because if you answer yes to the first question and no to the second, that
means that tdfxfb_pan_display() is probably broken.

BTW, what does fbset -i say, and what's your hardware setup?

>
> Another interesting thing is that if I enable CONFIG_FB_3DFX_ACCEL without
> your patch the screen becomes black and the kernel stop working at boot
> time (when the mode switch happens).

tdfxfb_cursor() is broken, so I disabled that. It's the reason your machine
hangs at boot time if CONFIG_FB_3DFX_ACCEL is set to y.

Tony