Error with Optix #86242

Closed
opened 2021-03-03 22:37:07 +01:00 by Maxwell Araujo · 11 comments

System Information
Operating system: w 10
Graphics card: gtx 1070

Blender Version
Broken: 2.92

Short description of error

Sometimes i getting this error when I send to render with optix.

OPTIX_ERROR_INVALID_VALUE in optixAccelBuild(context, NULL, &options, &build_input, 1, temp_mem.device_pointer, sizes.tempSizeInBytes, out_data.device_pointer, sizes.outputSizeInBytes, &out_handle, background ? &compacted_size_prop : NULL, background ? 1 : 0) (device_optix.cpp:1208)

and other times I get the massage as if my image has been rendered, but the output has nothing to show and I don't get any error messages.

**System Information** Operating system: w 10 Graphics card: gtx 1070 **Blender Version** Broken: 2.92 **Short description of error** Sometimes i getting this error when I send to render with optix. OPTIX_ERROR_INVALID_VALUE in optixAccelBuild(context, NULL, &options, &build_input, 1, temp_mem.device_pointer, sizes.tempSizeInBytes, out_data.device_pointer, sizes.outputSizeInBytes, &out_handle, background ? &compacted_size_prop : NULL, background ? 1 : 0) (device_optix.cpp:1208) and other times I get the massage as if my image has been rendered, but the output has nothing to show and I don't get any error messages.
Author

Added subscriber: @vlice

Added subscriber: @vlice

Added subscriber: @kevindietrich

Added subscriber: @kevindietrich

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

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

Can you provide an example file that demonstrates your issue, and more information about your system (e.g. GPU driver)?

Can you provide an example file that demonstrates your issue, and more information about your system (e.g. GPU driver)?
Author

print_tela_erro_optix.png

SUITE.blend

print driver nvidia.png

of course, I was doing this scene to study and post on my portfolio. This time, I can't process anything with optix, which is a shame.

I sent some prints that might help.

The version of my system is , Windows 10 Home , 20H2

Thanks

![print_tela_erro_optix.png](https://archive.blender.org/developer/F9867174/print_tela_erro_optix.png) [SUITE.blend](https://archive.blender.org/developer/F9867173/SUITE.blend) ![print driver nvidia.png](https://archive.blender.org/developer/F9867172/print_driver_nvidia.png) of course, I was doing this scene to study and post on my portfolio. This time, I can't process anything with optix, which is a shame. I sent some prints that might help. The version of my system is , Windows 10 Home , 20H2 Thanks

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

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

I am getting a crash in nvcc when compiling the kernels for this file, not sure yet if it is related to your problem though.

Segmentation fault (core dumped)
Failed to execute compilation command, see console for details.

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

Read prefs: /home/kevin/.config/blender/2.93/config/userpref.blend
Read blend: /home/kevin/Téléchargements/SUITE.blend
Compiling CUDA kernel ...
"/usr/local/cuda/bin/nvcc" -arch=sm_75 --cubin "/home/kevin/src/blender/build_linux/bin/share/blender/2.93/scripts/addons/cycles/source/kernel/kernels/cuda/kernel.cu" -o "/home/kevin/.cache/cycles/kernels/cycles_kernel_sm_75_333E5B1E5070B39C105298ADEEB3589F.cubin" -m64 --ptxas-options="-v" --use_fast_math -DNVCC -I"/home/kevin/src/blender/build_linux/bin/share/blender/2.93/scripts/addons/cycles/source" -I"/opt/lib/NVIDIA-OptiX-SDK-7.0.0-linux64//include" --keep-device-functions
Error: Failed to execute compilation command, see console for details.
I am getting a crash in nvcc when compiling the kernels for this file, not sure yet if it is related to your problem though. ``` Segmentation fault (core dumped) Failed to execute compilation command, see console for details. Refer to the Cycles GPU rendering documentation for possible solutions: https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html Read prefs: /home/kevin/.config/blender/2.93/config/userpref.blend Read blend: /home/kevin/Téléchargements/SUITE.blend Compiling CUDA kernel ... "/usr/local/cuda/bin/nvcc" -arch=sm_75 --cubin "/home/kevin/src/blender/build_linux/bin/share/blender/2.93/scripts/addons/cycles/source/kernel/kernels/cuda/kernel.cu" -o "/home/kevin/.cache/cycles/kernels/cycles_kernel_sm_75_333E5B1E5070B39C105298ADEEB3589F.cubin" -m64 --ptxas-options="-v" --use_fast_math -DNVCC -I"/home/kevin/src/blender/build_linux/bin/share/blender/2.93/scripts/addons/cycles/source" -I"/opt/lib/NVIDIA-OptiX-SDK-7.0.0-linux64//include" --keep-device-functions Error: Failed to execute compilation command, see console for details. ```
Author

Maybe this help. If I use feature set experimental to use the displacement i got the error with optix.

experimental.png

Maybe this help. If I use feature set experimental to use the displacement i got the error with optix. ![experimental.png](https://archive.blender.org/developer/F9898268/experimental.png)
Author

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'
Maxwell Araujo self-assigned this 2021-03-29 23:14:03 +02:00
Author

I found out what could possibly cause the problems with blender here ... I uninstalled all the versions I had on my pc and installed the versions they had in the Windows Store and after that I had no more problems. I found this out using the ccleaner program and had found path errors in blender. Maybe something in windows changed something in blender.

I found out what could possibly cause the problems with blender here ... I uninstalled all the versions I had on my pc and installed the versions they had in the Windows Store and after that I had no more problems. I found this out using the ccleaner program and had found path errors in blender. Maybe something in windows changed something in blender.

Changed status from 'Resolved' to: 'Archived'

Changed status from 'Resolved' to: 'Archived'
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
2 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#86242
No description provided.