cancel
Showing results for 
Search instead for 
Did you mean: 

Oculus SDK with Vulkan

Anonymous
Not applicable
Is it possible to do rendering with Vulkan and use it with oculus SDK ?
9 REPLIES 9

cybereality
Grand Champion
Vulkan is not officially supported right now. What you can try is using Vulkan to OpenGL interop and interfacing with the Oculus SDK via OpenGL. I'm not sure exactly how this works in terms of the code, but I was told it should be possible (at least for PC, not 100% sure about mobile).
AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV

Anonymous
Not applicable
interop extensions are provided bu Nvidia only. So does that mean its not possible with other vendors?

cybereality
Grand Champion
I can ask. Can you tell me more about what hardware and software you are trying to utilize (OS, device, etc.)?
AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV

Anonymous
Not applicable
Adreno, Mali with Galaxy-S7 edge. I am using Oculus 1.0.3 mobile SDK.

jherico
Adventurer
Since mobile devices typically don't distinguish the GPU 'device' memory pool from the 'system' memory pool, you may be able to get reasonable performance by doing copy from the rendered image to a mappable memory buffer via `vkCmdCopyImageToBuffer` and then uploading it to a GL texture for submitting to the Oculus SDK.  
Brad Davis - Developer for High Fidelity Co-author of Oculus Rift in Action

cybereality
Grand Champion
Sorry, I forgot to follow up. Vulkan is not supported on mobile right now.
AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV

Anonymous
Not applicable
Thank you all for your help.

BattleAxeVR
Adventurer


Sorry, I forgot to follow up. Vulkan is not supported on mobile right now.


ETA? It's been a year. I need to know if Vulkan on mobile will ever be supported natively, otherwise I might have to switch over to Daydream exclusively.

firagabird
Adventurer




Sorry, I forgot to follow up. Vulkan is not supported on mobile right now.


ETA? It's been a year. I need to know if Vulkan on mobile will ever be supported natively, otherwise I might have to switch over to Daydream exclusively.


If Vulkan is a hard requirement for you to do VR development, then go do it in Daydream, and port it to Gear VR when they add support for it (like they did for their desktop SDK). The way the Oculus Mobile SDK works means they need Vulkan to add extensions for some things. I never got clarification what Gear VR is doing vs. Daydream that requires those extensions, though.
S7 Exynos Nougat. 2017 Gear VR. Public test channel.