Optix_error_internal_error in optixDeviceContextCreate(cuContext, &Options , &Context) while on an RTX card #94279

Closed
opened 2021-12-20 20:19:20 +01:00 by Henry · 16 comments

System Information
Operating system: Windows 10 Home 64Bit
Graphics card: Newly installed RTX 3070
CPU: Intel i7-6700K
Motherboard: Z170A GAMING M7 (MS-7976)
RAM: 2x16GB 32GB 2133mhz

Blender Version
Broken: (3.0.0, f1cca30557, master, 2021-12-02)
Worked: Not known yet

Short description of error
Setting rendering to Optix in Systems through Preference menu, and then rendering with the Optix Denoiser and Cycles renderer gives me this error. Rendering in CUDA, None, and Eevee worked regularly. Using Optix denoising while on Optix rendering greys out viewport.

OPTIX_ERROR_INTERNAL_ERROR in optixDeviceContextCreate(cuContext, &options, &context) (C:\Users\blender\git\blender-v300\blender.git\intern\cycles\device\optix\device_impl.cpp:89)

Viewport
Err.png

Render Window
Err2.png

Viewport View
Err3.png

Exact steps for others to reproduce the error
Swapped out my GTX 1070 for a new RTX 3070. Updated my Mobo's BIOS to the latest driver available. Reinstalled latest GPU drivers from Nvidia as of today (497.29). Tried rendering and denoising through Optix on any Blender file on supported and experimental feature sets using GPU.

**System Information** Operating system: Windows 10 Home 64Bit Graphics card: Newly installed RTX 3070 CPU: Intel i7-6700K Motherboard: Z170A GAMING M7 (MS-7976) RAM: 2x16GB 32GB 2133mhz **Blender Version** Broken: (3.0.0, f1cca3055776, master, 2021-12-02) Worked: Not known yet **Short description of error** Setting rendering to Optix in Systems through Preference menu, and then rendering with the Optix Denoiser and Cycles renderer gives me this error. Rendering in CUDA, None, and Eevee worked regularly. Using Optix denoising while on Optix rendering greys out viewport. > OPTIX_ERROR_INTERNAL_ERROR in optixDeviceContextCreate(cuContext, &options, &context) (C:\Users\blender\git\blender-v300\blender.git\intern\cycles\device\optix\device_impl.cpp:89) *Viewport* ![Err.png](https://archive.blender.org/developer/F12767838/Err.png) *Render Window* ![Err2.png](https://archive.blender.org/developer/F12767841/Err2.png) *Viewport View* ![Err3.png](https://archive.blender.org/developer/F12767875/Err3.png) **Exact steps for others to reproduce the error** Swapped out my GTX 1070 for a new RTX 3070. Updated my Mobo's BIOS to the latest driver available. Reinstalled latest GPU drivers from Nvidia as of today (497.29). Tried rendering and denoising through Optix on any Blender file on supported and experimental feature sets using GPU.
Author

Added subscriber: @Rookstun

Added subscriber: @Rookstun

Added subscriber: @iss

Added subscriber: @iss

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

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

Does this mean that rendering default startup file (cube) will fail too? Can you check if this works in 2.93 LTS and latest alpha build form https://builder.blender.org/download/daily/?

Does this mean that rendering default startup file (cube) will fail too? Can you check if this works in 2.93 LTS and latest alpha build form https://builder.blender.org/download/daily/?
Author

Yup. This is happening on the startup file as well. The problem persists when trying it out on the 2.93 Stable LTS, 2.93 Candidate LTS ,and 3.1 Alpha build.

Yup. This is happening on the startup file as well. The problem persists when trying it out on the 2.93 Stable LTS, 2.93 Candidate LTS ,and 3.1 Alpha build.

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

Which driver are you using? You should use 470 or never.

Which driver are you using? You should use 470 or never.
Author

I'm using the 497.29 Game Ready Driver installed from GeForce experience.

I'm using the 497.29 Game Ready Driver installed from GeForce experience.
Author

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

Changed status from 'Needs User Info' to: 'Resolved'
Henry closed this issue 2021-12-21 23:40:54 +01:00
Henry self-assigned this 2021-12-21 23:40:54 +01:00
Author

Turns out the problem was that on my end, and I haven't been caught up that Optix uses Nvidia's Studio Drivers, and not its Game Ready Drivers. I've switched over my drivers through GeForce Experience and Optix works fine now.

Turns out the problem was that on my end, and I haven't been caught up that Optix uses Nvidia's Studio Drivers, and not its Game Ready Drivers. I've switched over my drivers through GeForce Experience and Optix works fine now.

Added subscriber: @facu_eze_peralta

Added subscriber: @facu_eze_peralta

Hi, i updated my drivers to Studio drivers and i still having the error. How can i fix it?
i have windows 10 and a RTX 3060
32GB of RAM
and Ryzen 3700x.

Hi, i updated my drivers to Studio drivers and i still having the error. How can i fix it? i have windows 10 and a RTX 3060 32GB of RAM and Ryzen 3700x.
Author

I've had problems with newer drivers. I rolled back to Studio Driver version 472.84.

I've had problems with newer drivers. I rolled back to Studio Driver version 472.84.

Oh nice! I´ll try with that version of driver. With optix enable the renders go faster, rigth?

Oh nice! I´ll try with that version of driver. With optix enable the renders go faster, rigth?
Author

Yes, I've had faster render times with Optix than with just CUDA.

Yes, I've had faster render times with Optix than with just CUDA.

I made the update and worked for me, now i have optix enable with my RTX 3060. Now i´ll enjoy faster render times!
Thank you so much sir!

I made the update and worked for me, now i have optix enable with my RTX 3060. Now i´ll enjoy faster render times! Thank you so much sir!
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#94279
No description provided.