#1130159 godot: Consider enabling openxr support

#1130159#5
Date:
2026-03-09 14:11:59 UTC
From:
To:
The following builds for me:

diff -Nru godot-4.4.1+ds/debian/control godot-4.4.1+ds/debian/control
--- godot-4.4.1+ds/debian/control	2025-08-16 16:03:47.000000000 +0300
+++ godot-4.4.1+ds/debian/control	2025-08-16 16:03:47.000000000 +0300
@@ -24,6 +24,7 @@
  libmbedtls-dev,
  libminiupnpc-dev,
  libogg-dev,
+ libopenxr-dev,
  libpcre2-dev,
  libpng-dev,
  libpulse-dev,
diff -Nru godot-4.4.1+ds/debian/rules godot-4.4.1+ds/debian/rules
--- godot-4.4.1+ds/debian/rules	2025-08-16 16:03:47.000000000 +0300
+++ godot-4.4.1+ds/debian/rules	2025-08-16 16:03:47.000000000 +0300
@@ -18,7 +18,6 @@

 # clipper2, msdfgen, rvo2, and xatlas are not available within Debian.
 # glslang-dev only ships static libraries. (See #909951)
-# openxr currently requires a vendored libjsoncpp.
 SCONS_OPTIONS = platform=linuxbsd \
 	--jobs=$(NUMJOBS) \
 	import_env_vars=CCACHE_DIR,CCACHE_MAXSIZE \
@@ -49,7 +48,7 @@
 	builtin_wslay=no \
 	builtin_mbedtls=no \
 	builtin_miniupnpc=no \
-	openxr=no \
+	builtin_openxr=no \
 	builtin_pcre2=no \
 	builtin_recastnavigation=no \
 	builtin_rvo2_2d=yes \

#1130159#10
Date:
2026-06-16 13:29:53 UTC
From:
To:
I'm definitely supportive of trying to get OpenXR to work, but I'm not
able to reproduce your successful build.

You can see my attempt to apply your patch on 4.6.3 in Salsa CI:
https://salsa.debian.org/twrightsman/godot/-/pipelines/1109637

I get the same error when building on my local hardware too.

Perhaps I am missing something?

#1130159#15
Date:
2026-06-18 17:57:18 UTC
From:
To:
Hi,


Errors in test build at
https://salsa.debian.org/twrightsman/godot/-/jobs/9789673 start with:

In file included from modules/openxr/register_types.cpp:81:
modules/openxr/extensions/openxr_render_model_extension.h:94:33:
error: 'XrRenderModelIdEXT' has not been declared; did you mean
'XrRenderModelKeyFB'?
94 | RID render_model_create(XrRenderModelIdEXT p_render_model_id);
| ^~~~~~~~~~~~~~~~~~
| XrRenderModelKeyFB
modules/openxr/extensions/openxr_render_model_extension.h:122:17:
error: 'XrRenderModelIdEXT' was not declared in this scope; did you
mean 'XrRenderModelKeyFB'?
122 | HashMap<XrRenderModelIdEXT, RID> interaction_render_models;
| ^~~~~~~~~~~~~~~~~~
| XrRenderModelKeyFB
modules/openxr/extensions/openxr_render_model_extension.h:122:40:
error: template argument 1 is invalid
122 | HashMap<XrRenderModelIdEXT, RID> interaction_render_models;
| ^
modules/openxr/extensions/openxr_render_model_extension.h:122:40:
error: template argument 4 is invalid
modules/openxr/extensions/openxr_render_model_extension.h:122:40:
error: template argument 5 is invalid
modules/openxr/extensions/openxr_render_model_extension.h:131:17:
error: 'XrRenderModelIdEXT' does not name a type; did you mean
'XrRenderModelKeyFB'?


I would guess this is a version mismatch. Debian has openxr 1.1.47
while in Godot sources there is at modules/openxr version 1.1.49:

thirdparty/README.md
## openxr
- Upstream: https://github.com/KhronosGroup/OpenXR-SDK
- Version: 1.1.49 (977f6675bc0057d5a54ed290cb5c71c699b1c0ab, 2025)
- License: Apache 2.0

Does Rylie as the maintainer of
https://tracker.debian.org/pkg/openxr-sdk-source have plans to update
it to 1.1.49 or newer?

#1130159#20
Date:
2026-06-19 03:43:04 UTC
From:
To:
Just wanted to confirm that I tracked these symbols down and they were
indeed introduced in OpenXR version 1.1.49.

So to enable OpenXR support in Godot 4.6.3 (upload coming) Debian would
need to bump openxr-sdk-source.

#1130159#25
Date:
2026-07-15 17:11:48 UTC
From:
To:
Hi all,

I did some rather blunt packaging updates in a fork [0] to get
openxr-sdk-source to 1.1.61.

I built Godot 4.6.3 with OpenXR 1.1.61 and OpenXR enabled and it builds
totally fine.

Rylie, maybe my changes are useful for you to jumpstart the package
update, but I don't think all of my changes are good (see
d/not-installed).

Cheers,
Travis

[0] https://salsa.debian.org/twrightsman/openxr-sdk-source

#1130159#30
Date:
2026-07-18 13:24:14 UTC
From:
To:
Thanks Travis!

I suggest you file a MR at
https://salsa.debian.org/xr-team/openxr-sdk-source/-/merge_requests so
other contributors can see you did this ans the maintainers are more
likely to review the branch contents.

#1130159#35
Date:
2026-07-23 16:32:17 UTC
From:
To:
builds


Thanks for the help and the poke. I've almost got the update finished.
Yes there is some stuff in not-installed that will need an additional
pass through NEW into experimental because it will add a binary
package, but we can just skip that for now.

Rylie

#1130159#40
Date:
2026-07-23 19:47:59 UTC
From:
To:
The NEW queue is nowadays fast, no need to worry about it, just introduce
whatever new binary packages that are needed.

#1130159#45
Date:
2026-08-07 06:05:33 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
godot, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1130159@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Travis Wrightsman <travis@wrightsman.org> (supplier of updated godot package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 05 Aug 2026 12:04:58 -0700
Source: godot
Architecture: source
Version: 4.6.3+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Travis Wrightsman <travis@wrightsman.org>
Closes: 1130159 1143508
Changes:
 godot (4.6.3+ds-2) unstable; urgency=medium
 .
   * Add patch to make editor builds reproducible
   * Enforce the SSE4.2 minimum on amd64 at install time (Closes: #1143508)
   * Enable OpenXR support (Closes: #1130159)
Checksums-Sha1:
 29b808d25bfe1428c438dd5ad7f7d45ad703978c 2922 godot_4.6.3+ds-2.dsc
 eb97d961e911047b184430abfbee64af922e7426 23700 godot_4.6.3+ds-2.debian.tar.xz
 2bfd42c98186d0b4a71ab773b00d0eab59091cba 12577 godot_4.6.3+ds-2_source.buildinfo
Checksums-Sha256:
 9f89e1c5b42cf7dfdccaf18aa5dc80dbab290aca2b332ed856ac7a2bcbdae602 2922 godot_4.6.3+ds-2.dsc
 0c558f5c932429a6fa2d5b074742264706483f3dd4a8b7943116caa83f6c7928 23700 godot_4.6.3+ds-2.debian.tar.xz
 8df0fc2f404028cca2daf8cd2ec9e1d16f09014b1c9e4c948f4f149403e7b050 12577 godot_4.6.3+ds-2_source.buildinfo
Files:
 0c831bbb07b57487d42b75cbb892dde3 2922 devel optional godot_4.6.3+ds-2.dsc
 e1092a98c10b9e11993354653a2d422f 23700 devel optional godot_4.6.3+ds-2.debian.tar.xz
 1459fdf316c61cfe796aebfe48801c3c 12577 devel optional godot_4.6.3+ds-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmbRSsR88dMO0U+RvvthEn87o2ogFAmp1b3EACgkQvthEn87o
2ojslQ/+KyesMT0ZLmRb1HgNPH/y5mCja9wVNtvaONLdUmttNA4bolyDDScAsTes
Hv9UvspjDQZmD+dRxq8YFJ2TZzA3LIMC+IAq1lXO0Dn1tEd4EN0reiulHpwu8J27
2Hd4uB/77c4zPZnLlfmxsg0RpMsxqNG1BfmkuOw7zZDQ+7tQES47rpELt59R/pyu
3Cz4AF9Yym7Mm+CDZqAZmg5mO6W/naL3xqrP9huNS7kBEIjIfZnowU5TE6iFY9xr
YFjutoXuN9vvD5p07HbNvuodW4mFdMAT9J6tl3E62BoIBr/aSufRipmV3/7EtAw9
Y00u452X8fZbZxUoFUI66hhgqqjazBOvnTaog/028RQrYXtGOx8q4P3IfAuT3WKW
7Hw/K/IceBlfwVNqwuTdJwqa3qCQ+7a503j/shpLJyPacy7D4txDZln+ArgSXhp/
IByFfBBxh5yS5xZFNRiVh2fQ75QgWimsuzC8KznOF/ErLkgfXjTI2H4uZXC81t5j
Fa1jSu4qajsL7VHe/3aty6VxKUTvGYcpV7x9a+3gqjWVqzPfc51zALKd5fNoiLts
6/L5wtebu2Cu7JCVb6W3qUMPHrHAl7Ik2qAfMpaaTDH3/SCQHZrXp064ZRi95sKe
bnG1jCjL4MyhRzfa4z8bTumyInAFZtECKSmbMq3HbpbBK95gaKc=
=l3mc
-----END PGP SIGNATURE-----