3Dmigoto now open-source...
  108 / 143    
[quote="Andyy"]Hey Guys, I have a short question. Is there a problem with 3D Migoto and SLI scaling? Because I had a few Games after applying the 3D fixes using 3D Migoto my SLI scaling went down from 90-99% to 50-60%. Is there any way to fix this? Thank you in advance![/quote] There isn't any problem. What you are experiencing is called SLI-SYNC and you always want that one ON. You should see the exact same behavior, when you remove the fix and just play the game using 3D Vision. If with 3D Vision on you have 99% usage across gpus, but when you copy the 3d fix and using 3D Vision you get 50-60% gpu usage, then there is a problem. But somehow, those numbers looks like you compared 2D vs 3D.
Andyy said:Hey Guys,

I have a short question. Is there a problem with 3D Migoto and SLI scaling? Because I had a few Games after applying the 3D fixes using 3D Migoto my SLI scaling went down from 90-99% to 50-60%.
Is there any way to fix this?

Thank you in advance!


There isn't any problem. What you are experiencing is called SLI-SYNC and you always want that one ON.
You should see the exact same behavior, when you remove the fix and just play the game using 3D Vision.
If with 3D Vision on you have 99% usage across gpus, but when you copy the 3d fix and using 3D Vision you get 50-60% gpu usage, then there is a problem.

But somehow, those numbers looks like you compared 2D vs 3D.

1x Palit RTX 2080Ti Pro Gaming OC(watercooled and overclocked to hell)
3x 3D Vision Ready Asus VG278HE monitors (5760x1080).
Intel i9 9900K (overclocked to 5.3 and watercooled ofc).
Asus Maximus XI Hero Mobo.
16 GB Team Group T-Force Dark Pro DDR4 @ 3600.
Lots of Disks:
- Raid 0 - 256GB Sandisk Extreme SSD.
- Raid 0 - WD Black - 2TB.
- SanDisk SSD PLUS 480 GB.
- Intel 760p 256GB M.2 PCIe NVMe SSD.
Creative Sound Blaster Z.
Windows 10 x64 Pro.
etc


My website with my fixes and OpenGL to 3D Vision wrapper:
http://3dsurroundgaming.com

(If you like some of the stuff that I've done and want to donate something, you can do it with PayPal at tavyhome@gmail.com)

Posted 10/20/2017 08:57 AM   
[quote="Helifax"][quote="Andyy"]Hey Guys, I have a short question. Is there a problem with 3D Migoto and SLI scaling? Because I had a few Games after applying the 3D fixes using 3D Migoto my SLI scaling went down from 90-99% to 50-60%. Is there any way to fix this? Thank you in advance![/quote] There isn't any problem. What you are experiencing is called SLI-SYNC and you always want that one ON. You should see the exact same behavior, when you remove the fix and just play the game using 3D Vision. If with 3D Vision on you have 99% usage across gpus, but when you copy the 3d fix and using 3D Vision you get 50-60% gpu usage, then there is a problem. But somehow, those numbers looks like you compared 2D vs 3D.[/quote] No I compared 3D and 3D with fix. For Example Middle-Earth: Shadow of Mordor: 3D (without fix) Ultra Settings 6000x1080 (Surround Resolution with bezel correction)= 90-99% SLI Scaling = Average ~60fps 3D with fix Ultra Settings 6000x1080 (Surround Resolution with bezel correction)= 50-60% SLI Scaling = Average ~28fps Without fix it looks horrible... With fix version 1.1.16_v2 I get 90-99% SLI Scaling and Average ~60fps but after 2 Minutes Game Crashes. Currently I am playing in 2D Surround with 90-99% Scaling and 100-115 fps. It really seems to be a 3D Migoto problem... Any solution?
Helifax said:
Andyy said:Hey Guys,

I have a short question. Is there a problem with 3D Migoto and SLI scaling? Because I had a few Games after applying the 3D fixes using 3D Migoto my SLI scaling went down from 90-99% to 50-60%.
Is there any way to fix this?

Thank you in advance!


There isn't any problem. What you are experiencing is called SLI-SYNC and you always want that one ON.
You should see the exact same behavior, when you remove the fix and just play the game using 3D Vision.
If with 3D Vision on you have 99% usage across gpus, but when you copy the 3d fix and using 3D Vision you get 50-60% gpu usage, then there is a problem.

But somehow, those numbers looks like you compared 2D vs 3D.


No I compared 3D and 3D with fix.
For Example Middle-Earth: Shadow of Mordor:
3D (without fix) Ultra Settings 6000x1080 (Surround Resolution with bezel correction)=
90-99% SLI Scaling = Average ~60fps
3D with fix Ultra Settings 6000x1080 (Surround Resolution with bezel correction)=
50-60% SLI Scaling = Average ~28fps

Without fix it looks horrible...

With fix version 1.1.16_v2 I get 90-99% SLI Scaling and Average ~60fps but after 2 Minutes Game Crashes. Currently I am playing in 2D Surround with 90-99% Scaling and 100-115 fps.

It really seems to be a 3D Migoto problem...

Any solution?

Posted 10/20/2017 11:52 AM   
Comment out this line in the d3dx.ini: [code]run = CustomShader3DVision2SBS[/code] @All Shaderhackers, please don't ship any fixes with this enabled - leave that to users to enable it if they want it. The SBS output modes rely on using the reverse stereo blit (stereo2mono), which doesn't scale well in SLI at resolutions above 1920x1080 because we hit the bandwidth limit on the SLI bus, and this performance hit will be incurred if the shader is enabled, even if the output mode is set to normal. A future version of 3DMigoto will improve this so the performance hit is only incurred when an alternate output mode is enabled, and the performance hit will be halved (eliminating it entirely is not possible), but for now keep the option off when shipping fixes.
Comment out this line in the d3dx.ini:
run = CustomShader3DVision2SBS


@All Shaderhackers, please don't ship any fixes with this enabled - leave that to users to enable it if they want it. The SBS output modes rely on using the reverse stereo blit (stereo2mono), which doesn't scale well in SLI at resolutions above 1920x1080 because we hit the bandwidth limit on the SLI bus, and this performance hit will be incurred if the shader is enabled, even if the output mode is set to normal.

A future version of 3DMigoto will improve this so the performance hit is only incurred when an alternate output mode is enabled, and the performance hit will be halved (eliminating it entirely is not possible), but for now keep the option off when shipping fixes.

2x Geforce GTX 980 in SLI provided by NVIDIA, i7 6700K 4GHz CPU, Asus 27" VG278HE 144Hz 3D Monitor, BenQ W1070 3D Projector, 120" Elite Screens YardMaster 2, 32GB Corsair DDR4 3200MHz RAM, Samsung 850 EVO 500G SSD, 4x750GB HDD in RAID5, Gigabyte Z170X-Gaming 7 Motherboard, Corsair Obsidian 750D Airflow Edition Case, Corsair RM850i PSU, HTC Vive, Win 10 64bit

Alienware M17x R4 w/ built in 3D, Intel i7 3740QM, GTX 680m 2GB, 16GB DDR3 1600MHz RAM, Win7 64bit, 1TB SSD, 1TB HDD, 750GB HDD

Pre-release 3D fixes, shadertool.py and other goodies: http://github.com/DarkStarSword/3d-fixes
Support me on Patreon: https://www.patreon.com/DarkStarSword or PayPal: https://www.paypal.me/DarkStarSword

Posted 10/20/2017 03:15 PM   
Hunting doesn't work with 3DMigoto in the Elex game (see steam). After doing some binary chopping, last working 3DMigoto version for this game is 1.1.14: https://github.com/bo3b/3Dmigoto/releases?after=1.1.27 Version 1.1.16 is the first one from the Releases to be broken;) It dumps shaders as seen in log and in the actual ShaderCache but we cannot cycle them:( Maybe this will help in the future;) ?
Hunting doesn't work with 3DMigoto in the Elex game (see steam).
After doing some binary chopping, last working 3DMigoto version for this game is 1.1.14:
https://github.com/bo3b/3Dmigoto/releases?after=1.1.27

Version 1.1.16 is the first one from the Releases to be broken;) It dumps shaders as seen in log and in the actual ShaderCache but we cannot cycle them:(

Maybe this will help in the future;) ?

1x Palit RTX 2080Ti Pro Gaming OC(watercooled and overclocked to hell)
3x 3D Vision Ready Asus VG278HE monitors (5760x1080).
Intel i9 9900K (overclocked to 5.3 and watercooled ofc).
Asus Maximus XI Hero Mobo.
16 GB Team Group T-Force Dark Pro DDR4 @ 3600.
Lots of Disks:
- Raid 0 - 256GB Sandisk Extreme SSD.
- Raid 0 - WD Black - 2TB.
- SanDisk SSD PLUS 480 GB.
- Intel 760p 256GB M.2 PCIe NVMe SSD.
Creative Sound Blaster Z.
Windows 10 x64 Pro.
etc


My website with my fixes and OpenGL to 3D Vision wrapper:
http://3dsurroundgaming.com

(If you like some of the stuff that I've done and want to donate something, you can do it with PayPal at tavyhome@gmail.com)

Posted 10/20/2017 09:43 PM   
[quote="bo3b"][quote="Helifax"]Thank you Bo3b. I did try with the default initially. However, if I don't have allow_platform_update, I get an error, that It requires Windows & with SP1 patch installed. This seems to go away if I use allow_platform_update :( I think I tried all of the combinations and neither worked:) All of them failed on CreatedDevice:) I will retry it again this evening just to be sure:) [/quote] OK, that would not be platform_update though, that would be SP1, which is the default on Win7 today. That means it was mad about us returning an error, and/or the wrong DX11 class. Since allow_create_device=2 is now default, that suggests trying allow_create_device=1 would be most likely to work. If that fails, then it's worth trying =2, but then add hook=recommended. Always possible it genuinely requires platform update, but the error message does not imply that. [/quote] Unfortunately is not the SP1 is complaining about, but the platform update:( Sorry, if I wasn't correct initially :( [img]https://forums.geforce.com/cmd/default/download-comment-attachment/73889/[/img] Is basically the damn 11.1 feature set:) Funny enough, all the Frostbite 3 games require DX 11.1 to work (MEA, BF1, DAO, and so on. I know this for a fact). I am not sure what is wrong here though... Except that 3DMigoto doesn't support DXGIFactory2 properly? Sorry, I don't want to be ignorant or anything, but I didn't look in the source code to see it exactly and hence the moronic question ^_^
bo3b said:
Helifax said:Thank you Bo3b.

I did try with the default initially. However, if I don't have allow_platform_update, I get an error, that It requires Windows & with SP1 patch installed. This seems to go away if I use allow_platform_update :(

I think I tried all of the combinations and neither worked:) All of them failed on CreatedDevice:)
I will retry it again this evening just to be sure:)

OK, that would not be platform_update though, that would be SP1, which is the default on Win7 today. That means it was mad about us returning an error, and/or the wrong DX11 class.

Since allow_create_device=2 is now default, that suggests trying allow_create_device=1 would be most likely to work. If that fails, then it's worth trying =2, but then add hook=recommended.

Always possible it genuinely requires platform update, but the error message does not imply that.



Unfortunately is not the SP1 is complaining about, but the platform update:( Sorry, if I wasn't correct initially :(
Image

Is basically the damn 11.1 feature set:)
Funny enough, all the Frostbite 3 games require DX 11.1 to work (MEA, BF1, DAO, and so on. I know this for a fact).
I am not sure what is wrong here though... Except that 3DMigoto doesn't support DXGIFactory2 properly?

Sorry, I don't want to be ignorant or anything, but I didn't look in the source code to see it exactly and hence the moronic question ^_^
Attachments

Untitled.png

1x Palit RTX 2080Ti Pro Gaming OC(watercooled and overclocked to hell)
3x 3D Vision Ready Asus VG278HE monitors (5760x1080).
Intel i9 9900K (overclocked to 5.3 and watercooled ofc).
Asus Maximus XI Hero Mobo.
16 GB Team Group T-Force Dark Pro DDR4 @ 3600.
Lots of Disks:
- Raid 0 - 256GB Sandisk Extreme SSD.
- Raid 0 - WD Black - 2TB.
- SanDisk SSD PLUS 480 GB.
- Intel 760p 256GB M.2 PCIe NVMe SSD.
Creative Sound Blaster Z.
Windows 10 x64 Pro.
etc


My website with my fixes and OpenGL to 3D Vision wrapper:
http://3dsurroundgaming.com

(If you like some of the stuff that I've done and want to donate something, you can do it with PayPal at tavyhome@gmail.com)

Posted 10/20/2017 09:49 PM   
[quote="Helifax"]Hunting doesn't work with 3DMigoto in the Elex game (see steam). After doing some binary chopping, last working 3DMigoto version for this game is 1.1.14: https://github.com/bo3b/3Dmigoto/releases?after=1.1.27 Version 1.1.16 is the first one from the Releases to be broken;) It dumps shaders as seen in log and in the actual ShaderCache but we cannot cycle them:( Maybe this will help in the future;) ?[/quote] That release suggests we aren't getting into DXGI in that game and can't get access to the present call (prior to that our "once per frame" actions including hunting were run from the clear render target call, which was a hack so we could work without DXGI). We'll need a log file to work out what this game is doing that is special.
Helifax said:Hunting doesn't work with 3DMigoto in the Elex game (see steam).
After doing some binary chopping, last working 3DMigoto version for this game is 1.1.14:

https://github.com/bo3b/3Dmigoto/releases?after=1.1.27


Version 1.1.16 is the first one from the Releases to be broken;) It dumps shaders as seen in log and in the actual ShaderCache but we cannot cycle them:(

Maybe this will help in the future;) ?

That release suggests we aren't getting into DXGI in that game and can't get access to the present call (prior to that our "once per frame" actions including hunting were run from the clear render target call, which was a hack so we could work without DXGI). We'll need a log file to work out what this game is doing that is special.

2x Geforce GTX 980 in SLI provided by NVIDIA, i7 6700K 4GHz CPU, Asus 27" VG278HE 144Hz 3D Monitor, BenQ W1070 3D Projector, 120" Elite Screens YardMaster 2, 32GB Corsair DDR4 3200MHz RAM, Samsung 850 EVO 500G SSD, 4x750GB HDD in RAID5, Gigabyte Z170X-Gaming 7 Motherboard, Corsair Obsidian 750D Airflow Edition Case, Corsair RM850i PSU, HTC Vive, Win 10 64bit

Alienware M17x R4 w/ built in 3D, Intel i7 3740QM, GTX 680m 2GB, 16GB DDR3 1600MHz RAM, Win7 64bit, 1TB SSD, 1TB HDD, 750GB HDD

Pre-release 3D fixes, shadertool.py and other goodies: http://github.com/DarkStarSword/3d-fixes
Support me on Patreon: https://www.patreon.com/DarkStarSword or PayPal: https://www.paypal.me/DarkStarSword

Posted 10/21/2017 03:48 AM   
[quote="DarkStarSword"]Comment out this line in the d3dx.ini: [code]run = CustomShader3DVision2SBS[/code] @All Shaderhackers, please don't ship any fixes with this enabled - leave that to users to enable it if they want it. The SBS output modes rely on using the reverse stereo blit (stereo2mono), which doesn't scale well in SLI at resolutions above 1920x1080 because we hit the bandwidth limit on the SLI bus, and this performance hit will be incurred if the shader is enabled, even if the output mode is set to normal. A future version of 3DMigoto will improve this so the performance hit is only incurred when an alternate output mode is enabled, and the performance hit will be halved (eliminating it entirely is not possible), but for now keep the option off when shipping fixes.[/quote] This works! Thank you very much. Now running in 3D Surround 6000x1080 with 3D fix and Ultra settings with 45-60 fps and SLI Scaling 90-99%. Thank you "DarkStarSword".
DarkStarSword said:Comment out this line in the d3dx.ini:
run = CustomShader3DVision2SBS


@All Shaderhackers, please don't ship any fixes with this enabled - leave that to users to enable it if they want it. The SBS output modes rely on using the reverse stereo blit (stereo2mono), which doesn't scale well in SLI at resolutions above 1920x1080 because we hit the bandwidth limit on the SLI bus, and this performance hit will be incurred if the shader is enabled, even if the output mode is set to normal.

A future version of 3DMigoto will improve this so the performance hit is only incurred when an alternate output mode is enabled, and the performance hit will be halved (eliminating it entirely is not possible), but for now keep the option off when shipping fixes.


This works! Thank you very much. Now running in 3D Surround 6000x1080 with 3D fix and Ultra settings with 45-60 fps and SLI Scaling 90-99%. Thank you "DarkStarSword".

Posted 10/21/2017 01:23 PM   
[quote="DarkStarSword"]Comment out this line in the d3dx.ini: [code]run = CustomShader3DVision2SBS[/code] @All Shaderhackers, please don't ship any fixes with this enabled - leave that to users to enable it if they want it. The SBS output modes rely on using the reverse stereo blit (stereo2mono), which doesn't scale well in SLI at resolutions above 1920x1080 because we hit the bandwidth limit on the SLI bus, and this performance hit will be incurred if the shader is enabled, even if the output mode is set to normal. A future version of 3DMigoto will improve this so the performance hit is only incurred when an alternate output mode is enabled, and the performance hit will be halved (eliminating it entirely is not possible), but for now keep the option off when shipping fixes.[/quote] Just FYI !! With that setting enabled in ROTTR with the community fix, the whole game world rendered in 2D, while the emitter was lit and depht / convergence was working !
DarkStarSword said:Comment out this line in the d3dx.ini:
run = CustomShader3DVision2SBS


@All Shaderhackers, please don't ship any fixes with this enabled - leave that to users to enable it if they want it. The SBS output modes rely on using the reverse stereo blit (stereo2mono), which doesn't scale well in SLI at resolutions above 1920x1080 because we hit the bandwidth limit on the SLI bus, and this performance hit will be incurred if the shader is enabled, even if the output mode is set to normal.

A future version of 3DMigoto will improve this so the performance hit is only incurred when an alternate output mode is enabled, and the performance hit will be halved (eliminating it entirely is not possible), but for now keep the option off when shipping fixes.

Just FYI !!

With that setting enabled in ROTTR with the community fix, the whole game world rendered in 2D, while the emitter was lit and depht / convergence was working !

Win7 64bit Pro
CPU: 4790K 4.8 GHZ
GPU: Asus Geforce RTX 2080 TI Rog Strix OC
Monitor: Asus PG278QR
And lots of ram and HD's ;)

Posted 10/21/2017 01:44 PM   
This is a partial reply to [url]https://forums.geforce.com/default/topic/1026753/3d-vision/elex/post/5229976/#5229976[/url]. [quote="bo3b"]The problem here is that DXGI is not being hooked, probably because the game is loading DXGI earlier than we are, and thus we are locked out of the chain of hooks. Would be worth trying the DXGI loader that DarkStarSword posted about recently.[/quote] I tried out DarkStarSwords DXGI loader but it didn't changed anything. Since you mentioned that the game may load DXGI earlier that 3Dmigoto, I checked the load order with process monitor. The 3Dmigoto dll is correctly loaded before any real d3d11 or DXGI dlls even without the DXGI loader. [code] "Time of Day","Process Name","PID","Operation","Path","Result","Detail" "17:12:43,3101969","ELEX.exe","3068","Load Image","D:\ELEX\system\ELEX.exe","SUCCESS","Image Base: 0x140000000, Image Size: 0x1812000" "17:12:43,3103211","ELEX.exe","3068","Load Image","C:\Windows\System32\ntdll.dll","SUCCESS","Image Base: 0x77ba0000, Image Size: 0x1aa000" "17:12:43,3108819","ELEX.exe","3068","Load Image","C:\Windows\System32\kernel32.dll","SUCCESS","Image Base: 0x77a80000, Image Size: 0x11f000" "17:12:43,3110638","ELEX.exe","3068","Load Image","C:\Windows\System32\KernelBase.dll","SUCCESS","Image Base: 0x7fefdba0000, Image Size: 0x6a000" "17:12:43,3116966","ELEX.exe","3068","Load Image","C:\Windows\System32\user32.dll","SUCCESS","Image Base: 0x77980000, Image Size: 0xfa000" "17:12:43,3118701","ELEX.exe","3068","Load Image","C:\Windows\System32\gdi32.dll","SUCCESS","Image Base: 0x7fefedc0000, Image Size: 0x67000" "17:12:43,3120224","ELEX.exe","3068","Load Image","C:\Windows\System32\lpk.dll","SUCCESS","Image Base: 0x7fefe070000, Image Size: 0xe000" "17:12:43,3121808","ELEX.exe","3068","Load Image","C:\Windows\System32\usp10.dll","SUCCESS","Image Base: 0x7fefe210000, Image Size: 0xca000" "17:12:43,3122942","ELEX.exe","3068","Load Image","C:\Windows\System32\msvcrt.dll","SUCCESS","Image Base: 0x7fefdf10000, Image Size: 0x9f000" "17:12:43,3126713","ELEX.exe","3068","Load Image","C:\Windows\System32\advapi32.dll","SUCCESS","Image Base: 0x7fefee30000, Image Size: 0xdb000" "17:12:43,3133527","ELEX.exe","3068","Load Image","C:\Windows\System32\sechost.dll","SUCCESS","Image Base: 0x7fefeda0000, Image Size: 0x1f000" "17:12:43,3135548","ELEX.exe","3068","Load Image","C:\Windows\System32\rpcrt4.dll","SUCCESS","Image Base: 0x7fefe2e0000, Image Size: 0x12d000" "17:12:43,3138141","ELEX.exe","3068","Load Image","C:\Windows\System32\ole32.dll","SUCCESS","Image Base: 0x7feffca0000, Image Size: 0x203000" "17:12:43,3144926","ELEX.exe","3068","Load Image","C:\Windows\System32\msvcr110.dll","SUCCESS","Image Base: 0x7fef4b40000, Image Size: 0xd4000" "17:12:43,3153038","ELEX.exe","3068","Load Image","C:\Windows\System32\dbghelp.dll","SUCCESS","Image Base: 0x7fef1ca0000, Image Size: 0x125000" "17:12:43,3155238","ELEX.exe","3068","Load Image","C:\Windows\System32\shell32.dll","SUCCESS","Image Base: 0x7fefef10000, Image Size: 0xd89000" "17:12:43,3157230","ELEX.exe","3068","Load Image","C:\Windows\System32\shlwapi.dll","SUCCESS","Image Base: 0x7fefe860000, Image Size: 0x71000" "17:12:43,3165087","ELEX.exe","3068","Load Image","C:\Windows\System32\version.dll","SUCCESS","Image Base: 0x7fefcc30000, Image Size: 0xc000" "17:12:43,3166709","ELEX.exe","3068","Load Image","C:\Windows\System32\ws2_32.dll","SUCCESS","Image Base: 0x7fefdec0000, Image Size: 0x4d000" "17:12:43,3168497","ELEX.exe","3068","Load Image","C:\Windows\System32\nsi.dll","SUCCESS","Image Base: 0x7fefe080000, Image Size: 0x8000" "17:12:43,3173845","ELEX.exe","3068","Load Image","D:\ELEX\system\physx3_x64.dll","SUCCESS","Image Base: 0x7fef0a40000, Image Size: 0x2ef000" "17:12:43,3183290","ELEX.exe","3068","Load Image","D:\ELEX\system\physx3common_x64.dll","SUCCESS","Image Base: 0x7feefe60000, Image Size: 0x1e0000" "17:12:43,3188443","ELEX.exe","3068","Load Image","D:\ELEX\system\physx3characterkinematic_x64.dll","SUCCESS","Image Base: 0x7fefb270000, Image Size: 0x34000" "17:12:43,3193243","ELEX.exe","3068","Load Image","D:\ELEX\system\physx3cooking_x64.dll","SUCCESS","Image Base: 0x7fefb0e0000, Image Size: 0x32000" "17:12:43,3198095","ELEX.exe","3068","Load Image","D:\ELEX\system\binkw64.dll","SUCCESS","Image Base: 0x7fefb000000, Image Size: 0x5d000" "17:12:43,3204010","ELEX.exe","3068","Load Image","C:\Windows\System32\winmm.dll","SUCCESS","Image Base: 0x7fefb710000, Image Size: 0x3b000" "17:12:43,3208575","ELEX.exe","3068","Load Image","D:\ELEX\system\apexframework_x64.dll","SUCCESS","Image Base: 0x7fef0760000, Image Size: 0x106000" "17:12:43,3215353","ELEX.exe","3068","Load Image","D:\ELEX\system\iggy_w64.dll","SUCCESS","Image Base: 0x7feefd40000, Image Size: 0x118000" "17:12:43,3220102","ELEX.exe","3068","Load Image","D:\ELEX\system\fmod64.dll","SUCCESS","Image Base: 0x7feefb50000, Image Size: 0x1ec000" "17:12:43,3228416","ELEX.exe","3068","Load Image","C:\Windows\System32\msacm32.dll","SUCCESS","Image Base: 0x7fefb570000, Image Size: 0x18000" "17:12:43,3232527","ELEX.exe","3068","Load Image","D:\ELEX\system\d3d11.dll","SUCCESS","Image Base: 0x7feef960000, Image Size: 0x1ec000" "17:12:43,3239466","ELEX.exe","3068","Load Image","D:\ELEX\system\nvapi64.dll","SUCCESS","Image Base: 0x7fef2120000, Image Size: 0x33000" "17:12:43,3245464","ELEX.exe","3068","Load Image","C:\Windows\System32\XInput9_1_0.dll","SUCCESS","Image Base: 0x7fefc9d0000, Image Size: 0xc000" "17:12:43,3246880","ELEX.exe","3068","Load Image","C:\Windows\System32\setupapi.dll","SUCCESS","Image Base: 0x7fefebc0000, Image Size: 0x1d7000" "17:12:43,3248185","ELEX.exe","3068","Load Image","C:\Windows\System32\cfgmgr32.dll","SUCCESS","Image Base: 0x7fefde60000, Image Size: 0x36000" "17:12:43,3249542","ELEX.exe","3068","Load Image","C:\Windows\System32\oleaut32.dll","SUCCESS","Image Base: 0x7fefe6f0000, Image Size: 0xd8000" "17:12:43,3250901","ELEX.exe","3068","Load Image","C:\Windows\System32\devobj.dll","SUCCESS","Image Base: 0x7fefdea0000, Image Size: 0x1a000" "17:12:43,3253206","ELEX.exe","3068","Load Image","D:\ELEX\system\d3dcompiler_46.dll","SUCCESS","Image Base: 0x7feef5a0000, Image Size: 0x3b6000" "17:12:43,3259909","ELEX.exe","3068","Load Image","C:\Windows\System32\dxgi.dll","SUCCESS","Image Base: 0x7fefa230000, Image Size: 0xa7000" "17:12:43,3263461","ELEX.exe","3068","Load Image","C:\Windows\System32\dwmapi.dll","SUCCESS","Image Base: 0x7fefbec0000, Image Size: 0x18000" "17:12:43,3266350","ELEX.exe","3068","Load Image","C:\Windows\System32\xinput1_3.dll","SUCCESS","Image Base: 0x400000, Image Size: 0x1e000" "17:12:43,3268162","ELEX.exe","3068","Load Image","D:\ELEX\system\libGeFxD3dWrapperWin64.dll","SUCCESS","Image Base: 0x7fefb250000, Image Size: 0x17000" "17:12:43,3272421","ELEX.exe","3068","Load Image","D:\ELEX\system\d3dcompiler_47.dll","SUCCESS","Image Base: 0x7feef190000, Image Size: 0x404000" "17:12:43,3280494","ELEX.exe","3068","Load Image","C:\Windows\System32\apphelp.dll","SUCCESS","Image Base: 0x7fefd980000, Image Size: 0x57000" "17:12:43,3300958","ELEX.exe","3068","Load Image","C:\Windows\System32\imm32.dll","SUCCESS","Image Base: 0x7fefe7d0000, Image Size: 0x2e000" "17:12:43,3301781","ELEX.exe","3068","Load Image","C:\Windows\System32\msctf.dll","SUCCESS","Image Base: 0x7fefe5e0000, Image Size: 0x109000" "17:12:43,3509497","ELEX.exe","3068","Load Image","C:\Windows\System32\uxtheme.dll","SUCCESS","Image Base: 0x7fefc2f0000, Image Size: 0x56000" "17:12:43,4103666","ELEX.exe","3068","Load Image","C:\Windows\System32\cryptbase.dll","SUCCESS","Image Base: 0x7fefd9e0000, Image Size: 0xf000" "17:12:43,4140703","ELEX.exe","3068","Load Image","C:\Program Files (x86)\RivaTuner Statistics Server\RTSSHooks64.dll","SUCCESS","Image Base: 0x180000000, Image Size: 0x6c000" "17:12:43,4168405","ELEX.exe","3068","Load Image","C:\Windows\winsxs\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_08e61857a83bc251\msvcr90.dll","SUCCESS","Image Base: 0x71a30000, Image Size: 0xa3000" "17:12:43,5628688","ELEX.exe","3068","Load Image","C:\Windows\System32\nvapi64.dll","SUCCESS","Image Base: 0x7fefa670000, Image Size: 0x393000" "17:12:43,8237253","ELEX.exe","3068","Load Image","C:\Windows\System32\d3d11.dll","SUCCESS","Image Base: 0x7feef0c0000, Image Size: 0xc6000" "17:12:43,8263139","ELEX.exe","3068","Load Image","C:\Windows\System32\wintrust.dll","SUCCESS","Image Base: 0x7fefdc10000, Image Size: 0x3b000" "17:12:43,8263665","ELEX.exe","3068","Load Image","C:\Windows\System32\crypt32.dll","SUCCESS","Image Base: 0x7fefdc50000, Image Size: 0x16d000" "17:12:43,8264235","ELEX.exe","3068","Load Image","C:\Windows\System32\msasn1.dll","SUCCESS","Image Base: 0x7fefdb90000, Image Size: 0xf000" "17:12:43,8269403","ELEX.exe","3068","Load Image","C:\Windows\System32\nvwgf2umx.dll","SUCCESS","Image Base: 0x7fef4f90000, Image Size: 0x10ac000" "17:12:43,8270282","ELEX.exe","3068","Load Image","C:\Windows\System32\psapi.dll","SUCCESS","Image Base: 0x77d60000, Image Size: 0x7000" "17:12:43,8273522","ELEX.exe","3068","Load Image","C:\Windows\System32\bcrypt.dll","SUCCESS","Image Base: 0x7fefd4d0000, Image Size: 0x22000" "17:12:43,8295345","ELEX.exe","3068","Load Image","C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvSCPAPI64.dll","SUCCESS","Image Base: 0x7fef7010000, Image Size: 0xe0000" "17:12:43,8518567","ELEX.exe","3068","Load Image","C:\Windows\System32\devrtl.dll","SUCCESS","Image Base: 0x7fefce50000, Image Size: 0x12000" "17:12:43,8536611","ELEX.exe","3068","Load Image","C:\Windows\System32\SPInf.dll","SUCCESS","Image Base: 0x7fefce70000, Image Size: 0x1f000" "17:12:44,1032695","ELEX.exe","3068","Load Image","C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvStereoApiI64.dll","SUCCESS","Image Base: 0x7fef11b0000, Image Size: 0x7b000" "17:12:44,1226559","ELEX.exe","3068","Load Image","C:\Windows\System32\bcryptprimitives.dll","SUCCESS","Image Base: 0x7fefcfc0000, Image Size: 0x4c000" "17:12:44,6732815","ELEX.exe","3068","Load Image","C:\Windows\System32\ntmarta.dll","SUCCESS","Image Base: 0x7fefb8d0000, Image Size: 0x2d000" "17:12:44,6733837","ELEX.exe","3068","Load Image","C:\Windows\System32\Wldap32.dll","SUCCESS","Image Base: 0x7fefe800000, Image Size: 0x52000" "17:12:44,8681151","ELEX.exe","3068","Load Image","C:\Windows\System32\clbcatq.dll","SUCCESS","Image Base: 0x7fefe540000, Image Size: 0x99000" "17:12:44,8691647","ELEX.exe","3068","Load Image","C:\Windows\System32\WindowsCodecs.dll","SUCCESS","Image Base: 0x7fefbd50000, Image Size: 0x12a000" "17:12:44,9597284","ELEX.exe","3068","Load Image","C:\Windows\System32\dsound.dll","SUCCESS","Image Base: 0x7fef4e70000, Image Size: 0x88000" "17:12:44,9600273","ELEX.exe","3068","Load Image","C:\Windows\System32\powrprof.dll","SUCCESS","Image Base: 0x7fefbd20000, Image Size: 0x2c000" "17:12:44,9613607","ELEX.exe","3068","Load Image","C:\Windows\System32\MMDevAPI.dll","SUCCESS","Image Base: 0x7fefbee0000, Image Size: 0x4b000" "17:12:44,9617301","ELEX.exe","3068","Load Image","C:\Windows\System32\propsys.dll","SUCCESS","Image Base: 0x7fefc350000, Image Size: 0x12c000" "17:12:44,9940761","ELEX.exe","3068","Load Image","C:\Windows\System32\AudioSes.dll","SUCCESS","Image Base: 0x7fefb5a0000, Image Size: 0x4f000" "17:12:45,0246913","ELEX.exe","3068","Load Image","C:\Windows\System32\profapi.dll","SUCCESS","Image Base: 0x7fefdaf0000, Image Size: 0xf000" "17:12:46,4032286","ELEX.exe","3068","Load Image","C:\Windows\System32\wdmaud.drv","SUCCESS","Image Base: 0x7fefb660000, Image Size: 0x3b000" "17:12:46,4035911","ELEX.exe","3068","Load Image","C:\Windows\System32\ksuser.dll","SUCCESS","Image Base: 0x75710000, Image Size: 0x6000" "17:12:46,4039588","ELEX.exe","3068","Load Image","C:\Windows\System32\avrt.dll","SUCCESS","Image Base: 0x7fefbd00000, Image Size: 0x9000" "17:12:46,4200200","ELEX.exe","3068","Load Image","C:\Windows\System32\msacm32.drv","SUCCESS","Image Base: 0x7fefb590000, Image Size: 0xa000" "17:12:46,4210386","ELEX.exe","3068","Load Image","C:\Windows\System32\midimap.dll","SUCCESS","Image Base: 0x7fefb3f0000, Image Size: 0x9000" "17:12:48,3867731","ELEX.exe","3068","Load Image","C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common\PhysXUpdateLoader64.dll","SUCCESS","Image Base: 0x35f0000, Image Size: 0x23000" "17:12:48,3892661","ELEX.exe","3068","Load Image","D:\ELEX\system\apex_clothing_x64.dll","SUCCESS","Image Base: 0x7feeef30000, Image Size: 0x190000" "17:12:48,3920343","ELEX.exe","3068","Load Image","C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common\PhysXUpdateLoader64.dll","SUCCESS","Image Base: 0x35f0000, Image Size: 0x23000" [/code] [quote="bo3b"]Then run 1.0.1 to hunt the shaders you need. You won't want the fixed file, just the shader hash. You can then use the corresponding file from the 1.2.65 dump to work on it. [/quote] Unfortunately, this is not possible because version 1.0.1 didn't catch the broken shaders during hunting. I would need frame analysis here which is first available in experimental build 1.1.17 that does not work in ELEX. [quote="DarkStarSword"]That release suggests we aren't getting into DXGI in that game and can't get access to the present call (prior to that our "once per frame" actions including hunting were run from the clear render target call, which was a hack so we could work without DXGI). We'll need a log file to work out what this game is doing that is special. [/quote] I did some debugging and can confirm that HackerDXGISwapChain::Present does not get called from ELEX. If you can tell me what to look for, I can do some more debugging on this. Here is the 3Dmigoto log from the ELEX topic again: [code] D3D11 DLL starting init - v 1.2.65 - Wed Oct 18 17:10:52 2017 ----------- d3dx.ini settings ----------- [Logging] calls=1 input=1 debug=0 unbuffered=0 force_cpu_affinity=0 [System] allow_dxgi1_2=0 allow_check_interface=0 allow_create_device=2 allow_platform_update=0 [Device] upscaling=0 full_screen=0 force_stereo=0 get_resolution_from=swap_chain hide_cursor=0 [Stereo] automatic_mode=0 create_profile=0 force_no_nvapi=0 [Rendering] shader_hash=3dmigoto cache_shaders=0 use_criticalsection=1 rasterizer_disable_scissor=1 assemble_signature_comments=1 export_fixed=0 export_shaders=0 export_hlsl=0 dump_usage=1 stereo_params=125 ini_params=120 override_directory=D:\ELEX\system\ShaderFixes cache_directory=D:\ELEX\system\ShaderCache fix_sv_position=0 [Hunting] hunting=1 marking_mode=0 mark_snapshot=2 reload_config=no_modifiers VK_F10 toggle_hunting=no_modifiers VK_NUMPAD0 next_pixelshader=no_modifiers VK_NUMPAD2 previous_pixelshader=no_modifiers VK_NUMPAD1 mark_pixelshader=no_modifiers VK_NUMPAD3 take_screenshot=no_modifiers VK_SNAPSHOT next_indexbuffer=no_modifiers VK_NUMPAD8 previous_indexbuffer=no_modifiers VK_NUMPAD7 mark_indexbuffer=no_modifiers VK_NUMPAD9 next_vertexshader=no_modifiers VK_NUMPAD5 previous_vertexshader=no_modifiers VK_NUMPAD4 mark_vertexshader=no_modifiers VK_NUMPAD6 next_rendertarget=no_modifiers VK_MULTIPLY previous_rendertarget=no_modifiers VK_DIVIDE mark_rendertarget=no_modifiers VK_SUBTRACT done_hunting=no_modifiers VK_ADD reload_fixes=no_modifiers VK_F10 show_original=no_modifiers VK_F9 analyse_options=dump_rt_jps clear_rt repeat_rate=6 [KeyChange3DVision2SBSOutputMode] type=cycle Cycle 1: x7=1 Cycle 2: x7=2 Cycle 3: x7=3 Cycle 4: x7=4 Cycle 5: x7=5 Cycle 6: x7=6 Cycle 7: x7=7 Cycle 8: x7=0 Key=no_modifiers F11 [Resource3DVision2SBSBackupTexture] [Resource3DVisionUpscaleBackupTexture] [ResourceSoftwareMouseBackupTexture1] [ResourceSoftwareMouseBackupTexture2] [ResourceSoftwareMouseBackupTexture3] [ResourceSoftwareMouseBackupTexture4] [customshader3dvision2sbs] vs=ShaderFixes/3dvision2sbsvs.hlsl hs=null ds=null gs=null ps=ShaderFixes/3dvision2sbsps.hlsl blend=disable cull=none topology=triangle_strip run=commandlistunbindallrendertargets o0=set_viewport no_view_cache bb resource3dvision2sbsbackuptexture=reference ps-t100 ps-t100=stereo2mono bb vs-t125=stereoparams ps-t125=stereoparams vs-t120=iniparams ps-t120=iniparams draw=4, 0 post ps-t100=reference resource3dvision2sbsbackuptexture [customshaderupscale] vs=ShaderFixes/upscalevs.hlsl hs=null ds=null gs=null ps=ShaderFixes/upscaleps.hlsl blend=disable cull=none topology=triangle_strip sampler=anisotropic_filter run=commandlistunbindallrendertargets o0=set_viewport bb resource3dvisionupscalebackuptexture=reference ps-t101 ps-t101=f_bb draw=4, 0 post ps-t101=reference resource3dvisionupscalebackuptexture [customshadersoftwaremouse] vs=ShaderFixes/mousevs.hlsl hs=null ds=null gs=null ps=ShaderFixes/mouseps.hlsl blend=ADD ONE INV_SRC_ALPHA cull=none topology=triangle_strip run=commandlistunbindallrendertargets o0=set_viewport no_view_cache bb vs-t125=stereoparams ps-t125=stereoparams vs-t120=iniparams ps-t120=iniparams x6=cursor_window_x y6=cursor_window_y z6=cursor_hotspot_x w6=cursor_hotspot_y y7=cursor_showing z7=window_width w7=window_height resourcesoftwaremousebackuptexture1=reference vs-t100 resourcesoftwaremousebackuptexture2=reference vs-t101 resourcesoftwaremousebackuptexture3=reference ps-t100 resourcesoftwaremousebackuptexture4=reference ps-t101 vs-t100=cursor_mask vs-t101=cursor_color ps-t100=cursor_mask ps-t101=cursor_color w5=1 draw=4, 0 run=customshadersoftwaremousebw post vs-t100=reference resourcesoftwaremousebackuptexture1 post vs-t101=reference resourcesoftwaremousebackuptexture2 post ps-t100=reference resourcesoftwaremousebackuptexture3 post ps-t101=reference resourcesoftwaremousebackuptexture4 [customshadersoftwaremousebw] blend=ADD INV_DEST_COLOR SRC_ALPHA w5=2 draw=4, 0 [commandlistunbindallrendertargets] o0=null o1=null o2=null o3=null o4=null o5=null o6=null o7=null od=null [Present] [ClearRenderTargetView] [ClearDepthStencilView] [Constants] x7=0.00 [Profile] Hooked_LoadLibraryExW switching to original dll: original_nvapi64.dll to C:\Windows\system32\nvapi64.dll. NVIDIA driver version 358.87 (branch r358_00) Looking up profiles related to D:\ELEX\system\ELEX.exe ----------- Driver profile settings ----------- BaseProfile "Base Profile" SelectedGlobalProfile "Base Profile" Profile "Base Profile" ShowOn All Setting ID_0x80303a19 = 0x00000001 Setting ID_0x80857a28 = 0x00000001 Setting ID_0x809d5f60 = 0x00000001 EndProfile Profile "ELEX-3DMigoto" UserSpecified=true ShowOn All Executable "elex.exe" UserSpecified=true Setting ID_0x701eb457 = 0x00000001 UserSpecified=true // StereoProfile Setting ID_0x702442fc = 0x00004000 UserSpecified=true // StereoFlagsDX10 SettingString ID_0x704d456e = "TODO" UserSpecified=true // Comments SettingString ID_0x7051e5f5 = "3" UserSpecified=true // Compat Setting ID_0x707f4b45 = 0x00000001 UserSpecified=true // StereoMemoEnabled Setting ID_0x708db8c5 = 0x41a00000 UserSpecified=true // StereoConvergence = 20 SettingString ID_0x709adadc = "Compatibility mode is enabled. To use the fix, please disable it with Ctrl+Alt+F11" UserSpecified=true // 2DD_Notes Setting ID_0x709adadd = 0x00000001 UserSpecified=true // Disable2DD EndProfile ----------- End driver profile settings ----------- No profile update required *** D3D11 DLL successfully initialized. *** Trying to load original_d3d11.dll Hooked_LoadLibraryExW switching to original dll: original_d3d11.dll to C:\Windows\system32\d3d11.dll. Hooked_CreateDXGIFactory1 called with riid: IDXGIFactory1 calling original CreateDXGIFactory1 API CreateDXGIFactory1 returned factory = 00000000004A92B0, result = 0 new HackerDXGIFactory1(class HackerDXGIFactory1@0000000004E63F60) wrapped 00000000004A92B0 HackerDXGIFactory1::EnumAdapters1(class HackerDXGIFactory1@0000000004E63F60) adapter 0 requested created HackerDXGIAdapter1 wrapper = 0000000004E63F00 of 000000000045BD00 returns result = 0 HackerUnknown::AddRef(class HackerDXGIAdapter1@0000000004E63F00), counter=2, this=0000000004E63F00 HackerUnknown::Release(class HackerDXGIAdapter1@0000000004E63F00), counter=1, this=0000000004E63F00 *** D3D11CreateDevice called with pAdapter = 0000000004E63F00 Flags = 0 pFeatureLevels = 0xb000 FeatureLevels = 1 ppDevice = 000000000012FA80 pFeatureLevel = 0 ppImmediateContext = 000000000012FA78 ->Feature level forced to 11.0: 0xb000 return HackerDXGIAdapter1 wrapper = 0000000004E63F00 HackerDXGIAdapter1::GetDesc1(class HackerDXGIAdapter1@0000000004E63F00) called returns adapter: NVIDIA GeForce GTX 970, sysmem=0, vidmem=4202954752, flags=0 HackerUnknown::Release(class HackerDXGIAdapter1@0000000004E63F00), counter=1, this=0000000004E63F00 HackerUnknown::AddRef(class HackerDXGIAdapter1@0000000004E63F00), counter=2, this=0000000004E63F00 HackerUnknown::AddRef(class HackerDXGIAdapter1@0000000004E63F00), counter=3, this=0000000004E63F00 HackerDXGIObject::SetPrivateData(class HackerDXGIAdapter1@0000000004E63F00) called with GUID: {D722FB4D-7A68-437A-B20C-5804EE2494A6} DataSize = 4 returns result = 0 HackerUnknown::Release(class HackerDXGIAdapter1@0000000004E63F00), counter=3, this=0000000004E63F00 HackerUnknown::Release(class HackerDXGIAdapter1@0000000004E63F00), counter=2, this=0000000004E63F00 Replaced Hooked_LoadLibraryExW for: C:\Windows\system32\nvapi64.dll to nvapi64.dll. Replaced Hooked_LoadLibraryExW for: C:\Windows\system32\nvapi64.dll to nvapi64.dll. D3D11CreateDevice returned device handle = 00000000004AF960, context handle = 000000000045CC08 HackerDevice 0000000002F1DDC0 created to wrap 00000000004AF960 HackerContext 00000000047EA0F0 created to wrap 000000000045CC08 HackerDevice::Create3DMigotoResources(class HackerDevice@0000000002F1DDC0) called. created NVAPI stereo handle. Handle = 0000000002FD3990 creating stereo parameter texture. stereo texture created, handle = 00000000004C5F98 creating stereo parameter resource view. stereo texture resource view created, handle = 00000000004C6118. creating .ini constant parameter texture. IniParam texture created, handle = 00000000004C5DD8 creating IniParam resource view. Iniparams resource view created, handle = 00000000004C6398. Created pink mode pixel shader: 0 ->D3D11CreateDevice result = 0, device handle = 00000000004AF960, device wrapper = 0000000002F1DDC0, context handle = 000000000045CC08, context wrapper = 00000000047EA0F0 failed result = 80004002 for 0000000004F31010 failed result = 80004002 for 000000000012FA08 *** HackerDXGIFactory::CreateSwapChain(class HackerDXGIFactory1@0000000004E63F60) called with parameters Device = class HackerDevice@0000000002F1DDC0 SwapChain = 000000000012F700 Description = 000000000012F760 Got resolution from swap chain: 800x600 Windowed = 1 Width = 800 Height = 600 Refresh rate = 0.000000 HackerDevice::GetHackerContext returns 00000000047EA0F0 Overlay::Overlay created for 00000000051A68A0: class HackerDXGISwapChain on HackerDevice: 0000000002F1DDC0, HackerContext: 00000000047EA0F0 ->HackerDXGISwapChain 00000000051A68A0 created to wrap 00000000004B01D0 ->return value = 0 HackerDXGIFactory::MakeWindowAssociation(class HackerDXGIFactory1@0000000004E63F60) called with WindowHandle = 00000000000703D8, Flags = 2 Flags = DXGI_MWA_NO_ALT_ENTER returns result = 0 HackerUnknown::Release(class HackerDXGISwapChain@00000000051A68A0), counter=2, this=00000000051A68A0 HackerUnknown::AddRef(class HackerDXGIAdapter1@0000000004E63F00), counter=4, this=0000000004E63F00 HackerDXGIAdapter::EnumOutputs(class HackerDXGIAdapter1@0000000004E63F00) called: output #0 requested returns result = 0, handle = 00000000004B3F80 HackerDXGIAdapter::EnumOutputs(class HackerDXGIAdapter1@0000000004E63F00) called: output #1 requested returns result = 887a0002, handle = 0000000000000000 HackerUnknown::Release(class HackerDXGIAdapter1@0000000004E63F00), counter=4, this=0000000004E63F00 HackerDevice::GetFeatureLevel(class HackerDevice@0000000002F1DDC0) returns FeatureLevel:b000 HackerDevice::GetFeatureLevel(class HackerDevice@0000000002F1DDC0) returns FeatureLevel:b000 HackerDevice::CreateVertexShader called with BytecodeLength = 1052, handle = 0000000004884990, ClassLinkage = 0000000000000000 FNV hash = 8d51d95e498959f5 shader registered for possible reloading: 8d51d95e498959f5_vs as bin - returns result = 0, handle = 00000000004B9F28 HackerDevice::CreatePixelShader called with BytecodeLength = 680, handle = 00000000051CE8A0, ClassLinkage = 0000000000000000 FNV hash = 8444e1ff6e7684b2 shader registered for possible reloading: 8444e1ff6e7684b2_ps as bin - returns result = 0, handle = 00000000004BA468 HackerDevice::CreateVertexShader called with BytecodeLength = 648, handle = 0000000004E52F60, ClassLinkage = 0000000000000000 FNV hash = da429b98ce909b45 shader registered for possible reloading: da429b98ce909b45_vs as bin - returns result = 0, handle = 00000000004BA828 HackerDevice::CreateVertexShader called with BytecodeLength = 1532, handle = 0000000017C8A9C0, ClassLinkage = 0000000000000000 FNV hash = 8fad3fc4e5d4399a shader registered for possible reloading: 8fad3fc4e5d4399a_vs as bin - returns result = 0, handle = 000000000047EA28 HackerDevice::CreatePixelShader called with BytecodeLength = 3076, handle = 000000000519AB40, ClassLinkage = 0000000000000000 FNV hash = a96b2edea6486c4b shader registered for possible reloading: a96b2edea6486c4b_ps as bin - returns result = 0, handle = 000000000047EB28 HackerDevice::CreateVertexShader called with BytecodeLength = 648, handle = 0000000004E52F60, ClassLinkage = 0000000000000000 FNV hash = 9a9ac491667be1bf shader registered for possible reloading: 9a9ac491667be1bf_vs as bin - returns result = 0, handle = 00000000004801E8 // very much shaders here HackerDevice::CreateTexture3D called with parameters pInitialData = 000000004771D9E0->00000000658EA188, SysMemPitch: 32, SysMemSlicePitch: 1024 InitialData = 000000004771D9E0, hash = d69d2757 returns result = 0 HackerDevice::CreateTexture3D called with parameters pInitialData = 0000000065906790->00000000968C00C8, SysMemPitch: 256, SysMemSlicePitch: 8192 InitialData = 0000000065906790, hash = fda78248 returns result = 0 HackerUnknown::Release(class HackerDXGIFactory1@0000000004E63F60), counter=3, this=0000000004E63F60 failed result = 80004002 for 000000000012FCB0 HackerUnknown::Release(class HackerDXGIAdapter1@0000000004E63F00), counter=2, this=0000000004E63F00 [/code]
This is a partial reply to https://forums.geforce.com/default/topic/1026753/3d-vision/elex/post/5229976/#5229976.

bo3b said:The problem here is that DXGI is not being hooked, probably because the game is loading DXGI earlier than we are, and thus we are locked out of the chain of hooks. Would be worth trying the DXGI loader that DarkStarSword posted about recently.

I tried out DarkStarSwords DXGI loader but it didn't changed anything.
Since you mentioned that the game may load DXGI earlier that 3Dmigoto, I checked the load order with process monitor. The 3Dmigoto dll is correctly loaded before any real d3d11 or DXGI dlls even without the DXGI loader.

"Time of Day","Process Name","PID","Operation","Path","Result","Detail"
"17:12:43,3101969","ELEX.exe","3068","Load Image","D:\ELEX\system\ELEX.exe","SUCCESS","Image Base: 0x140000000, Image Size: 0x1812000"
"17:12:43,3103211","ELEX.exe","3068","Load Image","C:\Windows\System32\ntdll.dll","SUCCESS","Image Base: 0x77ba0000, Image Size: 0x1aa000"
"17:12:43,3108819","ELEX.exe","3068","Load Image","C:\Windows\System32\kernel32.dll","SUCCESS","Image Base: 0x77a80000, Image Size: 0x11f000"
"17:12:43,3110638","ELEX.exe","3068","Load Image","C:\Windows\System32\KernelBase.dll","SUCCESS","Image Base: 0x7fefdba0000, Image Size: 0x6a000"
"17:12:43,3116966","ELEX.exe","3068","Load Image","C:\Windows\System32\user32.dll","SUCCESS","Image Base: 0x77980000, Image Size: 0xfa000"
"17:12:43,3118701","ELEX.exe","3068","Load Image","C:\Windows\System32\gdi32.dll","SUCCESS","Image Base: 0x7fefedc0000, Image Size: 0x67000"
"17:12:43,3120224","ELEX.exe","3068","Load Image","C:\Windows\System32\lpk.dll","SUCCESS","Image Base: 0x7fefe070000, Image Size: 0xe000"
"17:12:43,3121808","ELEX.exe","3068","Load Image","C:\Windows\System32\usp10.dll","SUCCESS","Image Base: 0x7fefe210000, Image Size: 0xca000"
"17:12:43,3122942","ELEX.exe","3068","Load Image","C:\Windows\System32\msvcrt.dll","SUCCESS","Image Base: 0x7fefdf10000, Image Size: 0x9f000"
"17:12:43,3126713","ELEX.exe","3068","Load Image","C:\Windows\System32\advapi32.dll","SUCCESS","Image Base: 0x7fefee30000, Image Size: 0xdb000"
"17:12:43,3133527","ELEX.exe","3068","Load Image","C:\Windows\System32\sechost.dll","SUCCESS","Image Base: 0x7fefeda0000, Image Size: 0x1f000"
"17:12:43,3135548","ELEX.exe","3068","Load Image","C:\Windows\System32\rpcrt4.dll","SUCCESS","Image Base: 0x7fefe2e0000, Image Size: 0x12d000"
"17:12:43,3138141","ELEX.exe","3068","Load Image","C:\Windows\System32\ole32.dll","SUCCESS","Image Base: 0x7feffca0000, Image Size: 0x203000"
"17:12:43,3144926","ELEX.exe","3068","Load Image","C:\Windows\System32\msvcr110.dll","SUCCESS","Image Base: 0x7fef4b40000, Image Size: 0xd4000"
"17:12:43,3153038","ELEX.exe","3068","Load Image","C:\Windows\System32\dbghelp.dll","SUCCESS","Image Base: 0x7fef1ca0000, Image Size: 0x125000"
"17:12:43,3155238","ELEX.exe","3068","Load Image","C:\Windows\System32\shell32.dll","SUCCESS","Image Base: 0x7fefef10000, Image Size: 0xd89000"
"17:12:43,3157230","ELEX.exe","3068","Load Image","C:\Windows\System32\shlwapi.dll","SUCCESS","Image Base: 0x7fefe860000, Image Size: 0x71000"
"17:12:43,3165087","ELEX.exe","3068","Load Image","C:\Windows\System32\version.dll","SUCCESS","Image Base: 0x7fefcc30000, Image Size: 0xc000"
"17:12:43,3166709","ELEX.exe","3068","Load Image","C:\Windows\System32\ws2_32.dll","SUCCESS","Image Base: 0x7fefdec0000, Image Size: 0x4d000"
"17:12:43,3168497","ELEX.exe","3068","Load Image","C:\Windows\System32\nsi.dll","SUCCESS","Image Base: 0x7fefe080000, Image Size: 0x8000"
"17:12:43,3173845","ELEX.exe","3068","Load Image","D:\ELEX\system\physx3_x64.dll","SUCCESS","Image Base: 0x7fef0a40000, Image Size: 0x2ef000"
"17:12:43,3183290","ELEX.exe","3068","Load Image","D:\ELEX\system\physx3common_x64.dll","SUCCESS","Image Base: 0x7feefe60000, Image Size: 0x1e0000"
"17:12:43,3188443","ELEX.exe","3068","Load Image","D:\ELEX\system\physx3characterkinematic_x64.dll","SUCCESS","Image Base: 0x7fefb270000, Image Size: 0x34000"
"17:12:43,3193243","ELEX.exe","3068","Load Image","D:\ELEX\system\physx3cooking_x64.dll","SUCCESS","Image Base: 0x7fefb0e0000, Image Size: 0x32000"
"17:12:43,3198095","ELEX.exe","3068","Load Image","D:\ELEX\system\binkw64.dll","SUCCESS","Image Base: 0x7fefb000000, Image Size: 0x5d000"
"17:12:43,3204010","ELEX.exe","3068","Load Image","C:\Windows\System32\winmm.dll","SUCCESS","Image Base: 0x7fefb710000, Image Size: 0x3b000"
"17:12:43,3208575","ELEX.exe","3068","Load Image","D:\ELEX\system\apexframework_x64.dll","SUCCESS","Image Base: 0x7fef0760000, Image Size: 0x106000"
"17:12:43,3215353","ELEX.exe","3068","Load Image","D:\ELEX\system\iggy_w64.dll","SUCCESS","Image Base: 0x7feefd40000, Image Size: 0x118000"
"17:12:43,3220102","ELEX.exe","3068","Load Image","D:\ELEX\system\fmod64.dll","SUCCESS","Image Base: 0x7feefb50000, Image Size: 0x1ec000"
"17:12:43,3228416","ELEX.exe","3068","Load Image","C:\Windows\System32\msacm32.dll","SUCCESS","Image Base: 0x7fefb570000, Image Size: 0x18000"
"17:12:43,3232527","ELEX.exe","3068","Load Image","D:\ELEX\system\d3d11.dll","SUCCESS","Image Base: 0x7feef960000, Image Size: 0x1ec000"
"17:12:43,3239466","ELEX.exe","3068","Load Image","D:\ELEX\system\nvapi64.dll","SUCCESS","Image Base: 0x7fef2120000, Image Size: 0x33000"
"17:12:43,3245464","ELEX.exe","3068","Load Image","C:\Windows\System32\XInput9_1_0.dll","SUCCESS","Image Base: 0x7fefc9d0000, Image Size: 0xc000"
"17:12:43,3246880","ELEX.exe","3068","Load Image","C:\Windows\System32\setupapi.dll","SUCCESS","Image Base: 0x7fefebc0000, Image Size: 0x1d7000"
"17:12:43,3248185","ELEX.exe","3068","Load Image","C:\Windows\System32\cfgmgr32.dll","SUCCESS","Image Base: 0x7fefde60000, Image Size: 0x36000"
"17:12:43,3249542","ELEX.exe","3068","Load Image","C:\Windows\System32\oleaut32.dll","SUCCESS","Image Base: 0x7fefe6f0000, Image Size: 0xd8000"
"17:12:43,3250901","ELEX.exe","3068","Load Image","C:\Windows\System32\devobj.dll","SUCCESS","Image Base: 0x7fefdea0000, Image Size: 0x1a000"
"17:12:43,3253206","ELEX.exe","3068","Load Image","D:\ELEX\system\d3dcompiler_46.dll","SUCCESS","Image Base: 0x7feef5a0000, Image Size: 0x3b6000"
"17:12:43,3259909","ELEX.exe","3068","Load Image","C:\Windows\System32\dxgi.dll","SUCCESS","Image Base: 0x7fefa230000, Image Size: 0xa7000"
"17:12:43,3263461","ELEX.exe","3068","Load Image","C:\Windows\System32\dwmapi.dll","SUCCESS","Image Base: 0x7fefbec0000, Image Size: 0x18000"
"17:12:43,3266350","ELEX.exe","3068","Load Image","C:\Windows\System32\xinput1_3.dll","SUCCESS","Image Base: 0x400000, Image Size: 0x1e000"
"17:12:43,3268162","ELEX.exe","3068","Load Image","D:\ELEX\system\libGeFxD3dWrapperWin64.dll","SUCCESS","Image Base: 0x7fefb250000, Image Size: 0x17000"
"17:12:43,3272421","ELEX.exe","3068","Load Image","D:\ELEX\system\d3dcompiler_47.dll","SUCCESS","Image Base: 0x7feef190000, Image Size: 0x404000"
"17:12:43,3280494","ELEX.exe","3068","Load Image","C:\Windows\System32\apphelp.dll","SUCCESS","Image Base: 0x7fefd980000, Image Size: 0x57000"
"17:12:43,3300958","ELEX.exe","3068","Load Image","C:\Windows\System32\imm32.dll","SUCCESS","Image Base: 0x7fefe7d0000, Image Size: 0x2e000"
"17:12:43,3301781","ELEX.exe","3068","Load Image","C:\Windows\System32\msctf.dll","SUCCESS","Image Base: 0x7fefe5e0000, Image Size: 0x109000"
"17:12:43,3509497","ELEX.exe","3068","Load Image","C:\Windows\System32\uxtheme.dll","SUCCESS","Image Base: 0x7fefc2f0000, Image Size: 0x56000"
"17:12:43,4103666","ELEX.exe","3068","Load Image","C:\Windows\System32\cryptbase.dll","SUCCESS","Image Base: 0x7fefd9e0000, Image Size: 0xf000"
"17:12:43,4140703","ELEX.exe","3068","Load Image","C:\Program Files (x86)\RivaTuner Statistics Server\RTSSHooks64.dll","SUCCESS","Image Base: 0x180000000, Image Size: 0x6c000"
"17:12:43,4168405","ELEX.exe","3068","Load Image","C:\Windows\winsxs\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_08e61857a83bc251\msvcr90.dll","SUCCESS","Image Base: 0x71a30000, Image Size: 0xa3000"
"17:12:43,5628688","ELEX.exe","3068","Load Image","C:\Windows\System32\nvapi64.dll","SUCCESS","Image Base: 0x7fefa670000, Image Size: 0x393000"
"17:12:43,8237253","ELEX.exe","3068","Load Image","C:\Windows\System32\d3d11.dll","SUCCESS","Image Base: 0x7feef0c0000, Image Size: 0xc6000"
"17:12:43,8263139","ELEX.exe","3068","Load Image","C:\Windows\System32\wintrust.dll","SUCCESS","Image Base: 0x7fefdc10000, Image Size: 0x3b000"
"17:12:43,8263665","ELEX.exe","3068","Load Image","C:\Windows\System32\crypt32.dll","SUCCESS","Image Base: 0x7fefdc50000, Image Size: 0x16d000"
"17:12:43,8264235","ELEX.exe","3068","Load Image","C:\Windows\System32\msasn1.dll","SUCCESS","Image Base: 0x7fefdb90000, Image Size: 0xf000"
"17:12:43,8269403","ELEX.exe","3068","Load Image","C:\Windows\System32\nvwgf2umx.dll","SUCCESS","Image Base: 0x7fef4f90000, Image Size: 0x10ac000"
"17:12:43,8270282","ELEX.exe","3068","Load Image","C:\Windows\System32\psapi.dll","SUCCESS","Image Base: 0x77d60000, Image Size: 0x7000"
"17:12:43,8273522","ELEX.exe","3068","Load Image","C:\Windows\System32\bcrypt.dll","SUCCESS","Image Base: 0x7fefd4d0000, Image Size: 0x22000"
"17:12:43,8295345","ELEX.exe","3068","Load Image","C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvSCPAPI64.dll","SUCCESS","Image Base: 0x7fef7010000, Image Size: 0xe0000"
"17:12:43,8518567","ELEX.exe","3068","Load Image","C:\Windows\System32\devrtl.dll","SUCCESS","Image Base: 0x7fefce50000, Image Size: 0x12000"
"17:12:43,8536611","ELEX.exe","3068","Load Image","C:\Windows\System32\SPInf.dll","SUCCESS","Image Base: 0x7fefce70000, Image Size: 0x1f000"
"17:12:44,1032695","ELEX.exe","3068","Load Image","C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvStereoApiI64.dll","SUCCESS","Image Base: 0x7fef11b0000, Image Size: 0x7b000"
"17:12:44,1226559","ELEX.exe","3068","Load Image","C:\Windows\System32\bcryptprimitives.dll","SUCCESS","Image Base: 0x7fefcfc0000, Image Size: 0x4c000"
"17:12:44,6732815","ELEX.exe","3068","Load Image","C:\Windows\System32\ntmarta.dll","SUCCESS","Image Base: 0x7fefb8d0000, Image Size: 0x2d000"
"17:12:44,6733837","ELEX.exe","3068","Load Image","C:\Windows\System32\Wldap32.dll","SUCCESS","Image Base: 0x7fefe800000, Image Size: 0x52000"
"17:12:44,8681151","ELEX.exe","3068","Load Image","C:\Windows\System32\clbcatq.dll","SUCCESS","Image Base: 0x7fefe540000, Image Size: 0x99000"
"17:12:44,8691647","ELEX.exe","3068","Load Image","C:\Windows\System32\WindowsCodecs.dll","SUCCESS","Image Base: 0x7fefbd50000, Image Size: 0x12a000"
"17:12:44,9597284","ELEX.exe","3068","Load Image","C:\Windows\System32\dsound.dll","SUCCESS","Image Base: 0x7fef4e70000, Image Size: 0x88000"
"17:12:44,9600273","ELEX.exe","3068","Load Image","C:\Windows\System32\powrprof.dll","SUCCESS","Image Base: 0x7fefbd20000, Image Size: 0x2c000"
"17:12:44,9613607","ELEX.exe","3068","Load Image","C:\Windows\System32\MMDevAPI.dll","SUCCESS","Image Base: 0x7fefbee0000, Image Size: 0x4b000"
"17:12:44,9617301","ELEX.exe","3068","Load Image","C:\Windows\System32\propsys.dll","SUCCESS","Image Base: 0x7fefc350000, Image Size: 0x12c000"
"17:12:44,9940761","ELEX.exe","3068","Load Image","C:\Windows\System32\AudioSes.dll","SUCCESS","Image Base: 0x7fefb5a0000, Image Size: 0x4f000"
"17:12:45,0246913","ELEX.exe","3068","Load Image","C:\Windows\System32\profapi.dll","SUCCESS","Image Base: 0x7fefdaf0000, Image Size: 0xf000"
"17:12:46,4032286","ELEX.exe","3068","Load Image","C:\Windows\System32\wdmaud.drv","SUCCESS","Image Base: 0x7fefb660000, Image Size: 0x3b000"
"17:12:46,4035911","ELEX.exe","3068","Load Image","C:\Windows\System32\ksuser.dll","SUCCESS","Image Base: 0x75710000, Image Size: 0x6000"
"17:12:46,4039588","ELEX.exe","3068","Load Image","C:\Windows\System32\avrt.dll","SUCCESS","Image Base: 0x7fefbd00000, Image Size: 0x9000"
"17:12:46,4200200","ELEX.exe","3068","Load Image","C:\Windows\System32\msacm32.drv","SUCCESS","Image Base: 0x7fefb590000, Image Size: 0xa000"
"17:12:46,4210386","ELEX.exe","3068","Load Image","C:\Windows\System32\midimap.dll","SUCCESS","Image Base: 0x7fefb3f0000, Image Size: 0x9000"
"17:12:48,3867731","ELEX.exe","3068","Load Image","C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common\PhysXUpdateLoader64.dll","SUCCESS","Image Base: 0x35f0000, Image Size: 0x23000"
"17:12:48,3892661","ELEX.exe","3068","Load Image","D:\ELEX\system\apex_clothing_x64.dll","SUCCESS","Image Base: 0x7feeef30000, Image Size: 0x190000"
"17:12:48,3920343","ELEX.exe","3068","Load Image","C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common\PhysXUpdateLoader64.dll","SUCCESS","Image Base: 0x35f0000, Image Size: 0x23000"

bo3b said:Then run 1.0.1 to hunt the shaders you need. You won't want the fixed file, just the shader hash. You can then use the corresponding file from the 1.2.65 dump to work on it.

Unfortunately, this is not possible because version 1.0.1 didn't catch the broken shaders during hunting. I would need frame analysis here which is first available in experimental build 1.1.17 that does not work in ELEX.

DarkStarSword said:That release suggests we aren't getting into DXGI in that game and can't get access to the present call (prior to that our "once per frame" actions including hunting were run from the clear render target call, which was a hack so we could work without DXGI). We'll need a log file to work out what this game is doing that is special.

I did some debugging and can confirm that HackerDXGISwapChain::Present does not get called from ELEX.
If you can tell me what to look for, I can do some more debugging on this.

Here is the 3Dmigoto log from the ELEX topic again:

D3D11 DLL starting init - v 1.2.65 - Wed Oct 18 17:10:52 2017

----------- d3dx.ini settings -----------
[Logging]
calls=1
input=1
debug=0
unbuffered=0
force_cpu_affinity=0
[System]
allow_dxgi1_2=0
allow_check_interface=0
allow_create_device=2
allow_platform_update=0
[Device]
upscaling=0
full_screen=0
force_stereo=0
get_resolution_from=swap_chain
hide_cursor=0
[Stereo]
automatic_mode=0
create_profile=0
force_no_nvapi=0
[Rendering]
shader_hash=3dmigoto
cache_shaders=0
use_criticalsection=1
rasterizer_disable_scissor=1
assemble_signature_comments=1
export_fixed=0
export_shaders=0
export_hlsl=0
dump_usage=1
stereo_params=125
ini_params=120
override_directory=D:\ELEX\system\ShaderFixes
cache_directory=D:\ELEX\system\ShaderCache
fix_sv_position=0
[Hunting]
hunting=1
marking_mode=0
mark_snapshot=2
reload_config=no_modifiers VK_F10
toggle_hunting=no_modifiers VK_NUMPAD0
next_pixelshader=no_modifiers VK_NUMPAD2
previous_pixelshader=no_modifiers VK_NUMPAD1
mark_pixelshader=no_modifiers VK_NUMPAD3
take_screenshot=no_modifiers VK_SNAPSHOT
next_indexbuffer=no_modifiers VK_NUMPAD8
previous_indexbuffer=no_modifiers VK_NUMPAD7
mark_indexbuffer=no_modifiers VK_NUMPAD9
next_vertexshader=no_modifiers VK_NUMPAD5
previous_vertexshader=no_modifiers VK_NUMPAD4
mark_vertexshader=no_modifiers VK_NUMPAD6
next_rendertarget=no_modifiers VK_MULTIPLY
previous_rendertarget=no_modifiers VK_DIVIDE
mark_rendertarget=no_modifiers VK_SUBTRACT
done_hunting=no_modifiers VK_ADD
reload_fixes=no_modifiers VK_F10
show_original=no_modifiers VK_F9
analyse_options=dump_rt_jps clear_rt
repeat_rate=6
[KeyChange3DVision2SBSOutputMode]
type=cycle
Cycle 1: x7=1
Cycle 2: x7=2
Cycle 3: x7=3
Cycle 4: x7=4
Cycle 5: x7=5
Cycle 6: x7=6
Cycle 7: x7=7
Cycle 8: x7=0
Key=no_modifiers F11
[Resource3DVision2SBSBackupTexture]
[Resource3DVisionUpscaleBackupTexture]
[ResourceSoftwareMouseBackupTexture1]
[ResourceSoftwareMouseBackupTexture2]
[ResourceSoftwareMouseBackupTexture3]
[ResourceSoftwareMouseBackupTexture4]
[customshader3dvision2sbs]
vs=ShaderFixes/3dvision2sbsvs.hlsl
hs=null
ds=null
gs=null
ps=ShaderFixes/3dvision2sbsps.hlsl
blend=disable
cull=none
topology=triangle_strip
run=commandlistunbindallrendertargets
o0=set_viewport no_view_cache bb
resource3dvision2sbsbackuptexture=reference ps-t100
ps-t100=stereo2mono bb
vs-t125=stereoparams
ps-t125=stereoparams
vs-t120=iniparams
ps-t120=iniparams
draw=4, 0
post ps-t100=reference resource3dvision2sbsbackuptexture
[customshaderupscale]
vs=ShaderFixes/upscalevs.hlsl
hs=null
ds=null
gs=null
ps=ShaderFixes/upscaleps.hlsl
blend=disable
cull=none
topology=triangle_strip
sampler=anisotropic_filter
run=commandlistunbindallrendertargets
o0=set_viewport bb
resource3dvisionupscalebackuptexture=reference ps-t101
ps-t101=f_bb
draw=4, 0
post ps-t101=reference resource3dvisionupscalebackuptexture
[customshadersoftwaremouse]
vs=ShaderFixes/mousevs.hlsl
hs=null
ds=null
gs=null
ps=ShaderFixes/mouseps.hlsl
blend=ADD ONE INV_SRC_ALPHA
cull=none
topology=triangle_strip
run=commandlistunbindallrendertargets
o0=set_viewport no_view_cache bb
vs-t125=stereoparams
ps-t125=stereoparams
vs-t120=iniparams
ps-t120=iniparams
x6=cursor_window_x
y6=cursor_window_y
z6=cursor_hotspot_x
w6=cursor_hotspot_y
y7=cursor_showing
z7=window_width
w7=window_height
resourcesoftwaremousebackuptexture1=reference vs-t100
resourcesoftwaremousebackuptexture2=reference vs-t101
resourcesoftwaremousebackuptexture3=reference ps-t100
resourcesoftwaremousebackuptexture4=reference ps-t101
vs-t100=cursor_mask
vs-t101=cursor_color
ps-t100=cursor_mask
ps-t101=cursor_color
w5=1
draw=4, 0
run=customshadersoftwaremousebw
post vs-t100=reference resourcesoftwaremousebackuptexture1
post vs-t101=reference resourcesoftwaremousebackuptexture2
post ps-t100=reference resourcesoftwaremousebackuptexture3
post ps-t101=reference resourcesoftwaremousebackuptexture4
[customshadersoftwaremousebw]
blend=ADD INV_DEST_COLOR SRC_ALPHA
w5=2
draw=4, 0
[commandlistunbindallrendertargets]
o0=null
o1=null
o2=null
o3=null
o4=null
o5=null
o6=null
o7=null
od=null
[Present]
[ClearRenderTargetView]
[ClearDepthStencilView]
[Constants]
x7=0.00
[Profile]

Hooked_LoadLibraryExW switching to original dll: original_nvapi64.dll to C:\Windows\system32\nvapi64.dll.
NVIDIA driver version 358.87 (branch r358_00)

Looking up profiles related to D:\ELEX\system\ELEX.exe
----------- Driver profile settings -----------
BaseProfile "Base Profile"
SelectedGlobalProfile "Base Profile"

Profile "Base Profile"
ShowOn All
Setting ID_0x80303a19 = 0x00000001
Setting ID_0x80857a28 = 0x00000001
Setting ID_0x809d5f60 = 0x00000001
EndProfile

Profile "ELEX-3DMigoto" UserSpecified=true
ShowOn All
Executable "elex.exe" UserSpecified=true
Setting ID_0x701eb457 = 0x00000001 UserSpecified=true // StereoProfile
Setting ID_0x702442fc = 0x00004000 UserSpecified=true // StereoFlagsDX10
SettingString ID_0x704d456e = "TODO" UserSpecified=true // Comments
SettingString ID_0x7051e5f5 = "3" UserSpecified=true // Compat
Setting ID_0x707f4b45 = 0x00000001 UserSpecified=true // StereoMemoEnabled
Setting ID_0x708db8c5 = 0x41a00000 UserSpecified=true // StereoConvergence = 20
SettingString ID_0x709adadc = "Compatibility mode is enabled. To use the fix, please disable it with Ctrl+Alt+F11" UserSpecified=true // 2DD_Notes
Setting ID_0x709adadd = 0x00000001 UserSpecified=true // Disable2DD
EndProfile

----------- End driver profile settings -----------
No profile update required

*** D3D11 DLL successfully initialized. ***

Trying to load original_d3d11.dll
Hooked_LoadLibraryExW switching to original dll: original_d3d11.dll to C:\Windows\system32\d3d11.dll.
Hooked_CreateDXGIFactory1 called with riid: IDXGIFactory1
calling original CreateDXGIFactory1 API
CreateDXGIFactory1 returned factory = 00000000004A92B0, result = 0
new HackerDXGIFactory1(class HackerDXGIFactory1@0000000004E63F60) wrapped 00000000004A92B0
HackerDXGIFactory1::EnumAdapters1(class HackerDXGIFactory1@0000000004E63F60) adapter 0 requested
created HackerDXGIAdapter1 wrapper = 0000000004E63F00 of 000000000045BD00
returns result = 0
HackerUnknown::AddRef(class HackerDXGIAdapter1@0000000004E63F00), counter=2, this=0000000004E63F00
HackerUnknown::Release(class HackerDXGIAdapter1@0000000004E63F00), counter=1, this=0000000004E63F00


*** D3D11CreateDevice called with
pAdapter = 0000000004E63F00
Flags = 0
pFeatureLevels = 0xb000
FeatureLevels = 1
ppDevice = 000000000012FA80
pFeatureLevel = 0
ppImmediateContext = 000000000012FA78
->Feature level forced to 11.0: 0xb000
return HackerDXGIAdapter1 wrapper = 0000000004E63F00
HackerDXGIAdapter1::GetDesc1(class HackerDXGIAdapter1@0000000004E63F00) called
returns adapter: NVIDIA GeForce GTX 970, sysmem=0, vidmem=4202954752, flags=0
HackerUnknown::Release(class HackerDXGIAdapter1@0000000004E63F00), counter=1, this=0000000004E63F00
HackerUnknown::AddRef(class HackerDXGIAdapter1@0000000004E63F00), counter=2, this=0000000004E63F00
HackerUnknown::AddRef(class HackerDXGIAdapter1@0000000004E63F00), counter=3, this=0000000004E63F00
HackerDXGIObject::SetPrivateData(class HackerDXGIAdapter1@0000000004E63F00) called with GUID: {D722FB4D-7A68-437A-B20C-5804EE2494A6}
DataSize = 4
returns result = 0
HackerUnknown::Release(class HackerDXGIAdapter1@0000000004E63F00), counter=3, this=0000000004E63F00
HackerUnknown::Release(class HackerDXGIAdapter1@0000000004E63F00), counter=2, this=0000000004E63F00
Replaced Hooked_LoadLibraryExW for: C:\Windows\system32\nvapi64.dll to nvapi64.dll.
Replaced Hooked_LoadLibraryExW for: C:\Windows\system32\nvapi64.dll to nvapi64.dll.
D3D11CreateDevice returned device handle = 00000000004AF960, context handle = 000000000045CC08
HackerDevice 0000000002F1DDC0 created to wrap 00000000004AF960
HackerContext 00000000047EA0F0 created to wrap 000000000045CC08
HackerDevice::Create3DMigotoResources(class HackerDevice@0000000002F1DDC0) called.
created NVAPI stereo handle. Handle = 0000000002FD3990
creating stereo parameter texture.
stereo texture created, handle = 00000000004C5F98
creating stereo parameter resource view.
stereo texture resource view created, handle = 00000000004C6118.
creating .ini constant parameter texture.
IniParam texture created, handle = 00000000004C5DD8
creating IniParam resource view.
Iniparams resource view created, handle = 00000000004C6398.
Created pink mode pixel shader: 0
->D3D11CreateDevice result = 0, device handle = 00000000004AF960, device wrapper = 0000000002F1DDC0, context handle = 000000000045CC08, context wrapper = 00000000047EA0F0

failed result = 80004002 for 0000000004F31010
failed result = 80004002 for 000000000012FA08

*** HackerDXGIFactory::CreateSwapChain(class HackerDXGIFactory1@0000000004E63F60) called with parameters
Device = class HackerDevice@0000000002F1DDC0
SwapChain = 000000000012F700
Description = 000000000012F760
Got resolution from swap chain: 800x600
Windowed = 1
Width = 800
Height = 600
Refresh rate = 0.000000
HackerDevice::GetHackerContext returns 00000000047EA0F0
Overlay::Overlay created for 00000000051A68A0: class HackerDXGISwapChain
on HackerDevice: 0000000002F1DDC0, HackerContext: 00000000047EA0F0
->HackerDXGISwapChain 00000000051A68A0 created to wrap 00000000004B01D0
->return value = 0

HackerDXGIFactory::MakeWindowAssociation(class HackerDXGIFactory1@0000000004E63F60) called with WindowHandle = 00000000000703D8, Flags = 2
Flags = DXGI_MWA_NO_ALT_ENTER
returns result = 0
HackerUnknown::Release(class HackerDXGISwapChain@00000000051A68A0), counter=2, this=00000000051A68A0
HackerUnknown::AddRef(class HackerDXGIAdapter1@0000000004E63F00), counter=4, this=0000000004E63F00
HackerDXGIAdapter::EnumOutputs(class HackerDXGIAdapter1@0000000004E63F00) called: output #0 requested
returns result = 0, handle = 00000000004B3F80
HackerDXGIAdapter::EnumOutputs(class HackerDXGIAdapter1@0000000004E63F00) called: output #1 requested
returns result = 887a0002, handle = 0000000000000000
HackerUnknown::Release(class HackerDXGIAdapter1@0000000004E63F00), counter=4, this=0000000004E63F00
HackerDevice::GetFeatureLevel(class HackerDevice@0000000002F1DDC0) returns FeatureLevel:b000
HackerDevice::GetFeatureLevel(class HackerDevice@0000000002F1DDC0) returns FeatureLevel:b000
HackerDevice::CreateVertexShader called with BytecodeLength = 1052, handle = 0000000004884990, ClassLinkage = 0000000000000000
FNV hash = 8d51d95e498959f5
shader registered for possible reloading: 8d51d95e498959f5_vs as bin -
returns result = 0, handle = 00000000004B9F28
HackerDevice::CreatePixelShader called with BytecodeLength = 680, handle = 00000000051CE8A0, ClassLinkage = 0000000000000000
FNV hash = 8444e1ff6e7684b2
shader registered for possible reloading: 8444e1ff6e7684b2_ps as bin -
returns result = 0, handle = 00000000004BA468
HackerDevice::CreateVertexShader called with BytecodeLength = 648, handle = 0000000004E52F60, ClassLinkage = 0000000000000000
FNV hash = da429b98ce909b45
shader registered for possible reloading: da429b98ce909b45_vs as bin -
returns result = 0, handle = 00000000004BA828
HackerDevice::CreateVertexShader called with BytecodeLength = 1532, handle = 0000000017C8A9C0, ClassLinkage = 0000000000000000
FNV hash = 8fad3fc4e5d4399a
shader registered for possible reloading: 8fad3fc4e5d4399a_vs as bin -
returns result = 0, handle = 000000000047EA28
HackerDevice::CreatePixelShader called with BytecodeLength = 3076, handle = 000000000519AB40, ClassLinkage = 0000000000000000
FNV hash = a96b2edea6486c4b
shader registered for possible reloading: a96b2edea6486c4b_ps as bin -
returns result = 0, handle = 000000000047EB28
HackerDevice::CreateVertexShader called with BytecodeLength = 648, handle = 0000000004E52F60, ClassLinkage = 0000000000000000
FNV hash = 9a9ac491667be1bf
shader registered for possible reloading: 9a9ac491667be1bf_vs as bin -
returns result = 0, handle = 00000000004801E8

// very much shaders here

HackerDevice::CreateTexture3D called with parameters
pInitialData = 000000004771D9E0->00000000658EA188, SysMemPitch: 32, SysMemSlicePitch: 1024
InitialData = 000000004771D9E0, hash = d69d2757
returns result = 0
HackerDevice::CreateTexture3D called with parameters
pInitialData = 0000000065906790->00000000968C00C8, SysMemPitch: 256, SysMemSlicePitch: 8192
InitialData = 0000000065906790, hash = fda78248
returns result = 0
HackerUnknown::Release(class HackerDXGIFactory1@0000000004E63F60), counter=3, this=0000000004E63F60
failed result = 80004002 for 000000000012FCB0
HackerUnknown::Release(class HackerDXGIAdapter1@0000000004E63F00), counter=2, this=0000000004E63F00
@mx-2: That's interesting that it does look like d3d11.dll is loaded properly from the game directory, and then dxgi is loaded from system like we'd expect. Please run it again with full debugging enabled, and we'll take a look: calls=1 input=1 debug=1 unbuffered=1
@mx-2: That's interesting that it does look like d3d11.dll is loaded properly from the game directory, and then dxgi is loaded from system like we'd expect.

Please run it again with full debugging enabled, and we'll take a look:
calls=1
input=1
debug=1
unbuffered=1

Acer H5360 (1280x720@120Hz) - ASUS VG248QE with GSync mod - 3D Vision 1&2 - Driver 372.54
GTX 970 - i5-4670K@4.2GHz - 12GB RAM - Win7x64+evilKB2670838 - 4 Disk X25 RAID
SAGER NP9870-S - GTX 980 - i7-6700K - Win10 Pro 1607
Latest 3Dmigoto Release
Bo3b's School for ShaderHackers

Posted 10/22/2017 08:39 AM   
3Dmigoto is making a performance difference in Grim Dawn when I'm CPU limited. In the starting town (after it has been populated a lot and I summon all my minions, being a necromancer), without 3Dmigoto I get 56fps in a specific location. With 3Dmigoto, 46fps. That's a ~20% difference. I tried disabling all logging, hunting, tried both scissor clipping options, disabled the mouse cursor shader, removed all my shaders, removed the render target stereoization... and fps remained the same. I guess that will be the price of having a game with correct 3D :(. The lowest fps I saw during big fights was 33fps, with my 7700K at 4.9GHz (the game mostly uses 1 core). I didn't compare it with 3Dmigoto disabled.
3Dmigoto is making a performance difference in Grim Dawn when I'm CPU limited. In the starting town (after it has been populated a lot and I summon all my minions, being a necromancer), without 3Dmigoto I get 56fps in a specific location. With 3Dmigoto, 46fps. That's a ~20% difference.

I tried disabling all logging, hunting, tried both scissor clipping options, disabled the mouse cursor shader, removed all my shaders, removed the render target stereoization... and fps remained the same.

I guess that will be the price of having a game with correct 3D :(.

The lowest fps I saw during big fights was 33fps, with my 7700K at 4.9GHz (the game mostly uses 1 core). I didn't compare it with 3Dmigoto disabled.

CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: MSI GeForce RTX 2080Ti Gaming X Trio
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com

Posted 10/22/2017 11:20 AM   
I have to add that with my first WIP fix (3Dmigoto 1.2.57 instead of the 1.2.65 my newer fix uses), I get 49-50 fps there. Still lower than without 3Dmigoto, but somehow performance got worse since then.
I have to add that with my first WIP fix (3Dmigoto 1.2.57 instead of the 1.2.65 my newer fix uses), I get 49-50 fps there. Still lower than without 3Dmigoto, but somehow performance got worse since then.

CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: MSI GeForce RTX 2080Ti Gaming X Trio
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com

Posted 10/22/2017 11:31 AM   
I have a suspicion as to what may have caused that (buffer hashes) - can you test 1.2.62 and 1.2.63 with hunting disabled? If I'm right you will see a performance difference between them, and if not comparing it with 1.2.57 and 1.2.65 will at least help narrow down where it was introduced. Also, see if you get any performance difference while holding the show_original key (hunting must be enabled) - that's the trick I was using to track down some of the performance problems in Dreamfall Chapters. If you do see a difference here, it would point to either something in the shaders or command lists (such as excessive full resource copies or inefficiencies in decompiled & recompiled shaders), which is not necessarily 3DMigoto's fault.
I have a suspicion as to what may have caused that (buffer hashes) - can you test 1.2.62 and 1.2.63 with hunting disabled? If I'm right you will see a performance difference between them, and if not comparing it with 1.2.57 and 1.2.65 will at least help narrow down where it was introduced.

Also, see if you get any performance difference while holding the show_original key (hunting must be enabled) - that's the trick I was using to track down some of the performance problems in Dreamfall Chapters. If you do see a difference here, it would point to either something in the shaders or command lists (such as excessive full resource copies or inefficiencies in decompiled & recompiled shaders), which is not necessarily 3DMigoto's fault.

2x Geforce GTX 980 in SLI provided by NVIDIA, i7 6700K 4GHz CPU, Asus 27" VG278HE 144Hz 3D Monitor, BenQ W1070 3D Projector, 120" Elite Screens YardMaster 2, 32GB Corsair DDR4 3200MHz RAM, Samsung 850 EVO 500G SSD, 4x750GB HDD in RAID5, Gigabyte Z170X-Gaming 7 Motherboard, Corsair Obsidian 750D Airflow Edition Case, Corsair RM850i PSU, HTC Vive, Win 10 64bit

Alienware M17x R4 w/ built in 3D, Intel i7 3740QM, GTX 680m 2GB, 16GB DDR3 1600MHz RAM, Win7 64bit, 1TB SSD, 1TB HDD, 750GB HDD

Pre-release 3D fixes, shadertool.py and other goodies: http://github.com/DarkStarSword/3d-fixes
Support me on Patreon: https://www.patreon.com/DarkStarSword or PayPal: https://www.paypal.me/DarkStarSword

Posted 10/22/2017 01:03 PM   
Yes, those two versions show a difference. 1.2.62: 49fps 1.2.63: 45-46fps When the hunting OSD is there, fps drops to 37fps. If I hold F9 with my latest fix (1.2.65), they increase to 39fps (the fps I get with a fresh 3Dmigoto in both .62 and .63 versions with hunting enabled). With older versions of 3Dmigoto, where I don't have custom shaders, pressing F9 doesn't make any difference, after getting the big drop of enabling the OSD.
Yes, those two versions show a difference.

1.2.62: 49fps
1.2.63: 45-46fps

When the hunting OSD is there, fps drops to 37fps. If I hold F9 with my latest fix (1.2.65), they increase to 39fps (the fps I get with a fresh 3Dmigoto in both .62 and .63 versions with hunting enabled). With older versions of 3Dmigoto, where I don't have custom shaders, pressing F9 doesn't make any difference, after getting the big drop of enabling the OSD.

CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: MSI GeForce RTX 2080Ti Gaming X Trio
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com

Posted 10/22/2017 01:25 PM   
Ok, thanks for that. I'm pretty sure it's the [index] buffer hash, which was re-enabled in that release - I was concerned when I saw that had gone in, because the hashes can be expensive, and while most games tend to restrict most texture creation to loading times so we get away with that, they can be a bit more liberal on creating buffers whenever they feel like. The buffer hash is still broken anyway, because it's not hooked up to anything that can make use of it - I'll try to fix that up so it works for 1.2.66 and probably add an option or something to restrict it to specific types of buffers that we actually want, which in 99% of cases will be none. The fps drop you see when the OSD is enabled will be due to the statistics collection (the info that ends up in shader_usage.txt when you dump something), which is known to be expensive (some games are worse than others - this sounds like a particularly bad case) so we limit it to only happen when hunting is fully enabled with the OSD shown. I've thought about adding an option for this specific thing, but turning off the OSD has usually been good enough, so unless you want one I'd rather leave that as is. Edit: I forgot that I had already done this - turning off the export_usage option will recover most of this. The 2fps difference you see while holding F9 is likely to be something in the fix itself - that might be something you just accept as the cost of having working 3D, or you could try to narrow down if there is something specific contributing to it, like custom shaders as you mentioned, or using HLSL instead of assembly, or resource copies, or something else, and then work out if there is some way to improve it. FWIW in Dreamfall Chapters I managed to recover about 20fps by switching to assembly and eliminating excessive resource copies, but I was still about 1-2fps lower than show_original (a little more if there were light shafts in the current scene), which I decided was good enough. Worth keeping in mind that some optimisations won't make any noticeable difference so make sure you have identified where the performance hit is coming from before you try to optimise, e.g. in Dreamfall Chapters I wondered whether eliminating a matrix multiply in a few thousand shaders might make a difference, but I couldn't see any difference - if there was one it was less than 1fps.
Ok, thanks for that. I'm pretty sure it's the [index] buffer hash, which was re-enabled in that release - I was concerned when I saw that had gone in, because the hashes can be expensive, and while most games tend to restrict most texture creation to loading times so we get away with that, they can be a bit more liberal on creating buffers whenever they feel like. The buffer hash is still broken anyway, because it's not hooked up to anything that can make use of it - I'll try to fix that up so it works for 1.2.66 and probably add an option or something to restrict it to specific types of buffers that we actually want, which in 99% of cases will be none.

The fps drop you see when the OSD is enabled will be due to the statistics collection (the info that ends up in shader_usage.txt when you dump something), which is known to be expensive (some games are worse than others - this sounds like a particularly bad case) so we limit it to only happen when hunting is fully enabled with the OSD shown. I've thought about adding an option for this specific thing, but turning off the OSD has usually been good enough, so unless you want one I'd rather leave that as is. Edit: I forgot that I had already done this - turning off the export_usage option will recover most of this.

The 2fps difference you see while holding F9 is likely to be something in the fix itself - that might be something you just accept as the cost of having working 3D, or you could try to narrow down if there is something specific contributing to it, like custom shaders as you mentioned, or using HLSL instead of assembly, or resource copies, or something else, and then work out if there is some way to improve it. FWIW in Dreamfall Chapters I managed to recover about 20fps by switching to assembly and eliminating excessive resource copies, but I was still about 1-2fps lower than show_original (a little more if there were light shafts in the current scene), which I decided was good enough. Worth keeping in mind that some optimisations won't make any noticeable difference so make sure you have identified where the performance hit is coming from before you try to optimise, e.g. in Dreamfall Chapters I wondered whether eliminating a matrix multiply in a few thousand shaders might make a difference, but I couldn't see any difference - if there was one it was less than 1fps.

2x Geforce GTX 980 in SLI provided by NVIDIA, i7 6700K 4GHz CPU, Asus 27" VG278HE 144Hz 3D Monitor, BenQ W1070 3D Projector, 120" Elite Screens YardMaster 2, 32GB Corsair DDR4 3200MHz RAM, Samsung 850 EVO 500G SSD, 4x750GB HDD in RAID5, Gigabyte Z170X-Gaming 7 Motherboard, Corsair Obsidian 750D Airflow Edition Case, Corsair RM850i PSU, HTC Vive, Win 10 64bit

Alienware M17x R4 w/ built in 3D, Intel i7 3740QM, GTX 680m 2GB, 16GB DDR3 1600MHz RAM, Win7 64bit, 1TB SSD, 1TB HDD, 750GB HDD

Pre-release 3D fixes, shadertool.py and other goodies: http://github.com/DarkStarSword/3d-fixes
Support me on Patreon: https://www.patreon.com/DarkStarSword or PayPal: https://www.paypal.me/DarkStarSword

Posted 10/22/2017 02:42 PM   
  108 / 143    
Scroll To Top