My computer systematically crashes on shutdown (in some circumstances), where should I look?

> echo $XDG_SESSION_TYPE && glxinfo | grep server                                                                                                                
x11
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:

… I’m pretty sure I use the Nvidia chip for playing. I went through the advice from this thread, and I can confirm that the Nvidia GPU is very much active while I’m playing.

I don’t really know what a raid controller is, would you mind explaining what you expect me to do to investiguate this?

Thanks.