for each request getting, I am calling blender with a blend-script by the python call subprocess.run, in order to render an image of a stl-file. This works normally very well.
Unfortunately, I am sporadically hanging in a deathlock. Then, I see on the console the following error message, after the blender render function for eevee
bpy.ops.render.render(use_viewport=True, animation=False,write_still=True)
was called.
Warning! Using result of ChoosePixelFormat. Win32 Error# (127): The specified procedure could not be found. Error : EXCEPTION_ACCESS_VIOLATION Address : 0x0000000000000000
Thanks to scurest post below, I think the issue is cause by closing the remote session. It seems that blender loses the right to access some dll's or so, as mentioned in the post of the link. Does anyone has an idea how to get a blender rendering script running on a remote computer without having a remote session allways active? This must be possible, or?