ALVR icon indicating copy to clipboard operation
ALVR copied to clipboard

Have any paln to adapte other OpenXR device?

Open osdalong opened this issue 2 years ago • 5 comments

Hi Sirs:

Have any paln to adapte other HMD which has supported OpenXR?

I guess we just need modify the android code ovr_context.cpp.

Thanks.

osdalong avatar Jul 06 '22 03:07 osdalong

@osdalong I have a fork for a cross-platform (Win, Linux, Android, etc) & device OpenXR based client called ALXR, please check here. You can also find a link to my dev videos there.

korejan avatar Jul 06 '22 05:07 korejan

@korejan Glad to hear/see your reply.I will follow you and make some tests on ALXR project.Thank you so much!

osdalong avatar Jul 06 '22 07:07 osdalong

@korejan Hi korejan. I have read the guide of the Alxr, I found the apk need:

Vulkan support, required extensions (check on vulkan.gpuinfo and/or with VulkanCapsViewer): VK_KHR_get_physical_device_properties2 VK_ANDROID_external_memory_android_hardware_buffer VK_EXT_queue_family_foreign VK_KHR_sampler_ycbcr_conversion

Unfortunately,My Development board ONLY support OpenGLES(I have check it again with the vendor), And I cant find any codes in ALVR/ALVR/alvr/openxr-client/alxr-engine-sys/cpp/ALVR-OpenXR-Engine.

korejan, is there any way to make Alxr work on OpenGLES? Thank you so much.

by the way, my system is Android 12.

osdalong avatar Jul 07 '22 07:07 osdalong

@korejan Hi korejan. I have read the guide of the Alxr, I found the apk need:

Vulkan support, required extensions (check on vulkan.gpuinfo and/or with VulkanCapsViewer): VK_KHR_get_physical_device_properties2 VK_ANDROID_external_memory_android_hardware_buffer VK_EXT_queue_family_foreign VK_KHR_sampler_ycbcr_conversion

Unfortunately,My Development board ONLY support OpenGLES(I have check it again with the vendor), And I cant find any codes in ALVR/ALVR/alvr/openxr-client/alxr-engine-sys/cpp/ALVR-OpenXR-Engine.

korejan, is there any way to make Alxr work on OpenGLES? Thank you so much.

by the way, my system is Android 12.

Which device is it? I would be surprised that a system which provides Android 12 does not have a vulkan driver, not to say that it does not happen.

ALXR has partial support for OpenGL/ES and it's very barebones there, there's no code for rendering the video stream. I do plan to work on adding support but I don't have an ETA for that.

korejan avatar Jul 07 '22 08:07 korejan

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 10 '22 01:08 stale[bot]