rtx-remix icon indicating copy to clipboard operation
rtx-remix copied to clipboard

[Toolkit bug]: AI Tools PBR material generation fails with error trying to use a Linux binary on Windows

Open zhuman opened this issue 9 months ago • 5 comments

Contact Details (Optional)

No response

Describe the bug

I've been trying to import textures from a game capture into the AI Tools tab of RTX Remix. When I click Add to Queue, it seems to start something in the background but then I get an error message like this:

Image

It says that it's trying to reference libnvidia-ml.so.1 which is a Linux binary! Not sure how someone managed to compile code into a Windows binary that referenced this :-P

How do you reproduce the bug?

  1. Drag a DDS file into the AI Tools tab (PBR Material Generation).
  2. Click Add to Queue.

What is the expected behavior?

Presumably it should upscale and generate materials without failing.

Version

1.0.0

Logs

No response

Capture and Project Files

No response

Media

No response

zhuman avatar Mar 17 '25 09:03 zhuman

Hi! What hardware are you running the AI Tools on?

Thanks!

po-trottier avatar Mar 17 '25 19:03 po-trottier

I'm on an RTX 3070 Ti for AI acceleration, and the CPU is a Threadripper 7960X.

zhuman avatar Mar 18 '25 00:03 zhuman

Thank you! That should be supported... Please reproduce the crash and upload the Toolkit Logs so we can take a look at those and try to figure out what the cause is :)

po-trottier avatar Mar 18 '25 21:03 po-trottier

Not sure if the logs will help, but I can do you one better and take a process dump of kit.exe while it's in this failure. It appears to be a bug in a Python library being used by the program. Note that if you can't determine how to prevent the Python library from trying to load a Linux binary you can also use the SetErrorMode API to set SEM_FAILCRITICALERRORS which prevents the dialog from showing up (and hanging kit.exe) when LoadLibrary fails for this kind of bug. Windows defaults to showing a dialog for this kind of error since typically library load problems happen very early in the app execution and would otherwise be invisible and impossible to debug for most users

kit_20250317_170010.log

Kit.exeFailureMiniDump.zip

Image

zhuman avatar Mar 19 '25 01:03 zhuman

Thank you for the detailed response! We're tracking it as REMIX-4033

po-trottier avatar Mar 19 '25 02:03 po-trottier

Hi @zhuman

Is this issue still happening?

STHAKKARNV avatar Jun 30 '25 14:06 STHAKKARNV

Hi @zhuman - checking in to see if you're still able to reproduce this issue. We'd also like to inform you of our stale ticket policy, namely that we will close this ticket as 'went stale' if it doesn't receive an update in the next 2 weeks. Thank you!

NV-LL avatar Jul 14 '25 14:07 NV-LL

Hi, unfortunately I won't have time to get back to that for a while, so likely this will be closed then. If I eventually do repro again I will reopen.

zhuman avatar Jul 18 '25 03:07 zhuman

I have that same error rtx 3060 12GB

edit : error pops, but for some reason program still generate texture.

v1d4r1992 avatar Aug 13 '25 15:08 v1d4r1992

Hi @v1d4r1992 - will you please open a new ticket for your issue? Please include any logs and the details of the error you're receiving. Thanks!

NV-LL avatar Aug 18 '25 17:08 NV-LL