Page 1 of 1

[SOLVED] Can't get rid of CUDA error in Blender

Posted: Sat Jun 07, 2025 8:07 pm
by tango13
Hi all,

no matter what I try, no matter which versions of Blender/BlendLuxCore I use, I can't use LuxCore in Blender because of the CUDA error (unsupported PTX version); even the recommended versions (4.2 / 2.10.0) give no joy.
What's the minimum CUDA version that should be used?
I am on Ubuntu 24.04.02 Linux, NVidia driver 570.133.07, CUDA version 12.8, as reported by nvidia-smi.
Is this driver too old? Apparently it's the latest available for my distro. :cry:

Thank you!

EDIT: don't know if this can be of any help, but I just tried luxcoreconsole and luxcoreui v2.10, they both work perfectly

Re: Can't get rid of CUDA error in Blender

Posted: Sat Jun 07, 2025 8:50 pm
by CodeHD
The python bindings of LuxCore, "pyluxcore", which are used by BlendLuxCore, install the CUDA runtime compiler through a python package. Currently that is the latest version of this:
https://pypi.org/project/nvidia-cuda-nv ... 2/#history

Currently, this will install CUDA 12.9.
According to the release notes, you will need at least driver version 575.51.03 on linux.
https://docs.nvidia.com/cuda/archive/12 ... index.html

(Note: With the next release we will pin a specific version, to avoid unintended feature changes and not forcing the driver updates too frequently)

luxcoreconsole and luxcoreui don't use the python bindings and so don't suffer the auto update. They include NVRTC 12.8, for which your driver 570.X is recent eneough.

Re: Can't get rid of CUDA error in Blender

Posted: Sat Jun 07, 2025 9:17 pm
by tango13
Thanks @CodeHD for your help.
In the meanwhile I had found here that my installed driver was not the latest.
Installed 575.57.08 which brings CUDA 12.9, things started working properly.
Thank you very much also for the other detailed explanations.