My PC started freezing again this morning, so I checked the event viewer and found this error I had noticed before but discounted:

The description for Event ID 14 from source nvlddmkm cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

\Device\Video5
!051d(2558)

I’m not the only one with this error and the solution seems to be to downgrade my Nvidia driver to 314.22.

Hopefully this will fix the freezes. If it does I’ll enable AHCI again.