Optix denoising fails after loading render kernels (OPTIX_ERROR_INVALID_PTX) #79159

Closed
opened 2020-07-22 14:17:33 +02:00 by Issa Rakhmetullin · 15 comments

System Information
Operating system: Windows 10 Home 64-bit
Graphics card: NVIDIA GeForce GTX 860M (driver version 451.67)

Blender Version
Broken: 2.90.0 Alpha, branch: master, commit date: 2020-07-20 20:08, hash: 731d9f0bfa
Worked: 2.90.0 Alpha, branch: active-fcurve-keyframe, commit date: 2020-07-16 18:15, hash: ea4c327c9772

Short description of error
Optix denoising feature stopped working on the latest 2.90 build but works in the experimental "f-curve" branch. I don't remember updating or changing any drivers during the last two days when it bugged. I've tried deleting and reinstalling Nvidia drivers a few times as well as resetting and redownloading Blender.
The error occurs right after loading render kernels in the viewport and in render mode.

Exact message as seen in the viewport and debug_output:
OPTIX_ERROR_INVALID_PTX in optixModuleCreateFromPTX(context, &module_options, &pipeline_options, ptx_data.data(), ptx_data.size(), nullptr, 0, &optix_module) (device_optix.cpp:433)

Exact steps for others to reproduce the error
It might be just my machine as this is a fairly new SSD.

**System Information** Operating system: Windows 10 Home 64-bit Graphics card: NVIDIA GeForce GTX 860M (driver version 451.67) **Blender Version** Broken: 2.90.0 Alpha, branch: master, commit date: 2020-07-20 20:08, hash: 731d9f0bfa40 Worked: 2.90.0 Alpha, branch: active-fcurve-keyframe, commit date: 2020-07-16 18:15, hash: ea4c327c9772 **Short description of error** Optix denoising feature stopped working on the latest 2.90 build but works in the experimental "f-curve" branch. I don't remember updating or changing any drivers during the last two days when it bugged. I've tried deleting and reinstalling Nvidia drivers a few times as well as resetting and redownloading Blender. The error occurs right after loading render kernels in the viewport and in render mode. Exact message as seen in the viewport and debug_output: OPTIX_ERROR_INVALID_PTX in optixModuleCreateFromPTX(context, &module_options, &pipeline_options, ptx_data.data(), ptx_data.size(), nullptr, 0, &optix_module) (device_optix.cpp:433) **Exact steps for others to reproduce the error** It might be just my machine as this is a fairly new SSD.

Added subscriber: @holdmydrink

Added subscriber: @holdmydrink
Issa Rakhmetullin changed title from Optix denoising fails after loading render kernels (OPTIX_ERROR_INVALID_PTX3 to Optix denoising fails after loading render kernels (OPTIX_ERROR_INVALID_PTX) 2020-07-22 14:18:40 +02:00

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Thanks for the report. This seems like a graphic driver issue. Please double-check if the drivers are up to date and the hardware meets Blender's requirements: https://www.blender.org/download/requirements

To upgrade to the latest driver, see here for more information: https://docs.blender.org/manual/en/dev/troubleshooting/gpu/index.html

Thanks for the report. This seems like a graphic driver issue. Please double-check if the drivers are up to date and the hardware meets Blender's requirements: https://www.blender.org/download/requirements To upgrade to the latest driver, see here for more information: https://docs.blender.org/manual/en/dev/troubleshooting/gpu/index.html

It most probably is. I suspect that Windows 10 interfered with the drivers installation process by trying to install an ancient version of the graphics drivers at the same time as me.

Thanks for the input! I'll be trying to reinstall the drivers in safe mode. If that fails, I guess I'll just reinstall windows.

It most probably is. I suspect that Windows 10 interfered with the drivers installation process by trying to install an ancient version of the graphics drivers at the same time as me. Thanks for the input! I'll be trying to reinstall the drivers in safe mode. If that fails, I guess I'll just reinstall windows.

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

In #79159#984582, @holdmydrink wrote:
Thanks for the input! I'll be trying to reinstall the drivers in safe mode. If that fails, I guess I'll just reinstall windows.

I'll be waiting, marking as needing information in the meantime.

> In #79159#984582, @holdmydrink wrote: > Thanks for the input! I'll be trying to reinstall the drivers in safe mode. If that fails, I guess I'll just reinstall windows. I'll be waiting, marking as needing information in the meantime.

Added subscriber: @iulian_lus

Added subscriber: @iulian_lus

same error. on linux mint 20 , NVIDIA GM107M [GeForce GTX 850M]
I have reinstall the windows (fresh copy of everyting)
still gives the error

WARN (bpy.rna): /home/sources/buildbot-worker-linux_centos7/linux_290/blender.git/source/blender/python/intern/bpy_rna.c:1473 pyrna_enum_to_py: current value '0' matches no enum in 'BlenderCloudProjectGroup', '', 'project'
Read blend: /home/lus/Desktop/Body_men__brut_INT_003.blend
OPTIX_ERROR_INVALID_PTX in optixModuleCreateFromPTX(context, &module_options, &pipeline_options, ptx_data.data(), ptx_data.size(), nullptr, 0, &optix_module) (device_optix.cpp:426)

same error. on linux mint 20 , NVIDIA GM107M [GeForce GTX 850M] I have reinstall the windows (fresh copy of everyting) still gives the error WARN (bpy.rna): /home/sources/buildbot-worker-linux_centos7/linux_290/blender.git/source/blender/python/intern/bpy_rna.c:1473 pyrna_enum_to_py: current value '0' matches no enum in 'BlenderCloudProjectGroup', '', 'project' Read blend: /home/lus/Desktop/Body_men__brut_INT_003.blend OPTIX_ERROR_INVALID_PTX in optixModuleCreateFromPTX(context, &module_options, &pipeline_options, ptx_data.data(), ptx_data.size(), nullptr, 0, &optix_module) (device_optix.cpp:426)
Member

Added subscriber: @Kdaf

Added subscriber: @Kdaf
Member

Same error for me. On linux Debian, NVIDIA GTX 750.
It worked two weeks ago, but not now. I've the drivers updated to the latest versions :
Nvidia smi :

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.100 Driver Version: 440.100 CUDA Version: 10.2 |
|-------------------------------+----------------------+----------------------+

The blender logs are :

OPTIX_ERROR_INVALID_PTX in optixModuleCreateFromPTX(context, &module_options, &pipeline_options, ptx_data.data(), ptx_data.size(), nullptr, 0, &optix_module) (device_optix.cpp:426)

Refer to the Cycles GPU rendering documentation for possible solutions:
https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html

Same error for me. On linux Debian, NVIDIA GTX 750. It worked two weeks ago, but not now. I've the drivers updated to the latest versions : Nvidia smi : > +-----------------------------------------------------------------------------+ > | NVIDIA-SMI 440.100 Driver Version: 440.100 CUDA Version: 10.2 | > |-------------------------------+----------------------+----------------------+ The blender logs are : > OPTIX_ERROR_INVALID_PTX in optixModuleCreateFromPTX(context, &module_options, &pipeline_options, ptx_data.data(), ptx_data.size(), nullptr, 0, &optix_module) (device_optix.cpp:426) > > Refer to the Cycles GPU rendering documentation for possible solutions: > https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html

Added subscriber: @YAFU

Added subscriber: @YAFU

Hi.
Just in case, apparently yesterday there has been a commit that disables support for Maxwell first generation because apparently it is not properly supported:

https:*developer.blender.org/rBc64b12c0b80bc5a60ff39c7f984d06020009400c

https://en.wikipedia.org/wiki/Maxwell_(microarchitecture)#First_generation_Maxwell_(GM10x)

Edit:
Just to avoid confusion for future readers, I clarify that Optix support for the first generation Maxwell has been restored, as you can see in the commit below.

Hi. Just in case, apparently yesterday there has been a commit that disables support for Maxwell first generation because apparently it is not properly supported: [https:*developer.blender.org/rBc64b12c0b80bc5a60ff39c7f984d06020009400c ](https:*developer.blender.org/rBc64b12c0b80bc5a60ff39c7f984d06020009400c) https://en.wikipedia.org/wiki/Maxwell_(microarchitecture)#First_generation_Maxwell_(GM10x) Edit: Just to avoid confusion for future readers, I clarify that Optix support for the first generation Maxwell has been restored, as you can see in the commit below.
Member

Removed subscriber: @Kdaf

Removed subscriber: @Kdaf

This issue was referenced by d64e171c4b

This issue was referenced by d64e171c4ba1648c647e5b160cc80c5dd15d05c6
Member

Changed status from 'Needs User Info' to: 'Resolved'

Changed status from 'Needs User Info' to: 'Resolved'
Patrick Mours self-assigned this 2020-07-28 12:46:58 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
7 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#79159
No description provided.