Jump to content

DynDOLOD 3.00 Alpha 182


sheson

Recommended Posts

23 minutes ago, Gamma_Metroid said:

Hi sheson,

What exactly are the criteria for an object to be assigned the "objSnowHD" tag in object LOD? I have given it a directional material with "snow" in the name, and ticked the "Uses High-Detail LOD Texture" box, but it comes out with just "objSnow" or "objSnow-LargeRef"

image.thumb.png.bf724c446ff9a45d95ecf43b62f6a39c.pngimage.thumb.png.23eafa8a87f9cb6140113122fcd1d35b.png

For context, I am trying to hijack the HD Snow LOD material for a moss shader, so I can have more than two LOD materials. I have the default object set up so it all works in game if I give it "objSnowHD-LargeRef" manually, I just can't figure out exactly what I need to do to get DynDOLOD to assign the proper string.

Here are my relevant log files, if those help: https://ufile.io/p2c5g4at

HD LOD shaders (or rather the shape name and flag) are typically not applied to shapes that use LOD textures (*lod.dss or object LOD atlas) but full textures only. There is quite a bit more automatic stuff with DynDOLOD

It is possible to force "HD" on what is not seen as HD LOD, but I'll need a practical setup to test/address this. If you have a test plugin with just the necessary records and full/LOD assets etc. that would help. PM me the download details if you do not want to share publicly.

Link to comment
Share on other sites

3 hours ago, sheson said:

The texture(s) shown in the are ones that have just been generated and saved uncompressed by TexGen.

Which texture Texconv currently tries to compress or uncompress may be different.

TexGen is generating stitched object LOD textures from full textures when Texconv seems to stall.

Open ..\DynDOLOD\Edit Scripts\DynDOLOD\TexGen_SSE.INI and add LockTexconv=1 under [TexGen] then test if there is anything different.

If not, set change the compression formats at the bottom of TexGen to BC3 (DXT5) for Diffuse alpha and Normal specular on the left and to BC1 (DXT1) for Diffuse and Normal on the right.

Changing formats to bc3 and bc1 worked! Texgen completed successfully. Then i ran dyndolod, it completed generating object lods, plugins, occlusion etc. but stuck at "Waiting for Texconv to convert 1 textures". I closed dyndolod but it didn't generate dyndolod.esp. So i couldn't test it in the game. Dyndolod debug log: https://ufile.io/xocoyteg

Successfully generated texgen logs.rar

Link to comment
Share on other sites

22 minutes ago, ysrwho said:

Changing formats to bc3 and bc1 worked! Texgen completed successfully. Then i ran dyndolod, it completed generating object lods, plugins, occlusion etc. but stuck at "Waiting for Texconv to convert 1 textures". I closed dyndolod but it didn't generate dyndolod.esp. So i couldn't test it in the game. Dyndolod debug log: https://ufile.io/xocoyteg

Successfully generated texgen logs.rar 397.67 kB · 0 downloads

That means there must be a problem with DirectX (DirectCompute), which Texconv uses for BC7 compressions. BC1/BC3 are done with the CPU.

If you edit ..\DynDOLOD\Edit Scripts\DynDOLOD\DynDOLOD_SSE.ini and change to these values for the object and tree LOD atlas they will be done with the BC1/BC3 compression as well:
ObjectLODDiffuseFormat=200
ObjectLODAlphaDiffuseFormat=202
ObjectLODNormalFormat=200
TreeLODDiffuseFormat=202

See if you can update or repair DirectX or try a clean install of the latest release driver again.

Link to comment
Share on other sites

DynDOLOD keeps hanging when creating texture atlases. The atlas it hangs on is more or less random every time. Usually CPU usage drops to 0% in task manager, but lately it's kept using CPU despite not doing any reading or writing. I've tried it with the latest graphics driver for my card and with a previous version, with and without driver/RGB/peripherals/etc software, with and without the bashed patch, and with and without some mods I've installed recently, but it keeps stopping in the middle of generation. Here is the bugreport.txt and the TexGen and DynDOLOD logs.

Link to comment
Share on other sites

5 hours ago, WizardPie said:

As requested, the logs from using the provided TexGenx64

Logs.7z 223.69 kB · 1 download

Thanks.

Edit ..\DynDOLOD\Edit Scripts\DynDOLOD\TexGen_SSE.INI and add RenderTexturesSingleThread=1 under [TexGen]
Keep the GLListDebug=1 and GLDebug=1 as well.
Clean out the log folder and run again. Upload new log and debug log.

I  would also be interested in the results of a clean install of the latest release driver version and in case there are issues with no logs or bugreport.txt to add RealTimeLog=1 under [TexGen] to the TexGen_SSE.INI and upload that and whatever related entries you can find in the Windows Event log.

Link to comment
Share on other sites

4 hours ago, Enhab said:

DynDOLOD keeps hanging when creating texture atlases. The atlas it hangs on is more or less random every time. Usually CPU usage drops to 0% in task manager, but lately it's kept using CPU despite not doing any reading or writing. I've tried it with the latest graphics driver for my card and with a previous version, with and without driver/RGB/peripherals/etc software, with and without the bashed patch, and with and without some mods I've installed recently, but it keeps stopping in the middle of generation. Here is the bugreport.txt and the TexGen and DynDOLOD logs.

Read the first post which debug logs to also upload.

Check the task manager for background Texconv processes. See if terminating it makes the tool continue with an related error message.

Make a clean install of the latest driver release version only, do not install any of the crapware, clean out the log folder and remove old bugreport.txt and generate again. If problem persists upload new log, debug log and bugreport.txt if it exists.

Link to comment
Share on other sites

2 hours ago, sheson said:

Read the first post which debug logs to also upload.

Check the task manager for background Texconv processes. See if terminating it makes the tool continue with an related error message.

Make a clean install of the latest driver release version only, do not install any of the crapware, clean out the log folder and remove old bugreport.txt and generate again. If problem persists upload new log, debug log and bugreport.txt if it exists.

Latest driver (AMD), no software. Cleaned the log folder, removed the bug report and tried generating again. I checked task manager when it froze, but TexConv wasn't there. Here are the smaller logs and here are the debug logs

Edit: That file sharing service turned it into an exe, which is sus as hell, so here's a Google Drive link.

Edited by Enhab
Link to comment
Share on other sites

1 hour ago, Enhab said:

Latest driver (AMD), no software. Cleaned the log folder, removed the bug report and tried generating again. I checked task manager when it froze, but TexConv wasn't there. Here are the smaller logs and here are the debug logs

Edit: That file sharing service turned it into an exe, which is sus as hell, so here's a Google Drive link.

Edit ..\DynDOLOD\Edit Scripts\DynDOLOD\DynDOLOD_SSE.ini in notepad and add GLListDebug=1 and GLDebug=1 right under [DynDOLOD].
Remove old logs and bugreport.txt and run again. Upload new log, debug log and bugreport.txt if it exists.

Link to comment
Share on other sites

8 hours ago, sheson said:

Edit ..\DynDOLOD\Edit Scripts\DynDOLOD\DynDOLOD_SSE.ini in notepad and add GLListDebug=1 and GLDebug=1 right under [DynDOLOD].
Remove old logs and bugreport.txt and run again. Upload new log, debug log and bugreport.txt if it exists.

Here are the new logs after adding those lines: https://paste.ee/p/kcWwO https://drive.google.com/file/d/1eYxZL_Hqt-RH5m9PWhWMAUmzs5K2HZVY/view?usp=sharing

Link to comment
Share on other sites

1 hour ago, Enhab said:

Remove old bugreport and logs and keep the changed INI settings, then see if there is anything different with this test version https://mega.nz/file/8dgERZDB#KmxMDvHOeToIPrWeE8e0aasvf1AeWJ3u6B2KJ3RRtOk, upload new bugreportr, log and debug log. Since the error only happens in DynDOLOD, no need to rerun or upload logs from TexGen.

Link to comment
Share on other sites

38 minutes ago, sheson said:

Remove old bugreport and logs and keep the changed INI settings, then see if there is anything different with this test version https://mega.nz/file/8dgERZDB#KmxMDvHOeToIPrWeE8e0aasvf1AeWJ3u6B2KJ3RRtOk, upload new bugreportr, log and debug log. Since the error only happens in DynDOLOD, no need to rerun or upload logs from TexGen.

It didn't stop this time, but eventually I got multiple "Please wait a moment" popups and then an error. Here are the logs: https://paste.ee/p/a1WH2 https://drive.google.com/file/d/1TFCATGHn1WSnCXNbzpnf5o9X3bMFypgc/view?usp=sharing

Link to comment
Share on other sites

25 minutes ago, Enhab said:

It didn't stop this time, but eventually I got multiple "Please wait a moment" popups and then an error. Here are the logs: https://paste.ee/p/a1WH2 https://drive.google.com/file/d/1TFCATGHn1WSnCXNbzpnf5o9X3bMFypgc/view?usp=sharing

Add RenderSingle=1 under [DynDOLOD] in the ..\DynDOLOD\Edit Scripts\DynDOLOD\DynDOLOD_SSE.ini, delete old logs etc, run again, upload new logs.

Link to comment
Share on other sites

28 minutes ago, Enhab said:

It didn't stop this time, but eventually I got multiple "Please wait a moment" popups and then an error. Here are the logs: https://paste.ee/p/a1WH2 https://drive.google.com/file/d/1TFCATGHn1WSnCXNbzpnf5o9X3bMFypgc/view?usp=sharing

I ended up restarting my computer and running it again, and it froze again this time. Here are the logs: https://paste.ee/p/WrvJu https://drive.google.com/file/d/1qmpRikdEtieOhYESdT6Bqmdi9eKhT0gw/view?usp=sharing

Edit: Only just now saw your reply. I'll add the line and try again.

Edited by Enhab
Link to comment
Share on other sites

43 minutes ago, sheson said:

Add RenderSingle=1 under [DynDOLOD] in the ..\DynDOLOD\Edit Scripts\DynDOLOD\DynDOLOD_SSE.ini, delete old logs etc, run again, upload new logs.

I added the line and ran it again, and it finished! Here are the logs: https://paste.ee/p/qBLWx https://drive.google.com/file/d/1Eo6VysRNxVT373J1mcNq3Z01jis5e76i/view?usp=sharing

I ran it again just to be sure, and yep, looks like it's working fine now. Thanks for your help!

What was the issue? Just curious.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines, Privacy Policy, and Terms of Use.