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

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
tango13
Posts: 3
Joined: Thu Jun 05, 2025 8:47 am

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

Post 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
Last edited by tango13 on Sat Jun 07, 2025 9:18 pm, edited 1 time in total.
CodeHD
Developer
Developer
Posts: 482
Joined: Tue Dec 11, 2018 12:38 pm
Location: Germany

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

Post 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.
tango13
Posts: 3
Joined: Thu Jun 05, 2025 8:47 am

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

Post 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.
Post Reply