Renaming fopen64 to intercept library calls feels like a brittle hack masquerading as "sandboxing." Why not just upstream this hardware support to nvtop instead of fragmenting the ecosystem?
steeve•4d ago
sadly, sandboxing is something that can't be upstreamed. this way, sandboxing is kept in zml instead of patching mesa.
as for nvtop, great program, but we missed a few features (such as sandboxing)
pstuart•4h ago
It looks cool and I was excited to get monitoring for the NPU on my Ryzen AI 395+, unfortunately it does not show. NPU support in linux really seems to be an afterthought.
steeve•4h ago
Weird, because we tried it. It doesn’t show anything?
We use the amdsmi to get metrics. I’ll investigate.
marwanet•4h ago
If this logic were pushed into nvtop, wouldn't the codebase become unmaintainable? Each vendor's interception method is going to be different.
mrflop•4d ago
steeve•4d ago
as for nvtop, great program, but we missed a few features (such as sandboxing)
pstuart•4h ago
steeve•4h ago
We use the amdsmi to get metrics. I’ll investigate.
marwanet•4h ago