Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The compilation was successful, but an error occurred during runtime. #13

Closed
rslika opened this issue Jul 4, 2024 · 4 comments
Closed

Comments

@rslika
Copy link

rslika commented Jul 4, 2024

System configuration

System information:

OS: windows 11
CPU: amd 7735H
GPU: nvidia 4060

Description

I followed the steps in the Mitsuba 3 documentation for compilation, and the compilation was successful, but an error occurred during runtime.The main error message are:

Critical Dr.Jit compiler failure: jit_optix_compile(): optixModuleGetCompilationState() indicates that the compilation did not complete succesfully. The module's compilation state is: 0x2363
Please see the PTX assembly listing and error message below:

COMPILE ERROR: Invalid PTX input: ptx2llvm-module-001: error: Failed to parse input PTX string
ptx2llvm-module-001, line 2; fatal   : Unsupported .target 'sm_87'
Cannot parse input PTX string

It seems to be a compliation error, however I didn't find any error message in cmake log.

Any solutions provided for this issue would be very helpful, or could anyone please provide a working compilation environment? I will report new compilation results under different environments.

@juhyeonkim95
Copy link
Owner

Hi, What is your cuda + gpu driver version?

I tested the code works well on both of Ubuntu + 3090 and Windows11 + 4090.

@rslika
Copy link
Author

rslika commented Jul 5, 2024

It's CUDA v12.3 and driver 546.12 on my device.

@juhyeonkim95
Copy link
Owner

According to the following link, this is a driver issue.

mitsuba-renderer/mitsuba3#803

According to the linke, you can resolve this by (1) downgrade gpu driver (2) or update drjit to the latest version.

It is resolved in current Mitsuba version, but I used previous version for this repo, so it happened.

@rslika
Copy link
Author

rslika commented Jul 5, 2024

Thanks a lot. I recompiled using Dr.Jit v0.4.6 and successfully ran the tests.

@rslika rslika closed this as completed Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants