Jump to content

Model viewer crashes


Arrow206

Recommended Posts

Thanks. Here's your crashlog. The crash seems to be caused by a shader recompiling.

Are you messing with shaders in some way or another?

 


2020-12-30 19:12:27.312 ERROR   DX11BACKEND: Can't find precompiled shader model/glass_material.fx:BLEND_MODE=2;DIFFUSE_UV=tc0;DIRECTX11=true;NORMAL_SIZE=3;SPECULAR_COLOR_UV=tc0;SPECULAR_UV=tc0;TEXCOORD0_SIZE=2;USE_DCS_DEFERRED=1;.
2020-12-30 19:12:27.312 INFO    DX11BACKEND: Compile shader: model/glass_material.fx:BLEND_MODE=2;DIFFUSE_UV=tc0;DIRECTX11=true;NORMAL_SIZE=3;SPECULAR_COLOR_UV=tc0;SPECULAR_UV=tc0;TEXCOORD0_SIZE=2;USE_DCS_DEFERRED=1;
2020-12-30 19:12:33.225 ALERT   DX11BACKEND: Error: Can't find precompiled shader for effect model/glass_material.fx:BLEND_MODE=2;DIFFUSE_UV=tc0;DIRECTX11=true;NORMAL_SIZE=3;SPECULAR_COLOR_UV=tc0;SPECULAR_UV=tc0;TEXCOORD0_SIZE=2;USE_DCS_DEFERRED=1;.
Recompilation process will take some time, please wait
(this situation should not occur on end user PC, if there is no manual shader editing)
2020-12-30 19:12:33.264 INFO    EDCORE: try to write dump information
2020-12-30 19:12:33.266 INFO    EDCORE: # -------------- 20201230-191233 --------------
2020-12-30 19:12:33.267 INFO    EDCORE: DCS/2.5.6.59625 (x86_64; Windows NT 10.0.19041)
2020-12-30 19:12:33.268 INFO    EDCORE: E:\SteamLibrary\steamapps\common\DCSWorld\bin\animator.dll
2020-12-30 19:12:33.269 INFO    EDCORE: # C0000005 ACCESS_VIOLATION at 9C02C24D 00:00000000
2020-12-30 19:12:33.272 INFO    EDCORE: SymInit: Symbol-SearchPath: '.;E:\SteamLibrary\steamapps\common\DCSWorld;E:\SteamLibrary\steamapps\common\DCSWorld\bin;C:\WINDOWS;C:\WINDOWS\system32;SRV*C:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'Paul'
2020-12-30 19:12:33.273 INFO    EDCORE: OS-Version: 6.2.9200 () 0x300-0x1
2020-12-30 19:12:34.376 INFO    EDCORE: 0x000000000002C24D (animator): Animator::AnimationManager::draw_inspector + 0x37D
2020-12-30 19:12:34.376 INFO    EDCORE: 0x000000000005E366 (ModelViewer2): model::MemBinaryFileW::getStrings + 0x133C6
2020-12-30 19:12:34.376 INFO    EDCORE: 0x000000000003AAA2 (ModelViewer2): model::ArgAnimationNode::getPositionAnimations + 0x17022
2020-12-30 19:12:34.377 INFO    EDCORE: 0x0000000000011E2F (ModelViewer2): (function-name not available) + 0x0
2020-12-30 19:12:34.377 INFO    EDCORE: 0x000000000000FD42 (ModelViewer2): (function-name not available) + 0x0
2020-12-30 19:12:34.377 INFO    EDCORE: 0x000000000003CF55 (ModelViewer2): model::ArgAnimationNode::getPositionAnimations + 0x194D5
2020-12-30 19:12:34.378 INFO    EDCORE: 0x00000000001ED97D (Qt5Core): QMetaObject::activate + 0x59D
2020-12-30 19:12:34.378 INFO    EDCORE: 0x00000000001FA4CD (Qt5Core): QTimer::timerEvent + 0x5D
2020-12-30 19:12:34.378 INFO    EDCORE: 0x00000000001F35D1 (Qt5Core): QObject::event + 0x91
2020-12-30 19:12:34.378 INFO    EDCORE: 0x00000000000190BD (Qt5Widgets): QApplicationPrivate::notify_helper + 0x13D
2020-12-30 19:12:34.378 INFO    EDCORE: 0x0000000000017F97 (Qt5Widgets): QApplication::notify + 0x1BA7
2020-12-30 19:12:34.378 INFO    EDCORE: 0x00000000001CCE09 (Qt5Core): QCoreApplication::notifyInternal2 + 0xB9
2020-12-30 19:12:34.379 INFO    EDCORE: 0x000000000021804C (Qt5Core): QEventDispatcherWin32Private::sendTimerEvent + 0xFC
2020-12-30 19:12:34.379 INFO    EDCORE: 0x0000000000216068 (Qt5Core): QEventDispatcherWin32::event + 0x168
2020-12-30 19:12:34.379 INFO    EDCORE: 0x00000000000190BD (Qt5Widgets): QApplicationPrivate::notify_helper + 0x13D
2020-12-30 19:12:34.379 INFO    EDCORE: 0x0000000000017F97 (Qt5Widgets): QApplication::notify + 0x1BA7
2020-12-30 19:12:34.379 INFO    EDCORE: 0x00000000001CCE09 (Qt5Core): QCoreApplication::notifyInternal2 + 0xB9
2020-12-30 19:12:34.379 INFO    EDCORE: 0x00000000001CEB38 (Qt5Core): QCoreApplicationPrivate::sendPostedEvents + 0x228
2020-12-30 19:12:34.380 INFO    EDCORE: 0x000000000005E2CF (qwindows): qt_plugin_query_metadata + 0x1EBF
2020-12-30 19:12:34.380 INFO    EDCORE: 0x0000000000217265 (Qt5Core): QEventDispatcherWin32::processEvents + 0xDE5
2020-12-30 19:12:34.380 INFO    EDCORE: 0x000000000000E858 (USER32): CallWindowProcW + 0x3F8
2020-12-30 19:12:34.380 INFO    EDCORE: 0x000000000000E299 (USER32): DispatchMessageW + 0x259
2020-12-30 19:12:34.380 INFO    EDCORE: 0x0000000000216A5D (Qt5Core): QEventDispatcherWin32::processEvents + 0x5DD
2020-12-30 19:12:34.380 INFO    EDCORE: 0x000000000005E2A9 (qwindows): qt_plugin_query_metadata + 0x1E99
2020-12-30 19:12:34.381 INFO    EDCORE: 0x00000000001C931B (Qt5Core): QEventLoop::exec + 0x1EB
2020-12-30 19:12:34.381 INFO    EDCORE: 0x00000000001CBD4E (Qt5Core): QCoreApplication::exec + 0x15E
2020-12-30 19:12:34.381 INFO    EDCORE: 0x000000000003E9AE (ModelViewer2): model::ArgAnimationNode::getPositionAnimations + 0x1AF2E
2020-12-30 19:12:34.381 INFO    EDCORE: 0x00000000000D7E87 (ModelViewer2): model::FakeSpotLight::save + 0x4C37
2020-12-30 19:12:34.381 INFO    EDCORE: 0x00000000000D71C2 (ModelViewer2): model::FakeSpotLight::save + 0x3F72
2020-12-30 19:12:34.381 INFO    EDCORE: 0x0000000000017034 (KERNEL32): BaseThreadInitThunk + 0x14
2020-12-30 19:12:34.382 INFO    EDCORE: 0x000000000004D0D1 (ntdll): RtlUserThreadStart + 0x21
2020-12-30 19:12:34.567 INFO    EDCORE: Minidump created.

 

Don't accept indie game testing requests from friends in Discord. Ever.

Link to comment
Share on other sites

9 hours ago, Flappie said:

Thanks. Here's your crashlog. The crash seems to be caused by a shader recompiling.

Are you messing with shaders in some way or another?

 



2020-12-30 19:12:27.312 ERROR   DX11BACKEND: Can't find precompiled shader model/glass_material.fx:BLEND_MODE=2;DIFFUSE_UV=tc0;DIRECTX11=true;NORMAL_SIZE=3;SPECULAR_COLOR_UV=tc0;SPECULAR_UV=tc0;TEXCOORD0_SIZE=2;USE_DCS_DEFERRED=1;.
2020-12-30 19:12:27.312 INFO    DX11BACKEND: Compile shader: model/glass_material.fx:BLEND_MODE=2;DIFFUSE_UV=tc0;DIRECTX11=true;NORMAL_SIZE=3;SPECULAR_COLOR_UV=tc0;SPECULAR_UV=tc0;TEXCOORD0_SIZE=2;USE_DCS_DEFERRED=1;
2020-12-30 19:12:33.225 ALERT   DX11BACKEND: Error: Can't find precompiled shader for effect model/glass_material.fx:BLEND_MODE=2;DIFFUSE_UV=tc0;DIRECTX11=true;NORMAL_SIZE=3;SPECULAR_COLOR_UV=tc0;SPECULAR_UV=tc0;TEXCOORD0_SIZE=2;USE_DCS_DEFERRED=1;.
Recompilation process will take some time, please wait
(this situation should not occur on end user PC, if there is no manual shader editing)
2020-12-30 19:12:33.264 INFO    EDCORE: try to write dump information
2020-12-30 19:12:33.266 INFO    EDCORE: # -------------- 20201230-191233 --------------
2020-12-30 19:12:33.267 INFO    EDCORE: DCS/2.5.6.59625 (x86_64; Windows NT 10.0.19041)
2020-12-30 19:12:33.268 INFO    EDCORE: E:\SteamLibrary\steamapps\common\DCSWorld\bin\animator.dll
2020-12-30 19:12:33.269 INFO    EDCORE: # C0000005 ACCESS_VIOLATION at 9C02C24D 00:00000000
2020-12-30 19:12:33.272 INFO    EDCORE: SymInit: Symbol-SearchPath: '.;E:\SteamLibrary\steamapps\common\DCSWorld;E:\SteamLibrary\steamapps\common\DCSWorld\bin;C:\WINDOWS;C:\WINDOWS\system32;SRV*C:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'Paul'
2020-12-30 19:12:33.273 INFO    EDCORE: OS-Version: 6.2.9200 () 0x300-0x1
2020-12-30 19:12:34.376 INFO    EDCORE: 0x000000000002C24D (animator): Animator::AnimationManager::draw_inspector + 0x37D
2020-12-30 19:12:34.376 INFO    EDCORE: 0x000000000005E366 (ModelViewer2): model::MemBinaryFileW::getStrings + 0x133C6
2020-12-30 19:12:34.376 INFO    EDCORE: 0x000000000003AAA2 (ModelViewer2): model::ArgAnimationNode::getPositionAnimations + 0x17022
2020-12-30 19:12:34.377 INFO    EDCORE: 0x0000000000011E2F (ModelViewer2): (function-name not available) + 0x0
2020-12-30 19:12:34.377 INFO    EDCORE: 0x000000000000FD42 (ModelViewer2): (function-name not available) + 0x0
2020-12-30 19:12:34.377 INFO    EDCORE: 0x000000000003CF55 (ModelViewer2): model::ArgAnimationNode::getPositionAnimations + 0x194D5
2020-12-30 19:12:34.378 INFO    EDCORE: 0x00000000001ED97D (Qt5Core): QMetaObject::activate + 0x59D
2020-12-30 19:12:34.378 INFO    EDCORE: 0x00000000001FA4CD (Qt5Core): QTimer::timerEvent + 0x5D
2020-12-30 19:12:34.378 INFO    EDCORE: 0x00000000001F35D1 (Qt5Core): QObject::event + 0x91
2020-12-30 19:12:34.378 INFO    EDCORE: 0x00000000000190BD (Qt5Widgets): QApplicationPrivate::notify_helper + 0x13D
2020-12-30 19:12:34.378 INFO    EDCORE: 0x0000000000017F97 (Qt5Widgets): QApplication::notify + 0x1BA7
2020-12-30 19:12:34.378 INFO    EDCORE: 0x00000000001CCE09 (Qt5Core): QCoreApplication::notifyInternal2 + 0xB9
2020-12-30 19:12:34.379 INFO    EDCORE: 0x000000000021804C (Qt5Core): QEventDispatcherWin32Private::sendTimerEvent + 0xFC
2020-12-30 19:12:34.379 INFO    EDCORE: 0x0000000000216068 (Qt5Core): QEventDispatcherWin32::event + 0x168
2020-12-30 19:12:34.379 INFO    EDCORE: 0x00000000000190BD (Qt5Widgets): QApplicationPrivate::notify_helper + 0x13D
2020-12-30 19:12:34.379 INFO    EDCORE: 0x0000000000017F97 (Qt5Widgets): QApplication::notify + 0x1BA7
2020-12-30 19:12:34.379 INFO    EDCORE: 0x00000000001CCE09 (Qt5Core): QCoreApplication::notifyInternal2 + 0xB9
2020-12-30 19:12:34.379 INFO    EDCORE: 0x00000000001CEB38 (Qt5Core): QCoreApplicationPrivate::sendPostedEvents + 0x228
2020-12-30 19:12:34.380 INFO    EDCORE: 0x000000000005E2CF (qwindows): qt_plugin_query_metadata + 0x1EBF
2020-12-30 19:12:34.380 INFO    EDCORE: 0x0000000000217265 (Qt5Core): QEventDispatcherWin32::processEvents + 0xDE5
2020-12-30 19:12:34.380 INFO    EDCORE: 0x000000000000E858 (USER32): CallWindowProcW + 0x3F8
2020-12-30 19:12:34.380 INFO    EDCORE: 0x000000000000E299 (USER32): DispatchMessageW + 0x259
2020-12-30 19:12:34.380 INFO    EDCORE: 0x0000000000216A5D (Qt5Core): QEventDispatcherWin32::processEvents + 0x5DD
2020-12-30 19:12:34.380 INFO    EDCORE: 0x000000000005E2A9 (qwindows): qt_plugin_query_metadata + 0x1E99
2020-12-30 19:12:34.381 INFO    EDCORE: 0x00000000001C931B (Qt5Core): QEventLoop::exec + 0x1EB
2020-12-30 19:12:34.381 INFO    EDCORE: 0x00000000001CBD4E (Qt5Core): QCoreApplication::exec + 0x15E
2020-12-30 19:12:34.381 INFO    EDCORE: 0x000000000003E9AE (ModelViewer2): model::ArgAnimationNode::getPositionAnimations + 0x1AF2E
2020-12-30 19:12:34.381 INFO    EDCORE: 0x00000000000D7E87 (ModelViewer2): model::FakeSpotLight::save + 0x4C37
2020-12-30 19:12:34.381 INFO    EDCORE: 0x00000000000D71C2 (ModelViewer2): model::FakeSpotLight::save + 0x3F72
2020-12-30 19:12:34.381 INFO    EDCORE: 0x0000000000017034 (KERNEL32): BaseThreadInitThunk + 0x14
2020-12-30 19:12:34.382 INFO    EDCORE: 0x000000000004D0D1 (ntdll): RtlUserThreadStart + 0x21
2020-12-30 19:12:34.567 INFO    EDCORE: Minidump created.

 

 

Link to comment
Share on other sites

Thanks but,

I am not doing anything with shaders. I don't even know what a precompiled shaded is.

I have made an aircraft model of my own with its own materials and textures and it renders in game with no problem.  It also rendered correctly in model viewer before.  The problem occurs no matter what .edm model from the game I try to look at. 

Any other log file you would like to look at?

 

Link to comment
Share on other sites

After a bit of sleep, I see that I may have been mistaken: the crash comes from "bin\animator.dll" and the crahslog mentions animation functions several times.

 

Here are two resolved issues about the same dll:

 

Solution 1 - reinstalled the whole game (better try cleanup and repair first)

Solution 2 - removed some animation files and launched a repair

 

Are you using any mods, apart from our own? (F-4E, Charles de Gaulle carrier...)

 

Try cleaning up our mods if you have some, then run the cleanup and repair procedure.


Edited by Flappie

Don't accept indie game testing requests from friends in Discord. Ever.

Link to comment
Share on other sites

I am not using any mods other than one of my own which is not the problem, as I mentioned previously.

After reading Flappie's suggestions above I decided to try modelviewer 2 in my ED beta version of DCS World on another drive and it worked ok.

I am actually using the Steam version of DCS and have never bothered to change over because of the modules I have purchased through Steam.

Rather than delete and reload from Steam,  I simply made a desktop shortcut to modelviewer 2 in the ED beta version and use that instead.

It works fine in spite of being on a different drive. One of these days I will switch over completely.

Link to comment
Share on other sites

  • 2 months later...

I've had the same issue but with the openbeta version of DCS. Model viewer opens and works until I try to load a model or open preferences. It then crashes and closes. I've removed mods, cleaned and repaired, deleted folders and saved game directory. Nothing works. Run out of ideas. Log file attached.

 

 

Update:

Reinstalled from scratch with same result. Anyone? (Updated log file attached)

 

 

model_viewer2.log


Edited by Griffon345
Update
Link to comment
Share on other sites

  • 3 weeks later...

I'm still having a similar issue with the Model Viewer.... I can get it to open fine and load an EDM model file.  When I click on the Tools/Livery Tool, I can get the pop up that is asking for what livery to load.  It will work ONCE.  Once it loads the textures, I cannot get the Livery Tool to open again.  I have to exit out of the Model Viewer all together and delete the Saved Games/edModelViewer2 folder, then relaunch the Model Viewer again.....

It is quite the pain in the ass and has been going on for quite some time.  I used to be able to use the Model viewer just fine prior to this.

Link to comment
Share on other sites

  • 3 weeks later...
  • 11 months later...

Okay I'm having this issue and having the same error message with Modelviewer 2. I'm not messing with shaders at all and can upload the log file as well (I don't know where to find it). Version is a fresh install. It gives the same log error as the same above, but again not messing with shaders. It works fine until I go to view a model, but otherwise works okay more or less.

LOMAC Section| | Gaming Resume (PDF) | Gallery | Flanker2.51 Storage Site |

Also known as Flanker562 back in the day...

Steam ID EricJ562 | DCS: A-10A/C Pilot | DCS: Su-25T Pilot | Texture Artist

"...parade ground soldiers always felt that way (contempt) about killers in uniform." -Counting The Cost, Hammer's Slammers

Link to comment
Share on other sites

Thanks, found it, here's my log then:

model_viewer2.log

LOMAC Section| | Gaming Resume (PDF) | Gallery | Flanker2.51 Storage Site |

Also known as Flanker562 back in the day...

Steam ID EricJ562 | DCS: A-10A/C Pilot | DCS: Su-25T Pilot | Texture Artist

"...parade ground soldiers always felt that way (contempt) about killers in uniform." -Counting The Cost, Hammer's Slammers

Link to comment
Share on other sites

Thanks. The crash is not apparent at the end of the log. However, there's something strange: the model viewer exe doesn't seem able to identify your graphics driver:

2022-04-08 01:51:36.554 INFO    DX11BACKEND: NVIDIA API init OK
2022-04-08 01:51:36.555 INFO    DX11BACKEND: AtiAPI_Initialize Error
2022-04-08 01:51:36.555 INFO    DX11BACKEND: GPU count:1

Here what mine says (yes, I'm using an old graphics driver - "it if works, don't break it"):

2021-03-15 08:48:36.916 INFO    DX11BACKEND: NVIDIA API init OK
2021-03-15 08:48:36.916 INFO    DX11BACKEND: NVIDIA Display Driver Version 45671.r456_61
2021-03-15 08:48:36.916 INFO    DX11BACKEND: GPU count:1

Does your game log does the same? ("Saved Games/Logs/dcs.log")

Don't accept indie game testing requests from friends in Discord. Ever.

Link to comment
Share on other sites

I'll upload it and see what is happening. I don't know why it's not recognizing the card. I'll upload the log here and maybe something will work out:

On 4/8/2022 at 11:50 AM, Flappie said:

Thanks. The crash is not apparent at the end of the log. However, there's something strange: the model viewer exe doesn't seem able to identify your graphics driver:

2022-04-08 01:51:36.554 INFO    DX11BACKEND: NVIDIA API init OK
2022-04-08 01:51:36.555 INFO    DX11BACKEND: AtiAPI_Initialize Error
2022-04-08 01:51:36.555 INFO    DX11BACKEND: GPU count:1

Here what mine says (yes, I'm using an old graphics driver - "it if works, don't break it"):

2021-03-15 08:48:36.916 INFO    DX11BACKEND: NVIDIA API init OK
2021-03-15 08:48:36.916 INFO    DX11BACKEND: NVIDIA Display Driver Version 45671.r456_61
2021-03-15 08:48:36.916 INFO    DX11BACKEND: GPU count:1

Does your game log does the same? ("Saved Games/Logs/dcs.log")

It also should be noted that I'm using the Steam version. Some time ago I downloaded the OpenBeta from the DCS website and have had the same issue if that helps any. Everything else works as it should, just ModelViewer being picky.

dcs.log


Edited by EricJ

LOMAC Section| | Gaming Resume (PDF) | Gallery | Flanker2.51 Storage Site |

Also known as Flanker562 back in the day...

Steam ID EricJ562 | DCS: A-10A/C Pilot | DCS: Su-25T Pilot | Texture Artist

"...parade ground soldiers always felt that way (contempt) about killers in uniform." -Counting The Cost, Hammer's Slammers

Link to comment
Share on other sites

Yes indeed, your game detects your GPU correctly:

2022-04-10 22:54:13.729 INFO    DX11BACKEND: NVIDIA API init OK
2022-04-10 22:54:13.730 INFO    DX11BACKEND: NVIDIA Display Driver Version 51215.r512_08
2022-04-10 22:54:13.730 INFO    DX11BACKEND: GPU count:1

On my end, both the model viewer and the game display the same info in their respective log file. We need to understand why your model viewer cannot find your GPU.

Please use this guide to enforce the model viewer to use your NVIDIA GPU:  https://www.howtogeek.com/351522/how-to-choose-which-gpu-a-game-uses-on-windows-10/

Don't accept indie game testing requests from friends in Discord. Ever.

Link to comment
Share on other sites

Yeah that's weird. I'll try and find it for Windows 11 (which I'm using, not 10). I tried the NVIDIA control panel and tried to make it use the NVIDIA GPU but didn't work (thought it would be a sure fix) though. I'll see what I can do. I'd wonder if there was a way to force it but it crashes anyway without warning so I guess that option is out. Also I'm running DX12, not 11 which could be causing the issue. It's looking for DX11 and its 12, therefore causing the crash. Least that's what I think.


Edited by EricJ

LOMAC Section| | Gaming Resume (PDF) | Gallery | Flanker2.51 Storage Site |

Also known as Flanker562 back in the day...

Steam ID EricJ562 | DCS: A-10A/C Pilot | DCS: Su-25T Pilot | Texture Artist

"...parade ground soldiers always felt that way (contempt) about killers in uniform." -Counting The Cost, Hammer's Slammers

Link to comment
Share on other sites

See if W11 allows you to choose a power plan for the model viewer, as seen for W10 on the linked page above. What Windows calls a power plan in this case is : "Should I use the internal GPU or the dedicated GPU to run this app".

Don't accept indie game testing requests from friends in Discord. Ever.

Link to comment
Share on other sites

Tried that and no joy. It now opens fine, but when I try to open a folder, such as Bazar, it crashes then on a double-click. So that's progress I guess lol.


Edited by EricJ

LOMAC Section| | Gaming Resume (PDF) | Gallery | Flanker2.51 Storage Site |

Also known as Flanker562 back in the day...

Steam ID EricJ562 | DCS: A-10A/C Pilot | DCS: Su-25T Pilot | Texture Artist

"...parade ground soldiers always felt that way (contempt) about killers in uniform." -Counting The Cost, Hammer's Slammers

Link to comment
Share on other sites

Thank you. Our logs are identical, but yours stops abruptly after "resize to resolution 1187x360" (the size of the model viewer window). In my log, what happens right after it is the shaders compilation.

I have not many ideas left at this point... Maybe try to locate an "edModelViewer" folder inside "C:\Users\...\AppData\Local\Temp", delete it, then retry to launch the app.

Don't accept indie game testing requests from friends in Discord. Ever.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...