Open
Description
I was trying to run a Docker image based on ubuntu 20.04 on a machine running 22.04 which resulted in the GPU not being detected. Is it possible to make this work?
The machine was running the latest release (22.39.24347), but I also tried running release 20.13.16352 which is the latest supported by 20.04, but that didn't work either.
dockerissue$ docker run --rm --device /dev/dri minimal-example20.04 clinfo
Number of platforms 0
dockerissue$ docker run --rm --device /dev/dri minimal-example22.04 clinfo
Number of platforms 1
Platform Name Intel(R) OpenCL HD Graphics
Platform Vendor Intel(R) Corporation
Platform Version OpenCL 3.0
Platform Profile FULL_PROFILE
...
Dockerfile:
FROM ubuntu:22.04 # or ubuntu:20.04
RUN apt-get update && apt-get upgrade --assume-yes
RUN apt-get install intel-opencl-icd clinfo --assume-yes