saai
06-03-2001, 01:22 AM
I just got a geforce2 ultra for my system (p3 566mhz, 256mb ram). I want to use a high res framebuffer, so I enabled mtrr and vesafb support in kernel 2.4.5, and booted the new kernel. The mtrr support initalizes and sets itself up correctly, as does vesafb except that vesafb does not set itself up to use the mtrrs. Using 1280x1024x16 scrolling upwards through text in any program (namely vim) is *extremely* slow. I'm told that I need mtrrs working correctly for it to be fast. Does anyone know what I can do to get vesafb to use the mtrrs? Below is snipped kernel and /proc output.
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
vesafb: framebuffer at 0xd0000000, mapped to 0xd0800000, size 65536k
vesafb: mode is 1280x1024x16, linelength=2560, pages=1
vesafb: protected mode interface info at c000:0f03
vesafb: pmi: set display start = c00c0f3c, set palette = c00c0fb2
vesafb: pmi: ports = 3b4 3b5 3ba 3c0 3c1 3c4 3c5 3c6 3c7 3c8 3c9 3cc 3ce 3cf 3d0 3d1 3d2 3d3 3d4 3d5 3da
vesafb: scrolling: ywrap using protected mode interface, yres_virtual=26214
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 160x64
fb0: VESA VGA frame buffer device
cat /proc/mtrr:
reg00: base=0x00000000 ( 0MB), size= 256MB: write-back, count=1
reg01: base=0xd0000000 (3328MB), size= 64MB: write-combining, count=1
My AGP aperture is set to 256mb in the bios and the graphics card has 64mb of memory on it.
saai
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
vesafb: framebuffer at 0xd0000000, mapped to 0xd0800000, size 65536k
vesafb: mode is 1280x1024x16, linelength=2560, pages=1
vesafb: protected mode interface info at c000:0f03
vesafb: pmi: set display start = c00c0f3c, set palette = c00c0fb2
vesafb: pmi: ports = 3b4 3b5 3ba 3c0 3c1 3c4 3c5 3c6 3c7 3c8 3c9 3cc 3ce 3cf 3d0 3d1 3d2 3d3 3d4 3d5 3da
vesafb: scrolling: ywrap using protected mode interface, yres_virtual=26214
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 160x64
fb0: VESA VGA frame buffer device
cat /proc/mtrr:
reg00: base=0x00000000 ( 0MB), size= 256MB: write-back, count=1
reg01: base=0xd0000000 (3328MB), size= 64MB: write-combining, count=1
My AGP aperture is set to 256mb in the bios and the graphics card has 64mb of memory on it.
saai