NVIDIAGameWorks / rtx-remix

Combined repo for the RTX-Remix runtime
https://www.nvidia.com/en-us/geforce/rtx-remix/
MIT License
1.39k stars 69 forks source link

[Toolkit bug]: Validation failing during ingestion #517

Open N-Hoque opened 6 months ago

N-Hoque commented 6 months ago

Contact Details (Optional)

No response

Describe the bug

I have already done AI upscaling and PBR generation of various assets from Hitman 2: Silent Assassin. The plan was to ingest these new assets.

When ingesting one of the materials (diffuse, normal, roughness), the following error message is emitted.

Stage: anon:0000018A31833760:World1.usd
Check:
- FAIL: /TextureImporter/Looks/H__NVidia_Omniverse_Projects_H2SA_assets_autogen_525AB769E8FA4CBF_/Shader.inputs:diffuse_texture = `@H:/NVidia/Omniverse/Projects/H2SA/assets_autogen/525AB769E8FA4CBF_diffuse.png@`. Incorrect suffix or extension.
- PASS: /TextureImporter/Looks/H__NVidia_Omniverse_Projects_H2SA_assets_autogen_525AB769E8FA4CBF_/Shader
- PASS: /TextureImporter/Looks/H__NVidia_Omniverse_Projects_H2SA_assets_autogen_525AB769E8FA4CBF_/Shader
- FAIL: /TextureImporter/Looks/H__NVidia_Omniverse_Projects_H2SA_assets_autogen_525AB769E8FA4CBF_/Shader.inputs:reflectionroughness_texture = `@H:/NVidia/Omniverse/Projects/H2SA/assets_autogen/525AB769E8FA4CBF_roughness.png@`. Incorrect suffix or extension.
- PASS: /TextureImporter/Looks/H__NVidia_Omniverse_Projects_H2SA_assets_autogen_525AB769E8FA4CBF_/Shader
- PASS: /TextureImporter/Looks/H__NVidia_Omniverse_Projects_H2SA_assets_autogen_525AB769E8FA4CBF_/Shader
- PASS: /TextureImporter/Looks/H__NVidia_Omniverse_Projects_H2SA_assets_autogen_525AB769E8FA4CBF_/Shader
- PASS: /TextureImporter/Looks/H__NVidia_Omniverse_Projects_H2SA_assets_autogen_525AB769E8FA4CBF_/Shader
- PASS: /TextureImporter/Looks/H__NVidia_Omniverse_Projects_H2SA_assets_autogen_525AB769E8FA4CBF_/Shader

Stage: anon:0000018A31833760:World1.usd
Fix:
- FAIL: failure in dds compression command: ['h:/nvidia/omniverse/library/rtx-remix-2024.3.1/extscache/omni.flux.validator.plugin.check.usd-3.10.0/../../deps/tools/nvtt/nvtt_export.exe', 'H:/NVidia/Omniverse/Projects/H2SA/assets_autogen/525AB769E8FA4CBF_diffuse.png', '--output', 'H:\\NVidia\\Omniverse\\Projects\\H2SA\\assets_autogen\\525AB769E8FA4CBF_diffuse.a.rtex.dds', '--format', 'bc7', '--mip-gamma-correct'].
- FAIL: failure in dds compression command: ['h:/nvidia/omniverse/library/rtx-remix-2024.3.1/extscache/omni.flux.validator.plugin.check.usd-3.10.0/../../deps/tools/nvtt/nvtt_export.exe', 'H:/NVidia/Omniverse/Projects/H2SA/assets_autogen/525AB769E8FA4CBF_roughness.png', '--output', 'H:\\NVidia\\Omniverse\\Projects\\H2SA\\assets_autogen\\525AB769E8FA4CBF_roughness.r.rtex.dds', '--format', 'bc4', '--no-mip-gamma-correct'].

For reference, input directory is H:\NVidia\Omniverse\Projects\H2SA\upscaled and output directory is H:\NVidia\Omniverse\Projects\H2SA\assets. Upscaled files are named <HASH>_<TYPE>.png where is the hash value that the RTX runtime created, and is "normal_dx", "roughness" or "diffuse". They are all .png files, all using the lowercase file extension.

It looks like the filepaths are surrounded with @ symbols, causing ingestion to fail

How do you reproduce the bug?

Try to ingest files after doing AI upscaling

What is the expected behavior?

The toolkit should use correct filepaths for ingestion, and export files with the correct filepaths

Version

2024.3.1

N-Hoque commented 6 months ago

Log file here kit_20240525_225225.log

nvdamien commented 6 months ago

From the error message, are you sure that H:/NVidia/Omniverse/Projects/H2SA/assets_autogen/525AB769E8FA4CBF_diffuse.pn exist on the disk please?

Can you send us 1 asset that crashes please?

N-Hoque commented 6 months ago

I've since tried again with a different project, but still getting the same issue.

The assets do exist on disk.

I've uploaded a new log file after attempting to ingest a single albedo map, and I've also provided the albedo itself.

kit_20240530_205033.log

ec_wood_plank_albedo

I did also try ingesting this file from different disks on my system, all disks are failing to ingest

sfitzpatrickchapman commented 5 months ago

Could you please re-send the asset @N-Hoque ? It is currently not downloadable on my side. Thanks.