[REL] TESV Acceleration Layer, thread no 2

Post » Sat May 19, 2012 12:06 am

I am opening this new thread with Arisu's permission.

Link to download:

http://skse.silverlock.org/beta/TESVAL-1.3.10.0-2011-12-22-skseplugin.7z

Skyrim Nexus:

http://www.skyrimnexus.com/downloads/file.php?id=4387

Brief Description from first post:

Abstract:
TESVAL is an in-memory code patch for TESV, aiming to fix a few of the worst CPU hogs.

Supported game versions: 1.3.10.0 only.

Description:

This patch will improve your frame rate by up to 40% in all CPU-dependent situations, i.e. especially in cities.
It works mostly by rewriting some x87 FPU code and inlining a whole ton of useless getter functions along the critical paths because the developers at Bethesda, for some reason, compiled the game without using any of the optimization flags for release builds.

There has been some confusion about the original dll file and the current one for Script dragon.
Script Dragon's dinput8.dll is 592kb
The non working TESV Accelerator dinput.dll is 74kb


From the readme prepared by Ianpatt


TESV Acceleration Layer (1.3.10.0) Proof of Concept by Arisu
(small port to an SKSE plugin for compatibility by ianpatt)

Installation instructions:
1. Install SKSE from http://skse.silverlock.org, instructions are in its readme.
2. Drop TESVAL.dll from the archive above in to /Data/SKSE/Plugins. Create the SKSE and Plugins folders if they don't exist.
3. Run the game by launching skse_loader.exe.

License: Everyone is free to do whatever s/he likes with the binary or the source; it's completely free.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
User avatar
Auguste Bartholdi
 
Posts: 3521
Joined: Tue Jun 13, 2006 11:20 am

Post » Fri May 18, 2012 8:33 pm

Using the SKSE version of TESVAL has my fps at the entrance of Markarth improved from ~48-51 to 61-63. I can now sprint through all of Markarth and Whiterun at 60 fps solid (vsync on), even overlooking Whiterun from Dragonsreach entrance.

Thank you to everyone involved in creating this fix, and even more for releasing the source to the community.
-sf
User avatar
Tamara Dost
 
Posts: 3445
Joined: Mon Mar 12, 2007 12:20 pm

Post » Sat May 19, 2012 12:19 pm

SO far so good, I had one "Exclamation DING!" crash when I was doing a bunch of alchemy on the alchemy screen.
(couldn't see the pop-up, because the screen froze and I had to End Process from Monitor 2 that I keep the Task Manager open in when playing Bethesda games

But my framerate has gone up a noticeable percentage, I'll keep trying it, and see if my crash during alchemy was just a fluke
User avatar
Doniesha World
 
Posts: 3437
Joined: Sun Jan 07, 2007 5:12 pm

Post » Sat May 19, 2012 6:28 am

I happened across a post talking about this in the tech forum. Gave it a try, IT WORKS, YAY!!! There is a definite improvement of fps in the difficult areas. For me, steps of Whiterun now 30 fps, previous 24 (~25% improvement). Markarth worst spot ~20 fps up from 15 (~33% improvement). Thank you so much for this and Bethesda take notice. Modders polish your games when you should be. For shame.

Are you going to put this on Nexus? Are you hosting on any other site?
User avatar
N3T4
 
Posts: 3428
Joined: Wed Aug 08, 2007 8:36 pm

Post » Sat May 19, 2012 9:53 am

I have noticed a decrease in random ctd's and an increase in performance too.
User avatar
Fanny Rouyé
 
Posts: 3316
Joined: Sun Mar 25, 2007 9:47 am

Post » Fri May 18, 2012 8:22 pm

I was highly skeptical that areas such as Markarth, Whiterun, and even some forts out in the woods (holy hell, fighting a cadre of necromancers is annoying with FPS in the low 20s and the associated mouse lag!) would ever be "fixed!" Thank you to those responsible for this amazing mod/patch!

Running on a PII 955 @ 3.6 with an HD 4850, and I don't feel like my rig is choking when I run through the cities. It's glorious.
User avatar
A Boy called Marilyn
 
Posts: 3391
Joined: Sat May 26, 2007 7:17 am

Post » Fri May 18, 2012 10:32 pm

Quickly tested save near riverwood. Vanillla is 19 fps and with the plugin its improved to 25! Yay! Awesome stuff!
User avatar
ashleigh bryden
 
Posts: 3446
Joined: Thu Jun 29, 2006 5:43 am

Post » Sat May 19, 2012 12:45 am

Are you going to put this on Nexus? Are you hosting on any other site?

Though I can't speak for ianpatt, as far as it concerns me, anyone may upload/host it anywhere and generally do anything with it. :smile:
User avatar
Jon O
 
Posts: 3270
Joined: Wed Nov 28, 2007 9:48 pm

Post » Sat May 19, 2012 8:20 am

I happened across a post talking about this in the tech forum. Gave it a try, IT WORKS, YAY!!! There is a definite improvement of fps in the difficult areas. For me, steps of Whiterun now 30 fps, previous 24 (~25% improvement). Markarth worst spot ~20 fps up from 15 (~33% improvement). Thank you so much for this and Bethesda take notice. Modders polish your games when you should be. For shame.

Are you going to put this on Nexus? Are you hosting on any other site?

I have asked Arisu for permission to upload this to Skyrim Nexus. Once I have his permission, I will upload it there.

Looks like the author posted while I was posting. Expect it there shortly.
User avatar
Steeeph
 
Posts: 3443
Joined: Wed Apr 04, 2007 8:28 am

Post » Sat May 19, 2012 1:27 am

I have added the Skyrim Nexus link to the original post.

http://www.skyrimnexus.com/downloads/file.php?id=4387
User avatar
Lady Shocka
 
Posts: 3452
Joined: Mon Aug 21, 2006 10:59 pm

Post » Sat May 19, 2012 3:01 am

Arrrr :biggrin: :biggrin: :biggrin: Asking for 3rd time - r u going to continue accelerator developing ?
User avatar
CSar L
 
Posts: 3404
Joined: Fri Nov 09, 2007 9:36 pm

Post » Sat May 19, 2012 11:55 am

What is this and what does it do? The description doesn't say.
User avatar
Chelsea Head
 
Posts: 3433
Joined: Thu Mar 08, 2007 6:38 am

Post » Sat May 19, 2012 2:29 am

This plugin replaces some "bottleneck" code in the executable so it runs a bit faster
User avatar
Jessica Lloyd
 
Posts: 3481
Joined: Fri Aug 25, 2006 2:11 pm

Post » Fri May 18, 2012 10:58 pm

I found the original description of what this does and added it to the OP.
User avatar
Angelina Mayo
 
Posts: 3427
Joined: Wed Jan 24, 2007 4:58 am

Post » Sat May 19, 2012 8:14 am

You know what else this did? This let me run 1.3.1 without constantly crashing out. Not kidding I couldn't run it on 1.3 (1.3.1 is new). I was running a backup of 1.1.

I can't explain why, it just does.

I haven't tested for long, but it does seem to have reduced stuttering. No slowdown in Markarth (though I don't have much to compare). High detail, mostly vanilla otherwise.

AMD Quad 2.5, 4gb, 32 bit, 4890 1Gb

So, you know, good news!
User avatar
Melanie Steinberg
 
Posts: 3365
Joined: Fri Apr 20, 2007 11:25 pm

Post » Sat May 19, 2012 2:25 am

Arrrr :biggrin: :biggrin: :biggrin: Asking for 3rd time - r u going to continue accelerator developing ?

My apologies, I was sure I already sent you a message, but it seems it has been lost.
To answer your question: I don't even know that myself, yet. It highly depends on what Bethesda will do with their next patch, when exactly it will be released, and so on.

While it's also possible to continue adding more patch locations to the current version, the fact that all the simple stuff has already been eliminated means that a point has been reached where it becomes increasingly time-intensive to reverse-engineer code with smaller potential performance gains. I must realistically say that I most likely can't add much during the Christmas and New Year holidays.

Also, considering that the LAA-patch just arrived shortly ago and the holidays begin now, I kinda expect the game to stay at this version for the next few weeks at least. The future will tell what the best options for proceeding from here will be.
User avatar
lauren cleaves
 
Posts: 3307
Joined: Tue Aug 15, 2006 8:35 am

Post » Sat May 19, 2012 3:50 am

I had to figure out how to get the actual file to upload. It is there now. Sorry it took so long.
User avatar
Elea Rossi
 
Posts: 3554
Joined: Tue Mar 27, 2007 1:39 am

Post » Sat May 19, 2012 2:39 am

My apologies, I was sure I already sent you a message, but it seems it has been lost.
To answer your question: I don't even know that myself, yet. It highly depends on what Bethesda will do with their next patch, when exactly it will be released, and so on.

While it's also possible to continue adding more patch locations to the current version, the fact that all the simple stuff has already been eliminated means that a point has been reached where it becomes increasingly time-intensive to reverse-engineer code with smaller potential performance gains. I must realistically say that I most likely can't add much during the Christmas and New Year holidays.

Also, considering that the LAA-patch just arrived shortly ago and the holidays begin now, I kinda expect the game to stay at this version for the next few weeks at least. The future will tell what the best options for proceeding from here will be.
I've heard http://www.gamesas.com/topic/1322003-holiday-update/of 1.4 patch coming in January around the same time as the CK.
User avatar
matt
 
Posts: 3267
Joined: Wed May 30, 2007 10:17 am

Post » Sat May 19, 2012 12:14 pm

You should really remove that info about d8input.dll. That is no longer really valid. Everyone should be using the SKSE version at this point. It will just confuse people and cuase problems.
User avatar
Juan Cerda
 
Posts: 3426
Joined: Thu Jul 12, 2007 8:49 pm

Post » Fri May 18, 2012 10:55 pm

Though I can't speak for ianpatt, as far as it concerns me, anyone may upload/host it anywhere and generally do anything with it.
Yes, consider anything I added under that license as well.

Arisu: out of curiosity, which sampling profiler do you prefer for x86?
User avatar
KIng James
 
Posts: 3499
Joined: Wed Sep 26, 2007 2:54 pm

Post » Fri May 18, 2012 9:19 pm

@Arisu
Using amd profiler I was able to find few dozens of other critical bottlenecks of the same type as u fixed =)
User avatar
KIng James
 
Posts: 3499
Joined: Wed Sep 26, 2007 2:54 pm

Post » Sat May 19, 2012 6:07 am

You should really remove that info about d8input.dll. That is no longer really valid. Everyone should be using the SKSE version at this point. It will just confuse people and cuase problems.

Thanks and done.
User avatar
Kelly Tomlinson
 
Posts: 3503
Joined: Sat Jul 08, 2006 11:57 pm

Post » Sat May 19, 2012 9:40 am

Why the HELL does this have 0 endorsemants on nexus? It's a work of genius.
Perhaps I just care more than other people about a framerate boost and they don't notice/care about the extra frames.

I just went from an already high end cpu (corei7 860 @ 3.9ghz, unstable due to age and cheap/partly dysfunctional motherboard) to a slightly newer chip and motherboard (corei5 2500k @ 5.2ghz, stable) And the performance boost in skyrim was less than other cpu intensive games. However it did remove the 25-30fps lows in certain areas and replace them
with 45-50fps lows (The upgrade cost me $360AU) . This takes that from 45-50fps lows to 55-60fps lows. With the exception being exact standing points in cities, like precisely the top of the stairs
at the top of the stairs looking down at the tree @ whiterun, which is now 45fps. (all this is at 2560x1440).

So it's like that little bit of upgrade I needed on top of the physical upgrade.. I still can't run 8k (distance) shadows mind you without getting more frequent lows. However this mod allows almost a universal 60fps.

Now I just need the skyrim stutter remover to take away that horrible vsync interior stutter due to the 64htz bug (not sure if it's ATI specific, people say that gtx 580's don't
get interior stutter, full stop. So perhaps it is ati. Typical) and I'll have a great running game.

Sigh. I still wish I went SLI 580's instead of 6990. Ati really got the raw end of the stick when it comes to skyrim performance.


Also, all of this 60fps talk is due to me needing vsync. Most open-non-city areas give 80-90fps with vsync disabled, however as it reaches this number the perceptible frames reduce due to microstutter (so it actually seems like 22fps instead of 90fps). So you need vsync to create a smooth looking game. The drawback, and my mention of the 64htz bug, is that vsync brings with it it's own kind of stutter. Where it get's uber choppy in certain interior corners and... pretty much caves in general. Unfortunately this mod does not fix that at all.

This mod deserves 2000+ endorsemants.
User avatar
Amanda Leis
 
Posts: 3518
Joined: Sun Dec 24, 2006 1:57 am

Post » Sat May 19, 2012 12:40 am

I'm a little reluctant to install this.

For one, because I already get fairly decent performance (more than playable) and two, I'm not sure if the alterations made to the code to improve the performance won't have some sort of lasting side effect that the modder hasn't foreseen.

I don't doubt that Bethesda might have not used some optimization protocols when they compiled the game's code... but at the same time, there might have been reasons for them doing so. Something may not have worked correctly when ran through a compiler's optimizations. Something deeper than what we might notice at first.
User avatar
Damien Mulvenna
 
Posts: 3498
Joined: Wed Jun 27, 2007 3:33 pm

Post » Sat May 19, 2012 10:41 am

It hasn't been up on Nexus long enough to get any endorsemants. I am truly thankful to both Arisu and Ianpatt for getting this plugin made and available through SKSE, It makes a huge difference on my computer.
User avatar
Brad Johnson
 
Posts: 3361
Joined: Thu May 24, 2007 7:19 pm

Next

Return to V - Skyrim