openrw icon indicating copy to clipboard operation
openrw copied to clipboard

Game is very slow

Open neuromancer opened this issue 9 years ago • 8 comments

The game is not rendering at "normal" speed despite it is using all the processors. Maybe my netbook is too slow to play it (it has two Intel Celeron @ 1.46GHz)?

neuromancer avatar May 21 '16 12:05 neuromancer

I haven't run the game on anything that slow before. Did you build in release with cmake -DCMAKE_BUILD_TYPE=Release && make? In Debug builds there will be a lot of debugging output.

What is the frame rate you are seeing in the stats view? (press the F1 key to show that).

On 21 May 2016 at 13:24, neuromancer [email protected] wrote:

The game is not rendering at "normal" speed despite it is using all the processors. Maybe my netbook is too slow to play it (it has two Intel Celeron @ 1.46GHz)?

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/danhedron/openrw/issues/36

rekt.io

danhedron avatar May 21 '16 12:05 danhedron

I haven't run the game on anything that slow before. Did you build in release with cmake -DCMAKE_BUILD_TYPE=Release && make? In Debug builds there will be a lot of debugging output.

I'm using Release mode, so almost no debugging output.

What is the frame rate you are seeing in the stats view? (press the F1 key to show that).

FPS jumps between 3 and 8.

Also, it seems to be using the two processor at 100%. Maybe it is busy waiting something? Can i reduce the drawing distance somehow to check?

neuromancer avatar May 21 '16 12:05 neuromancer

I've added a compile-time draw distance option in rwengine/src/render/ObjectRenderer.cpp. You can try turning down kDrawDistanceFactor to see how performance changes.

danhedron avatar May 21 '16 13:05 danhedron

You can try turning down kDrawDistanceFactor to see how performance changes.

I just tried to adjust to a very small value (0.01), to test if there is a huge improvement in the FPS. I'm getting between 5 and 10 FPS, so i think is not the main cause of this issue. Even when i'm walking looking at the floor (no buildings, cars or anything else rendered), it is very slow, like slow-motion.

neuromancer avatar May 21 '16 13:05 neuromancer

Thanks for checking. There are definitely some CPU performance improvements that need to be made to get better performance on older systems.

danhedron avatar May 21 '16 13:05 danhedron

Game hovers about 25fps for me.

CPU~Triple core AMD Phenom II X3 720 (-MCP-) speed/max~1600/2800 MHz Kernel~4.5.4-1-ARCH x86_64 Up~2 days Mem~1560.4/7988.4MB HDD~500.1GB(75.7% used) Procs~157 Client~Shell inxi~2.3.0 

Graphics:  Card: Advanced Micro Devices [AMD/ATI] Bonaire XTX [Radeon R7 260X/360]
           Display Server: X.Org 1.18.3 drivers: fbdev,ati (unloaded: vesa,radeon) Resolution: [email protected]
           GLX Renderer: Gallium 0.4 on AMD BONAIRE (DRM 2.43.0, LLVM 3.8.0) GLX Version: 3.0 Mesa 11.2.2

EDIT: Video. Runs a little better when not recording but not by much https://www.youtube.com/watch?v=wiKVvVMUSAc

parkerlreed avatar May 25 '16 02:05 parkerlreed

The CPU performance should be improved slightly as of now.

danhedron avatar Oct 18 '17 22:10 danhedron

@neuromancer Is this fixed now? Issue can be close?

Timofffee avatar Feb 16 '20 05:02 Timofffee