Hi
These are benchmarks with a selected videomodes group on DOS:
using -O2 Graphics driver: "VESA" Driver readp drawp line hline vline block v2v v2r r2v LFB8 640x 480 1.47 1.52 1.88 6.64 1.69 6.63 2.85 7.13 6.65 LFB8 800x 600 1.40 1.52 1.87 6.65 1.67 6.64 2.87 7.27 6.65 LFB8 1024x 768 1.40 1.49 1.87 6.67 1.68 6.67 2.87 7.21 6.68 LFB16 640x 480 1.40 1.46 1.85 3.37 1.67 3.36 1.50 3.98 3.36 LFB16 800x 600 1.40 1.46 1.84 3.34 1.64 3.34 1.50 3.98 3.34 LFB16 1024x 768 1.33 1.44 1.82 3.32 1.62 3.32 1.49 3.93 3.31 LFB24 640x 480 1.17 0.79 0.87 2.21 0.79 2.21 0.94 2.38 2.21 LFB24 800x 600 1.17 0.79 0.86 2.21 0.78 2.20 0.95 2.40 2.20 LFB24 1024x 768 1.17 0.78 0.85 2.18 0.77 2.17 0.94 2.38 2.17 RAM8 640x 480 7.00 6.79 16.34 161.54 9.28 236.21 143.64 0.00 0.00 RAM8 800x 600 5.60 6.22 16.67 212.66 9.17 246.14 148.97 0.00 0.00 RAM8 1024x 768 5.60 6.22 12.92 196.87 7.10 165.46 106.94 0.00 0.00 RAM16 640x 480 7.00 6.22 14.89 121.15 8.44 121.13 71.82 0.00 0.00 RAM16 800x 600 7.00 6.22 12.50 91.14 7.11 85.61 54.17 0.00 0.00 RAM16 1024x 768 7.00 6.22 10.09 65.62 5.49 58.98 44.51 0.00 0.00 RAM24 640x 480 5.60 5.74 9.21 53.85 6.79 61.35 36.32 0.00 0.00 RAM24 800x 600 5.60 5.33 8.12 45.57 5.81 47.16 31.18 0.00 0.00 RAM24 1024x 768 5.60 5.74 7.19 41.45 5.24 40.06 28.69 0.00 0.00
using -O6 -fomit--frame-pointer Graphics driver: "VESA" Driver readp drawp line hline vline block v2v v2r r2v LFB8 640x 480 1.40 1.59 1.88 6.64 1.68 6.63 2.85 7.13 6.64 LFB8 800x 600 1.47 1.59 1.87 6.65 1.68 6.64 2.87 7.27 6.65 LFB8 1024x 768 1.47 1.59 1.87 6.67 1.67 6.67 2.87 7.20 6.67 LFB16 640x 480 1.40 1.46 1.85 3.37 1.67 3.36 1.50 3.99 3.36 LFB16 800x 600 1.40 1.46 1.84 3.36 1.65 3.34 1.50 3.99 3.34 LFB16 1024x 768 1.40 1.44 1.83 3.32 1.63 3.32 1.49 3.93 3.31 LFB24 640x 480 1.22 0.77 0.88 2.22 0.79 2.21 0.94 2.38 2.21 LFB24 800x 600 1.17 0.76 0.87 2.21 0.78 2.20 0.95 2.40 2.20 LFB24 1024x 768 1.17 0.75 0.85 2.18 0.77 2.17 0.94 2.38 2.17 RAM8 640x 480 7.00 7.46 16.34 161.54 9.28 236.21 143.64 0.00 0.00 RAM8 800x 600 7.00 6.79 16.25 212.66 9.41 238.68 144.94 0.00 0.00 RAM8 1024x 768 5.60 6.79 12.92 157.50 7.21 165.46 106.94 0.00 0.00 RAM16 640x 480 9.33 6.79 14.89 121.15 8.44 121.13 73.49 0.00 0.00 RAM16 800x 600 9.33 6.22 12.74 79.75 7.11 85.61 53.63 0.00 0.00 RAM16 1024x 768 7.00 6.22 10.09 65.62 5.43 59.26 44.51 0.00 0.00 RAM24 640x 480 5.60 6.22 9.93 60.58 6.63 62.16 36.32 0.00 0.00 RAM24 800x 600 5.60 5.74 8.90 45.57 5.90 47.45 31.18 0.00 0.00 RAM24 1024x 768 5.60 5.33 7.95 41.45 5.36 40.19 28.69 0.00 0.00
The differences are very small, so I think we can use -O2 by default.
Incidentally, speedtst crash my computer using the Vesa driver in 16 color. Can any body confirms that? I suspect there is a bug in the framedriver.
M.Alvarez
Mariano Alvarez Fernandez wrote:
Incidentally, speedtst crash my computer using the Vesa driver in 16 color. Can any body confirms that? I suspect there is a bug in the framedriver.
Indeed there is a problem for 1024x768x16 (not for lower screen sizes) For several programs (not only speedtst), it is not a full crash but: on bare DOS: only the higher third of the screen is used on W98 DOS window (full screen): I see in addition anomalous writings in the lower part, and the whole screen is perturbed when the program is finished and windows restored. All other resolutions are correct. I have an ATI Rage 128 GL AGP video card Hope this helps Maurice
Maurice Lombardi escribió:
Mariano Alvarez Fernandez wrote:
Incidentally, speedtst crash my computer using the Vesa driver in 16 color. Can any body confirms that? I suspect there is a bug in the framedriver.
Indeed there is a problem for 1024x768x16 (not for lower screen sizes) For several programs (not only speedtst), it is not a full crash but: on bare DOS: only the higher third of the screen is used on W98 DOS window (full screen): I see in addition anomalous writings in the lower part, and the whole screen is perturbed when the program is finished and windows restored. All other resolutions are correct. I have an ATI Rage 128 GL AGP video card Hope this helps
Thanks, it seems that really there is a subtle bug in the framedriver and that it is videocard dependent.
On Sun, 25 Mar 2001, Mariano Alvarez Fernandez wrote:
Maurice Lombardi escribió:
Mariano Alvarez Fernandez wrote:
Incidentally, speedtst crash my computer using the Vesa driver in 16 color. Can any body confirms that? I suspect there is a bug in the framedriver.
Indeed there is a problem for 1024x768x16 (not for lower screen sizes) For several programs (not only speedtst), it is not a full crash but: on bare DOS: only the higher third of the screen is used on W98 DOS window (full screen): I see in addition anomalous writings in the lower part, and the whole screen is perturbed when the program is finished and windows restored. All other resolutions are correct. I have an ATI Rage 128 GL AGP video card Hope this helps
Thanks, it seems that really there is a subtle bug in the framedriver and that it is videocard dependent.
800x600x16 doesnŽt need to switch video banks in memory. Only 60000 bytes are used in 4 planes.
1024x768x16 will need to switch video banks. GRX has code to use - splited memory banks (eg. 32k for read 32k for write) - extended memory banks (more than 64k)
Since 800x600x16 works ok I gues the problem is in the mode description and setup for the bankswitching code. Even the video bios may be wrong :(
Try to dump all the information collected by the VESA driver for 800x600x16 and 1024x768x16
Hope it helps, Hartmut
Hartmut Schirmer wrote:
Try to dump all the information collected by the VESA driver for 800x600x16 and 1024x768x16
using bin/vesainfo.exe
VESASignature: "VESA" VESAVersion: 2.0 OEMStringPtr: "ATI RAGE128" Capabilities: CAP_DAC_WIDTH VideoModePtr: 0x00020358 Video Modes: 0x6a 0x102 0x104 0x182 0x10d 0x10e 0x10f 0x120 0x192 0x193 0x194 0x195 0x196 0x1a2 0x1a3 0x1a4 0x1a5 0x1a6 0x1b2 0x1b3 0x1b4 0x1b5 0x1b6 0x1c2 0x1c3 0x1c4 0x1c5 0x1c6 0x100 0x183 0x184 0x185 0x186 0x101 0x110 0x111 0x112 0x121 0x103 0x113 0x114 0x115 0x122 0x105 0x116 0x117 0x118 0x123 0x107 0x119 0x11a 0x11b 0x124 0x109 0x10a 0x130 Memory Size: 512*64KBytes
VESA bios includes protected mode support: PM info table start: c000:4c8a PM info table length: 0x0166 set window offset: 0026 (c000:4cb0) set display start offset: 006e (c000:4cf8) set primary palette offset: 00a8 (c000:4d32) resource table offset: 000c (c000:4c96) required ports: c810c816c854c838c83cc85cc800c804c8b0c8b2c8b4 required memory areas:
<snip>
Mode 0x6a is supported ModeAttributes: MODE_SUPPORTED | MODE_EXTINFO | MODE_ISCOLOR | MODE_ISGRAPHICS WinAAttributes: WIN_SUPPORTED | WIN_READABLE | WIN_WRITABLE WinBAttributes: 0 WinGranularity: 64 WinSize: 64 WinASegment: 0xa000 WinBSegment: 0xa000 WinFuncPtr: 0xc0004bf5 BytesPerScanLine: 100 XResolution: 800 YResolution: 600 XCharSize: 8 YCharSize: 14 NumberOfPlanes: 4 BitsPerPixel: 4 NumberOfBanks: 1 MemoryModel: 3 (MODEL_4PLANE) BankSize: 0 NumImagePages 3 RedMaskSize: 0 RedMaskPos: 0 GreenMaskSize: 0 GreenMaskPos: 0 BlueMaskSize: 0 BlueMaskPos: 0 ReservedMaskSize: 0 ReservedMaskPos: 0 DirectScreenMode: 0 LinearFrameBuffer:0x00000000 StartOffScreenMem:0x00000000 OffScreenMemSize: 0 kb
<snip>
Mode 0x102 is supported ModeAttributes: MODE_SUPPORTED | MODE_EXTINFO | MODE_ISCOLOR | MODE_ISGRAPHICS WinAAttributes: WIN_SUPPORTED | WIN_READABLE | WIN_WRITABLE WinBAttributes: 0 WinGranularity: 64 WinSize: 64 WinASegment: 0xa000 WinBSegment: 0xa000 WinFuncPtr: 0xc0004bf5 BytesPerScanLine: 100 XResolution: 800 YResolution: 600 XCharSize: 8 YCharSize: 14 NumberOfPlanes: 4 BitsPerPixel: 4 NumberOfBanks: 1 MemoryModel: 3 (MODEL_4PLANE) BankSize: 0 NumImagePages 3 RedMaskSize: 0 RedMaskPos: 0 GreenMaskSize: 0 GreenMaskPos: 0 BlueMaskSize: 0 BlueMaskPos: 0 ReservedMaskSize: 0 ReservedMaskPos: 0 DirectScreenMode: 0 LinearFrameBuffer:0x00000000 StartOffScreenMem:0x00000000 OffScreenMemSize: 0 kb
<snip> Mode 0x104 is supported ModeAttributes: MODE_SUPPORTED | MODE_EXTINFO | MODE_ISCOLOR | MODE_ISGRAPHICS WinAAttributes: WIN_SUPPORTED | WIN_READABLE | WIN_WRITABLE WinBAttributes: 0 WinGranularity: 64 WinSize: 64 WinASegment: 0xa000 WinBSegment: 0xa000 WinFuncPtr: 0xc0004bf5 BytesPerScanLine: 128 XResolution: 1024 YResolution: 768 XCharSize: 8 YCharSize: 16 NumberOfPlanes: 4 BitsPerPixel: 4 NumberOfBanks: 1 MemoryModel: 3 (MODEL_4PLANE) BankSize: 0 NumImagePages 1 RedMaskSize: 0 RedMaskPos: 0 GreenMaskSize: 0 GreenMaskPos: 0 BlueMaskSize: 0 BlueMaskPos: 0 ReservedMaskSize: 0 ReservedMaskPos: 0 DirectScreenMode: 0 LinearFrameBuffer:0x00000000 StartOffScreenMem:0x00000000 OffScreenMemSize: 0 kb
<snip>
Hope this helps
Maurice