-
Notifications
You must be signed in to change notification settings - Fork 63
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: GPU and display passthrough #944
Draft
jpruiz84
wants to merge
15
commits into
tiiuae:main
Choose a base branch
from
jpruiz84:gpu_pt_kernel6_6_wip
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Using TII jetpack-nixos fork (fork has Jetson 36.3 with upstream Linux 6.6) - Virtualization and bpmp is false - Only NX target Signed-off-by: Tanel Dettenborn <[email protected]>
- Disabled PCI passthrough until nvidia-oot device tree get integrated. Signed-off-by: Juan Pablo Ruiz <[email protected]>
virt: updated bpmp-virt to kernel 6.6
…nux) Signed-off-by: Tanel Dettenborn <[email protected]>
Signed-off-by: Tanel Dettenborn <[email protected]>
Signed-off-by: Tanel Dettenborn <[email protected]>
Signed-off-by: Tanel Dettenborn <[email protected]>
jpruiz84
temporarily deployed
to
internal-build-workflow
January 7, 2025 13:28 — with
GitHub Actions
Inactive
Also, added dtb overlays for gpu_passthrough Signed-off-by: Juan Pablo Ruiz <[email protected]>
Signed-off-by: Juan Pablo Ruiz <[email protected]>
Signed-off-by: Juan Pablo Ruiz <[email protected]>
Set the hardware.deviceTree.dtbSource to the NVIDIA jetpack bsp. In this way the fdtPath in sdimage.nix point to the config.hardware.deviceTree.package that is configured through hardware.deviceTree.dtbSource. Signed-off-by: Juan Pablo Ruiz <[email protected]>
- Create a new microvm GPU-VM - Add nvidia-oot drivers patches to support GPU/Display passthrough - Add GPU passthrough overlay to host dtb for support passthrough - Add GPU-VM device tree, and derivation to build it - Add patch to GPU-VM Linux kernel to hardcode the chipid Signed-off-by: Juan Pablo Ruiz <[email protected]>
jpruiz84
force-pushed
the
gpu_pt_kernel6_6_wip
branch
from
January 23, 2025 14:09
9107531
to
4f114d5
Compare
jpruiz84
temporarily deployed
to
internal-build-workflow
January 23, 2025 14:09 — with
GitHub Actions
Inactive
Add udev rule to assign kvm group to bpmp-host chardev Signed-off-by: Juan Pablo Ruiz <[email protected]>
jpruiz84
temporarily deployed
to
internal-build-workflow
January 24, 2025 11:04 — with
GitHub Actions
Inactive
Signed-off-by: Juan Pablo Ruiz <[email protected]>
jpruiz84
temporarily deployed
to
internal-build-workflow
January 27, 2025 08:36 — with
GitHub Actions
Inactive
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of changes
Checklist for things done
x86_64
aarch64
riscv64
make-checks
and it passesnixos-rebuild ... switch
Instructions for Testing
List all targets that this applies to: Nvidia Orin AGX, Nvidia Orin NX
Is this a new feature
ssh gpu-vm-debug
GR3D_FREQ 0%
that means that the GPU driver is working correctly withthe GPU passthrough
If it is an improvement how does it impact existing functionality?