I have a very weird problem with my Late 2013 MacBook Pro. When running macOS, it suddenly stops with a black screen. Nothing in the logs. I tried upgrading it to macOS Mojave, but did not help. I deleted all the partitions (I had a Ubuntu dual boot setup) and reinstalled from scratch. Did not help at all. Usually it crashes after approximately 5 minutes.
What's strange is that it did not crash during the different re-installations and upgrades, and does not crash at all when running Ubuntu Linux.
I have already tried resetting the cache and the different stuff that are recommended.
Does somebody have an explanation?