LoadLibrary failed with Error 87 (only over remote desktop)

Discussion in 'Windows OS and Software' started by alexhawker, Dec 13, 2019.

  1. alexhawker

    alexhawker Spent Gladiator

    Reputations:
    486
    Messages:
    2,507
    Likes Received:
    774
    Trophy Points:
    131
    Hi everyone.

    I have an issue that only recently popped up. It's definitely related to ADM graphics and RDP.

    When launching software like CAD or similar over RDP, we just started getting an error loadlibrary failed with error 87. This affects Adobe software, Autodesk software, SolidWorks, and a variety of other CAD and graphics software.

    Using all of these programs over RDP worked fine for the past ~7 years, on both Win7 and Win10, so I'm hoping there's a fix/workaround available.

    One solution I've seen some references to renaming atig6pxx.dll to atig6pxx.dll.bak - this does not work for me. Also tried updating drivers with no luck

    It seems the issue is an error caused by the app trying to access the GPU, which is not activated for the RDP session, so one workaround I've seen but not yet tested is using a script to end the graphics portion of the RDP session, start the app, and then restart the RDP session graphics. Obviously a different script is needed for each app.

    Does anyone have any other solution ideas or suggestions? Thanks!
     
  2. StormJumper

    StormJumper Notebook Virtuoso

    Reputations:
    542
    Messages:
    3,313
    Likes Received:
    422
    Trophy Points:
    151
    Any GPU software driver issues should be direct to AMD if this is their hardware and software to fix. It could be a bug or the software that was update had a bug that has reared it's ugly head now. Otherwise this will be downloaded the latest Public released driver and then uninstall the old GPU driver and delete the GPU folder and then reboot and reinstall the new GPU and see if the problem doesn't return. It could be two things.

    1. Bad GPU driver/software
    2. Another Software corrupted the GPU software/driver
    3. Malware infected software.
     
  3. alexhawker

    alexhawker Spent Gladiator

    Reputations:
    486
    Messages:
    2,507
    Likes Received:
    774
    Trophy Points:
    131
    It's not malware, so I can rule that out.

    Yes, it's obviously GPU or driver related, but I'm sure you can imagine this is not something AMD will bother helping with. It's not a bug - it's consistent with all software that relies on OpenGL, I think. At the very least, it's related to the way RDP makes the GPU accessible to software: https://communities.efi.com/s/artic...-87-The-parameter-is-incorrect?language=en_US

    Does anyone have a more constructive suggestion? Either way, I'll post back here when I've made some progress after digging further and testing some more things out.
     
Loading...
Similar Threads - LoadLibrary failed Error
  1. hideaway
    Replies:
    20
    Views:
    903

Share This Page