Error getting Cycles GPU devices if device_type is set to NONE #81806

Closed
opened 2020-10-18 12:57:46 +02:00 by Philipp Oeser · 4 comments
Member

System Information
Operating system: Linux-5.8.4-200.fc32.x86_64-x86_64-with-fedora-32-Thirty_Two 64 Bits
Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 450.66

Blender Version
Broken: version: 2.91.0 Alpha, branch: master (modified), commit date: 2020-10-18 08:49, hash: 9c7fda6de3
Caused by 1001adb500

Short description of error
Error getting Cycles GPU devices if device_type is set to NONE (and thus related part of the UI will disappear)

Exact steps for others to reproduce the error
From the default startup file:

  • set User Preferences > System > Cycles Render Devices to "None"
  • switch the Render Engine to "Cycles"
  • switch the Device to "GPU Compute"
  • following error will occur in the console (and thus related part of the UI will disappear)
Traceback (most recent call last):
  File "/build_linux/bin/2.91/scripts/modules/bpy_types.py", line 808, in draw_ls
    func(self, context)
  File "/build_linux/bin/2.91/scripts/addons/cycles/ui.py", line 2235, in draw_device
    col.active = show_device_active(context)
  File "/build_linux/bin/2.91/scripts/addons/cycles/ui.py", line 113, in show_device_active
    return context.preferences.addons[__package__].preferences.has_active_device()
  File "/build_linux/bin/2.91/scripts/addons/cycles/properties.py", line 1634, in has_active_device
    return self.get_num_gpu_devices() > 0
  File "/build_linux/bin/2.91/scripts/addons/cycles/properties.py", line 1623, in get_num_gpu_devices
    device_list = _cycles.available_devices(self.compute_device_type)
ValueError: Device "NONE" not known.
**System Information** Operating system: Linux-5.8.4-200.fc32.x86_64-x86_64-with-fedora-32-Thirty_Two 64 Bits Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 450.66 **Blender Version** Broken: version: 2.91.0 Alpha, branch: master (modified), commit date: 2020-10-18 08:49, hash: `9c7fda6de3` Caused by 1001adb500 **Short description of error** Error getting Cycles GPU devices if device_type is set to NONE (and thus related part of the UI will disappear) **Exact steps for others to reproduce the error** From the default startup file: - set `User Preferences` > `System` > `Cycles Render Devices` to "None" - switch the `Render Engine` to "Cycles" - switch the `Device` to "GPU Compute" - following error will occur in the console (and thus related part of the UI will disappear) ``` Traceback (most recent call last): File "/build_linux/bin/2.91/scripts/modules/bpy_types.py", line 808, in draw_ls func(self, context) File "/build_linux/bin/2.91/scripts/addons/cycles/ui.py", line 2235, in draw_device col.active = show_device_active(context) File "/build_linux/bin/2.91/scripts/addons/cycles/ui.py", line 113, in show_device_active return context.preferences.addons[__package__].preferences.has_active_device() File "/build_linux/bin/2.91/scripts/addons/cycles/properties.py", line 1634, in has_active_device return self.get_num_gpu_devices() > 0 File "/build_linux/bin/2.91/scripts/addons/cycles/properties.py", line 1623, in get_num_gpu_devices device_list = _cycles.available_devices(self.compute_device_type) ValueError: Device "NONE" not known. ```
Author
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Author
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Philipp Oeser self-assigned this 2020-10-18 12:58:08 +02:00

This issue was referenced by 4d9f357bf6

This issue was referenced by 4d9f357bf6b5cdd54d3d0406ef9ac79b387a21b5

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
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#81806
No description provided.