Recent changes to Cycles device selection broke Auto Tile Size add-on #49959
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#49959
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Blender Version
Broken: blender/blender@dd921238d9
Worked: before blender/blender@dd921238d9
Short description of error
This commit blender/blender@dd921238d9 breaks Auto Tile Size device detection code.
Exact steps for others to reproduce the error (UPDATED)
None
toCUDA
CPU
toGPU Compute
Look into console
Where you'll see this error:
Changed status to: 'Open'
Added subscriber: @MikhailRachinskiy
Added subscriber: @dfelinto
I don't see any error here. Please write down the error you get on the console. Also what is your OS, and if any extra step is required to reproduce the error (e.g., open the Performance panel? click settings?)
Changed status from 'Open' to: 'Resolved'
I am so sorry about that, here is complete steps to reproduce the error:
None
toCUDA
CPU
toGPU Compute
Look into console
I guess if you'll use
OpenCL
instead ofCUDA
it would result in the same error, but I cannot check this.Added subscriber: @VukGardasevic
I can confirm the issue with dd92123 on win 7
The same problem was reported on https://developer.blender.org/D2338#54191
The userpref.system.compute_device_type check needs to be changed.
Changed status from 'Resolved' to: 'Open'
@dfelinto I hope you don't mind that I reopened and updated the task?
Also I can take the assignment if you guys have your hands full.
I have some code that solves the current bug, however the function get_threads will fail too
The number of threads is calculated by splitting the string from the end.
I'm not sure where to look in this case, so any pointers are welcomed.
Added subscribers: @GregZaal, @LukasStockner, @JulianEisel
Add-on errors should preferably be handled by authors, IIRC that was @GregZaal?
Added subscriber: @RainerTrummer
would propose the following fixes:
method engine_is_gpu in line 149:
method get_threads in line 206:
However, only tested on a multi-CUDA-GPU rig, don't have OpenCL devices at hand here
Changed status from 'Open' to: 'Resolved'
Should be resolved by the commits by Brecht from November 17th:
Changes on the cycles side:
60409841a4b9
Changes in the add-on:
71daaea8cd
Please test the fix by downloading the latest build.