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

Nvidia drivers on -hwe #241

Closed
tulilirockz opened this issue Feb 2, 2025 · 1 comment · Fixed by #243
Closed

Nvidia drivers on -hwe #241

tulilirockz opened this issue Feb 2, 2025 · 1 comment · Fixed by #243

Comments

@tulilirockz
Copy link
Collaborator

We already have the newer hyperscale kernels, we should be able to install new nvidia drivers.

@imbev on discord gave us this example on how to get nvidia drivers going, we should investigate this better

FROM quay.io/centos-bootc/centos-bootc:stream10

RUN dnf install -y \
    epel-release

RUN dnf config-manager --enable \
    crb

RUN dnf install -y \
    wget \
    kernel-devel \
    kernel-headers \
    dkms \
    vulkan \
    vulkan-tools \
    vulkan-headers \
    vulkan-loader-devel

RUN touch \
    /etc/modprobe.d/nouveau-blacklist.conf

RUN echo "blacklist nouveau" | tee \
    /etc/modprobe.d/nouveau-blacklist.conf

RUN echo "options nouveau modeset=0" | tee -a \
    /etc/modprobe.d/nouveau-blacklist.conf

RUN dracut --force

RUN wget \
    https://us.download.nvidia.com/XFree86/Linux-x86_64/550.144.03/NVIDIA-Linux-x86_64-550.144.03.run

RUN chmod +x \
    NVIDIA-Linux-x86_64-550.144.03.run

RUN ./NVIDIA-Linux-x86_64-550.144.03.run \
    --accept-license --silent --run-nvidia-xconfig --dkms \
    --kernel-source-path /usr/src/kernels/$(ls /usr/src/kernels/ | awk '{print $1}')

RUN dracut --force
@imbev
Copy link

imbev commented Feb 2, 2025

Note that although this particular image is successful with Nvidia working, we have not successfully created a HeliumOS image that successfully boots with Nvidia working.

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 a pull request may close this issue.

2 participants