OpenHMD driver missing

Asked by Tiger Beard

Testing the Jammy build.

The build is missing the openHMD driver. I am not sure if its a but, but when normally compiling the OpenHMD (libopenhmd-dev) should be installed on the system, then its picked up during compilation of Monado.
Also the openxr-monado packet is affected.

VR devices working with OpenHMD do not work in 22.04 when the standard repository packages are used. When the github sources are used they work fine. I would suggest to check if the packages can be updated to contain the OpenHMD driver.

thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu monado Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Tiger Beard (catman2) said :
#1

not sure how to edit the question. there are some typos

affected package names are correctly
 libopenxr1-monado
 monaod-service

Revision history for this message
Manfred Hampl (m-hampl) said (last edit ):
#2

1. Editing the question is done by clicking in the yellow pencil icon ("Edit question") in the top right corner

2. The build log of monado in Ubuntu shows
...
dh_auto_configure -- ... -DXRT_BUILD_DRIVER_OHMD=OFF ...
...
-- Could NOT find OpenHMD (missing: OPENHMD_INCLUDE_DIR OPENHMD_LIBRARY)
...

This is in line with the parameters that are set in the debian/rules file.
It seems to me that OpenHMD was not included on purpose.

You have to be aware that Ubuntu is copying packages from Debian (to avoid double packaging work), and it seems to me that also Debian does not activate OpenHMD functionality in monado, see https://sources.debian.org/src/monado/21.0.0~dfsg1-2/debian/rules/#L27

If you deem this wrong, then please create a bug report to request a change. If so, you should consider doing that both for Debian and Ubuntu.

Revision history for this message
Tiger Beard (catman2) said :
#3

1. Thx

2. Yes, I deem this wrong because Debian/Ubuntu package the openHMD files. The rule file says the "StreamVR driver" should be excluded because its not packaged. So it would be logical to include the things that are packaged.

Is this debian/rules file written by hand (i.e. by a human)? If so, is the debian maintainer the contact to discuss the content of that file or if not can you tell me whom to address?

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#4

You should find all information about the Debian package on https://tracker.debian.org/pkg/monado

What I found on Debian is a commit to "Explicitly disable OpenHMD"
https://salsa.debian.org/monado-team/monado/-/commit/f0d353668a7ff38d78a4f4b39f484ce1205a396c

Revision history for this message
Tiger Beard (catman2) said :
#5

Right, interesting find, now I know where to look further and whom to contact.
Many thanks.

My understanding is that even when the Debinan maintainer would change the package, i still would need to file a bug report at Ubuntu to get the fix taken over to the 22.04 repro.

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

If the update in Debian happens before the "Debian import freeze" date for Ubuntu 22.10, then Ubuntu might copy the updated version automatically, but in any case, creating a bug report in Ubuntu will be helpful.
According to https://discourse.ubuntu.com/t/kinetic-kudu-release-schedule/27263 Debian freeze date is August 25. (Freeze exceptions are possible if adequately substantiated.)

Revision history for this message
Tiger Beard (catman2) said :
#7

Right, as I do not know when I get my Account confirmed and that issue resolved I will close the question and file a bug report depending on the outcome with debian. Thanks for the guidance.

Revision history for this message
Tiger Beard (catman2) said :
#8

Thanks Manfred Hampl, that solved my question.