Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jan 2002 10:03:00 +0100
From:      Bjarne Wichmann Petersen <freebsd.nospam@mekanix.dk>
To:        Randall Hopper <aa8vb@nc.rr.com>, Bjarne Wichmann Petersen <nospam.nospam@mekanix.dk>
Cc:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: OpenGL
Message-ID:  <20020105090159.PUCN27566.fepA.post.tele.dk@there>
In-Reply-To: <20020104172908.A62346@nc.rr.com>
References:  <20020103212324.ILQT16766.fepD.post.tele.dk@there> <20020104185158.RCWJ16766.fepD.post.tele.dk@there> <20020104172908.A62346@nc.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Friday 04 January 2002 23:29, Randall Hopper wrote:

> Re: gltron, I'm getting avg 98 with the 320x240.  With 640x480 it's over 90
> max, but is very dependent on number of cycle tracks (10-98, w/ avg maybe
> 40.  Cool game, but not a great program as far as generating a useful
> benchmarking number.

Possible, I'm just using it because I seem to remember that it played so much 
nicer under Linux/X 3.3.something with utah-glx. And that was on a 400 MHz K6.

> See how your "benchclock" numbers compare (see attached).  This is from the
> glclock port.

Attached. My system seems to be running at ~50% of yours in HW/DRI-mode. So 
that should be ok.

> Re: tuxracer -- Cool game!  I'd never tried that one before.  My FPS is in
> the 70-80 range most of the time (this is at the default 640x480, full
> screen, music/sounds on).  

Ok... so there is *really* something wrong with my setup! ;)

> So there's another puzzle for us to solve:  why your tuxracer is so slow.
> Are you sure you're linked with the HW accelerated libGL and not a
> software-only Mesa libGL (ldd /usr/local/bin/tuxracer | grep 'libGL\.')?

$ ldd /usr/local/bin/tuxracer | grep 'libGL\.'
        libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x283d7000)

Should be correct.

Bjarne
-- 
Homepage: http://www.mekanix.dk
[-- Attachment #2 --]
glclock-4.5 benchmark test.
1. double buffers
54.16 FPS  99652 TPS  at 1842 Triangles

2. single buffer
33.44 FPS  61707 TPS  at 1842 Triangles

3. environment mapping double buffers
22.08 FPS  41140 TPS  at 1870 Triangles

4. environment mapping single buffer
18.78 FPS  35156 TPS  at 1870 Triangles

5. bi-linear environment mapping double buffers
20.68 FPS  38709 TPS  at 1870 Triangles

6. bi-linear environment mapping single buffer
17.69 FPS  33099 TPS  at 1870 Triangles

7. tri-linear environment mapping double buffers
 9.83 FPS  18139 TPS  at 1870 Triangles

8. tri-linear environment mapping single buffer
 9.05 FPS  16830 TPS  at 1870 Triangles

9. tri-linear shading texture double buffers
 9.17 FPS  17017 TPS  at 1870 Triangles

10. tri-linear shading texture single buffer
 8.53 FPS  15708 TPS  at 1870 Triangles

11. tri-linear transparency texture double buffers
 9.85 FPS  18326 TPS  at 1870 Triangles

12. tri-linear transparency texture single buffer
 6.96 FPS  13090 TPS  at 1870 Triangles

13. tri-linear transparency texture with over sampling double buffers
 3.19 FPS  6809 TPS  at 2140 Triangles

14. tri-linear transparency texture with over sampling single buffer
 2.21 FPS  4748 TPS  at 2140 Triangles

15. tri-linear shading texture transparency texture double buffers
 5.34 FPS  17056 TPS  at 3198 Triangles

16. tri-linear shading texture transparency texture single buffer
 4.40 FPS  14071 TPS  at 3198 Triangles

17. tri-linear shading texture transparency texture high quality clock double buffers
 4.19 FPS  58013 TPS  at 13854 Triangles

18. tri-linear shading texture transparency texture high quality clock single buffer
 3.28 FPS  44200 TPS  at 13854 Triangles


[-- Attachment #3 --]
glclock-4.5 benchmark test.
1. double buffers
170.30 FPS  313692 TPS  at 1842 Triangles

2. single buffer
170.62 FPS  314245 TPS  at 1842 Triangles

3. environment mapping double buffers
159.55 FPS  298265 TPS  at 1870 Triangles

4. environment mapping single buffer
161.22 FPS  301631 TPS  at 1870 Triangles

5. bi-linear environment mapping double buffers
160.08 FPS  299200 TPS  at 1870 Triangles

6. bi-linear environment mapping single buffer
159.87 FPS  299013 TPS  at 1870 Triangles

7. tri-linear environment mapping double buffers
160.88 FPS  300696 TPS  at 1870 Triangles

8. tri-linear environment mapping single buffer
160.60 FPS  300322 TPS  at 1870 Triangles

9. tri-linear shading texture double buffers
160.17 FPS  299574 TPS  at 1870 Triangles

10. tri-linear shading texture single buffer
160.95 FPS  300883 TPS  at 1870 Triangles

11. tri-linear transparency texture double buffers
150.36 FPS  281248 TPS  at 1870 Triangles

12. tri-linear transparency texture single buffer
151.84 FPS  284053 TPS  at 1870 Triangles

13. tri-linear transparency texture with over sampling double buffers
100.00 FPS  214000 TPS  at 2140 Triangles

14. tri-linear transparency texture with over sampling single buffer
100.31 FPS  214642 TPS  at 2140 Triangles

15. tri-linear shading texture transparency texture double buffers
102.25 FPS  326835 TPS  at 3198 Triangles

16. tri-linear shading texture transparency texture single buffer
102.38 FPS  327475 TPS  at 3198 Triangles

17. tri-linear shading texture transparency texture high quality clock double buffers
29.46 FPS  408693 TPS  at 13854 Triangles

18. tri-linear shading texture transparency texture high quality clock single buffer
29.34 FPS  405922 TPS  at 13854 Triangles


[-- Attachment #4 --]
Section "ServerLayout"
	Identifier     "XFree86 Configured"
	Screen		"Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath   "/usr/X11R6/lib/X11/rgb"

	Fontpath  "/usr/X11R6/lib/X11/fonts/local"
	Fontpath  "/usr/X11R6/lib/X11/fonts/misc"
	Fontpath  "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
	Fontpath  "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
	Fontpath  "/usr/X11R6/lib/X11/fonts/hpfonts"
	Fontpath  "/usr/X11R6/lib/X11/fonts/ttfonts"
	Fontpath  "/usr/X11R6/lib/X11/fonts/freefont"
	Fontpath  "/usr/X11R6/lib/X11/fonts/sharefont"
	Fontpath  "/usr/X11R6/lib/X11/fonts/Type1"
	Fontpath  "/usr/X11R6/lib/X11/fonts/Speedo"
	Fontpath  "/usr/X11R6/lib/X11/fonts/75dpi"
	Fontpath  "/usr/X11R6/lib/X11/fonts/100dpi"
#	Fontpath  "/usr/X11R6/lib/X11/fonts/mozilla:unscaled"
	Fontpath  "/usr/local/share/abiword/fonts"
#	Fontpath  "/usr/X11R6/lib/X11/fonts/NewTTF"

	ModulePath  "/usr/X11R6/lib/modules"
EndSection

Section "Module"
#	Load  "extmod"
#	Load  "xie"
#	Load  "pex5"
#	Load  "glx"
#	Load  "dri"
#	Load  "GLcore"
#	Load  "dbe"
#	Load  "record"
#	Load  "mtrr"
	Load  "dbe"
	SubSection "extmod"
	  Option "omit xfree86-dga"
	EndSubSection
	Load  "glx"
	Load  "dri"
	Load  "type1"
	Load  "speedo"
	Load  "freetype"
	#Load  "xtt"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "Keyboard"
	Option      "AutoRepeat" "500 30"
	Option      "XkbRules"   "xfree86"
	#Option      "XkbModel"   "pc105"
	Option      "XkbLayout"  "dk"
#	Option      "keymap"     "dk"
#	Option      "xkb_keymap" "dk"
#	Option      "XkbRules"   "xfree86"
#	Option      "XkbModel"   "pc101"
#	Option      "XkbLayout"  "dk"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
#	Option      "Protocol" "SysMouse"
#	Option      "Protocol" "MouseSystems"
#	Option      "Protocol" "Auto"
#	Option      "Protocol" "IMPS/2"
	Option		"Protocol" "PS/2"
	Option		"Device" "/dev/psm0"
#	Option      "Device" "/dev/sysmouse"
#	Option      "Buttons" "5"
	Option      "ZAxisMapping" "4 5"
EndSection


Section "Device"
	### Available Driver options are:-
        #Option     "SWcursor"
        #Option     "HWcursor"
        #Option     "PciRetry"
        #Option     "SyncOnGreen"
        #Option     "NoAccel"
        #Option     "ShowCache"
        #Option     "Overlay"
        #Option     "MGASDRAM"
        #Option     "ShadowFB"
        #Option     "UseFBDev"
        #Option     "ColorKey"
        #Option     "SetMclk"
        #Option     "OverclockMem"
        #Option     "VideoKey"
        #Option     "Rotate"
	Identifier  "Matrox MGA G400 AGP"
	Driver      "mga"
	VendorName  "Matrox"
	BoardName   "MGA G400 AGP"
	BusID       "PCI:1:0:0"
EndSection

Section "Monitor"
	Identifier  "ViewSonic G790"
	HorizSync    30-95
	VertRefresh  50-180
	Gamma 1.2
	Modeline "1600x1200" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +HSync +VSync
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Matrox MGA G400 AGP"
	Monitor    "ViewSonic G790"
	DefaultDepth 24
	DefaultFbBpp 32
	SubSection "Display"
		Depth     1
	EndSubSection
	SubSection "Display"
		Depth     4
	EndSubSection
	SubSection "Display"
		Depth     8
		Modes     "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     15
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes     "1600x1200" "640x480" "800x600" "1024x768"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes     "1600x1200"
		ViewPort  0 0
	EndSubSection
	SubSection "Display"
		Depth     32
		Modes     "1600x1200"
		ViewPort  0 0
	EndSubSection
EndSection

Section "DRI"
	Mode 0666
EndSection


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020105090159.PUCN27566.fepA.post.tele.dk>