OPTIX_ERROR_PIPELINE_LINK_ERROR (fixed in 3.6, request to backport to 3.5.1) #107114

Closed
opened 2023-04-19 08:34:49 +02:00 by Alex-Kirhenstein-2 · 6 comments

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 4070 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 528.02

Blender Version
Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56, hash: 1be25cfff18b
Worked: 3.6

Not building with Optix atm, but pretty sure this was fixed with 5ba35b3d15

Short description of error
Hello Blender team,

I have installed the new 4070 Ti GPU, and I'm testing the blender demo files. And I have an issue with "Lone Monk" project. It gives me an error in Optix (image attached).

It would be very helpful if you could provide advice or fix it. Thank you.

Exact steps for others to reproduce the error

  1. I open the project in Blender ("Lone Monk" demo file without any changes).
  2. Select Optix (with my card selected) tab in Preferences (CPU unchecked).
  3. Press F12 or switch to Viewport Shading.

Then I see an error.

Best regards,
Alex

**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 4070 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 528.02 **Blender Version** Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56, hash: `1be25cfff18b` Worked: 3.6 Not building with Optix atm, but pretty sure this was fixed with 5ba35b3d15 **Short description of error** Hello Blender team, I have installed the new 4070 Ti GPU, and I'm testing the blender demo files. And I have an issue with "Lone Monk" project. It gives me an error in Optix (image attached). It would be very helpful if you could provide advice or fix it. Thank you. **Exact steps for others to reproduce the error** 1. I open the project in Blender ("Lone Monk" demo file without any changes). 2. Select Optix (with my card selected) tab in Preferences (CPU unchecked). 3. Press F12 or switch to Viewport Shading. Then I see an error. Best regards, Alex
Alex-Kirhenstein-2 added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-04-19 08:34:50 +02:00
YimingWu added the
Interest
Render & Cycles
Interest
Render Pipeline
labels 2023-04-19 09:35:27 +02:00
Member

Hi, thanks for the report. With OSL Optix I can confirm in 3.5 but this seems fixed already in 3.6
Can you verify again in 3.6 build?: https://builder.blender.org/download/daily/

OPTIX_ERROR_PIPELINE_LINK_ERROR in optixPipelineCreate(context, &pipeline_options, &link_options, pipeline_groups.data(), pipeline_groups.size(), nullptr, 0, &pipelines[PIP_SHADE]) (C:\Users\blender\git\blender-v350\blender.git\intern\cycles\device\optix\device_impl.cpp:910)

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

OPTIX_ERROR_INVALID_VALUE in optixPipelineSetStackSize( pipelines[PIP_SHADE], 0, dss, css, pipeline_options.usesMotionBlur ? 3 : 2) (C:\Users\blender\git\blender-v350\blender.git\intern\cycles\device\optix\device_impl.cpp:920)
Error: OPTIX_ERROR_PIPELINE_LINK_ERROR in optixPipelineCreate(context, &pipeline_options, &link_options, pipeline_groups.data(), pipeline_groups.size(), nullptr, 0, &pipelines[PIP_SHADE]) (C:\Users\blender\git\blender-v350\blender.git\intern\cycles\device\optix\device_impl.cpp:910)
Hi, thanks for the report. With OSL Optix I can confirm in 3.5 but this seems fixed already in 3.6 Can you verify again in 3.6 build?: https://builder.blender.org/download/daily/ ``` OPTIX_ERROR_PIPELINE_LINK_ERROR in optixPipelineCreate(context, &pipeline_options, &link_options, pipeline_groups.data(), pipeline_groups.size(), nullptr, 0, &pipelines[PIP_SHADE]) (C:\Users\blender\git\blender-v350\blender.git\intern\cycles\device\optix\device_impl.cpp:910) Refer to the Cycles GPU rendering documentation for possible solutions: https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html OPTIX_ERROR_INVALID_VALUE in optixPipelineSetStackSize( pipelines[PIP_SHADE], 0, dss, css, pipeline_options.usesMotionBlur ? 3 : 2) (C:\Users\blender\git\blender-v350\blender.git\intern\cycles\device\optix\device_impl.cpp:920) Error: OPTIX_ERROR_PIPELINE_LINK_ERROR in optixPipelineCreate(context, &pipeline_options, &link_options, pipeline_groups.data(), pipeline_groups.size(), nullptr, 0, &pipelines[PIP_SHADE]) (C:\Users\blender\git\blender-v350\blender.git\intern\cycles\device\optix\device_impl.cpp:910) ```
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-04-19 11:19:49 +02:00

Yes, it's working now. Thank you.

But I got slower render result (only for this "Lone Monk" project). Slower comparing to this Youtuber - https://www.youtube.com/watch?v=88czbIuQazQ&t=219

MY RESULTS > It took 2 min 45 sec to render "Lone Monk" project.
Youtuber > It took 1 min 37 sec to render.

I have tested all other demo projects (BMW, Classroom...) and render times was almost identical to his on Blender 3.6. Only "Lone Monk" project is very different.

Yes, it's working now. Thank you. But I got slower render result (only for this "Lone Monk" project). Slower comparing to this Youtuber - https://www.youtube.com/watch?v=88czbIuQazQ&t=219 MY RESULTS > It took 2 min 45 sec to render "Lone Monk" project. Youtuber > It took 1 min 37 sec to render. I have tested all other demo projects (BMW, Classroom...) and render times was almost identical to his on Blender 3.6. Only "Lone Monk" project is very different.
Member

Thanks for verifying.

MY RESULTS > It took 2 min 45 sec to render "Lone Monk" project.
Youtuber > It took 1 min 37 sec to render.

This doesn't belong to scope of this issue. But render time will vary based on multiple factors (background usage, clock speed, sample, etc.)


@lichtwerk hi, need help in bisecting to backport the fix to 3.5 :/

Thanks for verifying. >MY RESULTS > It took 2 min 45 sec to render "Lone Monk" project. Youtuber > It took 1 min 37 sec to render. This doesn't belong to scope of this issue. But render time will vary based on multiple factors (background usage, clock speed, sample, etc.) - - - @lichtwerk hi, need help in bisecting to backport the fix to 3.5 :/
Member

Not building with Optix atm, but pretty sure this was fixed with 5ba35b3d15

@pmoursnv : could this be added to 3.5.1 corrective release #106258?

Not building with Optix atm, but pretty sure this was fixed with 5ba35b3d159610b76e2ec69b46ed9b973263dc92 @pmoursnv : could this be added to 3.5.1 corrective release #106258?
Philipp Oeser changed title from Problem/Bug to OPTIX_ERROR_PIPELINE_LINK_ERROR (fixed in 3.6, request to backport to 3.5.1) 2023-04-19 14:59:23 +02:00
Member

Since there won't be another corrective release for 3.5, I think we can close this.

Since there won't be another corrective release for 3.5, I think we can close this.
Blender Bot added
Status
Archived
and removed
Status
Needs Info from Developers
labels 2023-05-18 18:20:08 +02:00

Getting this error again in 3.6.4 release branch:

image

Same steps to reproduce in the below file
https://drive.google.com/open?id=15ihkAY3pAhsEsKRMo4dfSbrDFKqaNwhU&usp=drive_fs

Getting this error again in 3.6.4 release branch: ![image](/attachments/09bc537c-8042-4ce6-a6fb-9b6fca326e24) Same steps to reproduce in the below file https://drive.google.com/open?id=15ihkAY3pAhsEsKRMo4dfSbrDFKqaNwhU&usp=drive_fs
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
4 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#107114
No description provided.