Hi Kdedoviq,
Have a look at this article and try the steps to see if it fixes the issue:
https://www.thewindowsclub.com/windows-10-black-screen-problems
Even though it is for Windows 10, this guide should also apply for Windows 8.1
Have a look at this article and try the steps to see if it fixes the issue:
https://www.thewindowsclub.com/windows-10-black-screen-problems
Even though it is for Windows 10, this guide should also apply for Windows 8.1