Camera App Failing to find main camera hardware

I thought I should try opening the camera before getting those, and the main camera came on for a a few seconds, then went black. The front facing camera was available. Sometimes the camera comes on black, and the camera switch button isn’t there, so I can’t switch to the front facing one.

I have managed to get the main camera to come on, every now and then, ususally after a reboot.

I might be being a bit slow, but I can’t see how to attach those logs to a post/reply?