Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to index page
Thread view  Board view
RayeR

Homepage

CZ,
11.05.2011, 17:08
 

MTRR settings works on other core i5 machine :) (Announce)

Hi,
I had received an email from Bruno who tested my VESATEST on his core i5 680 with following result:

640 x 480       Video mode              Transfer rate   
112     Bank switched                   39 MB/s         
4112    Linear frame buffer             35 MB/s
112     Bank switch MTRR WC set         2920 MB/s
4112    Linear frame buffer MTTR WC set 250 MB/s

It's weird that BS mode is such faster than LFB mode but performance is still good compared to my poor core i5 750 system from HP. So it seems that HP BIOS is kinda retarded and didn't fully initialized the CPU/integrated MCH.

---
DOS gives me freedom to unlimited HW access.

Rugxulo

Homepage

Usono,
11.05.2011, 22:40

@ RayeR
 

MTRR settings works on other core i5 machine :)

> Hi,
> I had received an email from Bruno who tested my VESATEST on his core i5
> 680 with following result:

Lenovo Core i5 650:


Generated by Martin's VGA13/VESA driver test 1.46
Host CPU id: 20652h, host OS: DOS
VESA VBE 3.0 Intel(R)Ironlake Desktop Graphics Chipset Accelerated VGA BIOS [131008 kB]
Intel Corporation
Intel(R)Ironlake Desktop Graphics Controller
Hardware Version 0.0
OEM software revision 1.0
VBE/AF version 0.0
27 videomodes available on this card

 #0 = 160h - 0x0/0 (unsupported by VESADRV)
 #1 = 161h - 0x0/0 (unsupported by VESADRV)
 #2 = 162h - 0x0/0 (unsupported by VESADRV)
 #3 = 163h - 0x0/0 (unsupported by VESADRV)
 #4 = 164h - 0x0/0 (unsupported by VESADRV)
 #5 = 165h - 0x0/0 (unsupported by VESADRV)
 #6 = 166h - 0x0/0 (unsupported by VESADRV)
 #7 = 167h - 0x0/0 (unsupported by VESADRV)
 #8 = 168h - 0x0/0 (unsupported by VESADRV)
 #9 = 13Ch - 1920x1440/8
#10 = 14Dh - 1920x1440/16
#11 = 15Ch - 1920x1440/32
#12 = 13Ah - 1600x1200/8
#13 = 14Bh - 1600x1200/16
#14 = 15Ah - 1600x1200/32
#15 = 107h - 1280x1024/8
#16 = 11Ah - 1280x1024/16
#17 = 11Bh - 1280x1024/32
#18 = 105h - 1024x768/8
#19 = 117h - 1024x768/16
#20 = 118h - 1024x768/32
#21 = 112h - 640x480/32
#22 = 114h - 800x600/16
#23 = 115h - 800x600/32
#24 = 101h - 640x480/8
#25 = 103h - 800x600/8
#26 = 111h - 640x480/16

VideoModeNumber = 111h
614400 B allocated for FrameBuffer
WinFuncPtr = C000:6F28h
WinGranularity = 64 kB
NumBanks = 9
LastSize = 24576 B
Measured refresh rate = 60.6 Hz
Measured 60 FPS (FrameBuffer>VRAM)
(transfer speed 35 MB/s)

Rugxulo

Homepage

Usono,
11.05.2011, 22:42

@ RayeR
 

MTRR settings works on other core i5 machine :)

> It's weird that BS mode is such faster than LFB mode but performance is
> still good compared to my poor core i5 750 system from HP. So it seems that
> HP BIOS is kinda retarded and didn't fully initialized the CPU/integrated
> MCH.

Hmmm, you didn't specify what switches to use / were used, so I don't have the same results as you. Oh well, hopefully what I did give is enough for something. (Feel free to suggest the appropriate test for me, otherwise I'm hopeless / clueless!)

RayeR

Homepage

CZ,
12.05.2011, 02:56

@ Rugxulo
 

MTRR settings works on other core i5 machine :)

> Hmmm, you didn't specify what switches to use / were used, so I don't have
> the same results as you. Oh well, hopefully what I did give is enough for
> something. (Feel free to suggest the appropriate test for me,
> otherwise I'm hopeless / clueless!)

If you downloaded vesatest.zip package from my site, you can find test640.bat script that will run sequentiually 4 tests in 640x480 BS/LFB without and with MTRRs set. That was exactly that Bruno reported. In your case you ran BS without MTRR set so such poor result could be expected...

---
DOS gives me freedom to unlimited HW access.

Rugxulo

Homepage

Usono,
25.05.2011, 00:38

@ RayeR
 

MTRR settings works on other core i5 machine :)

> If you downloaded vesatest.zip package from my site, you can find
> test640.bat script that will run sequentiually 4 tests in 640x480 BS/LFB
> without and with MTRRs set.

Oops, I almost forgot about (re)testing this for you! :-(

Lenovo Core i5 650:


REM VESA640.BS

Generated by Martin's VGA13/VESA driver test 1.46
Host CPU id: 20652h, host OS: DOS
VESA VBE 3.0 Intel(R)Ironlake Desktop Graphics Chipset Accelerated VGA BIOS [131008 kB]
Intel Corporation
Intel(R)Ironlake Desktop Graphics Controller
Hardware Version 0.0
OEM software revision 1.0
VBE/AF version 0.0
27 videomodes available on this card

#0 = 160h - 0x0/0 (unsupported by VESADRV)
#1 = 161h - 0x0/0 (unsupported by VESADRV)
#2 = 162h - 0x0/0 (unsupported by VESADRV)
#3 = 163h - 0x0/0 (unsupported by VESADRV)
#4 = 164h - 0x0/0 (unsupported by VESADRV)
#5 = 165h - 0x0/0 (unsupported by VESADRV)
#6 = 166h - 0x0/0 (unsupported by VESADRV)
#7 = 167h - 0x0/0 (unsupported by VESADRV)
#8 = 168h - 0x0/0 (unsupported by VESADRV)
#9 = 13Ch - 1920x1440/8
#10 = 14Dh - 1920x1440/16
#11 = 15Ch - 1920x1440/32
#12 = 13Ah - 1600x1200/8
#13 = 14Bh - 1600x1200/16
#14 = 15Ah - 1600x1200/32
#15 = 107h - 1280x1024/8
#16 = 11Ah - 1280x1024/16
#17 = 11Bh - 1280x1024/32
#18 = 105h - 1024x768/8
#19 = 117h - 1024x768/16
#20 = 118h - 1024x768/32
#21 = 112h - 640x480/32
#22 = 114h - 800x600/16
#23 = 115h - 800x600/32
#24 = 101h - 640x480/8
#25 = 103h - 800x600/8
#26 = 111h - 640x480/16

VideoModeNumber = 112h
1228800 B allocated for FrameBuffer
WinFuncPtr = C000:6F28h
WinGranularity = 64 kB
NumBanks = 18
LastSize = 49152 B
Measured refresh rate = 60.6 Hz
Measured 30 FPS (FrameBuffer>VRAM)
(transfer speed 35 MB/s)

REM VESA640.LFB

Generated by Martin's VGA13/VESA driver test 1.46
Host CPU id: 20652h, host OS: DOS
VESA VBE 3.0 Intel(R)Ironlake Desktop Graphics Chipset Accelerated VGA BIOS [131008 kB]
Intel Corporation
Intel(R)Ironlake Desktop Graphics Controller
Hardware Version 0.0
OEM software revision 1.0
VBE/AF version 0.0
27 videomodes available on this card

#0 = 160h - 0x0/0 (unsupported by VESADRV)
#1 = 161h - 0x0/0 (unsupported by VESADRV)
#2 = 162h - 0x0/0 (unsupported by VESADRV)
#3 = 163h - 0x0/0 (unsupported by VESADRV)
#4 = 164h - 0x0/0 (unsupported by VESADRV)
#5 = 165h - 0x0/0 (unsupported by VESADRV)
#6 = 166h - 0x0/0 (unsupported by VESADRV)
#7 = 167h - 0x0/0 (unsupported by VESADRV)
#8 = 168h - 0x0/0 (unsupported by VESADRV)
#9 = 13Ch - 1920x1440/8
#10 = 14Dh - 1920x1440/16
#11 = 15Ch - 1920x1440/32
#12 = 13Ah - 1600x1200/8
#13 = 14Bh - 1600x1200/16
#14 = 15Ah - 1600x1200/32
#15 = 107h - 1280x1024/8
#16 = 11Ah - 1280x1024/16
#17 = 11Bh - 1280x1024/32
#18 = 105h - 1024x768/8
#19 = 117h - 1024x768/16
#20 = 118h - 1024x768/32
#21 = 112h - 640x480/32
#22 = 114h - 800x600/16
#23 = 115h - 800x600/32
#24 = 101h - 640x480/8
#25 = 103h - 800x600/8
#26 = 111h - 640x480/16

VideoModeNumber = 4112h
1228800 B allocated for FrameBuffer
LFB Selector = C7h
LFB PhysBasePtr = D0000000h
Measured refresh rate = 60.1 Hz
Measured 28 FPS (FrameBuffer>VRAM)
(transfer speed 33 MB/s)

REM VESA640M.BS

Generated by Martin's VGA13/VESA driver test 1.46
Host CPU id: 20652h, host OS: DOS
VESA VBE 3.0 Intel(R)Ironlake Desktop Graphics Chipset Accelerated VGA BIOS [131008 kB]
Intel Corporation
Intel(R)Ironlake Desktop Graphics Controller
Hardware Version 0.0
OEM software revision 1.0
VBE/AF version 0.0
27 videomodes available on this card

#0 = 160h - 0x0/0 (unsupported by VESADRV)
#1 = 161h - 0x0/0 (unsupported by VESADRV)
#2 = 162h - 0x0/0 (unsupported by VESADRV)
#3 = 163h - 0x0/0 (unsupported by VESADRV)
#4 = 164h - 0x0/0 (unsupported by VESADRV)
#5 = 165h - 0x0/0 (unsupported by VESADRV)
#6 = 166h - 0x0/0 (unsupported by VESADRV)
#7 = 167h - 0x0/0 (unsupported by VESADRV)
#8 = 168h - 0x0/0 (unsupported by VESADRV)
#9 = 13Ch - 1920x1440/8
#10 = 14Dh - 1920x1440/16
#11 = 15Ch - 1920x1440/32
#12 = 13Ah - 1600x1200/8
#13 = 14Bh - 1600x1200/16
#14 = 15Ah - 1600x1200/32
#15 = 107h - 1280x1024/8
#16 = 11Ah - 1280x1024/16
#17 = 11Bh - 1280x1024/32
#18 = 105h - 1024x768/8
#19 = 117h - 1024x768/16
#20 = 118h - 1024x768/32
#21 = 112h - 640x480/32
#22 = 114h - 800x600/16
#23 = 115h - 800x600/32
#24 = 101h - 640x480/8
#25 = 103h - 800x600/8
#26 = 111h - 640x480/16

VideoModeNumber = 112h, MTRR WC set
1228800 B allocated for FrameBuffer
WinFuncPtr = C000:6F28h
WinGranularity = 64 kB
NumBanks = 18
LastSize = 49152 B
Measured refresh rate = 60.0 Hz
Measured 1870 FPS (FrameBuffer>VRAM)
(transfer speed 2191 MB/s)

REM VESA640M.LFB

Generated by Martin's VGA13/VESA driver test 1.46
Host CPU id: 20652h, host OS: DOS
VESA VBE 3.0 Intel(R)Ironlake Desktop Graphics Chipset Accelerated VGA BIOS [131008 kB]
Intel Corporation
Intel(R)Ironlake Desktop Graphics Controller
Hardware Version 0.0
OEM software revision 1.0
VBE/AF version 0.0
27 videomodes available on this card

#0 = 160h - 0x0/0 (unsupported by VESADRV)
#1 = 161h - 0x0/0 (unsupported by VESADRV)
#2 = 162h - 0x0/0 (unsupported by VESADRV)
#3 = 163h - 0x0/0 (unsupported by VESADRV)
#4 = 164h - 0x0/0 (unsupported by VESADRV)
#5 = 165h - 0x0/0 (unsupported by VESADRV)
#6 = 166h - 0x0/0 (unsupported by VESADRV)
#7 = 167h - 0x0/0 (unsupported by VESADRV)
#8 = 168h - 0x0/0 (unsupported by VESADRV)
#9 = 13Ch - 1920x1440/8
#10 = 14Dh - 1920x1440/16
#11 = 15Ch - 1920x1440/32
#12 = 13Ah - 1600x1200/8
#13 = 14Bh - 1600x1200/16
#14 = 15Ah - 1600x1200/32
#15 = 107h - 1280x1024/8
#16 = 11Ah - 1280x1024/16
#17 = 11Bh - 1280x1024/32
#18 = 105h - 1024x768/8
#19 = 117h - 1024x768/16
#20 = 118h - 1024x768/32
#21 = 112h - 640x480/32
#22 = 114h - 800x600/16
#23 = 115h - 800x600/32
#24 = 101h - 640x480/8
#25 = 103h - 800x600/8
#26 = 111h - 640x480/16

VideoModeNumber = 4112h, MTRR WC set
1228800 B allocated for FrameBuffer
LFB Selector = C7h
LFB PhysBasePtr = D0000000h
Measured refresh rate = 60.1 Hz
Measured 28 FPS (FrameBuffer>VRAM)
(transfer speed 33 MB/s)

RayeR

Homepage

CZ,
25.05.2011, 16:19

@ Rugxulo
 

MTRR settings works on other core i5 machine :)

Thx.
I found there's a bug in calculating MTRR mask in some cases of LFB size is not exactly power of 2. Mask is then slightly out of range and this cause that performance in LFB mode is so poor. In BS mode it's used fixed range MTRR so it works. I have it on my (loong) todo list to fix it...

---
DOS gives me freedom to unlimited HW access.

Back to index page
Thread view  Board view
22778 Postings in 2122 Threads, 402 registered users (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum