marcomusy / vedo

A python module for scientific analysis of 3D data based on VTK and Numpy
https://vedo.embl.es
MIT License
1.98k stars 257 forks source link

Exit without error reporting, when no NVIDIA driver is available #1088

Closed youka-sar closed 2 months ago

youka-sar commented 2 months ago

Earlier I tried vedo demo code.

import vedo
vedo.Cone().show(axes=1)

It just gives me a black window, and the python exits unexpectedly without an error report. After a long error checking, I found it was because the Nivida driver was missing.

I think there should be a assert about the GPU driver, in case of an abnormal exit.

youka-sar commented 2 months ago

In the event log of Windows, I find the error code is 0xc0000005. None of these point directly to the GPU driver. An error report is better !

marcomusy commented 2 months ago

Hi thanks for reporting - unfortunately this seems a problem from the upstream VTK library and we cannot do much downstream in vedo i'm afraid...

youka-sar commented 2 months ago

Hi thanks for reporting - unfortunately this seems a problem from the upstream VTK library and we cannot do much downstream in vedo i'm afraid...

OK get it. Thank you for your reply!