Comments (6)
Yeah, I actually hit this as well a few days ago on Windows 11 with the NVIDIA driver (not at my computer right now to check the version but I imagine it's the same). I also narrowed the segfault down to the same line. Like you say, I've never heard of this happening before and the wrapper code there hasn't changed. It seems to be a new thing caused by the NVIDIA driver update.
I noticed that this was happening immediately after I updated my driver and before I restarted my PC. After restarting the segfault went away. I wonder if the NVIDIA driver got in some sort of weird state after the update?
Have you restarted your machine after the driver update? Or can you consistently reproduce this even after restarting?
from nvml-wrapper.
It's been consistently happening, across multiple driver updates as well
from nvml-wrapper.
Gotcha. When I get a chance I'll dig in here and see what I can figure out.
If you find out anything more let me know 🙂.
from nvml-wrapper.
FWIW I spent some time looking into this again just now and I cannot reproduce the segfault. I also can't see any way that the wrapper is misusing the API as it's defined/documented.
Are you still running into this?
from nvml-wrapper.
Nope, seems to just work, though I wonder if that's the driver's fault or you making use of some undefined behavior when copying process info.
I just had a read over nvmlDeviceGetGraphicsRunningProcesses_v3
documentation and couldn't see anything obvious, though I guess we can't debug it anymore anyway because we can't reproduce it.
from nvml-wrapper.
Interesting. I'll keep an eye out.
from nvml-wrapper.
Related Issues (20)
- Load NVML lib at runtime HOT 4
- Any way to build without /usr/lib? HOT 4
- Use the `#[doc(alias = "...")]` attribute on wrapper methods
- Rename `NVML` struct to `Nvml`
- Accept more variants of lib name or make internal init public HOT 2
- Lifecycle problems with `device_by_index` HOT 3
- Explore reference counting to maintain lifetime relationships among NVML data structures
- nvmlDeviceSetGpuLockedClocks vs nvmlDeviceSetMemoryLockedClocks HOT 2
- GPU Temp sensors HOT 2
- feature request: add support for `nvmlDeviceGetGraphicsRunningProcesses_v2` HOT 5
- Device Brand function fails for new RTX cards
- Cannot call legacy functions HOT 3
- "libnvidia-ml.so: cannot open shared object file: No such file or directory HOT 3
- FailedToLoadSymbol("GetProcAddress failed") with Windows studio driver v536.99 HOT 2
- failing to load driver nvml from wsl2 HOT 1
- Support for querying scoped fields HOT 2
- process_utilization_stats failed with NOT_FOUND error, Ubuntu 22.04
- Update memory info to v2
- Fan Control Wrappers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvml-wrapper.