Skip to content

Commit e5393db

Browse files
committed
JETSON.md: render group also required on L4T r39+ (DRM render node CUDA init)
1 parent 84c4ed8 commit e5393db

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

‎bench/JETSON.md‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,17 @@ sudo jetson_clocks # pin clocks (within the mode's budget) for stable tim
5454
```
5555

5656
**One-time per-box account setup** (needs an interactive sudo once). The
57-
benchmark account must be in the `video` group — Tegra's GPU nodes
58-
(`/dev/nvmap`, `/dev/nvhost-*`) are `root:video`, and a user outside it gets
59-
`NvRmMemInitNvmap failed: Permission denied` / "no CUDA-capable device" from
60-
every CUDA binary. Power-mode sweeps (and agent-driven runs over ssh)
61-
additionally need passwordless sudo for exactly the two clock tools:
57+
benchmark account must be in BOTH the `video` and `render` groups — Tegra's
58+
classic GPU nodes (`/dev/nvmap`, `/dev/nvhost-*`) are `root:video` (outside it:
59+
`NvRmMemInitNvmap failed: Permission denied`), and the newer L4T releases
60+
(r39+, OOT nvgpu driver) additionally route CUDA init through the DRM render
61+
node `/dev/dri/renderD*` which is `root:render` (outside it: CUDA reports
62+
"no CUDA device: operation not supported" even with `video` fixed). Power-mode
63+
sweeps (and agent-driven runs over ssh) additionally need passwordless sudo
64+
for exactly the two clock tools:
6265

6366
```bash
64-
sudo usermod -aG video $USER # then log out/in (new ssh sessions pick it up)
67+
sudo usermod -aG video,render $USER # then log out/in (new ssh sessions pick it up)
6568
echo "$USER ALL=(ALL) NOPASSWD: /usr/sbin/nvpmodel, /usr/bin/jetson_clocks" \
6669
| sudo tee /etc/sudoers.d/glass-bench
6770
```

0 commit comments

Comments
 (0)