rt README: a device that ran work does not exit cleanly alive on NVIDIA; drop it or _exit
The quiesce section's 50-of-50 clean exits were runs that made a device and ran nothing. A consumer running a guest's work measured otherwise: on an RTX 3090 with driver 620.70.06, 3 of 9 power-offs crashed with SIGSEGV in exit() after quiesce answered true (0.4-5 ms, every rt thread ended). The faulting thread is the driver's own (libnvidia-eglcore, near NULL+0x18), and the main thread sits in the ICD's exit handler waiting on a rwlock; no rt frame is on either. The RTX 2080 was 0 of 4. The consumer's fix is to drop the device at its last release. The README now scopes the clean-exit numbers to their runs and states the gap and the two exits that avoid it. Verified: doc-only; the numbers are the consumer's (reims b264 rt platform, relayed 11-19).
This commit is contained in:
1 parent
ee1a8aee7c
commit
41bc2c1b80
1 file changed
+7
@@ -1118,6 +1118,13 @@ an RTX 3090), a handler registered after `Device::new` exited cleanly in 50 runs
|
||||
registered before `Instance::new` crashed in 50 of 50. The handler parks the consumer's own threads
|
||||
that touch blocks first.
|
||||
|
||||
Those runs made a device and ran nothing on it. A device that ran a program's work does not exit
|
||||
cleanly with the device alive on NVIDIA's driver, even after quiesce answered true: on an RTX 3090
|
||||
(driver 620.70.06), 3 of 9 of a consumer's power-offs ended in a segmentation fault inside `exit()`,
|
||||
in a thread of the driver's own reading near a null pointer while the driver's exit handler waited
|
||||
on a lock, with every runtime thread already ended; an RTX 2080 exited cleanly in 4 of 4. On NVIDIA
|
||||
the consumer drops the device's last handle before it exits, or ends with `_exit`: a known gap.
|
||||
|
||||
### Known gaps
|
||||
|
||||
- Command buffers committed while an earlier one of their queue runs are reported complete
|
||||
|
||||
Reference in new issue
Block a user