Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Installation instructions don't work #66

Open
G-Ragghianti opened this issue Jan 3, 2023 · 2 comments
Open

Installation instructions don't work #66

G-Ragghianti opened this issue Jan 3, 2023 · 2 comments

Comments

@G-Ragghianti
Copy link

Trying to follow the instructions here: https://dgpu-docs.intel.com/installation-guides/redhat/redhat-8.6.html

There is an error in the step to install the runtime packages (no package providing llvm 13). I think that the instructions are leaving off a step. Here is a Dockerfile that reproduces the error:

FROM rockylinux:8.6
RUN dnf install -y 'dnf-command(config-manager)'
RUN dnf config-manager --add-repo https://repositories.intel.com/graphics/rhel/8.6/flex/intel-graphics.repo
RUN dnf install -y epel-release
RUN dnf install -y --allowerasing dkms kernel-headers \
  intel-i915-dkms \
  intel-dmabuf-dkms \
  intel-platform-vsec-dkms \
  intel-platform-cse-dkms intel-fw-gpu
RUN dnf upgrade -y
RUN dnf install -y \
  intel-opencl intel-media intel-mediasdk libmfxgen1 libvpl2\
  level-zero intel-level-zero-gpu mesa-dri-drivers mesa-vulkan-drivers \
  mesa-vdpau-drivers libdrm mesa-libEGL mesa-libgbm mesa-libGL \
  mesa-libxatracker libvpl-tools intel-metrics-discovery \
  intel-metrics-library intel-igc-core intel-igc-cm \
  libva libva-utils intel-gmmlib intel-cmemu libmetee intel-gsc  
RUN dnf install -y --refresh \
  intel-igc-opencl-devel \
  level-zero-devel \
  intel-gsc-devel \
  libmetee-devel \
  level-zero-devel

And the error:

Step 7/9 : RUN dnf install -y   intel-opencl intel-media intel-mediasdk libmfxgen1 libvpl2  level-zero intel-level-zero-gpu mesa-dri-drivers mesa-vulkan-drivers   mesa-vdpau-drivers libdrm mesa-libEGL mesa-libgbm mesa-libGL   mesa-libxatracker libvpl-tools intel-metrics-discovery   intel-metrics-library intel-igc-core intel-igc-cm   libva libva-utils intel-gmmlib intel-cmemu libmetee intel-gsc
 ---> Running in 5740e6147379
Last metadata expiration check: 0:01:43 ago on Tue Jan  3 18:46:04 2023.
Error: 
 Problem 1: cannot install the best candidate for the job
  - nothing provides libLLVM-13.so(LLVM_13)(64bit) needed by mesa-dri-drivers-23.0.0.20221116.1-2049.el8.x86_64
  - nothing provides libLLVM-13.so()(64bit) needed by mesa-dri-drivers-23.0.0.20221116.1-2049.el8.x86_64
 Problem 2: cannot install the best candidate for the job
  - nothing provides libLLVM-13.so(LLVM_13)(64bit) needed by mesa-vulkan-drivers-23.0.0.20221116.1-2049.el8.x86_64
  - nothing provides libLLVM-13.so()(64bit) needed by mesa-vulkan-drivers-23.0.0.20221116.1-2049.el8.x86_64
 Problem 3: cannot install the best candidate for the job
  - nothing provides libLLVM-13.so(LLVM_13)(64bit) needed by mesa-vdpau-drivers-23.0.0.20221116.1-2049.el8.x86_64
  - nothing provides libLLVM-13.so()(64bit) needed by mesa-vdpau-drivers-23.0.0.20221116.1-2049.el8.x86_64
 Problem 4: cannot install the best candidate for the job
  - nothing provides libLLVM-13.so(LLVM_13)(64bit) needed by mesa-libxatracker-23.0.0.20221116.1-2049.el8.x86_64
  - nothing provides libLLVM-13.so()(64bit) needed by mesa-libxatracker-23.0.0.20221116.1-2049.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
The command '/bin/sh -c dnf install -y   intel-opencl intel-media intel-mediasdk libmfxgen1 libvpl2  level-zero intel-level-zero-gpu mesa-dri-drivers mesa-vulkan-drivers   mesa-vdpau-drivers libdrm mesa-libEGL mesa-libgbm mesa-libGL   mesa-libxatracker libvpl-tools intel-metrics-discovery   intel-metrics-library intel-igc-core intel-igc-cm   libva libva-utils intel-gmmlib intel-cmemu libmetee intel-gsc' returned a non-zero code: 1

@jketreno
Copy link

jketreno commented Feb 24, 2023

Can you verify you are on Rocky Linux 8.6 and not rolled to 8.7?

cat /etc/rocky-release

If you didn't lock it to 8.6, it will have floated to 8.7 which has llvm-14 and not llvm-13, which the 8.6 packages depend on.

Rocky Linux 8.7:
image

Rocky Linux 8.6:
image

Cheers,
James

@G-Ragghianti
Copy link
Author

Yes, as you can see in the Dockerfile, the "dnf upgrade" that the instructions told me to do has upgraded the OS version to 8.7. Maybe it shouldn't tell people to do that or it should tell them how to fix the version at 8.6?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants