I have the same issue as described in the very first post (entire black screen EXCEPT notification bar at top and navigation bar at bottom).
I'm using an LG G3. Rooted. Running Bliss Pop ROM 3.9.
Android 5.1.1.
Nova Launcher.
Tasker and Secure Settings.
When I was on stock 5.0 I had no such issue. BUT I wasn't using Tasker or Secure Settings. Was using Nova tho.
Rooted, stayed with stock for a long time (a few months at least), still no issue.
Flashed CyanogenMod ROM 12.1 (Android 5.1.1) and no issue, BUT I moved away from CM to Bliss Pop 3.6 in the space of a day or two. So no idea if CM had the issue. After a day or so the issue began. First it was happening just when in Chrome. I installed Xposed, and it start happening a lot more, even during normal phone use it would happen. I assumed it was Xposed or Bliss Pop. So I updated to Bliss Pop 3.8 but it still happened. Then 3.9, still again.
Changed ROM to Resurrection Remix ROM and stopped using Xposed, but it happened there also (only once in the space of a day though). Then I found this thread (yay!). Was happy to learn it wasn't the ROM cos Bliss Pop is awesome.
So now I'm back on Bliss Pop 3.9 as of 24 hours ago and so far so good! I've disabled Overlays in the Developer Options. Adaptive Brightness is enabled. I've disabled my Tasker profile that uses the keyguard. Secure Settings is installed, and only moments ago I enabled it's module in the System+ tab (requires root access). Will report back if this makes a difference.
I'm hopeful this is the last I will see of it, but it's a bummer we cannot tinker with keyguard in Tasker! I emailed both the Tasker dev and Secure Settings dev this evening. Got a (very fast) reply from the Secure Settings dev. He said to see if the error has already been raised, and it has. I cannot paste the link yet (new user) but if you google "intangible uservoice forums I think secure settings should android 5.0 issues" you'll see the page I want to link to. See the third point. Bad news... It won't be fixed. Here's a copy of the text from that point...
> Keyguard causes blackouts
- This will not be fixed. The Keyguard function hasn't worked properly since 4.0 and will no longer be supported going forward. If you choose to use this feature, then you are responsible for any issues encountered.