Jump to content
Sign in to follow this  
ArchAngel2191

"Error: LoadLibrary failed.." when running trainer (resolving)

Recommended Posts

Bonjour Jean-Luc,

I do confirm the presence of the library IOP_B.DLL.

I own a 980Ti, 416.34. I was initially using two screens on the same video card before updated to the latest GTN trainer and plugin, then switch to using my Intel HD4600. I though that was the reason for this problem but it turns out it is not (the same problem occurs when only using my two screens on my 980Ti).

The "Themes" service is still runing. I am only using the classic theme available from the personalize settings. The problem still occurs when using the Aero theme.

Feel free to let me knoiw if you want me to run more test. I will try a few things on my side when time allows.

Take care.

Share this post


Link to post
Share on other sites

Bonjour!

A few more questions to cross-check:

1) Is the trainer running fine standalone?

2) Have you installed the GTN trainer only or the TXi and/or the G500 as well?


Jean-Luc | reality-xp.com
This message from Reality XP is protected by a disclaimer: reality-xp.com/aboutrealityxp/email.html

Let your voice be heard and help us make a difference for you: Vote !
Open up communications with Reality-XP (Microsoft Flight Simulator Forums)

Share this post


Link to post
Share on other sites

@flaneur I've found additional information I'd like you to cross check with me. Can you please let me know about this:

1) run regedit

2) navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E968-E325-11CE-BFC1-08002BE10318}\

3) for each #### entries (they are 0000, 0001, 0002....) can you please let me know the value of the following keys:

OpenGLDriverName
OpenGLDriverNameWoW

With NVIDIA card, the values could be something like "nvoglv64" and "nvoglv32" respectively.

 


Jean-Luc | reality-xp.com
This message from Reality XP is protected by a disclaimer: reality-xp.com/aboutrealityxp/email.html

Let your voice be heard and help us make a difference for you: Vote !
Open up communications with Reality-XP (Microsoft Flight Simulator Forums)

Share this post


Link to post
Share on other sites

@flaneur Although you have a NVIDIA card, it is worth mentioning this kind of error is widely reported as an ATI driver problem. Here is what I've found:

 

The LoadLibrary failed with error 87 or error 126 is a graphics card / driver issue that can be caused by bugs in the graphics card drivers, unsupported graphics card driver versions, or failed graphics card driver updates.

Fixing this problem involves renaming a ".dll" file on the machine.
Typically this problem can be fixed by renaming atig6pxx.dll to atig6pxx.dll.bak. This file is typically in the following folder:

C:\Windows\System32

An easy way to find the file is to do the following:

1. Click on the Windows start button
2. Type in atig6pxx.dll
3. Once the file appears, right-click and select "Open File Location"
4. Change the name of the file by adding a .bak on the end

If the above does not fix the problem, or if the file is not found, the following can be tried:

1. If your graphics card / GPU has an "M" suffix, rename atio6axx.dll to atiogl64.dll
2. If your graphics card / GPU does not have an "M" suffix, rename atio6axx.dll to atio6axx.dll.bak
3. If neither of the above applies or doesn't fix the issue, rename atiogl64.dll to atiogl64.dll.bak

Edited by RXP

Jean-Luc | reality-xp.com
This message from Reality XP is protected by a disclaimer: reality-xp.com/aboutrealityxp/email.html

Let your voice be heard and help us make a difference for you: Vote !
Open up communications with Reality-XP (Microsoft Flight Simulator Forums)

Share this post


Link to post
Share on other sites

Salut Jean-Luc !

Since you mentioned that running from the sim could make some differences, I've downloaded the latest RXP version : 2.5.8 (with Garmin 6.50.1 configured through GTNSIMDATA & GTNSIMPATH)

Still the same errors... But as usual, once all the popups are closed, it runs OK

 

Share this post


Link to post
Share on other sites

@elheroes I thank you for your patience with this. There is definitely something in the trainer which is not right for some of you, and I'm still scratching my head. After days of searching the most relevant info I've found so far is the one posted a few messages above this one.

Can you please review the 3 messages starting from here and let me know:
https://www.avsim.com/forums/topic/544923-error-loadlibrary-failed-when-running-trainer/?page=3&tab=comments#comment-3929748

 


Jean-Luc | reality-xp.com
This message from Reality XP is protected by a disclaimer: reality-xp.com/aboutrealityxp/email.html

Let your voice be heard and help us make a difference for you: Vote !
Open up communications with Reality-XP (Microsoft Flight Simulator Forums)

Share this post


Link to post
Share on other sites

Re bonjour @RXP,

after carefully reading your posts, here are the information you requested:

1) The trainer runs totally fine in standalone mode.

2) I installed the full package on my computer (G500/600, TXi, GTNs)

3) All entries at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E968-E325-11CE-BFC1-08002BE10318}\

are named nvoglv64 (OpenGLDriverName) and nvoglv32 (OpenGLDriverNameWoW).

4) The file you have mentionned does not exist after a full search on my system SSD.

Should you need an extraction of my registry or any other information, feel free to let me know.

I will investigate now that the weekend has finally come ! For now, please find a screenshot of the windows error message with details expanded:

GTN-crash-1.png

GTN-crash-2.png

The rest of the message is irrelevant.

À bientôt.

Share this post


Link to post
Share on other sites

@flaneur thank you for the additional details. It seems the issue you are having is not directly related (only indirectly) to the issue first reported in this discussion in the end. This is interesting nonetheless as we are working on a quick update to v2.5.8 to correct the couple few bugs introduced with it.

Edited by RXP

Jean-Luc | reality-xp.com
This message from Reality XP is protected by a disclaimer: reality-xp.com/aboutrealityxp/email.html

Let your voice be heard and help us make a difference for you: Vote !
Open up communications with Reality-XP (Microsoft Flight Simulator Forums)

Share this post


Link to post
Share on other sites

Hi,

I thank you all for your feedback, I think we've made some progress in regard to the DLL issue. It is a little too late by now, but we have a new build nearly ready for tomorrow morning that we'll publish. It has a couple corrections to the issues reported (HSI rotating) and new code to 'manage' the DLLs issue.


Jean-Luc | reality-xp.com
This message from Reality XP is protected by a disclaimer: reality-xp.com/aboutrealityxp/email.html

Let your voice be heard and help us make a difference for you: Vote !
Open up communications with Reality-XP (Microsoft Flight Simulator Forums)

Share this post


Link to post
Share on other sites

@RXP reviewing your 3 messages starting from https://www.avsim.com/forums/topic/544923-error-loadlibrary-failed-when-running-trainer/?page=3&tab=comments#comment-3929748

1/ you already know it's not working correctly standalone

2/ I also installed the full Garmin package (G500/600, TXi, GTNs)

3/ HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E968-E325-11CE-BFC1-08002BE10318}\

0000
OpenGLDriverName = C:\WINDOWS\System32\DriverStore\FileRepository\ki125544.inf_amd64_ff9fa74ec6ebb5eb\ig9icd64.dll
OpenGLDriverNameWow = C:\WINDOWS\System32\DriverStore\FileRepository\ki125544.inf_amd64_ff9fa74ec6ebb5eb\ig9icd32.dll
0001
OpenGLDriverName = C:\WINDOWS\System32\DriverStore\FileRepository\nvddi.inf_amd64_2341aac88431d6bf\nvoglv64.dll
OpenGLDriverNameWow = C:\WINDOWS\System32\DriverStore\FileRepository\nvddi.inf_amd64_2341aac88431d6bf\nvoglv32.dll

4/ atig6pxx.dll is not present since I've got a NVIDIA card (GTX 1080, last driver 416.94)

Edited by elheroes

Share this post


Link to post
Share on other sites

@elheroes thank you. Is this an Intel Integrated Graphics card? In this case, there is an option to 'force' a certain video card adapter to an application, and you might want to try 'forcing' using the NVIDIA only to the GTN trainer application. Please let me know about this one!


Jean-Luc | reality-xp.com
This message from Reality XP is protected by a disclaimer: reality-xp.com/aboutrealityxp/email.html

Let your voice be heard and help us make a difference for you: Vote !
Open up communications with Reality-XP (Microsoft Flight Simulator Forums)

Share this post


Link to post
Share on other sites

@elheroes @Cadmus Hawke

Please see this:

 

Edited by RXP

Jean-Luc | reality-xp.com
This message from Reality XP is protected by a disclaimer: reality-xp.com/aboutrealityxp/email.html

Let your voice be heard and help us make a difference for you: Vote !
Open up communications with Reality-XP (Microsoft Flight Simulator Forums)

Share this post


Link to post
Share on other sites

I've got an integrated intel card but i'm not using it

My main card is an NVIDIA GTX 1080. I nevertheless checked the use of the main card in the windows settings

Regarding your last post : Windows Defender policy couldn't be an issue here since I use Comodo Internet Security (and I did test the Trainer disabling this one)

Share this post


Link to post
Share on other sites

a quick note to let you know v2.5.9 update is now released:
https://www.avsim.com/forums/topic/534857-rxp-gtn-750650-touch-x-plane-v259-released/

I'm hoping this build will work better in regard to the DLL warnings.


Jean-Luc | reality-xp.com
This message from Reality XP is protected by a disclaimer: reality-xp.com/aboutrealityxp/email.html

Let your voice be heard and help us make a difference for you: Vote !
Open up communications with Reality-XP (Microsoft Flight Simulator Forums)

Share this post


Link to post
Share on other sites

Version 2.5.9 installed with Garmin Trainer 6.50.1

Same issue

Here is the rxpGtnSim.dll.log :

18/11/25 08:28:02.803 47824 -    ] # rxpGtnSim64.dll version 2.5.9.0
18/11/25 08:28:02.802 47824 INFO ] 
18/11/25 08:28:03.975 47824 INFO ] using: D:\Users\web2\Documents\Prepar3D v4 Add-ons\A2A\SimObjects\Airplanes\A2A_C172\checklist.gtn
18/11/25 08:28:04.038 47824 WARN ]  not found: C:\ProgramData\Garmin\Trainers
18/11/25 08:28:05.440 22988 INFO ] 
18/11/25 08:28:06.118 02960 INFO ] GTN: 00 ..\..\src\krnl\krnl_lib\sim\tsk_win_prj.c(188) Error: LoadLibrary failed to load iop_c.dll. GetLastError: 126
18/11/25 08:28:07.714 45064 INFO ] GTN: 00 ..\..\src\krnl\krnl_lib\sim\tsk_win_prj.c(188) Error: LoadLibrary failed to load iop_d.dll. GetLastError: 126
18/11/25 08:28:08.494 20244 INFO ] GTN: 00 ..\..\src\krnl\krnl_lib\sim\tsk_win_prj.c(188) Error: LoadLibrary failed to load iop_com.dll. GetLastError: 126
18/11/25 08:28:09.532 50424 INFO ] GTN: 00 ..\..\src\krnl\krnl_lib\sim\tsk_win_prj.c(188) Error: LoadLibrary failed to load iop_nav.dll. GetLastError: 126
18/11/25 08:28:10.412 13412 INFO ] GTN: 00 ..\..\src\krnl\krnl_lib\sim\tsk_win_prj.c(188) Error: LoadLibrary failed to load iop_waas.dll. GetLastError: 126
18/11/25 08:28:11.272 06172 INFO ] GTN: 00 ..\..\src\krnl\krnl_lib\sim\tsk_win_prj.c(188) Error: LoadLibrary failed to load nav_main.dll. GetLastError: 126
18/11/25 08:28:12.062 51316 INFO ] GTN: 00 ..\..\src\krnl\krnl_lib\sim\tsk_win_prj.c(188) Error: LoadLibrary failed to load prx_main.dll. GetLastError: 126
18/11/25 08:28:12.843 49724 INFO ] GTN: 00 ..\..\src\krnl\krnl_lib\sim\tsk_win_prj.c(188) Error: LoadLibrary failed to load dbm_main.dll. GetLastError: 126
18/11/25 08:28:13.689 50736 INFO ] GTN: 00 ..\..\src\krnl\krnl_lib\sim\tsk_win_prj.c(188) Error: LoadLibrary failed to load cht_main.dll. GetLastError: 126
18/11/25 08:28:14.434 46536 INFO ] GTN: 00 ..\..\src\krnl\krnl_lib\sim\tsk_win_prj.c(188) Error: LoadLibrary failed to load tws.dll. GetLastError: 126
18/11/25 08:28:15.122 50212 INFO ] GTN: 00 ..\..\src\krnl\krnl_lib\sim\tsk_win_prj.c(188) Error: LoadLibrary failed to load iop_e.dll. GetLastError: 126
18/11/25 08:28:15.862 02952 INFO ] GTN: 00 ..\..\src\krnl\krnl_lib\sim\tsk_win_prj.c(188) Error: LoadLibrary failed to load apth.dll. GetLastError: 126
18/11/25 08:28:16.196 18148 INFO ] GTN: 00 ..\..\lib\acl\tsk\processors\arm\tsk_usr.c(1970) (null)
18/11/25 08:28:16.575 10580 INFO ] GFX Debug: enabled.

The only difference I can see is strangely the fourth line : "not found: C:\ProgramData\Garmin\Trainers", strangely because the path is correct

Here is the Trainer log file C:\ProgramData\Garmin\Trainers\Databases\assert_log.txt :

12/31/89 00:00:29 PwrCnt:228    ERR_ASSERT_CONTINUE  (47)           
    OnSecs:29.415    PwrHrs:170    SwVer:6.50.0 Rpt:0   Temp:327.67C
    F:hwm_usr_err.c                  L:712  
    MSG:Err log cleared with SW PN 006-B1026-XX                     
--------------------------------------------------------------------
12/31/89 00:00:09 PwrCnt:230    ERR_ASSERT_CONTINUE  TSK_proc_loader
    OnSecs:9.710     PwrHrs:172    SwVer:6.50.1 Rpt:36  Temp:327.67C
    F:tsk_win_prj.c                  L:188  
    MSG:Error: LoadLibrary failed to load apth.dll. GetLastError: 126
--------------------------------------------------------------------
12/31/89 00:00:10 PwrCnt:230    ERR_ASSERT_CONTINUE  SYS_Integrity  
    OnSecs:10.115    PwrHrs:172    SwVer:6.50.1 Rpt:5   Temp:327.67C
    F:tsk_usr.c                      L:1970 
    MSG:SYS_Integrity                                               
--------------------------------------------------------------------
12/31/89 00:00:05 PwrCnt:230    ERR_ASSERT: UTL_ass  IOP_b_main     
    OnSecs:5.025     PwrHrs:172    SwVer:6.50.1 Rpt:1   Temp:327.67C
    F:sys_init_prj.c                 L:176  
    MSG:IOP_b_main                                                  
--------------------------------------------------------------------
06/01/17 12:08:46 PwrCnt:228    ERR_ASSERT_CONTINUE  IOP_log        
    OnSecs:16.100    PwrHrs:170    SwVer:6.50.1 Rpt:0   Temp:327.67C
    F:iop_log_circ_ar.c              L:399  
    MSG:Open Err: -24                                               
--------------------------------------------------------------------
06/01/17 12:08:46 PwrCnt:228    ERR_ASSERT_CONTINUE  IOP_log        
    OnSecs:16.100    PwrHrs:170    SwVer:6.50.1 Rpt:0   Temp:327.67C
    F:iop_log_circ_ar.c              L:452  
    MSG:Open Err: -24                                               
--------------------------------------------------------------------
06/01/17 12:08:46 PwrCnt:228    ERR_ASSERT_CONTINUE  IOP_log        
    OnSecs:16.100    PwrHrs:170    SwVer:6.50.1 Rpt:0   Temp:327.67C
    F:iop_log_circ_ar.c              L:198  
    MSG:Open Err: -24                                               
--------------------------------------------------------------------
06/01/17 12:08:46 PwrCnt:228    ERR_ASSERT_CONTINUE  IOP_log        
    OnSecs:16.100    PwrHrs:170    SwVer:6.50.1 Rpt:0   Temp:327.67C
    F:iop_log_flight_data.           L:1725 
    MSG:Flight Data Log corrupt. Resetting...                       
--------------------------------------------------------------------
06/01/17 12:08:49 PwrCnt:228    ERR_ASSERT_CONTINUE  IOP_log        
    OnSecs:19.100    PwrHrs:170    SwVer:6.50.1 Rpt:0   Temp:327.67C
    F:iop_log_circ_ar.c              L:534  
    MSG:Open Err: -24                                               
--------------------------------------------------------------------
05/30/17 05:13:16 PwrCnt:229    ERR_ASSERT_CONTINUE  CDP            
    OnSecs:7628.410  PwrHrs:172    SwVer:6.50.1 Rpt:1   Temp:327.67C
    F:adb_appr_utl.c                 L:1374 
    MSG:CDP                                                         
--------------------------------------------------------------------

 

Share this post


Link to post
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
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...