afritz1 / OpenTESArena

Open-source re-implementation of The Elder Scrolls: Arena.
MIT License
915 stars 68 forks source link

Very slow performance #246

Open lrustand opened 1 year ago

lrustand commented 1 year ago

Is this actually playable for anyone else? Because for me I get roughly 1 fps, and it is constantly using 100% of a single CPU thread. Even the mouse pointer is super sluggish. I have tried experimenting with the render threads setting, but no matter what I set it to the game still only uses one thread. I have a pretty decent relatively new i7 so I would expect to be able to play this with a very high fps.

lowercase-g commented 1 year ago

From what I understand, this is not yet playable and it's still under heavy development (a new renderer is in the works from what I've seen on the Discord). You're right to assume this is due to (mostly the renderer) being single threaded: see #245 which sets up some of the groundwork for actually making proper use of threading.

Liebranca commented 1 year ago

Oh, trying to run a 1994 DOS game, are you? Gonna need sixteen cores for that... at the very least ;>

You can play the original single threaded on a piece of crap budget rig and performance will be OK. That's your best bet while Harun figures out new ways to make the minimum specs of Arena compete with Crysis.

afritz1 commented 1 year ago

Part 1 of the renderer redesign was merged recently. The objective is to reach visual parity with Arena, then optimization work will follow. Feel free to connect up a profiler to see what's causing the low fps. I don't specialize in renderer optimization, just trying to get things working reliably.

abelsromero commented 5 months ago

Only out of curiosity, I know the current rendering is still experimental, but I saw the announcement on Twitter about the completion and I am wondering what's the expected performance, and if there's a way to get some measurements (obviously mangohud won't work on CPU render). I am running and AMD 3700X and compiling with ReleaseNative it did not run really well. I noticed 1 core getting 100% though.

afritz1 commented 5 months ago

Still working through a couple lighting and shading bugs before I focus on optimizations. I haven't touched the triangle clipping or rasterizer yet but would love to make improvements there. 1 core is still the only option.