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-ctk requires run after kernel/akmod update #856

Open
ahmed-alhindawi opened this issue Jan 10, 2025 · 3 comments
Open

nvidia-ctk requires run after kernel/akmod update #856

ahmed-alhindawi opened this issue Jan 10, 2025 · 3 comments

Comments

@ahmed-alhindawi
Copy link

Hello,

When working with podman on fedora and using nvidia GPU using the CDI backend, everytime the kernel is updated or the driver is updated, nvidia-ctk cdi generate ... to be required to be re-run for the CDI container to find the appropriate libraries.

Is this a fedora issue or would it be possible to have a hook to run this command automatically once the kernel module is rebuilt?

@elezar
Copy link
Member

elezar commented Feb 3, 2025

@ahmed-alhindawi this is a known issue. We are working on improving the UX around this.

@ahmed-alhindawi
Copy link
Author

Thank you

@billtown
Copy link

I have to run it after every reboot on a fresh fedora 41. I'm uncertain of this whole flow tbh. Or what I'm doing wrong. I'm missing /dev/nvidia-uvm until I "generate" below.

I just run both of these even though the files persist.
nvidia-ctk config default > /etc/nvidia-container-runtime/config.toml
nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml

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