Urban Terror Forums: Experimental Builds: fix for stuttering problem - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Experimental Builds: fix for stuttering problem Rate Topic: -----

#1 User is offline   rjc862003 Icon

  • Account: rjc862003
  • Joined: 29-April 13
  • Posts: 15

Posted 11 May 2013 - 04:47 AM

I changed a few compile flags in a effort to track down the hitching and stuttering issue affecting a few people
this is built from the offical Codebase
download and run and report back with your results and CPU model
http://cl.ly/Oso9/Quake3-UrT.x86.exe
current flags for windows are -O2 -mmmx -msse -msse2

Make file with comments here: http://cl.ly/OsMU/Makefile
Edit2:flags adjusted(again) it seems a large portion of the issue was as I have previously stated Was Indeed the use of certain flags that should never ever be used with quake3-urt

this is what FS was using

-O3 -fomit-frame-pointer -ffast-math -funroll-loops \
-falign-loops=2 -falign-jumps=2 -falign-functions=2 \
-fstrength-reduce
You Absolutely Can NOT use -o3 and all the -f flags with q3urt it causes the quake 3 engine to exhibit weird behavior: http://www.delorie.c...gcc/gcc_10.html Fortran Op-code + q3_VM = FAILZOR

this is what I changed it to

OPTIMIZE= -O2 -mmmx -msse -msse2
* I use -msse3 on my machine in theory it should be safe to use it on a release build as any cpu after 2005 should have it
in theroy you could do two different builds for both AMD and intel cpus and then let the launcher,
decide what one to use if you wanted to go overkill could do -march=native and then build the binary locally

This post has been edited by rjc862003: 11 May 2013 - 05:37 PM


#2 User is offline   Nikki Icon

  • Account: nikki
  • Main tag: diRf!
  • Country:
  • Joined: 17-April 12
  • Posts: 427

Posted 11 May 2013 - 05:40 AM

View Postrjc862003, on 11 May 2013 - 04:47 AM, said:

I changed a few compile flags in a effort to track down the hitching and stuttering issue affecting a few people
this is built from the offical Codebase
download and run and report back with your results and CPU model
http://cl.ly/Oso9/Quake3-UrT.x86.exe
current flags for windows are -O2 -mmmx -msse -msse -msse2

Make file with comments here: http://cl.ly/OsMU/Makefile
Edit:flags adjusted


I tried the original and I was still getting it at a very minimal level but then we tested his next one and I'm having 0 issues now.

I have a phenom II 965 3.6ghz

#3 User is offline   p5yc0runn3r Icon

  •   former FS member   
    Engine Developer
  • Account: p5yc0runn3r
  • Country:
  • Joined: 21-March 10
  • Posts: 375

Posted 11 May 2013 - 06:34 AM

I did not try this yet, but did you compile from the latest github code?

This post has been edited by p5yc0runn3r: 11 May 2013 - 06:34 AM

dmaHD developer | engine developer | crazy person

#4 User is offline   g1nk0 Icon

  • Account: g1nk0
  • Main tag: )O,O(
  • Joined: 23-July 12
  • Posts: 4

Posted 11 May 2013 - 10:10 AM

Hey, just tried it out. Can't say I was suffering of "hitching and stuttering issue" but it felt like I was playing on 50 fps max compared to 4.1. Now this feeling is gone it seems. Will be testing it further. Thanks!
CPU INTEL S1155 Core i5-3470

#5 User is offline   p5yc0runn3r Icon

  •   former FS member   
    Engine Developer
  • Account: p5yc0runn3r
  • Country:
  • Joined: 21-March 10
  • Posts: 375

Posted 11 May 2013 - 05:22 PM

My dmaHD build is also compiled with MMX/SSE/SSE2 now if you want to give it a try. Also added sound output change support. Click on my signature for more information.
dmaHD developer | engine developer | crazy person

bullet_loaderAdvertisement

#6 User is offline   rjc862003 Icon

  • Account: rjc862003
  • Joined: 29-April 13
  • Posts: 15

Posted 11 May 2013 - 05:40 PM

View Postg1nk0, on 11 May 2013 - 10:10 AM, said:

Hey, just tried it out. Can't say I was suffering of "hitching and stuttering issue" but it felt like I was playing on 50 fps max compared to 4.1. Now this feeling is gone it seems. Will be testing it further. Thanks!
CPU INTEL S1155 Core i5-3470

Generally I have seen what happens with this particularity of the q3 engine is that this 'bug' is worse on newer cpus(>2006)
and yes this is built from the master

This post has been edited by rjc862003: 11 May 2013 - 05:43 PM


#7 User is offline   KarlMariaSeeberg Icon

Posted 11 May 2013 - 06:09 PM

is there any chance your could create something similar for mac?
if you don't like uptown, you are basically hating urban terror.

#8 User is offline   rjc862003 Icon

  • Account: rjc862003
  • Joined: 29-April 13
  • Posts: 15

Posted 11 May 2013 - 06:18 PM

View PostKarlMariaSeeberg, on 11 May 2013 - 06:09 PM, said:

is there any chance your could create something similar for mac?

I don't have access to a MAC machine to build on
but it should be a simple matter for them to make the same changes to the makefile for mac
I did test it under linux tho

#9 User is offline   KarlMariaSeeberg Icon

Posted 11 May 2013 - 07:13 PM

well... "they" aren't to keen on putting out optimized builds... and it seems the guy who created the 4.1 optimized build for mac isn't part of this community any more...

but maybe they will adopt your changes for the regular build...

thanks for answering so quickly..

This post has been edited by KarlMariaSeeberg: 11 May 2013 - 07:14 PM

if you don't like uptown, you are basically hating urban terror.

#10 User is offline   rjc862003 Icon

  • Account: rjc862003
  • Joined: 29-April 13
  • Posts: 15

Posted 11 May 2013 - 08:07 PM

View PostKarlMariaSeeberg, on 11 May 2013 - 07:13 PM, said:

well... "they" aren't to keen on putting out optimized builds... and it seems the guy who created the 4.1 optimized build for mac isn't part of this community any more...

but maybe they will adopt your changes for the regular build...

thanks for answering so quickly..

changes where merged into the master tree today should be out for 013

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942