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

Paolo Ornati
2004-09-01T11:57:17Z

[-- Attachment #1: Type: text/plain, Size: 1947 bytes --]

On Wednesday 01 September 2004 12:21, Antonino A. Daplas wrote:
> 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?
yes

> Do you use the 'nopan' boot option?
no

>
> 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?

ASUS A7V (VIA Apollo KT133 Chipset)
AMD Duron 750
3dfx Voodoo Banshee 16 MB

lspci -v (attached)

$ fbset -i: (from 2.6.9-rc1 + your new patch without CONFIG_FB_3DFX_ACCEL:
see the next e-mail)

mode "800x600-85"
# D: 60.753 MHz, H: 55.839 kHz, V: 84.992 Hz
geometry 800 600 800 20971 8
timings 16460 160 64 36 16 64 5
accel true
rgba 8/0,8/0,8/0,0/0
endmode

Frame buffer device information:
Name : 3Dfx Banshee
Address : 0xe4000000
Size : 16777216
Type : PACKED PIXELS
Visual : PSEUDOCOLOR
XPanStep : 0
YPanStep : 1
YWrapStep : 0
LineLength : 800
MMIO Address: 0xe0000000
MMIO Size : 33554432
Accelerator : Unknown (31)

>
> > 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.

ok

>
> Tony

--
Paolo Ornati
Gentoo Linux (kernel 2.6.9-rc1)

[-- Attachment #2: lspci.gz --]
[-- Type: application/x-gzip, Size: 1023 bytes --]