# 【PICO】【OpenXR】Add GetPreferredSwapchainFormat extension plugin interface 

**URL:** <https://forums.unrealengine.com/t/pico-openxr-add-getpreferredswapchainformat-extension-plugin-interface/2725996>\
**Category:** XR Development\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [March 19, 2026, 2:13pm UTC](https://forums.unrealengine.com/t/pico-openxr-add-getpreferredswapchainformat-extension-plugin-interface/2725996 "2026-03-19T14:13:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [March 19, 2026, 2:13pm UTC](https://forums.unrealengine.com/t/pico-openxr-add-getpreferredswapchainformat-extension-plugin-interface/2725996/1 "2026-03-19T14:13:09Z")

</div>

[https://github.com/EpicGames/UnrealEngine/pull/14543](https://github.com/EpicGames/UnrealEngine/pull/14543)

\<br/\>

VK\_FORMAT\_R8G8B8A8\_SRGB more efficient than VK\_FORMATB8G8R8A8 SRGB，on PICO4 Ultra Qualcomm XR Gen2 SoC( Both supported PF\_B8G8R8A8 and PF\_R8G8B8A8 on PICO xr runtime). Why Quest3 doesn’t have issue is because that Quest3’s runtime doesn’t support PF\_B8G8R8A8, then fallback to PF\_R8G8B8A8. Do you have other good ideal？

[Image Removed]

Currently, we can set r.DefaultBackBufferPixelFormat to 4 to trigger below logic.

[Image Removed]

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [March 19, 2026, 2:17pm UTC](https://forums.unrealengine.com/t/pico-openxr-add-getpreferredswapchainformat-extension-plugin-interface/2725996/2 "2026-03-19T14:17:11Z")

</div>

One of our testing demo，at 90FPS base，two formats has about 14FPS difference.

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![christopher.fiala](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@christopher.fiala](https://forums.unrealengine.com/u/christopher.fiala)\
**Post date:** [April 15, 2026, 8:05pm UTC](https://forums.unrealengine.com/t/pico-openxr-add-getpreferredswapchainformat-extension-plugin-interface/2725996/3 "2026-04-15T20:05:43Z")

</div>

Just wanted to update you that we will be taking this for UE 5.8. A version of the change is currently in review.

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![christopher.fiala](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@christopher.fiala](https://forums.unrealengine.com/u/christopher.fiala)\
**Post date:** [April 23, 2026, 5:20pm UTC](https://forums.unrealengine.com/t/pico-openxr-add-getpreferredswapchainformat-extension-plugin-interface/2725996/4 "2026-04-23T17:20:00Z")

</div>

Hi Seamus,

I’ve submitted a modified version of the PR to UE/Main in CL 53076595. Please take a look when you get a chance and let me know if there are any issues. This should also end up in UE 5.8.

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![christopher.fiala](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@christopher.fiala](https://forums.unrealengine.com/u/christopher.fiala)\
**Post date:** [May 4, 2026, 4:29pm UTC](https://forums.unrealengine.com/t/pico-openxr-add-getpreferredswapchainformat-extension-plugin-interface/2725996/5 "2026-05-04T16:29:00Z")

</div>

Yes, here’s a link to the change on GitHub: [https://github.com/EpicGames/UnrealEngine/commit/33faf88a18c149332c302907e7388763af879c58](https://github.com/EpicGames/UnrealEngine/commit/33faf88a18c149332c302907e7388763af879c58)

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [April 16, 2026, 3:50am UTC](https://forums.unrealengine.com/t/pico-openxr-add-getpreferredswapchainformat-extension-plugin-interface/2725996/6 "2026-04-16T03:50:26Z")

</div>

One information，xrEnumerateSwapchainFormats returns rgba8 and bgra8, and on pico we put rgba8 ahead of bgra8, but you know, the contain logic above chose bgra8 directly. I am not sure if some varable format can use xrEnumerateSwapchainFormats return order（for loop chose the first）, some specific format （ue must）use contain. But currently the pr can fix this issue, but I am not sure if some other attachment has similar performance issue, maybe no issue anymore. [Image Removed]

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [April 16, 2026, 3:51am UTC](https://forums.unrealengine.com/t/pico-openxr-add-getpreferredswapchainformat-extension-plugin-interface/2725996/7 "2026-04-16T03:51:41Z")

</div>

r.DefaultBackBufferPixelFormat or add a new backbuffer format rgba8 in addition to bgra8

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [April 24, 2026, 2:33am UTC](https://forums.unrealengine.com/t/pico-openxr-add-getpreferredswapchainformat-extension-plugin-interface/2725996/8 "2026-04-24T02:33:03Z")

</div>

Where can I take a look the CL 53076595? Do you have a link on GitHub?

[Attachment Removed]
