View Single Post
Old 02-12-03, 08:42 PM   #229
keung
Registered User
 
Join Date: Jan 2003
Posts: 16
Default Re: slow repainting textures but fast with 3D

Quote:
Originally posted by ghollins
just to add to my last post, the slowness problem seems to be with painting and filling textures or pictures such as the background image of a terminal window, icons, etc... However I have noticed a definite improvement with 3d graphics. So on one hand the performance got worse (i.e. repainting, scrolling 2D windows), and it got better (i.e. 3D graphics). ANybody know why this might be?
I guess you compiled it in i386 instruction set which is slow.
Try compiled it in i686 instruction set which is much faster.
May by try Athlon or pentimumIII specific instruction set build,
which is further faster.

i686 instruction set build :
rpmbuild --target i686 --rebuild NVIDIA_kernel-1.0-4191.src.rpm

For Athlons and Durons instruction set build
(I read from other people and have no that CPU try this) :
change to root
edit /usr/lib/rpm/rpmrc
found optflags and change it to :

optflags: athlon -O3 -march=athlon -funroll-loops -fomit-frame-pointer -fforce-mem -fforce-addr -finline-functions -malign-functions=4 -mpreferred-stack-boundary=2

then execute
rpmbuild --target athlon --rebuild NVIDIA_kernel-1.0-4191.src.rpm

For pentiumIII instruction set build
(I read from other people and tried this) :
change to root
edit /usr/lib/rpm/rpmrc
found optflags and change it to :

optflags: i686 -O3 -march=pentium3 -mcpu=pentium3 -mmmx -msse -funroll-loops -fexpensive-optimizations

then execute
rpmbuild --target i686 --rebuild NVIDIA_kernel-1.0-4191.src.rpm

For pentiumII instruction set build
(I read from other people and if I have so many time, I may try this) :
change to root
edit /usr/lib/rpm/rpmrc
found optflags and change it to :

optflags: i686 -O3 -march=pentium2 -mcpu=pentium2 -mmmxon

then execute
rpmbuild --target i686 --rebuild NVIDIA_kernel-1.0-4191.src.rpm


The about flag can be found in gcc manual.
O3 stand for Optimize yet more (highest at this stage)
your can also edit :
~/.rpmrc only one user (e.g. /home/peter/.rpmrc for peter only)
/etc/rpmrc for all user
/usr/lib/rpm/rpmrc redhat 8.0 use it for all user

Regards,
Keung

Last edited by keung; 02-17-03 at 10:42 AM.
keung is offline   Reply With Quote