I am having a very odd issue using a swapchain in OpenXR using DXGI_FORMAT_R8G8B8A8_UNORM_SRGB. It works fine with DXGI_FORMAT_R8G8B8A8_UNORM, however I get banding on the final image which is to be expected according to the documentation.
The problem is that, both the headset and the WMR simulator will not render using DXGI_FORMAT_R8G8B8A8_UNORM_SRGB, I get just a black screen and the controllers drawing to the screen as if the headset is not receiving images. I have simplified my application to where all I do is clear the render target to red, and it still has the problem. There is no error or failure of any sort in and of the return values, just does not work. I have verified the image in the swapchain is correct by copying it and outputting it to a desktop window before submitting, looks correct in both DXGI_FORMAT_R8G8B8A8_UNORM and DXGI_FORMAT_R8G8B8A8_UNORM_SRGB.
I have also enumerated the swapchain formats and its on the list. Any ideas on what could cause this? The WMR OpenXR sample app ( which is pretty difficult to follow I must say ) uses the SRGB swapchain and it seems to work fine, so there is some trick I am not doing.