bootc images can be built by podman locally or via CI such as GitHub Actions. When building the Nvidia image locally, official Nvidia dkms drivers load and operate properly on systems booting the image. When building the Nvidia image using GitHub Actions, the booted system does not use the official Nvidia drivers nor the blacklisted Nouveau drivers.
Steps to reproduce:
- Build
9/Containerfile.nvidiausing podman on a local device as image A - Push image A to registry
- Switch bootc system to image A
- Observe system using Nvidia drivers properly
- Build
9/Containerfile.nvidiausing podman on GitHub Actions as image B - Push image B to registry
- Switch bootc system to image B
- Observe system using fallback graphics drivers
Reference:
- Local build
- image:
quay.io/imbev/heliumos-bootc:nvidia - commit:
6fc99100dee6d5558f3ac17b610b15f90f4c90e7 - Output of
lsmod | grep nvidia:
- image:
nvidia_drm ... ...
nvidia_modeset ... ...
nvidia_uvm ... ...
video ... ...
drm_kms_helper ... ...
drm ... ...
- CI build
- image:
quay.io/heliumos/bootc:9-canary-nvidia - commit:
6fc99100dee6d5558f3ac17b610b15f90f4c90e7 - Output of
lsmod | grep nvidia: (Nothing)
- image:
bootc images can be built by podman locally or via CI such as GitHub Actions. When building the Nvidia image locally, official Nvidia dkms drivers load and operate properly on systems booting the image. When building the Nvidia image using GitHub Actions, the booted system does not use the official Nvidia drivers nor the blacklisted Nouveau drivers.
Steps to reproduce:
1. Build `9/Containerfile.nvidia` using podman on a **local device** as image A
2. Push image A to registry
3. Switch bootc system to image A
4. Observe system **using Nvidia drivers** properly
5. Build `9/Containerfile.nvidia` using podman on **GitHub Actions** as image B
6. Push image B to registry
7. Switch bootc system to image B
8. Observe system **using fallback graphics drivers**
Reference:
- Local build
- image: `quay.io/imbev/heliumos-bootc:nvidia`
- commit: `6fc99100dee6d5558f3ac17b610b15f90f4c90e7`
- Output of `lsmod | grep nvidia`:
```
nvidia_drm ... ...
nvidia_modeset ... ...
nvidia_uvm ... ...
video ... ...
drm_kms_helper ... ...
drm ... ...
```
- CI build
- image: `quay.io/heliumos/bootc:9-canary-nvidia`
- commit: `6fc99100dee6d5558f3ac17b610b15f90f4c90e7`
- Output of `lsmod | grep nvidia`: (Nothing)