Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to load on AMD Ryzen 9 7950X integrated graphics #401

Closed
pepijndevos opened this issue Mar 28, 2023 · 6 comments
Closed

Fails to load on AMD Ryzen 9 7950X integrated graphics #401

pepijndevos opened this issue Mar 28, 2023 · 6 comments

Comments

@pepijndevos
Copy link

On the latest release:

julia> using AMDGPU
┌ Warning: HSA runtime is unavailable, compilation and runtime functionality will be disabled.
│ Reason: unknown
└ @ AMDGPU ~/.julia/packages/AMDGPU/bzHD4/src/AMDGPU.jl:267
┌ Warning: LLD is unavailable, compilation functionality will be disabled.
│ Reason: unknown
└ @ AMDGPU ~/.julia/packages/AMDGPU/bzHD4/src/AMDGPU.jl:280
┌ Warning: Device libraries are unavailable, device intrinsics will be disabled.
│ Reason: unknown
└ @ AMDGPU ~/.julia/packages/AMDGPU/bzHD4/src/AMDGPU.jl:293
┌ Warning: HIP library is unavailable, HIP integration will be disabled.
│ Reason: unknown
└ @ AMDGPU ~/.julia/packages/AMDGPU/bzHD4/src/AMDGPU.jl:308

On the latest master

julia> using AMDGPU
┌ Warning: HSA initialization failed with code HSA_STATUS_ERROR_OUT_OF_RESOURCES
└ @ AMDGPU ~/.julia/packages/AMDGPU/eC58i/src/AMDGPU.jl:261

Version info:

julia> versioninfo()
Julia Version 1.10.0-DEV.800
Commit fd5b5e38e0 (2023-03-10 22:28 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 32 × AMD Ryzen 9 7950X 16-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, znver3)
  Threads: 1 on 32 virtual cores
Environment:
  JULIA_PKG_SERVER = 
  JULIA_PKG_USE_CLI_GIT = true

lspci

15:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raphael (rev c1) (prog-if 00 [VGA controller])
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Raphael
        Flags: bus master, fast devsel, latency 0, IRQ 42, IOMMU group 26
        Memory at fc10000000 (64-bit, prefetchable) [size=256M]
        Memory at fc20000000 (64-bit, prefetchable) [size=2M]
        I/O ports at e000 [size=256]
        Memory at fbd00000 (32-bit, non-prefetchable) [size=512K]
        Capabilities: <access denied>
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu
@jpsamaroo
Copy link
Member

What are the permissions on /dev/kfd and /dev/dri/*? They should have rw for one of the groups your user is in.

@pepijndevos
Copy link
Author

Adding myself to the relevant groups lead to a new error:

Warning: Agent creation failed.
The GPU node has an unrecognized id.

@pepijndevos
Copy link
Author

I have a hunch the AMD libraries might just be too old to include this GPU, and looking at #371 that might mean it's basically blocked on Julia upgrading their LLVM?

@pxl-th
Copy link
Member

pxl-th commented Nov 19, 2023

Can you try again with Julia 1.10-rc1 & a master branch & ROCm 5.6 or 5.7?

@pepijndevos
Copy link
Author

I have the integrated graphics disabled in the bios now due to graphics bugs I kept having with it so I can't easily test it at the moment. Feel free to close.

@pxl-th
Copy link
Member

pxl-th commented Nov 22, 2023

OK, will close. Also from the ROCm docs:

ROCm currently doesn’t support integrated graphics.
Should your system have an AMD IGP installed, disable it in the BIOS prior to using ROCm.
If the driver can enumerate the IGP, the ROCm runtime may crash the system,
even if told to omit it via [HIP_VISIBLE_DEVICES](https://rocm.docs.amd.com/en/latest/understand/gpu_isolation.html#hip-visible-devices).

@pxl-th pxl-th closed this as completed Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants