Dear Users! Please post bug reports about FDM here!

⚠[BUG] FDM throws error "loadlibrary failed with error 87" when a fake/dummy video card is installed

Moderators: Usher, Alex

User avatar
MELERIX
Posts: 89
Joined: Tue Feb 24, 2015 10:52 pm
Location: Chile

⚠[BUG] FDM throws error "loadlibrary failed with error 87" when a fake/dummy video card is installed

Postby MELERIX » Thu Mar 17, 2022 8:08 pm

in a computer running without a screen/monitor attached, I've created a fake/dummy card, using this tool: https://www.amyuni.com/forum/viewtopic.php?t=3030 in order to have a proper resolution in remote connections, instead of 640x480.

but when this is enabled, and if you try to open FDM it does not open and always throw error "loadlibrary failed with error 87".
Alex
FDM Team
Posts: 2851
Joined: Mon Jul 12, 2004 12:17 pm

Re: ⚠[BUG] FDM throws error "loadlibrary failed with error 87" when a fake/dummy video card is installed

Postby Alex » Thu Mar 17, 2022 9:47 pm

Hello,
Try to create environment variable QT_OPENGL and set it to "software".
Alex,
FDM development team
User avatar
MELERIX
Posts: 89
Joined: Tue Feb 24, 2015 10:52 pm
Location: Chile

Re: ⚠[BUG] FDM throws error "loadlibrary failed with error 87" when a fake/dummy video card is installed

Postby MELERIX » Thu Mar 17, 2022 10:14 pm

where?

inside Windows environment variables ?

Image

EDIT: tested and FDM still throws the same error and does not open.
Alex
FDM Team
Posts: 2851
Joined: Mon Jul 12, 2004 12:17 pm

Re: ⚠[BUG] FDM throws error "loadlibrary failed with error 87" when a fake/dummy video card is installed

Postby Alex » Thu Mar 17, 2022 10:41 pm

Well, I can't help you then, sorry.
Googling regarding this issue shows that it's some video card drivers related issue.
Alex,

FDM development team
User avatar
MELERIX
Posts: 89
Joined: Tue Feb 24, 2015 10:52 pm
Location: Chile

Re: ⚠[BUG] FDM throws error "loadlibrary failed with error 87" when a fake/dummy video card is installed

Postby MELERIX » Thu Mar 17, 2022 10:51 pm

Alex wrote:Well, I can't help you then, sorry.
Googling regarding this issue shows that it's some video card drivers related issue.


as I mentioned previouly, the bug only happens when fake/dummy card is enabled, if I disable it then FDM opens normally, and FDM is the only app that fails to open and throws the error, and I guess is due a fake/dummy card don't use hardware acceleration.

I guess FDM is requesting Hardware Acceleration in any card, but imho that is a bad practice in software development, hardware acceleration must be optional for the FDM UI, unless the FDM UI is used for realtime 3D models or video player purposes.
Alex
FDM Team
Posts: 2851
Joined: Mon Jul 12, 2004 12:17 pm

Re: ⚠[BUG] FDM throws error "loadlibrary failed with error 87" when a fake/dummy video card is installed

Postby Alex » Fri Mar 18, 2022 2:09 am

Yes, but this fake card still has some driver installed for it. It seems that the problem is caused by this "fake" driver.

I will try to ask Qt developers regarding this issue.
Alex,

FDM development team
Alex
FDM Team
Posts: 2851
Joined: Mon Jul 12, 2004 12:17 pm

Re: ⚠[BUG] FDM throws error "loadlibrary failed with error 87" when a fake/dummy video card is installed

Postby Alex » Fri Mar 18, 2022 2:17 am

For now I would recommend you to try some other solution for your 640x480 problem.
Alex,

FDM development team
User avatar
MELERIX
Posts: 89
Joined: Tue Feb 24, 2015 10:52 pm
Location: Chile

Re: ⚠[BUG] FDM throws error "loadlibrary failed with error 87" when a fake/dummy video card is installed

Postby MELERIX » Fri Mar 18, 2022 3:42 am

well, I guess I'll need to buy something like this: https://es.aliexpress.com/item/1005003668167413.html to simulate a dummy monitor connected, instead of using a dummy card.

thanks anyway.
Alex
FDM Team
Posts: 2851
Joined: Mon Jul 12, 2004 12:17 pm

Re: ⚠[BUG] FDM throws error "loadlibrary failed with error 87" when a fake/dummy video card is installed

Postby Alex » Fri Mar 18, 2022 4:13 am

If possible, please do the following steps:
1. Reproduce the problem.
2. Open Task Manager, find fdm.exe in it (in Details tab).
3. Right on click this fdm.exe in Task Manager and choose "Create dump file".
4. Archive the created dump file, upload it somewhere (e.g. on https://anonfiles.com) and send me the link (e.g. via the private message on this forum, as this file can potentially contain some sensitive data).
Alex,

FDM development team
User avatar
MELERIX
Posts: 89
Joined: Tue Feb 24, 2015 10:52 pm
Location: Chile

Re: ⚠[BUG] FDM throws error "loadlibrary failed with error 87" when a fake/dummy video card is installed

Postby MELERIX » Fri Mar 18, 2022 10:26 pm

ok, I've sent a PM to you, thanks.
Alex
FDM Team
Posts: 2851
Joined: Mon Jul 12, 2004 12:17 pm

Re: ⚠[BUG] FDM throws error "loadlibrary failed with error 87" when a fake/dummy video card is installed

Postby Alex » Sat Mar 26, 2022 2:16 pm

Hello,
Please try a workaround mentioned here: https://knowledge.autodesk.com/support/ ... or-87.html.
I.e. rename atig6pxx.dll to atig6pxx.dll.bak.
Alex,

FDM development team
User avatar
MELERIX
Posts: 89
Joined: Tue Feb 24, 2015 10:52 pm
Location: Chile

Re: ⚠[BUG] FDM throws error "loadlibrary failed with error 87" when a fake/dummy video card is installed

Postby MELERIX » Wed Mar 30, 2022 10:41 pm

Alex wrote:Hello,
Please try a workaround mentioned here: https://knowledge.autodesk.com/support/ ... or-87.html.
I.e. rename atig6pxx.dll to atig6pxx.dll.bak.


tested and works!

Return to “General forum”

Who is online

Users browsing this forum: Bing [Bot] and 6 guests