Auto Tile Size errors in Blender 2.78b #50621

Closed
opened 2017-02-08 13:31:31 +01:00 by Riccardo Giovanetti · 7 comments

System Information
ASUS G752VS i7-6820HK @ 2.70GHz, 32GB RAM, Nvidia GeForce GTX 1070 (8GB GDDR5 VRAM)
OS Windows 10 Professional, 64bit (NOT the Anniversary update 1607)

Blender Version
Broken: Blender 2.78b [Hash: 9cb21a1] portable 64bit (blender-2.78b-windows64.zip)
Worked: Blender 2.78.4 [Hash: f7eaaf3] portable 64bit (blender-2.78-f7eaaf3-win64.zip)

Short description of error
The Auto Tile Size add-on displays a warning message and a button to fix an issue but instead it generates error messages and a continuous loop of them inside the Blender's system console.

Exact steps for others to reproduce the error
With the Auto Tile Size add-on is enabled, the Cycles Compute Device set to CUDA with the GeForce GTX 1070 set in Preferences, and the Render Device set to GPU in the Render panel, the Auto Tile Size info panel under Performance displays a warning on a button named "Device changed - fix" as shown below

278b_autotilesize_errors.jpg

Clicking on that button to apparently fix the issue generates the following Python errors (in reverse order, from bottom to top, I cutted and pasted it from the Info log panel):

Traceback (most recent call last):

File "D:\Blender_2.78_stable\2.78\scripts\addons\render_auto_tile_size.py", line 336, in execute
  if do_set_tile_size(context):
File "D:\Blender_2.78_stable\2.78\scripts\addons\render_auto_tile_size.py", line 278, in do_set_tile_size
  choice = getattr(settings, get_tilesize_prop(engine, device, userpref))
File "D:\Blender_2.78_stable\2.78\scripts\addons\render_auto_tile_size.py", line 154, in get_tilesize_prop
  if engine_is_gpu(engine, device, userpref):
File "D:\Blender_2.78_stable\2.78\scripts\addons\render_auto_tile_size.py", line 149, in engine_is_gpu
  return engine == 'CYCLES' and device == 'GPU' and userpref.system.compute_device_type != 'NONE'

AttributeError: 'UserPreferencesSystem' object has no attribute 'compute_device_type'

location: :-1

Furthermore, in the Blender's system console the above messages are continuously looping and stops only when switching the render device from GPU back to CPU.

I noticed this same behavior for this add-on also with the official 2.78a version but not with the later versions downloaded from the blender buildbot (daily builds). For completeness of information I downloaded the currently available developmental build, portable Windows 64bit [Hash: f7eaaf3] and the add-on works perfectly without any warning or errors.

2.78.4_autotilesize_noerror.jpg

**System Information** ASUS G752VS i7-6820HK @ 2.70GHz, 32GB RAM, Nvidia GeForce GTX 1070 (8GB GDDR5 VRAM) OS Windows 10 Professional, 64bit (NOT the Anniversary update 1607) **Blender Version** Broken: Blender 2.78b [Hash: 9cb21a1] portable 64bit (blender-2.78b-windows64.zip) Worked: Blender 2.78.4 [Hash: f7eaaf3] portable 64bit (blender-2.78-f7eaaf3-win64.zip) **Short description of error** The Auto Tile Size add-on displays a warning message and a button to fix an issue but instead it generates error messages and a continuous loop of them inside the Blender's system console. **Exact steps for others to reproduce the error** With the Auto Tile Size add-on is enabled, the Cycles Compute Device set to CUDA with the GeForce GTX 1070 set in Preferences, and the Render Device set to GPU in the Render panel, the Auto Tile Size info panel under Performance displays a warning on a button named "Device changed - fix" as shown below ![278b_autotilesize_errors.jpg](https://archive.blender.org/developer/F454255/278b_autotilesize_errors.jpg) Clicking on that button to apparently fix the issue generates the following Python errors (in reverse order, from bottom to top, I cutted and pasted it from the Info log panel): Traceback (most recent call last): ``` File "D:\Blender_2.78_stable\2.78\scripts\addons\render_auto_tile_size.py", line 336, in execute if do_set_tile_size(context): File "D:\Blender_2.78_stable\2.78\scripts\addons\render_auto_tile_size.py", line 278, in do_set_tile_size choice = getattr(settings, get_tilesize_prop(engine, device, userpref)) File "D:\Blender_2.78_stable\2.78\scripts\addons\render_auto_tile_size.py", line 154, in get_tilesize_prop if engine_is_gpu(engine, device, userpref): File "D:\Blender_2.78_stable\2.78\scripts\addons\render_auto_tile_size.py", line 149, in engine_is_gpu return engine == 'CYCLES' and device == 'GPU' and userpref.system.compute_device_type != 'NONE' ``` AttributeError: 'UserPreferencesSystem' object has no attribute 'compute_device_type' location: <unknown location>:-1 Furthermore, in the Blender's system console the above messages are continuously looping and stops only when switching the render device from GPU back to CPU. I noticed this same behavior for this add-on also with the official 2.78a version but not with the later versions downloaded from the blender buildbot (daily builds). For completeness of information I downloaded the currently available developmental build, portable Windows 64bit [Hash: f7eaaf3] and the add-on works perfectly without any warning or errors. ![2.78.4_autotilesize_noerror.jpg](https://archive.blender.org/developer/F454265/2.78.4_autotilesize_noerror.jpg)

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @Harvester

Added subscriber: @Harvester
Member

Added subscriber: @LazyDodo

Added subscriber: @LazyDodo
Member

Duplicate of blender/blender#50001

Duplicate of blender/blender#50001
Member

Added subscriber: @TheOnlyJoey

Added subscriber: @TheOnlyJoey
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Joey Ferwerda self-assigned this 2017-02-08 15:31:03 +01:00
Member

This is resolved in the current buildbot version, closing report.

This is resolved in the current buildbot version, closing report.
Sign in to join this conversation.
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-addons#50621
No description provided.