Jump to content

Question

Posted

Hello, I have been having an annoying issue running Dyndolod 3 on my Proton setup related to texconv. While running Dyndolod after successfully generating xlodgen and texgen, I am unable to proceed with generating Dyndolod, as I eventually get a message saying "Could not execute "Z:\home\dillon\Games\DynDOLOD\Edit Scripts\Texconvx64.exe" -nologo -gpu 0 -y -m 1 -aw 256 -f R8G8B8A8_UNORM -o "C:\users\steamuser\Temp\DynDOLOD_SSE" "C:\users\steamuser\Temp\DynDOLOD_SSE\379794EC272A4EF98BAF93F0B0726085.dds". Then I get a pop-up about Call to an OS Function Failed. No .esp is mentioned.

Since I am on Linux, I don't have UAC or AV on my computer, and after changing permissions of some of the folders, specifically my game folder, mods folder, and the Dyndolod folder I have been able to run it once or twice. However, after changing a texture mod, I have been completely unable to get around this Texconv issue. I believe that Texconv should be running, since I can see it in the task manager and I can see some .dds files being converted. I also was able to run texgen and xlodgen with no issue. In fact I have run Dyndolod successfully earlier today! I have tried placing Dyndolod folder in both my Z: drive (the native Linux system) and my C: drive (the emulated Windows drive), and both run into the same error. I also reinstalled and repaired dotnet and C++, and I was able to run texconv (the official one from Github) with the below output. I also was able to convert images into .dds from the command line. However I could not replicate this with the one downloaded alongside Dyndolod. Is this expected behavior?

I am currently unable to test on Windows since my install is all messed up, but I am just looking to see if there is anything I have missed in troubleshooting. Any advice would be greatly appreciated.
 

Bug Report: https://pastebin.com/B3Te9XG4

SSE Log: https://paste.ee/p/Hhg78

Texconv Test: https://paste.ee/p/6vtVc

Recommended Posts

  • 0
Posted
  On 12/18/2024 at 6:59 PM, kontotnok said:

Got a successful full run! I generated Objects, Trees and Terrain LOD!!

Here's the logs: https://filebin.net/6crrb0appzm9987d

If you want me to keep testing stuff I'll gladly do so!

Expand  

If you like, redo the test with the released xLODGen beta 129.

In particular it would be interesting to know if LODGenx64.exe compiled for .Net Framework 4.8 is still having issue unlike the .NET 6 version.

  • 0
Posted

I myself have been carrying out a fair amount of testing around the "A call to an OS function failed" error so I figured I would share my findings.

Firstly, this is specifically an issue with Texconv and as such it also effects other software that uses Texconv such as Wabbajack.

Secondly, this error only occurs on versions of wine with the staging patches applied to it (i.e. wine-staging, proton etc.). The basic version of wine without the staging patches can be used to run both Texconv and Dyndolod without issue (at least as of wine version 9.22).

Thirdly, it seems like this error may only occur on specific distributions of Linux but I haven't done enough testing to confirm this.

Fourthly, this error occurs at random. I tried running Texconv on the same texture file over 200,000 times using a bash script and found that, with a probability of around 1 in 4000, Texconv would fail and would not produce any output. When Texconv failed, the following attempt to run Texconv always succeeded so I suppose one failure doesn't affect the odds of another failure occurring.

  • 0
Posted
  On 1/22/2025 at 4:25 PM, CornyTrace said:

Hi, I have the same problem and would like to test this version as well, unfortunately the link is no longer available. Could you please reupload it?

Expand  

That test version does not exist anymore since it is older than the latest release version which includes the changes.

  • 0
Posted
  On 1/22/2025 at 5:36 PM, sheson said:

That test version does not exist anymore since it is older than the latest release version which includes the changes.

Expand  

It says on nexusmods that dyndolod 3 182 was uploaded on 11 oct 2024, while your test version post was made on 18 dec 2024, I have also not experienced texgen being retried if it failed with dyndolod 3 182.

  • 0
Posted
  On 1/23/2025 at 3:55 PM, CornyTrace said:

It says on nexusmods that dyndolod 3 182 was uploaded on 11 oct 2024, while your test version post was made on 18 dec 2024, I have also not experienced texgen being retried if it failed with dyndolod 3 182.

Expand  

The post you linked, the test version and all discussion between kontotnok and me are about xLODGen and generating LOD for FNV.

For a test version of TexGen, see https://stepmodifications.org/forum/topic/20153-error-opengl-framebuffer-objects-unsupported/page/2/#findComment-282545

However, pay attention to newer and folder posts. The "OS" having issues can have plenty of reasons. The reason for the "OS" having issues should be fixed at source if possible.

  • 0
Posted

I have created  a guide mainly for myself but also for having a documentation how to setup DynDOLOD in a stable Proton environment.
This is a guide for people with a good understanding on how to setup tools with Proton and Mod Organizer (for more details look for YT Videos and Beginner Guides).

The guide also shares my experiences with that setup. I run into two types Texconv errors regulary, but all these looked random.
With a lot of patience I was able to get a complete Dyndolod Output generated, but only using single parts and keeping the generated files.

The only issue with splitting up is that the generated Dyndolod / Occlusion plugins are probably incomplete (comparing the size of the plugins, I have not checked in SSEEdit).

Issues:
1. In the first phase I see "Errors" but mainly on Tree ressources (both DynDOLOD and from mods). I'm not 100% sure, but it looks like no duplication appeared, so it feels "random".
   I was able to recover after 1-6 retries. Afterwards DynDOLOD goes into second phase of actual LOD generation.
2. In the second phase I rarely had "Errors". These were always fatal and I had these usually around 20-30min (40min max, I never was able to fully complete it).

Apart from the question why in comparison to time estimations around 15min on Windows for me DynDOLOD run much slower (around > 1h) I had always issues with Texconv if I understand the logs correctly. I have not exactly tracked which textures failed, but I had the same effect that on a second or third run a single generation was finishing.

 

  Reveal hidden contents

These logs are from my latest run with all parts enabled. The "Error" in this case was on a tree texture, but it was a different one than on the previous run.
https://filebin.net/qckm9psnivewi6r0

  • 0
Posted

I try to create dynamic LODs for Skyrim SE with DynDOLOD 3 Alpha 182 but I have random Errors with Texconv during generation.
Many of them are related to tree textures (from different mods). I have checked the textures but could not find any errors in them.

For example:

[01:26] <Error: Could not execute "D:\Modding\tools\DynDOLOD\Edit Scripts\Texconvx64.exe" -nologo -gpu 0 -y -m 1 -aw 256 -f R8G8B8A8_UNORM -srgb -o "C:\users\steamuser\Temp\DynDOLOD_SSE" "C:\users\steamuser\Temp\DynDOLOD_SSE\13E47B1E29F449EEAFAE3EA90369C1C3.dds">
[01:47] A call to an OS function failed while processing HappyLittleTrees.esp TreePineForestSnowL03Dead [TREE:000EF59E]
A call to an OS function failed while processing HappyLittleTrees.esp TreePineForestSnowL03Dead [TREE:000EF59E]
Error: A call to an OS function failed while processing HappyLittleTrees.esp TreePineForestSnowL03Dead [TREE:000EF59E]

I could recover from such errors via restart (and they do not reappear in the next run).
Later I got a kind of fatal error:

[21:58] [DLC2SolstheimWorld] Creating texture atlas D:\Modding\tools\DynDOLOD\DynDOLOD_Output\textures\DynDOLOD\LOD\DynDOLOD_DLC2SolstheimWorld.dds 8192 x 4096
[22:00] [DLC2SolstheimWorld] Creating texture atlas D:\Modding\tools\DynDOLOD\DynDOLOD_Output\textures\DynDOLOD\LOD\DynDOLOD_DLC2SolstheimWorld_Glow.dds 256 x 256
[22:55] <Error: Could not execute "D:\Modding\tools\DynDOLOD\Edit Scripts\Texconvx64.exe" -nologo -gpu 0 -y -m 1 -aw 256 -f R8G8B8A8_UNORM -srgb -o "C:\users\steamuser\Temp\DynDOLOD_SSE" "C:\users\steamuser\Temp\DynDOLOD_SSE\A6E3CDAB725A4765B65DCD2AC71CB4E5.dds">
[24:24] Error: A call to an OS function failed while processing textures\terrain\lodgen\dragonborn.esm\treepineforestash02_00017f73_2.dds.
[24:42] User says "Exit DynDOLOD"


I was not able to finish a complete Dyndolod run with all plugins enabled, but all of them finish when I select a single plugin after the other (like Tamriel or Sovngarde).

I have attached a link to the log and ini files on filebin. (The logs from second error I named to bugreport2 etc.)
https://filebin.net/qckm9psnivewi6r0

advanced_settings.png

System Information: Proton 9 Stable / Ubuntu 24.04, Ryzen 5600G, 32 GB RAM, 32 GB Swap, RX 470 8 GB, > 90 GB free space, MO2 2.5.2.

  • 0
Posted
  On 1/26/2025 at 9:58 AM, ssuamier1 said:

I try to create dynamic LODs for Skyrim SE with DynDOLOD 3 Alpha 182 but I have random Errors with Texconv during generation.
Many of them are related to tree textures (from different mods). I have checked the textures but could not find any errors in them.

For example:

[01:26] <Error: Could not execute "D:\Modding\tools\DynDOLOD\Edit Scripts\Texconvx64.exe" -nologo -gpu 0 -y -m 1 -aw 256 -f R8G8B8A8_UNORM -srgb -o "C:\users\steamuser\Temp\DynDOLOD_SSE" "C:\users\steamuser\Temp\DynDOLOD_SSE\13E47B1E29F449EEAFAE3EA90369C1C3.dds">
[01:47] A call to an OS function failed while processing HappyLittleTrees.esp TreePineForestSnowL03Dead [TREE:000EF59E]
A call to an OS function failed while processing HappyLittleTrees.esp TreePineForestSnowL03Dead [TREE:000EF59E]
Error: A call to an OS function failed while processing HappyLittleTrees.esp TreePineForestSnowL03Dead [TREE:000EF59E]

I could recover from such errors via restart (and they do not reappear in the next run).
Later I got a kind of fatal error:

[21:58] [DLC2SolstheimWorld] Creating texture atlas D:\Modding\tools\DynDOLOD\DynDOLOD_Output\textures\DynDOLOD\LOD\DynDOLOD_DLC2SolstheimWorld.dds 8192 x 4096
[22:00] [DLC2SolstheimWorld] Creating texture atlas D:\Modding\tools\DynDOLOD\DynDOLOD_Output\textures\DynDOLOD\LOD\DynDOLOD_DLC2SolstheimWorld_Glow.dds 256 x 256
[22:55] <Error: Could not execute "D:\Modding\tools\DynDOLOD\Edit Scripts\Texconvx64.exe" -nologo -gpu 0 -y -m 1 -aw 256 -f R8G8B8A8_UNORM -srgb -o "C:\users\steamuser\Temp\DynDOLOD_SSE" "C:\users\steamuser\Temp\DynDOLOD_SSE\A6E3CDAB725A4765B65DCD2AC71CB4E5.dds">
[24:24] Error: A call to an OS function failed while processing textures\terrain\lodgen\dragonborn.esm\treepineforestash02_00017f73_2.dds.
[24:42] User says "Exit DynDOLOD"


I was not able to finish a complete Dyndolod run with all plugins enabled, but all of them finish when I select a single plugin after the other (like Tamriel or Sovngarde).

I have attached a link to the log and ini files on filebin. (The logs from second error I named to bugreport2 etc.)
https://filebin.net/qckm9psnivewi6r0

System Information: Proton 9 Stable / Ubuntu 24.04, Ryzen 5600G, 32 GB RAM, 32 GB Swap, RX 470 8 GB, > 90 GB free space, MO2 2.5.2.

Expand  

This seems to be a duplicate post. See https://stepmodifications.org/forum/topic/19354-linuxproton-a-call-to-an-os-function-failed/page/4/#findComment-284145

https://dyndolod.info/Official-DynDOLOD-Support-Forum#Copy-and-Paste-Text
Do not post screenshots of the tools, unless it is about visual issues with the user interface. If necessary, convey the information in text form. The debug log as explained below typically contains most of the selected settings and options already.

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.