-
Notifications
You must be signed in to change notification settings - Fork 94
-
Notifications
You must be signed in to change notification settings - Fork 94
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
Enoki PTX linker error #70
Comments
Could it be related to this? This seems to specify the compute capability of the GPU and 61 matches the P4 indeed... https://en.wikipedia.org/wiki/CUDA Would it be possible to support more types? |
Hi, you need a Maxwell-class GPU or newer to run Mitsuba's inverse renderer (e.g. GeForce 1080). The bottleneck here is actually not Enoki (it could likely compile and run with a much lower compute capability), but OptiX which requires Maxwell/Turing for the "RTGeometryTriangles" primitive that we depend on. Best, |
Hi Wenzel Glad to receive a reaction from the legend himself!
and was wondering if this script: https://github.com/mitsuba-renderer/mitsuba2/blob/dbcecba782a228fcda134558f9ae57fa91033967/resources/ptx/Makefile#L4 shouldn't contain the |
We compile to PTX ( |
Aha ok, thanks for the explanation! You say a Maxwell class GPU (or newer) is needed for Optix, but all the GPU's I tested (except K80) are Maxwell or better... I have the feeling that the code only runs on a GPU with compute capability 61, as the P4 or 1080... |
Aha, that could well be -- maybe we're setting the flag too strictly. Can you try just manually setting it to something smaller? What is the C.C. of the other maxwell devices? |
I've updated the table in my initial post with the C.C's.
Now I'm rebuilding mitsuba2 on my laptop (GeForce 940M, Maxwell, with CC=5.0) 🤞 |
Still exactly the same error...
I'm wondering where the "SM version" is still defined.... |
In CMake, there's a variable called Line 15 in 02b224d
|
Hey Merlin Should I create a PR for this, or do you guys prefer keeping it as is? |
Yes, that would be great -- please make a PR that downgrades the compute capabilities to the minimal version known to work. |
Hey all!
First of all thank you very much for publishing/releasing mitsuba2!
I wanted to start experimenting with inverse rendering and tried multiple platforms (Google Colab and my own hardware), but I keep facing the exact same issue everywhere:
I've tried different GPU's and the results are:
-> The weird thing is that the issue does not occur on a Tesla P4 but it does on all the others
Does anyone have an idea what can cause this and how I can fix it?
Thanks a lot! Pieterjan
The text was updated successfully, but these errors were encountered: