nvproxy: support AMPERE_B and GET_HS_CREDITS_MAPPING - #14449
Open
botirkhaltaev wants to merge 2 commits into
Open
nvproxy: support AMPERE_B and GET_HS_CREDITS_MAPPING#14449botirkhaltaev wants to merge 2 commits into
botirkhaltaev wants to merge 2 commits into
Conversation
Ampere GA10x uses class 0xc797 (AMPERE_B) rather than AMPERE_A (0xc697, GA100). vkCreateDevice fails with "handler is undefined for allocation class 0xc797" until this class is proxied with the same NV_GR_ALLOCATION_PARAMETERS as AMPERE_A. Assisted-by: Cursor
botirkhaltaev
requested review from
EtiennePerot,
aaltinaydev,
carzh,
fvoznika,
gvisor-bot,
konstantin-s-bogom,
manninglucas,
milantracy,
nixprime,
nybidari,
parth-opensrc,
relkochta,
rexren-gif,
shailend-g,
trantoji,
xinzhong and
zkoopmans
as code owners
August 27, 2026 14:36
botirkhaltaev
force-pushed
the
botir/nvproxy-ampere-b-and-ngx
branch
from
August 27, 2026 14:48
f428df2 to
01c7916
Compare
4 tasks
ayushr2
approved these changes
Aug 27, 2026
Nsight Compute on multi-chiplet GPUs issues 0xb0cc0116 after GET_CHIPLET_HS_CREDIT_POOL. Without this allowlist the sentry logs "handler is undefined" and NCU fails to prepare the kernel. Register it on the 560.28.03 ABI node under CapProfiling, same as the other B0CC profiler commands. Assisted-by: Cursor
ayushr2
approved these changes
Aug 27, 2026
This file contains hidden or 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
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.
nvproxy denies NVIDIA resource-manager classes and control commands it does not already understand, instead of passing them through to the host driver.
This PR allowlists two of those:
AMPERE_B (
0xc797). Ampere GA10x allocates this graphics class instead ofAMPERE_A(0xc697, GA100). The parameter blob is the sameNV_GR_ALLOCATION_PARAMETERSstructure. Without the class ID, the sentry logshandler is undefined for allocation class 0xc797andvkCreateDevicefails. Register it next toAMPERE_AunderCapGraphics, same asTURING_A,ADA_A, andHOPPER_A. Not a video or compute class; no new driver capability.NVB0CC_CTRL_CMD_GET_HS_CREDITS_MAPPING(0xb0cc0116). Nsight Compute on multi-chiplet GPUs issues this afterGET_CHIPLET_HS_CREDIT_POOL(0xb0cc0115). Without it, the sentry logshandler is undefinedand NCU fails to prepare the kernel. Register it on the 560.28.03 ABI node underCapProfiling, same as the other B0CC profiler commands.Assisted-by: Cursor
Test plan
vkCreateDevice/vulkaninfoon Ampere GA10x (class0xc797) succeeds instead of failing on an undefined allocation class//pkg/sentry/devices/nvproxy:nvproxy_testpasses