Jump to content
  • 0

Error: invalid operation from TwbRender.LoadScene


Question

Posted

Hi! I am currently trying to finalize my SSE mod list by running DynDOLOD and started off with running TexGen. I starts up through MO2 just fine and gets to the point where I can change settings and start the generation. After clicking "Start" it then runs for a minute or two and always runs into the following OpenGL error "Error: Error drawing Object001 T count: 48 OpenGL: invalid operation from TwbRender.LoadScene for Object001." I am also getting errors of missing textures from Freak's Floral Fields but according to that mods author this is expected and can be ignored.

I have tried to do some research and only found the official resources for DynDOLOD and a reddit post from 2022. The reddit post talks about AMD drivers and switching to a specific version of adrenaline. As this was 3 years ago I assume that this should no longer be an issue, especially since I am on the latest stable drivers that are available to me on CachyOS and downgrading isn't really feasible because the drivers seem to be built into the kernel of the OS (fairly new to Linux so feel free to correct me on that).
As for the official resources: I have tried different Proton versions (Experimental and the one that comes with CachyOS) as well as adding the following config values to the TexGen_SSE.INI: 

GLDebug=1
LoadGLCompressed=0

Before adding the config values I got this error: screenshot (Sadly can't "Copy this message to clipboard"), and now after adding them I keep getting this error: screenshot

At first I thought that it may have to do with the fairly sizable list of mods that I am trying to run (including some mods from LL that haven't been updated in a while) but considering that the only errors I am getting (outside of FFFs missing textures) are from OpenGL, I believe it probably has more to do with me running TexGen through Wine/Proton.
I already checked the requirements and have made sure that vcrun2022 and dotnetdesktop6 are installed for the wine prefix and I am able to run other tools like Wrye Bash and SSEEdit via MO2 within Wine just fine. I have also tried to install DXVK to the wine prefix via Protontricks but I am unsure if that changed anything.

I'm fairly new to Linux and modding on Linux so I'm really not sure what else I could be doing wrong. I'm hoping that this is just a minor issue or at best a layer 8 problem of me just being an idiot and forgetting something obvious but either way at this point I am stuck and cannot fix this on my own. As such I'd like to ask if any of you kind people on here happen to know how I could fix my problem and get TexGen and DynDOLOD running properly.

As mentioned in the guidelines: here is an archive with all 3 log files as well as glewinfo and visualinfo, just in case those might be helpful.

10 answers to this question

Recommended Posts

  • 0
Posted
56 minutes ago, TicTox said:

Hi! I am currently trying to finalize my SSE mod list by running DynDOLOD and started off with running TexGen. I starts up through MO2 just fine and gets to the point where I can change settings and start the generation. After clicking "Start" it then runs for a minute or two and always runs into the following OpenGL error "Error: Error drawing Object001 T count: 48 OpenGL: invalid operation from TwbRender.LoadScene for Object001." I am also getting errors of missing textures from Freak's Floral Fields but according to that mods author this is expected and can be ignored.

I have tried to do some research and only found the official resources for DynDOLOD and a reddit post from 2022. The reddit post talks about AMD drivers and switching to a specific version of adrenaline. As this was 3 years ago I assume that this should no longer be an issue, especially since I am on the latest stable drivers that are available to me on CachyOS and downgrading isn't really feasible because the drivers seem to be built into the kernel of the OS (fairly new to Linux so feel free to correct me on that).
As for the official resources: I have tried different Proton versions (Experimental and the one that comes with CachyOS) as well as adding the following config values to the TexGen_SSE.INI: 

GLDebug=1
LoadGLCompressed=0

Before adding the config values I got this error: screenshot (Sadly can't "Copy this message to clipboard"), and now after adding them I keep getting this error: screenshot

At first I thought that it may have to do with the fairly sizable list of mods that I am trying to run (including some mods from LL that haven't been updated in a while) but considering that the only errors I am getting (outside of FFFs missing textures) are from OpenGL, I believe it probably has more to do with me running TexGen through Wine/Proton.
I already checked the requirements and have made sure that vcrun2022 and dotnetdesktop6 are installed for the wine prefix and I am able to run other tools like Wrye Bash and SSEEdit via MO2 within Wine just fine. I have also tried to install DXVK to the wine prefix via Protontricks but I am unsure if that changed anything.

I'm fairly new to Linux and modding on Linux so I'm really not sure what else I could be doing wrong. I'm hoping that this is just a minor issue or at best a layer 8 problem of me just being an idiot and forgetting something obvious but either way at this point I am stuck and cannot fix this on my own. As such I'd like to ask if any of you kind people on here happen to know how I could fix my problem and get TexGen and DynDOLOD running properly.

As mentioned in the guidelines: here is an archive with all 3 log files as well as glewinfo and visualinfo, just in case those might be helpful.

Try with the latest test version (and default INIs) from https://dyndolod.info/Downloads/Test-Versions and report results.

  • 0
Posted

Thanks for getting back to me so quickly!

Did as you asked. It ran a lot faster without the changes made in the INI but I still got the "Please Wait" log generation at around a minute of runtime.
Got a different error to the first and previous one this time: 

"OpenGL: invalid operation from TwbRender.LoadTexture for textures\pbr\landscape\snow01_p.dds while processing textures\pbr\landscape\snow01_p.dds (4) Dawnguard.esm DLC1TreePineForestSnowHeavy01 [TREE:02009670] while processing Z:\mnt\storage\Modding\MO2_SSE\DynDOLOD\TexGen_Output\textures\terrain\lodgen\dawnguard.esm\dlc1treepineshortheavysnow_00009670
Error: OpenGL: invalid operation from TwbRender.LoadTexture for textures\pbr\landscape\snow01_p.dds while processing textures\pbr\landscape\snow01_p.dds (4) Dawnguard.esm DLC1TreePineForestSnowHeavy01 [TREE:02009670] while processing Z:\mnt\storage\Modding\MO2_SSE\DynDOLOD\TexGen_Output\textures\terrain\lodgen\dawnguard.esm\dlc1treepineshortheavysnow_00009670."

Here are the logs
 

  • 0
Posted
3 hours ago, TicTox said:

Thanks for getting back to me so quickly!

Did as you asked. It ran a lot faster without the changes made in the INI but I still got the "Please Wait" log generation at around a minute of runtime.
Got a different error to the first and previous one this time: 

"OpenGL: invalid operation from TwbRender.LoadTexture for textures\pbr\landscape\snow01_p.dds while processing textures\pbr\landscape\snow01_p.dds (4) Dawnguard.esm DLC1TreePineForestSnowHeavy01 [TREE:02009670] while processing Z:\mnt\storage\Modding\MO2_SSE\DynDOLOD\TexGen_Output\textures\terrain\lodgen\dawnguard.esm\dlc1treepineshortheavysnow_00009670
Error: OpenGL: invalid operation from TwbRender.LoadTexture for textures\pbr\landscape\snow01_p.dds while processing textures\pbr\landscape\snow01_p.dds (4) Dawnguard.esm DLC1TreePineForestSnowHeavy01 [TREE:02009670] while processing Z:\mnt\storage\Modding\MO2_SSE\DynDOLOD\TexGen_Output\textures\terrain\lodgen\dawnguard.esm\dlc1treepineshortheavysnow_00009670."

Here are the logs
 

Upload the winning (MO2 right window, Data tab) texture textures\pbr\landscape\snow01_p.dds

  • 0
Posted
10 hours ago, TicTox said:

Done. I have also rerun TexGen out of curiosity and have gotten the same type of error but for another texture: rocks01_p.dds. They are both from the same mod, Vanaheimr - Landscapes, specifically the PBR version.

I have bundled them both and uploaded them here.

Download new test version. Add GLDebug=1 to TexGen ini again. Then run it and upload new logs.
Keep the textures in the load order. They are not supposed to cause such issues.

  • 0
Posted (edited)

Turning GLDebug back on after downloading the latest test version gives me the prior error about palmtree2:9 again. 

Uploaded logs here.

Edit: It's not the error I got when I first made this post but I am certain that I've seen this error before.

Edited by TicTox
  • 0
Posted
38 minutes ago, TicTox said:

Turning GLDebug back on after downloading the latest test version gives me the prior error about palmtree2:9 again. 

Uploaded logs here.

Edit: It's not the error I got when I first made this post but I am certain that I've seen this error before.

Upload the winning model (MO2 right window, Data tab) ../meshes/_sd_/moonshadow/treewillow03Snow.nif

Check what happens if you Preview it for Tree or HD Tree in TexGen. it should be sorted with [TREE:B01EFEAD].

  • 0
Posted (edited)
17 minutes ago, sheson said:

Upload the winning model (MO2 right window, Data tab) ../meshes/_sd_/moonshadow/treewillow03Snow.nif

Check what happens if you Preview it for Tree or HD Tree in TexGen. it should be sorted with [TREE:B01EFEAD].

Uploaded the model here.

I tried previewing it for Tree and upon selecting it from the drop down it started the log generation and then threw another palmtree2:9 error.
Got the logs for that as well and uploaded them here.

Edited by TicTox
  • 0
Posted
54 minutes ago, TicTox said:

Uploaded the model here.

I tried previewing it for Tree and upon selecting it from the drop down it started the log generation and then threw another palmtree2:9 error.
Got the logs for that as well and uploaded them here.

Download these shaders https://mega.nz/file/tdYCjKpJ#SxhmH9iQ-5bi7b6MNDSanhGNg9JXRbN_U75SXQ0WuHw and replace the files in Z:\mnt\storage\Modding\MO2_SSE\DynDOLOD\Edit Scripts\DynDOLOD\shaders\
Report if there is anything different or not.

If issue persssts, upload winning textures textures\_sd_\moonshadow\ewillow03snow.dds and ewillow03snow_n.dds

  • 0
Posted (edited)
22 minutes ago, sheson said:

Download these shaders https://mega.nz/file/tdYCjKpJ#SxhmH9iQ-5bi7b6MNDSanhGNg9JXRbN_U75SXQ0WuHw and replace the files in Z:\mnt\storage\Modding\MO2_SSE\DynDOLOD\Edit Scripts\DynDOLOD\shaders\
Report if there is anything different or not.

If issue persssts, upload winning textures textures\_sd_\moonshadow\ewillow03snow.dds and ewillow03snow_n.dds

Replaced the shaders with the ones you uploaded. I tried both preview and a regular run of TexGen and get an Object001 error similar to the one from my initial post when running it but still get the palmtree2:9 error when previewing for Tree.
I uploaded logs for both the preview and the run just in case they might help.

And here are the requested textures.

 

Thank you so much btw for putting so much effort into this. I hope I'm not wasting time that you'd otherwise be spending on more productive things.

Edited by TicTox

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.