Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

MTRR mystery (Announce)

posted by Zyzzle, 03.02.2012, 08:20
(edited by Zyzzle on 03.02.2012, 23:30)

Your test version of MTRRLFBE.exe works now for my in c2d system AND also in my i7 SandyBridge system! There are some interesting results I posted in the below logfiles as you requested. On my c2d system, I could configure BIOS to not do "memory remapping" and so detected memory was 3328 MB and MTRRLFBE works perfectly for enabling WC in lfb. When I changed bios option to enable memory remapping, memory is detected as 4096 MB, and MTRRLFBE appears to set WC in lfb successfully, the system does not freeze, but VESATEST.EXE speeds are still the same as UC mode.

On my i7 system, there is NO memory-remapping feature in BIOS, detected memory is 16384MB and your testversion WORKED! No lockup or freeze as in your old version of MTRRLFBE. However, it was only partially successful, as you had also seemed to experience on your i5 system.

I had to run FASTVID.EXE 1.10 and use its option to enable WC in lfb to get full blazing speed. It looks FastVid lfb WC uses MTRR 0 to 7 while your program only uses 0 to 6. Maybe this is the reason for your partial success? Incidently, running FastVid first WITHOUT first running your new testversion of MTRRLFBE freezes my i7 system solid.

-----------------------------------------------------------------------------
c2d E8400 system with 3328 MB RAM before WC in lfb

MTRR-WC enabler for VESA LFB 1.3 (C) 2005-2011 by Martin Rehak;
Compiled by GCC 4.6.2 at 10:33:26, Feb 2 2012
Host machine CPU vendor: GenuineIntel, ID: 10676h

VESA 3.0 Intel(r)Eaglelake Graphics Chip Accelerated VGA BIOS [32704 kB]
Intel Corporation
Intel(r)Eaglelake Graphics Controller
Hardware Version 0.0

LFB address: D0000000h
MTRR #0 = 000000000h, 080000000h, 06h, used
MTRR #1 = 080000000h, 0C0000000h, 06h, used
MTRR #2 = 0C0000000h, 0F0000000h, 06h, used
MTRR #3 = 0CDE00000h, 0FFE00000h, 00h, used
MTRR #4 = 0CE000000h, 0FE000000h, 00h, used
MTRR #5 = 000000000h, 000000000h, 00h, unused
MTRR #6 = 000000000h, 000000000h, 00h, unused
MTRR #7 = 000000000h, 000000000h, 00h, unused
MTRR area D0000000-D1FEFFFFh was set to mode: UC

c2d system with 3328 MB RAM *after* enabling WC in lfb

LFB address: D0000000h
MTRR #0 = 000000000h, 080000000h, 06h, used
MTRR #1 = 080000000h, 0C0000000h, 06h, used
MTRR #2 = 0C0000000h, 0F0000000h, 06h, used
MTRR #3 = 0CDE00000h, 0FFE00000h, 00h, used
MTRR #4 = 0CE000000h, 0FE000000h, 00h, used
MTRR #5 = 0D0000000h, 0FE010000h, 00h, used
MTRR #6 = 000000000h, 000000000h, 00h, unused
MTRR #7 = 000000000h, 000000000h, 00h, unused
MTRR area D0000000-D1FEFFFFh was set to mode: WC

NOTE: c2d system with *4096 MB* RAM in BIOS enabling WC in lfb has no speedup

i7 2600k system with 16384 MB RAM *before* WC in lfb

MTRR-WC enabler for VESA LFB 1.3 (C) 2005-2011 by Martin Rehak;
Compiled by GCC 4.6.2 at 10:33:26, Feb 2 2012
Host machine CPU vendor: GenuineIntel, ID: 206A7h

VESA 3.0 Intel(R)Sandybridge Desktop Graphics Chipset Accelerated VGA BIOS [32704 kB]
Intel Corporation
Intel(R)Sandybridge Desktop Graphics Controller
Hardware Version 0.0
LFB address: E0000000h
MTRR #0 = 000000000h, 000000000h, 06h, used
MTRR #1 = 0E0000000h, 0E0000000h, 00h, used
MTRR #2 = 0DE000000h, 0FE000000h, 00h, used
MTRR #3 = 0DD800000h, 0FF800000h, 00h, used
MTRR #4 = 000000000h, 000000000h, 06h, used
MTRR #5 = 000000000h, 000000000h, 06h, used
MTRR #6 = 000000000h, 0E0000000h, 06h, used
MTRR #7 = 000000000h, 000000000h, 00h, unused
MTRR #8 = 000000000h, 000000000h, 00h, unused
MTRR #9 = 000000000h, 000000000h, 00h, unused
MTRR area E0000000-E1FEFFFFh was set to mode: UC


i7 2600k system with 16384 MB RAM *after* enabling WC in lfb

LFB address: E0000000h
MTRR #0 = 000000000h, 080000000h, 06h, used
MTRR #1 = 0E0000000h, 0FE010000h, 00h, used
MTRR #2 = 0DE000000h, 0FE000000h, 00h, used
MTRR #3 = 0DD800000h, 0FF800000h, 00h, used
MTRR #4 = 000000000h, 000000000h, 06h, used
MTRR #5 = 000000000h, 000000000h, 06h, used
MTRR #6 = 000000000h, 0E0000000h, 06h, used
MTRR #7 = 000000000h, 000000000h, 00h, unused
MTRR #8 = 000000000h, 000000000h, 00h, unused
MTRR #9 = 000000000h, 000000000h, 00h, unused
MTRR area E0000000-E1FEFFFFh was set to mode: WC

(success but 1024x768x32bpp (mode 4118) in VESATEST.exe "only" 769 mb/sec)

i7 2600k system with 16384 MB RAM *after* enabling WC in lfb *AND* running FastVid 1.10 by John Hinkley, and enabling its "linear framebuffer write combining mode"

LFB address: E0000000h
MTRR #0 = 000000000h, 080000000h, 06h, used
MTRR #1 = 0E0000000h, 0FE010000h, 01h, used
MTRR #2 = 0DE000000h, 0FE000000h, 00h, used
MTRR #3 = 0DD800000h, 0FF800000h, 00h, used
MTRR #4 = 000000000h, 000000000h, 06h, used
MTRR #5 = 000000000h, 000000000h, 06h, used
MTRR #6 = 000000000h, 0E0000000h, 06h, used
MTRR #7 = 0E0000000h, 0FE100000h, 01h, used
MTRR #8 = 000000000h, 000000000h, 00h, unused
MTRR #9 = 000000000h, 000000000h, 00h, unused
MTRR area E0000000-E1FEFFFFh was set to mode: WC
(Now mode 0x4118h tested in "FASTVID.EXe 1024 768 32 lfb" shoots up to 1992 MB/sec!)
--------------------------------------------------------------------------

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 422 users online (0 registered, 422 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum