Urban Terror Forums: FPS drops could be attenuated by Threaded Optimization for Nvidia - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

FPS drops could be attenuated by Threaded Optimization for Nvidia Rate Topic: -----

#1 User is offline   karnute Icon

  •   community dev   
  • Account: karnute
  • Joined: 09-August 11
  • Posts: 154
  • Notoriety: basic

Posted 09 May 2018 - 08:43 PM

After reading a post in Windows support forum about fps drops and that disabling Threaded Optimization in Nvidia could attenuate the problem, I have read more about it for Linux (see at end of the page).
It is the case that, in Linux with the Nvidia proprietary driver (since version 319) and more than 1 CPU, enabling Threaded Optimization can improve performance and reduce fps drops.

To do this, you can try to execute (in a console or inside your launching script) before the UrT executable the following commands:
export LD_PRELOAD="libpthread.so.0  libGL.so.1"
export __GL_THREADED_OPTIMIZATIONS=1

Note that in Linux Threaded Optimizations are disabled by default, so the potential improvement could only be done by enabling it (contrary to the Windows case) and that this only applies with multi-core/cpu.
A short explanation: Threaded Optimizations enabled allows the Nvidia driver to split between more CPUs the load of some parts of OpenGL operations carried by the CPU, instead of doing it only with the same CPU running the engine. This can improve the case with many players, because the rendering of more detailed models (players or guns) in recent releases of UrT require a lot of extra OpenGL operations.

This post has been edited by karnute: 10 May 2018 - 01:00 AM


Page 1 of 1
  • 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-2018 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