AMD Radeon Pro W6800 not detected #110777

Closed
opened 2023-08-04 02:39:51 +02:00 by Ethan Messinger-Arns · 9 comments

System Information
Operating system: Linux-5.4.0-155-generic-x86_64-with-glibc2.31 64 Bits, X11 UI
Graphics card: AMD Radeon PRO W6800 (navi21, LLVM 16.0.3, DRM 3.53, 5.4.0-155-generic) AMD 4.6 (Core Profile) Mesa 23.2.0-devel

Blender Version
Broken: version: 3.6.1, branch: blender-v3.6-release, commit date: 2023-07-17 12:50, hash: 8bda729ef4dc
Worked: None

Short description of error
I have installed HIP, as libamdhip64.so.5 and libamdhip64.so are both present in /opt/rocm/hip/lib. This aligns with the hip_paths[] array in hipew.c. /opt/rocm/bin/hipconfig --full reports that my HIP version is 5.6.31061-8c743ae5d. Games and bench-marking utilities run well, so the card itself must be working. I've also built from source and tried the top two Daily Builds. It simply appears to not be detected.

Exact steps for others to reproduce the error
Menu Bar -> Edit -> Preferences -> System -> Cycles Render Devices -> HIP -> "No compatible GPUs found for Cycles"

**System Information** Operating system: Linux-5.4.0-155-generic-x86_64-with-glibc2.31 64 Bits, X11 UI Graphics card: AMD Radeon PRO W6800 (navi21, LLVM 16.0.3, DRM 3.53, 5.4.0-155-generic) AMD 4.6 (Core Profile) Mesa 23.2.0-devel **Blender Version** Broken: version: 3.6.1, branch: blender-v3.6-release, commit date: 2023-07-17 12:50, hash: `8bda729ef4dc` Worked: None **Short description of error** I have installed HIP, as `libamdhip64.so.5` and `libamdhip64.so` are both present in `/opt/rocm/hip/lib`. This aligns with the `hip_paths[]` array in `hipew.c`. `/opt/rocm/bin/hipconfig --full` reports that my HIP version is `5.6.31061-8c743ae5d`. Games and bench-marking utilities run well, so the card itself must be working. I've also built from source and tried the top two Daily Builds. It simply appears to not be detected. **Exact steps for others to reproduce the error** Menu Bar -> Edit -> Preferences -> System -> Cycles Render Devices -> HIP -> "No compatible GPUs found for Cycles"
Ethan Messinger-Arns added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-08-04 02:39:51 +02:00
Member

Hi @EthanArns , since you are using your own build, please make sure that options WITH_CYCLES_HIP_BINARAIES and WITH_CYCLES_DEVICE_HIP are both enabled.

Edit: Have you also tried other driver packages from different sources too?

Hi @EthanArns , since you are using your own build, please make sure that options `WITH_CYCLES_HIP_BINARAIES` and `WITH_CYCLES_DEVICE_HIP` are both enabled. Edit: Have you also tried other driver packages from different sources too?
YimingWu added
Status
Needs Information from User
Interest
Render & Cycles
and removed
Status
Needs Triage
labels 2023-08-04 04:04:47 +02:00
YimingWu added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2023-08-04 04:06:20 +02:00

Hi @EthanArns , since you are using your own build, please make sure that options WITH_CYCLES_HIP_BINARAIES and WITH_CYCLES_DEVICE_HIP are both enabled.

Edit: Have you also tried other driver packages from different sources too?

Yes, I tried multiple different sources, both when using precompiled and building with those options enabled. Looks like the one change to get it working was to run the binary with sudo. Everything else failed. What would cause the driver to not be recognized without root access? Other programs have access to it.

> Hi @EthanArns , since you are using your own build, please make sure that options `WITH_CYCLES_HIP_BINARAIES` and `WITH_CYCLES_DEVICE_HIP` are both enabled. > > Edit: Have you also tried other driver packages from different sources too? Yes, I tried multiple different sources, both when using precompiled and building with those options enabled. Looks like the one change to get it working was to run the binary with sudo. Everything else failed. What would cause the driver to not be recognized without root access? Other programs have access to it.
Member

@EthanArns then you probably installed HIP binaraies in some directories that only sudo can access? I think just plain "make install" shouldn't cause any issue. Could you check with ldconfig -p | grep libamdhip64 and see which one exactly are you using on your system? Maybe it's not the one you installed.

@EthanArns then you probably installed HIP binaraies in some directories that only sudo can access? I think just plain "make install" shouldn't cause any issue. Could you check with `ldconfig -p | grep libamdhip64` and see which one exactly are you using on your system? Maybe it's not the one you installed.
YimingWu added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-08-06 06:44:26 +02:00
Member

Hi, any updates here?

Hi, any updates here?

I reinstalled my OS to the latest Linux Mint and installed the latest AMD driver just in case it was something due to that. New OS info from Blender:

System Information
Operating system: Linux-5.15.0-82-generic-x86_64-with-glibc2.35 64 Bits, X11 UI
Graphics card: AMD Radeon PRO W6800 (navi21, LLVM 16.0.3, DRM 3.53, 5.15.0-82-generic) AMD 4.6 (Core Profile) Mesa 23.2.0-devel

Same blender install, as I had it installed on a secondary auto-mounted hard drive. I tried the snap install of the same version in case it was due to being on a secondary drive, still got HIP hipInit: Invalid device when not running as root.

As for @ChengduLittleA
ldconfig -p | grep libamdhip64 returns the following:

	libamdhip64.so.5 (libc6,x86-64) => /opt/rocm-5.6.0/lib/libamdhip64.so.5
	libamdhip64.so (libc6,x86-64) => /opt/rocm-5.6.0/lib/libamdhip64.so

Running it as sudo doesn't change the output.

I reinstalled my OS to the latest Linux Mint and installed the latest AMD driver just in case it was something due to that. New OS info from Blender: **System Information** Operating system: Linux-5.15.0-82-generic-x86_64-with-glibc2.35 64 Bits, X11 UI Graphics card: AMD Radeon PRO W6800 (navi21, LLVM 16.0.3, DRM 3.53, 5.15.0-82-generic) AMD 4.6 (Core Profile) Mesa 23.2.0-devel Same blender install, as I had it installed on a secondary auto-mounted hard drive. I tried the snap install of the same version in case it was due to being on a secondary drive, still got `HIP hipInit: Invalid device` when not running as root. As for @ChengduLittleA `ldconfig -p | grep libamdhip64` returns the following: ``` libamdhip64.so.5 (libc6,x86-64) => /opt/rocm-5.6.0/lib/libamdhip64.so.5 libamdhip64.so (libc6,x86-64) => /opt/rocm-5.6.0/lib/libamdhip64.so ``` Running it as sudo doesn't change the output.
Member

@EthanArns Does this happen on unzipped blender from official download as well? It might be due to snap/package manager issue.

@EthanArns Does this happen on unzipped blender from official download as well? It might be due to snap/package manager issue.

@EthanArns Does this happen on unzipped blender from official download as well? It might be due to snap/package manager issue.

Yes. I started this first on an unzipped download of 3.6 LTS from the main Blender page. I only tried snap just now in case it was something to do with being on a separate hard drive.

> @EthanArns Does this happen on unzipped blender from official download as well? It might be due to snap/package manager issue. Yes. I started this first on an unzipped download of 3.6 LTS from the main Blender page. I only tried snap just now in case it was something to do with being on a separate hard drive.
Pratik Borhade added
Status
Needs Triage
and removed
Status
Needs Info from Developers
labels 2023-08-31 08:30:41 +02:00
Member

amdgpu-install --usecase=hip / amdgpu-install -y may help in finding the GPU. Can you check?
Does rocminfo command finds your card?
Does this happen with proprietary drivers?

`amdgpu-install --usecase=hip` / `amdgpu-install -y` may help in finding the GPU. Can you check? Does `rocminfo` command finds your card? Does this happen with proprietary drivers?
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-01-03 08:32:35 +01:00
Member

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with the required information.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2024-03-01 05:40:25 +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#110777
No description provided.