|
Your donations keep RPGWatch running!
RPGWatch Forums » Comments » News Comments » Pillars of Eternity II - Performance Fix Mod

Default Pillars of Eternity II - Performance Fix Mod

July 15th, 2018, 11:41
A modder called Kaldaien has uncovered a way to dramatically improve the performance of Pillars of Eternity II: Deadfire.

[Special K] Fix for Inverse CPU Performance Scaling
Intro
  • I have determined one cause of extreme performance problems for systems with higher-end CPUs.
  • The game spawns one worker thread per-CPU core (logical, not physical), and does not assign thread priority. This causes starvation and the result can be a very substantial decrease in framerate.
    • My system goes from 24 FPS to over 100 at 4K after artificially decreasing my CPU's core count from 16 down to 3.
Download and Install
  • Grab a specially prepared version of Special K from here[github.com]
    • Extract the DLL and PDB (optional debug info) to your Pillars of Eternity 2 install directory
Configuration
  1. Press Ctrl + Shift + Backspace in-game, then expand the "Advanced" section of the Framerate Limiter settings.
  2. Enable "CPU Core Spoofing" and cut the number of CPU cores in half.
  3. Restart the game and test framerate
    • You may try reducing the number of cores even farther if framerate is stable.
    • Hitching may occur while panning the camera if core count is reduced too far.
Misc. Performance Advice
  • If you are having GPU performance issues, Ambient Occlusion is the most poorly optimized graphical effect in the game. Dynamic Lights also have a modest impact on performance.
  • These are the first things you should try turning off if using a lower-end GPU.
[…]
More information.
Silver is online now

Silver

Silver's Avatar
Spaceman
RPGWatch Team

#1

Join Date: Feb 2014
Location: New Zealand
Posts: 5,399
Mentioned: 20 Post(s)

Default 

July 15th, 2018, 13:35
Damn! Hope a fix for this gets included in the official patch.
--
Favourite RPGs of all time: Wizardry 6, Ultima 7/7.2, Fallout2, Planescape Torment, Baldurs Gate 2+TOB, Jagged Alliance 2, Ravenloft: The stone prophet, Gothic 2, Realms of Arkania:Blade of destiny (not the HD version!!) and Secret of the Silver Blades.
bjon045 is offline

bjon045

bjon045's Avatar
Keeper of the Watch

#2

Join Date: Oct 2006
Location: Sigil
Posts: 1,370
Mentioned: 0 Post(s)
+1:

Default 

July 15th, 2018, 14:00
I have determined one cause of extreme performance problems for systems with higher-end CPUs.

decreasing my CPU's core count from 16 down to 3
16 cores in a "gaming" machine?
This is not a bug and I don't see any reason to put it in the official patch.

Gaming massmedia shilling for i9 and threadripper is the actual problem that needs official patching. Hopefully in countries with capital punishment.
--
Toka Koka
joxer is online now

joxer

joxer's Avatar
The Smoker
Original Sin 1 & 2 Donor

#3

Join Date: Apr 2009
Posts: 18,651
Mentioned: 84 Post(s)
+1:

Default 

July 15th, 2018, 14:00
Originally Posted by bjon045 View Post
Damn! Hope a fix for this gets included in the official patch.
The interesting thing about this is what this fix could do for Tyranny and Pillars 1.
Silver is online now

Silver

Silver's Avatar
Spaceman
RPGWatch Team

#4

Join Date: Feb 2014
Location: New Zealand
Posts: 5,399
Mentioned: 20 Post(s)

Default 

July 15th, 2018, 14:09
I've never had performance issues, but I hear people complain about them a lot.
Copper Coin is offline

Copper Coin

Copper Coin's Avatar
Outspoken D&D critic

#5

Join Date: Jun 2018
Posts: 817
Mentioned: 8 Post(s)

Default 

July 15th, 2018, 14:14
What people? You mean the same people who couldn't even start Risen 3 on i7?

People like this:

--
Toka Koka
joxer is online now

joxer

joxer's Avatar
The Smoker
Original Sin 1 & 2 Donor

#6

Join Date: Apr 2009
Posts: 18,651
Mentioned: 84 Post(s)

Default 

July 15th, 2018, 14:29
Guess no one had the famous memory leak or save game corruption Unity bug. No I must be dreaming then as it was well documented that Unity had flaws in certain games.

Oh and before I forget what about the long load times affecting a segment of players?

Unity RPG games that had problems.
  1. Might & Magic X: Legacy
  2. Wasteland 2
  3. Pillars of Eternity
  4. Tyranny
Problems caused by certain versions of Unity. Eventually fixed but it took months.
--
"One Vision. One Purpose. Peace Through Power."

Check out my RPG News Thread usually updated daily.
Couchpotato is offline

Couchpotato

Couchpotato's Avatar
In the Name of Kane!

#7

Join Date: Oct 2010
Location: New England
Posts: 18,019
Mentioned: 13 Post(s)

Default 

July 15th, 2018, 14:45
Not to be a skeptic but something else is not quite right. The threads should only be consuming cpu when assigned work. I wonder if there is a fundamental flaw that unused threads are spinning or otherwise wasting resources. Has anyone actually examined what the threads are doing when the game is running ? That doesn't mean his fix greatly improved performance of the game it very well might have if the threads are not being properly implemented.

Originally Posted by Silver View Post
The interesting thing about this is what this fix could do for Tyranny and Pillars 1.
you is offline

you

Lazy_dog
RPGWatch Donor
Original Sin 2 Donor

#8

Join Date: Oct 2006
Location: usa - boston
Posts: 5,243
Mentioned: 23 Post(s)

Default 

July 15th, 2018, 15:31
Originally Posted by Couchpotato View Post
Unity RPG games that had problems.
  1. Might & Magic X: Legacy
  2. Wasteland 2
  3. Pillars of Eternity
  4. Tyranny
Problems caused by certain versions of Unity. Eventually fixed but it took months.
You can add Battletech to that list (in general). I never had huge problems with it, but a significant amount of players did at release and that lead to negative reviews, which is a shame.
Darkheart is offline

Darkheart

Darkheart's Avatar
SasqWatch
Original Sin 2 Donor

#9

Join Date: Feb 2015
Location: BW, Germany
Posts: 1,247
Mentioned: 6 Post(s)

Default 

July 15th, 2018, 16:07
Originally Posted by Couchpotato View Post
Guess no one had the famous memory leak or save game corruption Unity bug. No I must be dreaming then as it was well documented that Unity had flaws in certain games.

Oh and before I forget what about the long load times affecting a segment of players?

Unity RPG games that had problems.
  1. Might & Magic X: Legacy
Problems caused by certain versions of Unity. Eventually fixed but it took months.
Might & Magic X: Legacy… No, No… must… resist the urge… to… open… old… wounds…
fatknacker50 is offline

fatknacker50

fatknacker50's Avatar
Sentinel

#10

Join Date: Aug 2011
Location: Great Brittania
Posts: 375
Mentioned: 1 Post(s)

Default 

July 15th, 2018, 16:10
Originally Posted by Darkheart View Post
You can add Battletech to that list (in general). I never had huge problems with it, but a significant amount of players did at release and that lead to negative reviews, which is a shame.
Almost forgot as I put that game on hold.

Seems it was the long load times and save bug/memory leak again.
Originally Posted by fatknacker50 View Post
Might & Magic X: Legacy… No, No… must… resist the urge… to… open… old… wounds…
Sorry I had to open old wounds for them to heal properly.
--
"One Vision. One Purpose. Peace Through Power."

Check out my RPG News Thread usually updated daily.
Couchpotato is offline

Couchpotato

Couchpotato's Avatar
In the Name of Kane!

#11

Join Date: Oct 2010
Location: New England
Posts: 18,019
Mentioned: 13 Post(s)

Default 

July 15th, 2018, 16:15
Anyone tried this?
Darth Tagnan is offline

Darth Tagnan

Darth Tagnan's Avatar
SasqWatch

#12

Join Date: Jun 2018
Posts: 1,620
Mentioned: 17 Post(s)

Default 

July 15th, 2018, 16:19
Originally Posted by Darth Tagnan View Post
Anyone tried this?
Nope as I haven't played PoE 2 yet, but @joxer or @Silver might answer that.
--
"One Vision. One Purpose. Peace Through Power."

Check out my RPG News Thread usually updated daily.
Couchpotato is offline

Couchpotato

Couchpotato's Avatar
In the Name of Kane!

#13

Join Date: Oct 2010
Location: New England
Posts: 18,019
Mentioned: 13 Post(s)

Default 

July 15th, 2018, 16:27
Originally Posted by fatknacker50 View Post
Might & Magic X: Legacy… No, No… must… resist the urge… to… open… old… wounds…
The game still has problems. I bought it a few months ago and the game doesn't recognize the 3 Club Rewards (Meow Dungeon, Special Relic Set and Sana the Archmage) that I unlocked for the game. At the end of the chapter you can’t reach the Forge, so you can’t continue the game.
Apparently, it is a problem of the DRM with Uplay.
Opened a ticket 3 months ago but still no solution.
The game was released in January 2014.
Arahael is offline

Arahael

Arahael's Avatar
Watchdog

#14

Join Date: Oct 2006
Posts: 124
Mentioned: 0 Post(s)

Default 

July 15th, 2018, 17:07
Guess it is a good thing I haven't had time to dive into this game yet.
Not that I have 16 cores(yet!) but I certainly have more than 3.
six is offline

six

Watchdog

#15

Join Date: Dec 2014
Posts: 169
Mentioned: 1 Post(s)

Default 

July 16th, 2018, 01:46
Originally Posted by you View Post
Not to be a skeptic but something else is not quite right. The threads should only be consuming cpu when assigned work. I wonder if there is a fundamental flaw that unused threads are spinning or otherwise wasting resources. Has anyone actually examined what the threads are doing when the game is running ? That doesn't mean his fix greatly improved performance of the game it very well might have if the threads are not being properly implemented.
I agree the problem maybe elsewhere. Obsidian and Unity programmers need to get together and hash some stuff out.
Silver is online now

Silver

Silver's Avatar
Spaceman
RPGWatch Team

#16

Join Date: Feb 2014
Location: New Zealand
Posts: 5,399
Mentioned: 20 Post(s)

Default 

July 16th, 2018, 03:08
Originally Posted by joxer View Post
16 cores in a "gaming" machine?
This is not a bug and I don't see any reason to put it in the official patch.
He said logical cores, not physical cores. The latest gaming CPUs like the i7 8700K do have 12 logical cores (6 physical, 12 logical after HyperThreading). So it's not like the guy is using some crazy CPU, probably has an i7 6900K or an i7 7820X which would both have 16 logical cores.

That said, "you" is right, something doesn't add up here. Also, the "Note to Obsidian" on the Steam forums link indicates pretty clearly that this guy doesn't understand how HyperThreading works or what the point of it is. Hopefully Obsidian gets to the bottom of it all.
Last edited by Stingray; July 16th, 2018 at 09:58.
Stingray is offline

Stingray

SasqWatch
Original Sin 1 & 2 Donor

#17

Join Date: Sep 2007
Posts: 1,590
Mentioned: 2 Post(s)

Default 

July 16th, 2018, 04:17
Originally Posted by Arahael View Post
The game still has problems.
Regarding M&M: Legacy, it worked fine for me when I replayed it last year. Just had some graphical artifacts crop up in the Elemental Forge (and shadow dragon) due to some differences in tech from when it was first released. Aside from that, ran perfectly - though I don't pay attention to achievements.
Drithius is offline

Drithius

Drithius's Avatar
Laughing Gnome

#18

Join Date: Nov 2008
Location: Florida, USA
Posts: 4,367
Mentioned: 7 Post(s)

Default 

July 16th, 2018, 04:57
I have only played one game of the Unity engine so far, I believe, and that was Wasteland 2. It ran very smoothly and nicely after I altered the settings to let the framerate go unlimited. I do remember that I had to adjust the setting because it was choppy before I changed that setting. But after I did, it was great frame rates, and no issues at all. My system is a very modest (for today) gaming laptop system. At one time it was considered very powerful for a laptop, but now its outdated by newer tech.

I think the Unity engine is beautiful, graphically speaking.
--
To check out my games library, and see what recent games I'm playing, visit my steam profile! -- http://steamcommunity.com/profiles/76561197982351404
Arkadia7 is online now

Arkadia7

Arkadia7's Avatar
Keeper of the Watch
Original Sin 2 Donor

#19

Join Date: Oct 2009
Location: Pacific NorthWest, USA!
Posts: 1,190
Mentioned: 5 Post(s)

Default 

July 16th, 2018, 05:03
Kind of impressive that, as an RPG player, you've only managed to play one game that used Unity? Are you sure?

My personal list would include… Shadowrun Returns, Shadowrun Dragonfall, Shadowrun Hong Kong, Might & Magic X, Wasteland 2, Torment: Tides of Numenera, PoE 1, Tyranny. Also tried Shroud of the Avatar. M&M X performance seemed a little meh, but as a turn-based grid-movement game, who cares really. No complaints about the rest.
Stingray is offline

Stingray

SasqWatch
Original Sin 1 & 2 Donor

#20

Join Date: Sep 2007
Posts: 1,590
Mentioned: 2 Post(s)
+1:
RPGWatch Forums » Comments » News Comments » Pillars of Eternity II - Performance Fix Mod
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 13:01.
Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright by RPGWatch