Skip to content

When executing oidnDenoise --ld, it cannot find the HIP device, only the CPU. #268

@Meow0x7E

Description

@Meow0x7E

When executing oidnDenoise --ld, it cannot find the HIP device, only the CPU.

oidnDenoise --ld
Device 0
  Name:       Intel(R) Xeon(R) CPU E3-1245 V2 @ 3.40GHz
  Type: CPU

The version of oidn is:

pacman -Qi openimagedenoise
Name            : openimagedenoise
Version         : 2.3.3-2
Description     : Intel(R) Open Image Denoise library
Architecture    : x86_64
URL             : https://openimagedenoise.github.io
Licenses        : Apache-2.0
Groups          : None
Provides        : None
Depends On      : intel-tbb
Optional Deps   : None
Required By     : blender
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 203.86 MiB
Packager        : Torsten Keßler <tpkessler@archlinux.org>
Build Date      : Fri 09 May 2025 07:43:10 PM CST
Install Date    : Mon 26 May 2025 11:45:13 AM CST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

I have confirmed this version of oidn was built with -DOIDN_DEVICE_HIP=ON


This is my graphics device

CPU
00:02.0 Display controller: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09)
        DeviceName:  Onboard IGD
        Subsystem: ASUSTeK Computer Inc. P8B WS Motherboard
        Flags: bus master, fast devsel, latency 0, IRQ 27
        Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at f000 [size=64]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [a4] PCI Advanced Features
        Kernel driver in use: i915
        Kernel modules: i915
GPU
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 24 [Radeon RX 6400/6500 XT/6500M] (rev c1) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Device 05db
        Flags: bus master, fast devsel, latency 0, IRQ 28
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Memory at f0000000 (64-bit, prefetchable) [size=2M]
        I/O ports at e000 [size=256]
        Memory at f7c00000 (32-bit, non-prefetchable) [size=1M]
        Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
        Capabilities: [64] Express Legacy Endpoint, IntMsgNum 0
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Capabilities: [150] Advanced Error Reporting
        Capabilities: [200] Physical Resizable BAR
        Capabilities: [240] Power Budgeting <?>
        Capabilities: [270] Secondary PCI Express
        Capabilities: [2a0] Access Control Services
        Capabilities: [2d0] Process Address Space ID (PASID)
        Capabilities: [320] Latency Tolerance Reporting
        Capabilities: [410] Physical Layer 16.0 GT/s
        Capabilities: [440] Lane Margining at the Receiver
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu

My system has installed ROCm and HIP

pacman -Q | grep -i -E -e '(rocm|hip)'
hip-runtime-amd 6.4.1-1
hipblas 6.4.1-1
hipblas-common 6.4.1-1
hiprt 2.5.a21e075-2
ollama-rocm 0.9.3-1
rocm-cmake 6.4.1-1
rocm-core 6. 4.1-1
rocm-device-libs 6.4.1-1
rocm-hip-runtime 6.4.0-1
rocm-language-runtime 6.4.0-1
rocm-llvm 6.4.1-1
rocm-opencl-runtime 6.4.1-1
rocm-smii-lib 6.4.1-1
rocminfo 6.4.1-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions