Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta Quest 2 #344

Merged
merged 14 commits into from
Jun 13, 2023
Merged

Meta Quest 2 #344

merged 14 commits into from
Jun 13, 2023

Conversation

Schneegans
Copy link
Member

No description provided.

@coveralls
Copy link

coveralls commented May 3, 2023

Pull Request Test Coverage Report for Build 5244722642

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 1.165%

Totals Coverage Status
Change from base Build 5118883095: 0.0%
Covered Lines: 193
Relevant Lines: 16565

💛 - Coveralls

@Schneegans Schneegans added this to the Version 1.8.0 milestone Jun 8, 2023
@JonasGilg
Copy link
Member

JonasGilg commented Jun 9, 2023

I got good results from compiling OpenVR myself. Changes needed in the source code are minimal.

The following are the linked libraries to the self build version:

ldd libopenvr_api.so
	linux-vdso.so.1 (0x00007ffc8c7a4000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f6cd75d8000)
	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f6cd73be000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6cd726f000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f6cd7254000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6cd7062000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f6cd769f000)

Here are the linked libraries to the "official" version:

ldd libopenvr_api.so
	linux-vdso.so.1 (0x00007ffea6770000)
	libSDL2-2.0.so.0 => /lib/x86_64-linux-gnu/libSDL2-2.0.so.0 (0x00007f65293c6000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f65293bc000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f65293a0000)
	libgomp.so.1 => /lib/x86_64-linux-gnu/libgomp.so.1 (0x00007f652935b000)
	libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007f65292d3000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f65292cd000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f652959e000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f65292a8000)
	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f652908e000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6528f3f000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6528d4d000)
	libasound.so.2 => /lib/x86_64-linux-gnu/libasound.so.2 (0x00007f6528c52000)
	libpulse.so.0 => /lib/x86_64-linux-gnu/libpulse.so.0 (0x00007f6528bfd000)
	libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f6528abe000)
	libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x00007f6528aa9000)
	libXcursor.so.1 => /lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007f6528a9c000)
	libXinerama.so.1 => /lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007f6528a97000)
	libXi.so.6 => /lib/x86_64-linux-gnu/libXi.so.6 (0x00007f6528a85000)
	libXrandr.so.2 => /lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007f6528a78000)
	libXss.so.1 => /lib/x86_64-linux-gnu/libXss.so.1 (0x00007f6528a71000)
	libXxf86vm.so.1 => /lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f6528a6a000)
	libwayland-egl.so.1 => /lib/x86_64-linux-gnu/libwayland-egl.so.1 (0x00007f6528a65000)
	libwayland-client.so.0 => /lib/x86_64-linux-gnu/libwayland-client.so.0 (0x00007f6528a54000)
	libwayland-cursor.so.0 => /lib/x86_64-linux-gnu/libwayland-cursor.so.0 (0x00007f6528a49000)
	libxkbcommon.so.0 => /lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007f6528a07000)
	libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f652894d000)
	libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f6528919000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f65288fe000)
	libpulsecommon-13.99.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so (0x00007f652887c000)
	libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f652882b000)
	libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f65287ff000)
	libXrender.so.1 => /lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f65285f5000)
	libXfixes.so.3 => /lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f65285ed000)
	libffi.so.7 => /lib/x86_64-linux-gnu/libffi.so.7 (0x00007f65285e1000)
	libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f6528532000)
	libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007f6528524000)
	libsndfile.so.1 => /lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007f65284a6000)
	libasyncns.so.0 => /lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007f65282a0000)
	libapparmor.so.1 => /lib/x86_64-linux-gnu/libapparmor.so.1 (0x00007f652828b000)
	libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f6528285000)
	libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f652827d000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f6528252000)
	liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f6528231000)
	libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f6528113000)
	libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f65280f6000)
	libFLAC.so.8 => /lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007f65280b8000)
	libogg.so.0 => /lib/x86_64-linux-gnu/libogg.so.0 (0x00007f65280ab000)
	libvorbis.so.0 => /lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f652807b000)
	libvorbisenc.so.2 => /lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007f6527fd0000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f6527fb4000)
	libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f6527f9a000)
	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f6527f77000)

@JonasGilg
Copy link
Member

JonasGilg commented Jun 12, 2023

While working on our fork of OpenVR, I noticed that the master branch is actually fixed and they provided a tag v1.23.8. They just didn't put this tag in the Releases...

EDIT: The new version also works flawless with Linux and doesn't link against all libraries. We can go ahead with this one.

@Schneegans Schneegans marked this pull request as ready for review June 13, 2023 11:40
@Schneegans Schneegans merged commit 3051194 into main Jun 13, 2023
@Schneegans Schneegans deleted the feature/openvr branch June 13, 2023 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants