View Single Post
Old 01-06-06, 05:45 AM   #6
PrakashP
gentoo ~x86_64 user
 
PrakashP's Avatar
 
Join Date: Jul 2004
Location: Germania
Posts: 213
Default Re: horrible 2D performance

GtkPerf 0.40 - Starting testing: Fri Jan 6 12:43:32 2006

GtkEntry - time: 0,06
GtkComboBox - time: 1,35
GtkComboBoxEntry - time: 0,89
GtkSpinButton - time: 0,10
GtkProgressBar - time: 0,05
GtkToggleButton - time: 0,33
GtkCheckButton - time: 0,24
GtkRadioButton - time: 0,38
GtkTextView - Add text - time: 0,84
GtkTextView - Scroll - time: 0,62
GtkDrawingArea - Lines - time: 0,34
GtkDrawingArea - Circles - time: 0,39
GtkDrawingArea - Text - time: 1,15
GtkDrawingArea - Pixbufs - time: 0,08
---
Total time: 6,81

Athlon XP (dynamically clocked from 1375 to 2178 MHz; in the test most of the time at max clock though), Geforce4 (underclocked to core 150, mem 300) with xorg 6.9rc4 renderaccel with grey hinting, gentoo Linux, latest Nvidia driver

Following, CPU clocked at max and Gf4 clocked to default (core 250, mem 550)

GtkPerf 0.40 - Starting testing: Fri Jan 6 12:52:17 2006

GtkEntry - time: 0,04
GtkComboBox - time: 0,96
GtkComboBoxEntry - time: 0,85
GtkSpinButton - time: 0,10
GtkProgressBar - time: 0,07
GtkToggleButton - time: 0,32
GtkCheckButton - time: 0,25
GtkRadioButton - time: 0,37
GtkTextView - Add text - time: 0,82
GtkTextView - Scroll - time: 0,60
GtkDrawingArea - Lines - time: 0,27
GtkDrawingArea - Circles - time: 0,38
GtkDrawingArea - Text - time: 0,87
GtkDrawingArea - Pixbufs - time: 0,09
---
Total time: 6,00


Following default (like first test) but with subpixel hinting enabled:

GtkPerf 0.40 - Starting testing: Fri Jan 6 12:55:20 2006

GtkEntry - time: 0,11
GtkComboBox - time: 1,24
GtkComboBoxEntry - time: 0,95
GtkSpinButton - time: 0,10
GtkProgressBar - time: 0,06
GtkToggleButton - time: 0,35
GtkCheckButton - time: 0,24
GtkRadioButton - time: 0,38
GtkTextView - Add text - time: 0,80
GtkTextView - Scroll - time: 0,61
GtkDrawingArea - Lines - time: 0,34
GtkDrawingArea - Circles - time: 0,39
GtkDrawingArea - Text - time: 10,91
GtkDrawingArea - Pixbufs - time: 0,08
---
Total time: 16,56


@Everex

Your GtkDrawingArea - Text and Pixbufs look horrible. Are you using subpixel hinting?


BTW, have you guys made sure, your mtrr is set up correctly?

lspci -v
02:00.0 VGA compatible controller: nVidia Corporation NV28 [GeForce4 Ti 4200 AGP 8x] (rev a1) (prog-if 00 [VGA])
Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 21
Memory at c8000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (32-bit, prefetchable) [size=128M]
[virtual] Expansion ROM at c9000000 [disabled] [size=128K]
Capabilities: <access denied>

cat /proc/mtrr
reg00: base=0x00000000 ( 0MB), size=1024MB: write-back, count=1
reg01: base=0xa0000000 (2560MB), size= 512MB: write-combining, count=1
reg02: base=0xc0000000 (3072MB), size= 128MB: write-combining, count=1

Last edited by PrakashP; 01-06-06 at 06:54 AM.
PrakashP is offline   Reply With Quote