Failed to load OptiX kernel OPTIX_ERROR_DISK_CACHE_INVALID_DATA #102870

Closed
opened 2022-11-30 09:56:33 +01:00 by Alexandr · 13 comments

System Information
Operating system: Debian Testing
Graphics card: RTX 3090 + RTX 3050 Ti (laptop)
изображение.png

Blender Version
Broken: 3.3.2

Short description of error
I recently bought external RTX 3090 videocard, and when i switched Cycles to RTX 3090, it says:

Failed to load OptiX kernel from '/home/scaled/git/blender-git/build_linux_release/bin/3.3/scripts/addons/cycles/lib/kernel_optix.ptx' (OPTIX_ERROR_DISK_CACHE_INVALID_DATA)

I hide directory /var/tmp/OptixCache_scaled and videocard started normally. But when i switched back to my laptop GPU (RTX 3050 Ti), it said same error. I returned my old cache directory back (/var/tmp/OptixCache_scaled) and it started normally.

Then i decided to enable both videocards at the same time in hope it will generate cache for both videocards, so i will not have to move cache directories around every time i go outside with my laptop, but i got same error, and cache generated only for first videocard in the list (RTX 3090).

By the way, when i tested GTX 1080 in this external box, it don't created cache problems, so i think it happens when using different videocards of one generation.

Exact steps for others to reproduce the error

  1. Setup Cycles to use Optix with one videocard.
  2. Turn on Cycles renderer and wait until cache is generated.
  3. Turn off Cycles and select second videocard for Cycles.
  4. Cycles will not turn on because cache conflict.
**System Information** Operating system: Debian Testing Graphics card: RTX 3090 + RTX 3050 Ti (laptop) ![изображение.png](https://archive.blender.org/developer/F13981545/изображение.png) **Blender Version** Broken: 3.3.2 **Short description of error** I recently bought external RTX 3090 videocard, and when i switched Cycles to RTX 3090, it says: ``` Failed to load OptiX kernel from '/home/scaled/git/blender-git/build_linux_release/bin/3.3/scripts/addons/cycles/lib/kernel_optix.ptx' (OPTIX_ERROR_DISK_CACHE_INVALID_DATA) ``` I hide directory /var/tmp/OptixCache_scaled and videocard started normally. But when i switched back to my laptop GPU (RTX 3050 Ti), it said same error. I returned my old cache directory back (/var/tmp/OptixCache_scaled) and it started normally. Then i decided to enable both videocards at the same time in hope it will generate cache for both videocards, so i will not have to move cache directories around every time i go outside with my laptop, but i got same error, and cache generated only for first videocard in the list (RTX 3090). By the way, when i tested GTX 1080 in this external box, it don't created cache problems, so i think it happens when using different videocards of one generation. **Exact steps for others to reproduce the error** 1. Setup Cycles to use Optix with one videocard. 2. Turn on Cycles renderer and wait until cache is generated. 3. Turn off Cycles and select second videocard for Cycles. 4. Cycles will not turn on because cache conflict.
Author

Added subscriber: @scaled

Added subscriber: @scaled
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Looks related to #102628 (OPTIX fails to load kernel cache error on 2 GPUs loading kernel error 7013 OPTIX_ERROR_DISK_CACHE_INVALID_DATA)

Looks related to #102628 (OPTIX fails to load kernel cache error on 2 GPUs loading kernel error 7013 OPTIX_ERROR_DISK_CACHE_INVALID_DATA)
Author

Oops, sorry, i don't know why i not found it when i searched for the problem. It definitely related, but OS is different.

Oops, sorry, i don't know why i not found it when i searched for the problem. It definitely related, but OS is different.
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

Added subscriber: @pmoursnv

Added subscriber: @pmoursnv
Member

@pmoursnv hi, can you check whether they are related?

@pmoursnv hi, can you check whether they are related?
Member

Yep, this is a duplicate of #102628 (different cards that are of the same GPU generation, 3050Ti and 3090). It's not specific to a particular OS.

Yep, this is a duplicate of #102628 (different cards that are of the same GPU generation, 3050Ti and 3090). It's not specific to a particular OS.
Member

Thanks for the info. I'll merge this report :)

Thanks for the info. I'll merge this report :)
Member

Closed as duplicate of #102628

Closed as duplicate of #102628
Author

https://developer.blender.org/T102628

The bug was solved. The new NVIDIA STUDIO driver 527.56 downloaded and installed today as solved the issue (OPTIX with 2 different GPUs working in CYCLES 3.5). Thanks for your support.

Windows issue was resolved, but Linux one is not. Linux don't have Studio drivers and don't have this exact version of driver. Please reopen it until new Linux driver will released.

https://developer.blender.org/T102628 > The bug was solved. The new NVIDIA STUDIO driver 527.56 downloaded and installed today as solved the issue (OPTIX with 2 different GPUs working in CYCLES 3.5). Thanks for your support. Windows issue was resolved, but Linux one is not. Linux don't have Studio drivers and don't have this exact version of driver. Please reopen it until new Linux driver will released.
Member

Changed status from 'Duplicate' to: 'Confirmed'

Changed status from 'Duplicate' to: 'Confirmed'
Philipp Oeser removed the
Interest
Render & Cycles
label 2023-02-09 14:04:29 +01:00
Author

My issue resolved by installing Debian version of Nvidia drivers instead of official ones. I wasn't able to do that before because drivers in Debian was too old, but now i can and it works reliably.

My issue resolved by installing Debian version of Nvidia drivers instead of official ones. I wasn't able to do that before because drivers in Debian was too old, but now i can and it works reliably.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2024-01-01 13:20:20 +01: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
3 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#102870
No description provided.