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

[Toolkit bug]: App closes after startup

Open BJMart opened this issue 1 year ago • 52 comments

https://github.com/NVIDIAGameWorks/rtx-remix/assets/39889410/405077d3-c048-4105-a503-bf7f33ffc1b7

Contact Details (Optional)

[email protected]

Describe the bug

When getting past the screen shown here Remix closes without any error popups, The app was working fine beforehand (27/1/2024) I have also Reinstalled the app and I am getting the same results. Logs: kit_20240129_180942.log

image

How do you reproduce the bug?

  1. Open omniverse
  2. Open the RTX Remix app

What is the expected behavior?

The toolkit should open up and be able to be used without any issues

Version

2024.1.1

BJMart avatar Jan 28 '24 13:01 BJMart

same problem

XanaXCODE avatar Jan 30 '24 13:01 XanaXCODE

Alright, it might be something with Remix renderer initialization with dedicated+integrated GPU, but need to check.

Do the Remix games run correctly? If yes, can you send a d3d9_*.log from the folder with the game's exe. E.g. C:/Game/mygame.exe would have C:/Game/d3d9_mygame.log

sultim-t-nv avatar Jan 30 '24 14:01 sultim-t-nv

never tested if runs on a game, the sample dont run bully crash on startup

XanaXCODE avatar Jan 30 '24 14:01 XanaXCODE

Well the issue does not appear to be related to the runtime, and I know of another person who has this problem is also using a laptop so it could be an issue with integrated graphics, but what doesn't make sense is that it was working fine on the same device the other day

BJMart avatar Jan 30 '24 14:01 BJMart

message.txt Here is another log file that may be useful

BJMart avatar Jan 30 '24 14:01 BJMart

i have a galaxy book 3 ultra with rtx 4070 maybe if disable integrated graphics from intel .. idk

XanaXCODE avatar Jan 30 '24 16:01 XanaXCODE

It looks like this is taking the wrong GPU as a primary GPU.

Can you try this please:

  1. Go in the RTX Remix install:

image

image

  1. Run:

lightspeed.app.trex.bat --/renderer/multiGpu/maxGpuCount=1 --/renderer/activeGpu=1

In CMD:

image

"activeGpu" is the GPU to use. Try 0 or 1.

Please tell me if it works or not.

nvdamien avatar Jan 30 '24 20:01 nvdamien

Works!!!!!!!!!! THX

Edit: crashed because of carb when try to setup project

2024-01-30 21:20:48 [0ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] A crash has occurred. If a debugger should be attached, please set the '/crashreporter/debuggerAttachTimeoutMs' setting to a timeout in milliseconds. This can be used to allow the crash reporter to wait for up to that long for a debugger to attach before processing or sending the crash report. 2024-01-30 21:20:48 [95ms] [Warn] [carb.crashreporter-breakpad.plugin] Launched process 'py-spy.exe' as PID 40624 'py-spy.exe' exited with code 1 2024-01-30 21:20:48 [385ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] compressing 3 files into 'C:/Users/jptes/AppData/Local/ov/data/Kit/RTX Remix/2024.1\1112ea09-ad7f-4eda-a3c0-4562b5ae86fb.dmp.zip' for upload. 2024-01-30 21:20:49 [880ms] [Warn] [carb.crashreporter-breakpad.plugin] Launched process 'crashreport.gui.exe' as PID 2864 'crashreport.gui.exe' exited with code 3221225781 2024-01-30 21:20:51 [3,220ms] [Error] [carb.crashreporter-breakpad.plugin] [crash] Wrote dump file 'C:/Users/jptes/AppData/Local/ov/data/Kit/RTX Remix/2024.1\1112ea09-ad7f-4eda-a3c0-4562b5ae86fb.dmp.zip' 2024-01-30 21:20:51 [3,222ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] Uploading minidump: file:'C:/Users/jptes/AppData/Local/ov/data/Kit/RTX Remix/2024.1\1112ea09-ad7f-4eda-a3c0-4562b5ae86fb.dmp.zip' svr:'https://services.nvidia.com/submit' 2024-01-30 21:20:51 [3,225ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] Crash metadata for upload: 2024-01-30 21:20:51 [3,227ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] CarbSdkVersion = '158.5+release158.tc9626.54324001' 2024-01-30 21:20:51 [3,228ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] CrashTime = 'Tue Jan 30 21:20:48 2024 GMT' 2024-01-30 21:20:51 [3,229ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] DriverShaderCacheWrapper = 'disabled' 2024-01-30 21:20:51 [3,231ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] DumpId = '1112ea09-ad7f-4eda-a3c0-4562b5ae86fb' 2024-01-30 21:20:51 [3,232ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] ProductName = 'OmniverseKit' 2024-01-30 21:20:51 [3,234ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] PythonTracebackStatus = ''py-spy.exe' exited with code 1' 2024-01-30 21:20:51 [3,236ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] RetryCount = '0' 2024-01-30 21:20:51 [3,237ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] StartupTime = '1706649623' 2024-01-30 21:20:51 [3,240ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] UploadSuccessful = '0' 2024-01-30 21:20:51 [3,241ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] UptimeSeconds = '25' 2024-01-30 21:20:51 [3,242ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] UserStory = '' 2024-01-30 21:20:51 [3,244ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] UserStoryStatus = ''crashreport.gui.exe' exited with code 3221225781' 2024-01-30 21:20:51 [3,245ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] Version = '105.1.2+release.135279.09b309e7.tc' 2024-01-30 21:20:51 [3,247ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] aftermath_flags = '0' 2024-01-30 21:20:51 [3,248ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] aftermath_status = 'disabled due to compatibility mode' 2024-01-30 21:20:51 [3,249ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] appName = 'RTX Remix' 2024-01-30 21:20:51 [3,250ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] appState = 'started' 2024-01-30 21:20:51 [3,251ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] appVersion = '2024.1.1' 2024-01-30 21:20:51 [3,252ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] autoloadExts = '' 2024-01-30 21:20:51 [3,253ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] buildBranch = 'release' 2024-01-30 21:20:51 [3,268ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] buildCi = 'tc' 2024-01-30 21:20:51 [3,270ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] buildHash = '09b309e7' 2024-01-30 21:20:51 [3,271ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] buildId = '18998416' 2024-01-30 21:20:51 [3,272ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] buildMajor = '105' 2024-01-30 21:20:51 [3,273ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] buildMinor = '1' 2024-01-30 21:20:51 [3,274ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] buildMr = '0' 2024-01-30 21:20:51 [3,276ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] buildNumber = '135279' 2024-01-30 21:20:51 [3,277ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] buildPatch = '2' 2024-01-30 21:20:51 [3,278ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] buildVersion = '105.1.2' 2024-01-30 21:20:51 [3,279ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] carboniteFrameworkVersion = '158.5+release158.tc9626.54324001' 2024-01-30 21:20:51 [3,280ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] carboniteSdkVersion = '158.5+release158.tc9626.54324001' 2024-01-30 21:20:51 [3,281ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] commandLine = '"C:\Users<username>\AppData\Local\ov\pkg\rtx-remix-2024.1.1\kit\kit.exe" "C:\Users<username>\AppData\Local\ov\pkg\rtx-remix-2024.1.1\apps/lightspeed.app.trex.kit" --/renderer/multiGpu/maxGpuCount=1 --/renderer/activeGpu=1' 2024-01-30 21:20:51 [3,287ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] cpuId = 'Intel64 Family 6 Model 186 Stepping 2' 2024-01-30 21:20:51 [3,288ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] cpuName = '13th Gen Intel(R) Core(TM) i9-13900H' 2024-01-30 21:20:51 [3,290ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] cpuVendor = 'GenuineIntel' 2024-01-30 21:20:51 [3,290ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] desktopOrigin = '(0, 0)' 2024-01-30 21:20:51 [3,291ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] desktopSize = '2880x1800' 2024-01-30 21:20:51 [3,292ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] displayCount = '1' 2024-01-30 21:20:51 [3,293ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] displayRes_0 = '2880x1800x32bit@60Hz' 2024-01-30 21:20:51 [3,294ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] email = '' 2024-01-30 21:20:51 [3,295ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] environmentName = 'Individual' 2024-01-30 21:20:51 [3,296ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] externalBuild = '1' 2024-01-30 21:20:51 [3,297ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] gpuDriver_0 = '551.23' 2024-01-30 21:20:51 [3,299ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] gpuDriver_1 = '0x0000' 2024-01-30 21:20:51 [3,300ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] gpuDriver_2 = '0x0000' 2024-01-30 21:20:51 [3,302ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] gpuVRAM_0 = '8337227776' 2024-01-30 21:20:51 [3,303ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] gpuVRAM_1 = '134217728' 2024-01-30 21:20:51 [3,304ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] gpuVRAM_2 = '134217728' 2024-01-30 21:20:51 [3,305ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] gpu_0 = 'NVIDIA GeForce RTX 4070 Laptop GPU' 2024-01-30 21:20:51 [3,306ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] gpu_1 = 'Intel(R) Iris(R) Xe Graphics' 2024-01-30 21:20:51 [3,307ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] gpu_2 = 'Intel(R) Iris(R) Xe Graphics' 2024-01-30 21:20:51 [3,309ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] kitRendererDriverVersion = '0.0' 2024-01-30 21:20:51 [3,310ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] lastCommand = 'SetLightingMenuModeCommand(lighting_mode=stage,usd_context_name=)' 2024-01-30 21:20:51 [3,311ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] lastCommands = 'Group,CreatePrim(prim_path=/Environment,prim_type=Xform,select_new_prim=False,create_default_xform=True,context_name=),CreatePrim(prim_path=/Environment/defaultLight,prim_type=DistantLight,select_new_prim=False,attributes=?,create_default_xform=True,context_name=),SetLightingMenuModeCommand(lighting_mode=stage,usd_context_name=)' 2024-01-30 21:20:51 [3,314ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] memoryStats = '(avail/total) RAM: 14.3046/31.5634GB, Swap: 9.1307/35.8134GB, VM: 131009/131072GB' 2024-01-30 21:20:51 [3,327ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] nvidia-smi = 'Tue Jan 30 18:20:24 2024 +-----------------------------------------------------------------------------------------+ | NVIDIA-SMI 551.23 Driver Version: 551.23 CUDA Version: 12.4 | |-----------------------------------------+------------------------+----------------------+ | GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |=========================================+========================+======================| | 0 NVIDIA GeForce RTX 4070 ... WDDM | 00000000:01:00.0 Off | N/A | | N/A 50C P3 12W / 43W | 833MiB / 8188MiB | 6% Default | | | | N/A | +-----------------------------------------+------------------------+----------------------+

XanaXCODE avatar Jan 30 '24 21:01 XanaXCODE

2024-01-30 21:20:51 [3,305ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] gpu_0 = 'NVIDIA GeForce RTX 4070 Laptop GPU'
2024-01-30 21:20:51 [3,306ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] gpu_1 = 'Intel(R) Iris(R) Xe Graphics'
2024-01-30 21:20:51 [3,307ms] [Warn] [carb.crashreporter-breakpad.plugin] [crash] gpu_2 = 'Intel(R) Iris(R) Xe Graphics'

and

C:\Users<username>\AppData\Local\ov\pkg\rtx-remix-2024.1.1\apps/lightspeed.app.trex.kit" --/renderer/multiGpu/maxGpuCount=1 --/renderer/activeGpu=1

I would think you need to use --/renderer/activeGpu=0 here, because the GPU 0 is the RTX one. But perhaps I am wrong (?)

nvdamien avatar Jan 30 '24 21:01 nvdamien

activeGpu=0 crash instant

XanaXCODE avatar Jan 30 '24 21:01 XanaXCODE

Alright, filed as REMIX-2719 with a priority.

nvdamien avatar Jan 30 '24 21:01 nvdamien

Last thing you can try for now: can you copy the dxvk.conf file ( https://github.com/NVIDIAGameWorks/dxvk-remix/blob/main/dxvk.conf ) next to the kit.exe file:

image

And change the line:

# d3d9.adapterOverride = -1

https://github.com/NVIDIAGameWorks/dxvk-remix/blob/main/dxvk.conf#L569

Into:

d3d9.adapterOverride = 0

0 or 1 or 2. Let see if it will force the GPU

nvdamien avatar Jan 30 '24 22:01 nvdamien

Similar issue here: https://github.com/NVIDIAGameWorks/rtx-remix/issues/387 Seems like in both cases users are using mobile GPUs

po-trottier avatar Jan 30 '24 23:01 po-trottier

Last thing you can try for now: can you copy the dxvk.conf file ( https://github.com/NVIDIAGameWorks/dxvk-remix/blob/main/dxvk.conf ) next to the kit.exe file:

image

And change the line:

# d3d9.adapterOverride = -1

https://github.com/NVIDIAGameWorks/dxvk-remix/blob/main/dxvk.conf#L569

Into:

d3d9.adapterOverride = 0

0 or 1 or 2. Let see if it will force the GPU

This appears to do nothing for me

BJMart avatar Jan 31 '24 09:01 BJMart

lightspeed.app.trex.bat --/renderer/multiGpu/maxGpuCount=1 --/renderer/activeGpu=1

I tried this and it does not work. One of the errors I got is this - 2024-01-31 10:16:18 [2,589ms] [Error] [gpu.foundation.plugin] No device could be created. Some known system issues:

  • The driver is not installed properly and requires a clean re-install.
  • Your GPUs do not support RayTracing: DXR or Vulkan ray_tracing, or hardware is excluded due to performance.
  • The driver cannot enumerate any GPU: driver, display, TCC mode or a docker issue. For Vulkan, test it with Vulkaninfo tool from Vulkan SDK, instead of nvidia-smi.

I completely re-installed my GPU drivers and it is still showing this error.

And the other error I got is this 2024-01-31 10:16:21 [5,729ms] [Error] [omni.hydra.pxr] Cannot use omni.hydra.pxr without OpenGL interop

bg-peole avatar Jan 31 '24 10:01 bg-peole

Here is my log for the same issue.

https://github.com/NVIDIAGameWorks/rtx-remix/files/14138431/kit_20240202_090701.1.log

bg-peole avatar Feb 02 '24 09:02 bg-peole

im guessing this issue has not been fixed because i have gone through all the steps and found no ways of fixing it

TheHuntsmanbuh avatar Feb 02 '24 13:02 TheHuntsmanbuh

It seems that after some manual fault finding, HdRemix-2ceff4a7 (specifically "HdRemix.dll" in "C:\packman-repo\chk\rtx-remix-hdremix\2ceff4a7") causes the toolkit to crash when it is not supposed to. Only the "Pixar Storm" renderer works but not the ideal "Remix" renderer.

a01bv avatar Feb 02 '24 14:02 a01bv

I realised this after renaming "HdRemix.dll" to something like "HdRemix.1.dll" to get the toolkit loading up again in its less fuller state rather than crashing altogether.

This is not a fix as the toolkit has its renderer downgraded to "Pixar Storm", the non-default solid-shaded renderer with baked lighting but no materials or a lit skybox.

a01bv avatar Feb 02 '24 14:02 a01bv

I realised this after renaming "HdRemix.dll" to something like "HdRemix.1.dll" to get the toolkit loading up again in its less fuller state rather than crashing altogether.

I think that has fixed it for me. Thank you.

bg-peole avatar Feb 02 '24 16:02 bg-peole

I think that has fixed it for me. Thank you.

Though it may look like it is fixed, you are unable to use the "Remix" renderer until it is fixed by the devs. So, for now, you would use the "Pixar Storm" renderer in its place.

a01bv avatar Feb 02 '24 16:02 a01bv

I think that has fixed it for me. Thank you.

Though it may look like it is fixed, you are unable to use the "Remix" renderer until it is fixed by the devs. So, for now, you would use the "Pixar Storm" renderer in its place.

What is the difference?

bg-peole avatar Feb 02 '24 16:02 bg-peole

What is the difference?

From observation, the "Pixar Storm" renderer appears to only render meshes in a shaded grey colour as well as coloured lights with a black sky. Whereas the "Remix" renderer is the default renderer with the expected result.

Selected meshes in the "Pixar Storm" renderer highlight in yellow.

a01bv avatar Feb 02 '24 17:02 a01bv

What is the difference?

From observation, the "Pixar Storm" renderer appears to only render meshes in a shaded grey colour as well as coloured lights with a black sky. Whereas the "Remix" renderer is the default renderer with the expected result.

Selected meshes in the "Pixar Storm" renderer highlight in yellow.

Do you know how to inject the runtime into a game. I have placed it inside the game but it does nothing when I click Alt+X

bg-peole avatar Feb 02 '24 18:02 bg-peole

Hey all,

The issue has been working on. Renaming files or anything like that will not fix the issue. We will keep you up to date when this is fixed.

Thank you.

nvdamien avatar Feb 02 '24 19:02 nvdamien

Here is the kit_d3d9 log as well.

https://github.com/NVIDIAGameWorks/rtx-remix/files/14145223/kit_d3d9.log

bg-peole avatar Feb 02 '24 20:02 bg-peole

kit_d3d9.log Here is my kit_d3d9 log

BJMart avatar Feb 02 '24 23:02 BJMart

Just thought I could add more info from my end here:

The error that I get after "info: Enabled Layer Names: " is "MESA: error: ID3D12DeviceFactory::CreateDevice failed". I only get this error when leaving the "HdRemix.dll" alone with its original name.

What I can do is to bypass the error, is to either rename "HdRemix.dll" or remove it where the rest of the toolkit works with the "Pixar Storm" renderer except the "Remix" renderer.

I once had the iGPU of my i9 9900K enabled when I was last using the toolkit with the "Remix" renderer, then a few days later, it started crashing during launch.

  • Disabling the iGPU in the BIOS did not fix it.
  • Switching between "Game Ready" and the "Studio" driver on version "551.23" did not fix it.
  • Reinstalling it did not fix it.
  • Deleting user data and cache made by the toolkit did not fix it.
  • And I do not know if "info: rtx.io.enabled overridden by environment variable: DXVK_USE_RTXIO=0" is normal, nor can I find where it is in Windows's own environment variables.

So for now, I am left with the "Pixar Storm" renderer on beta version "2024.1.1" with HdRemix on version "2ceff4a7".

PC: Desktop GPU: RTX 2080 Ti.

Edit: I still get the same "MESA: error: ID3D12DeviceFactory::CreateDevice failed" error even after uninstalling the Intel iGPU drivers via DDU and upgrading the NVIDIA GPU driver to the 551.46 Hotfix driver.

a01bv avatar Feb 08 '24 15:02 a01bv

I can confirm that disabling the integrated graphics through device manager fixes this issue, although it causes many problems elsewhere and Is really not reccomended

BJMart avatar Feb 09 '24 08:02 BJMart

I did wrote about it on Discord, but i think that i should also write about it here:

Just a quick note: I do sometimes work in the Toolkit on my Laptop with: Ryzen 5 5600H And RTX3050 mobile, And never had an Issue like that, it just worked out of the box, And everything works fine (the performance sometimes is not great, But it Works and doesn't crash at all, the Runtime and the toolkit). So, maybe this is just related only to the Intel Integrated Graphics in Laptops? Weird, but when i saw this i thought that i should write here about it, that This does not affect Every Laptop with a RTX card.

So This probably only affects laptops With a Intel CPU (which comes with it's Integrated GPU) And RTX GPU. But, this doesn't affect any System with a AMD cpu And RTX GPU.

Szymkim2134 avatar Feb 09 '24 19:02 Szymkim2134