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

ci(docker): add vulkan image #3883

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jjm2473
Copy link

@jjm2473 jjm2473 commented Feb 20, 2025

supports x86_64 and arm64

supports x86_64 and arm64

Signed-off-by: jjm2473 <[email protected]>
@jjm2473
Copy link
Author

jjm2473 commented Feb 20, 2025

I want to run tabby on ARM platform with libmali-vulkan. There is not any docker image or binary provided. This PR create a base vulkan-based image, so ARM platforms can build image on top of it.

@jjm2473
Copy link
Author

jjm2473 commented Feb 20, 2025

For example, this is a dockerfile for Rockchip RK3588:

FROM tabby-vulkan

RUN apt-get update && \
    apt-get install -y --no-install-recommends \
        libdrm2 \
        libwayland-client0 \
        libwayland-server0 \
        && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*

COPY libmali-valhall-g610-g6p0-wayland-gbm-vulkan.so /usr/lib/aarch64-linux-gnu/libmali-valhall-g610-g6p0-wayland-gbm-vulkan.so

RUN ln -s /usr/lib/aarch64-linux-gnu/libmali-valhall-g610-g6p0-wayland-gbm-vulkan.so /usr/lib/aarch64-linux-gnu/libmali.so

COPY mali.json /etc/vulkan/icd.d/mali.json

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

Successfully merging this pull request may close these issues.

1 participant