Skip to content

Commit

Permalink
feat: Add Nvidia 470xx support (#48)
Browse files Browse the repository at this point in the history
* docs: Add more info about how to rollback or rebase

* feat: Enable nvidia 470xx driver support

* docs: Add more info about how to rollback or rebase

* fix: Disable 470xx driver support in F38 to avoid failing builds
  • Loading branch information
joshua-stone committed Feb 24, 2023
1 parent 23184fb commit 6d4afbc
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
matrix:
image_name: [silverblue, kinoite, vauxite, sericea, base]
major_version: [37, 38]
driver_version: [520, 525]
driver_version: [520, 525, 470]
include:
# - major_version: 36
# is_latest_version: false
Expand All @@ -49,6 +49,8 @@ jobs:
major_version: 37
- driver_version: 520
major_version: 38
- driver_version: 470
major_version: 38
steps:
# Checkout push-to-registry action GitHub repository
- name: Checkout Push to Registry action
Expand Down
26 changes: 18 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ Note: This project is a work-in-progress. You should at a minimum be familiar wi

Note: The Fedora release and Nvidia version can be set with the image tag as well:

| | 525xx series | 520xx series |
|-----|---------------------------------------|---------------|
| F37 | :latest / :37 / :37-525 / :37-current | :37-520 |
| F38 | :38 / :38-525 / :38-current | |
| | 525xx series | 520xx series | 470xx series (Kepler 2012-2014 support) |
|-----|---------------------------------------|---------------|-----------------------------------------|
| F37 | :latest / :37 / :37-525 / :37-current | :37-520 | :37-470 |
| F38 | :38 / :38-525 / :38-current | | |

2. Set kargs after rebasing

Expand Down Expand Up @@ -76,12 +76,22 @@ Alternatively, the key can be enrolled from within this repo:
sudo mokutil --import ./certs/public_key.der
```

## Rolling back
## Rolling back and rebasing

To rollback to a specific date, use a date tag:
Generally you can [perform a rollback](https://docs.fedoraproject.org/en-US/fedora-silverblue/updates-upgrades-rollbacks/#rolling-back) with the following:

rpm-ostree rollback

To rebase onto a specific date, use a date tag:

rpm-ostree rebase ostree-unverified-registry:ghcr.io/ublue-os/silverblue-nvidia:20230128

Or to rebase onto a specific release, driver, and date:

rpm-ostree rebase ostree-unverified-registry:ghcr.io/ublue-os/silverblue-nvidia:37-525-20230128

[More options for image tags can be found on the container catalog.](https://github.com/ublue-os/nvidia/pkgs/container/silverblue-nvidia/versions)

rpm-ostree rebase ostree-unverified-registry:ghcr.io/ublue-os/nvidia:20230128
## Verification

These images are signed with sisgstore's [cosign](https://docs.sigstore.dev/cosign/overview/). You can verify the signature by downloading the `cosign.pub` key from this repo and running the following command:
Expand Down

0 comments on commit 6d4afbc

Please sign in to comment.