Blender 4.2 Alpha HIP GPU not detected #122187
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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 & 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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#122187
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
System Information
Operating system: Windows 11 Pro
CPU: Ryzen 9 7940HS
Graphics card: Radeon 780M + Radeon RX7700S
Driver Install Date: 2/22/2024
Blender Version
Broken: 4.2a
Worked: 4.1
Short description of error
Blender cannot detect GPU in System > HIP the build version of 4.2 alpha.
See image attached.
Blender Preferences on the left is from 4.1 (Installed From Microsoft Store).
Blender Preferences on the right is from 4.2 (Built Full version after cloning main branch).
AMD Software (Adrenalin) is able to detect that Blender 4.2a is running.
Exact steps for others to reproduce the error
Based on the default startup.
Go to System > HIP.
You are met with no compatible GPUs found screen.
Based on this, it seems the version of Blender you're having issues with is one built by yourself. Have you made sure you followed the instructions to add AMD GPU support to Cycles? https://developer.blender.org/docs/handbook/building_blender/cycles_gpu_binaries/#amd
Along with that, can you confirm the issue with a build from the Blender build bot: https://builder.blender.org/download/daily/
CMake cannot seem to detect that I have the HIP SDK installed. I tried installing both the ROCm 5.7 and ROCm 5.5 HIP SDKs, but in both cases it says Found Unsuitable Version 0.0.0 even when both of the are installed.
Also it is saying that tests/data/ is not found. Is this behavior expected?
I have also attached the image of the CMake Config GUI. Are the file paths correct or is there something I need to change?
CMake Configuration Output
Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22635.
WITH_BOOST is disabled, setting WITH_INTERNATIONAL=OFF
WITH_BOOST is disabled, setting WITH_OPENVDB=OFF
WITH_BOOST is disabled, setting WITH_QUADRIFLOW=OFF
WITH_BOOST is disabled, setting WITH_USD=OFF
WITH_BOOST is disabled, setting WITH_CYCLES_OSL=OFF
WITH_OPENVDB is disabled, setting WITH_NANOVDB=OFF
WITH_USD is disabled, setting WITH_HYDRA=OFF
64 bit compiler detected.
Visual Studio 2022 detected.
Could NOT find HIP: Found unsuitable version "0.0.0", but required is at least "5.5.0" (found C:/Program Files/AMD/ROCm/5.5/bin/hipcc)
HIP compiler not found, disabling WITH_CYCLES_HIP_BINARIES
Found HIPRT: C:/Program Files/AMD/ROCm/5.7/include
Found Level Zero: C:/blender-git/blender/lib/windows_x64/level-zero/lib/ze_loader.lib
Could NOT find OptiX (missing: OPTIX_INCLUDE_DIR) (Required is at least version "7.3.0")
OptiX not found, disabling WITH_CYCLES_DEVICE_OPTIX
CMake Warning at tests/python/CMakeLists.txt:626 (message):
Disabling render tests because tests folder does not exist at
C:/blender-git/blender/tests/data
Directory named C:/blender-git/blender/tests/data/modeling/geometry_nodes/attributes/ Not Found, disabling test.
Directory named C:/blender-git/blender/tests/data/modeling/geometry_nodes/curve_primitives/ Not Found, disabling test.
Directory named C:/blender-git/blender/tests/data/modeling/geometry_nodes/curves/ Not Found, disabling test.
Directory named C:/blender-git/blender/tests/data/modeling/geometry_nodes/curves/interpolate_curves/ Not Found, disabling test.
Directory named C:/blender-git/blender/tests/data/modeling/geometry_nodes/geometry/ Not Found, disabling test.
Directory named C:/blender-git/blender/tests/data/modeling/geometry_nodes/instance/ Not Found, disabling test.
Directory named C:/blender-git/blender/tests/data/modeling/geometry_nodes/repeat_zone/ Not Found, disabling test.
Directory named C:/blender-git/blender/tests/data/modeling/geometry_nodes/mesh_primitives/ Not Found, disabling test.
Directory named C:/blender-git/blender/tests/data/modeling/geometry_nodes/mesh/ Not Found, disabling test.
Directory named C:/blender-git/blender/tests/data/modeling/geometry_nodes/mesh/extrude/ Not Found, disabling test.
Directory named C:/blender-git/blender/tests/data/modeling/geometry_nodes/mesh/split_edges/ Not Found, disabling test.
Directory named C:/blender-git/blender/tests/data/modeling/geometry_nodes/mesh/triangulate/ Not Found, disabling test.
Directory named C:/blender-git/blender/tests/data/modeling/geometry_nodes/points/ Not Found, disabling test.
Directory named C:/blender-git/blender/tests/data/modeling/geometry_nodes/texture/ Not Found, disabling test.
Directory named C:/blender-git/blender/tests/data/modeling/geometry_nodes/utilities/ Not Found, disabling test.
Directory named C:/blender-git/blender/tests/data/modeling/geometry_nodes/vector/ Not Found, disabling test.
Directory named C:/blender-git/blender/tests/data/modeling/geometry_nodes/mesh/boolean/ Not Found, disabling test.
Directory named C:/blender-git/blender/tests/data/modeling/geometry_nodes/mesh/subdivision_tests/ Not Found, disabling test.
Directory named C:/blender-git/blender/tests/data/modeling/geometry_nodes/simulation/ not found, disabling tests
Configuring done (1.0s)
best guess, the hip compiler requires perl to be available, and it's missing
Installing perl helped fix the issue and now it detects the HIP SDK as 5.7. I still have to recompile to check if blender HIP settings work now.
If I recalled correctly, HIP-RT doesn't work if there is a space in the name of the directory the relevant files are installed in. Since you installed HIP and HIP-RT to
C:/Program SPACE Files/...
you will likely have this issue. HIP should still work.I am also closing this issue, requests for support with building Blender should go here: https://blender.chat/channel/blender-builds
If you are experiencing a bug in the builds from the Blender build bot, then please open a new report: https://builder.blender.org/download/daily/