myrikld / linustrinus Goto Github PK
View Code? Open in Web Editor NEWTrinusVR streaming server for Linux
TrinusVR streaming server for Linux
Not sure how similar the steaming protocol is, but there appears to be an open source system for GearVR/OcculusGo/Occulus Quest that only has a windows backend:
https://github.com/JackD83/ALVRClient
https://github.com/polygraphene/ALVRClient
Or maybe this app cloud be adapted to be a Trinus independent CardboardVR client to work with this?
Thanks for looking into it :)
Trying to install the "samples" driver i get this:
"..."
CMake Error at CMakeLists.txt:199 (find_package):
By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5" with any of
the following names:
Qt5Config.cmake
qt5-config.cmake
Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
to a directory containing one of the above files. If "Qt5" provides a
separate development package or SDK, be sure it has been installed.
"..."
I checked with Aptitude that i have everything Qt5 installed. What can i do?
Hi guys, my name is Xavier and I'm the dev behind Trinus.
I found out about this Linux port and wanted to know more about it.
I'm a Windows user, but keen on having Linux support :)
So how well does it work? what games can you play, VR, nonVR?
Any way I can help?
Android CardBoard TrinusVR Client cannot receive the frame. It is black screen.
However, the render surface on PC looks good.
I followed each of the instructions. However when I arrive at the Compile and install driver step when [./make.sh] is run it give a fatal error code of:
CMake Error at CMakeLists.txt:62 (message):
OPENVRPATHS-NOTFOUND Please install SteamVR SDK to continue..
I don't know whats causing this however when I looked through the source code it references this to the error
# Check that the steamVR SDK is installed
# (needed to prevent a segfault in OpenVR).
if(CMAKE_HOST_UNIX)
find_file(OPENVRPATHS openvrpaths.vrpath PATHS $ENV{HOME}/.config/openvr "$ENV{HOME}/Library/Application Support/OpenVR/.openvr")
if(${OPENVRPATHS} MATCHES OPENVRPATHS-NOTFOUND)
message(FATAL_ERROR "${OPENVRPATHS} Please install SteamVR SDK to continue..")
endif()
endif()
I use arch Linux with a gnome desktop and have Steam Vr installed What's causing this error and how do I fix it.
What I did so far -
Installed Trinus on Android
Ran "python3 main.py"
Expected - Show my ubuntu desktop on phone
Current result - I just have a black screen on phone.
Is is required to install SteamVR even if I just want this for desktop?
Why is a small window broadcast, as if one lens is felt, and the second seems to be felt as being located outside the borders. How to fix it? Two problems, a small lens, the second lens seems to be gone.
Screenshot:
https://ibb.co/4s1Tf7d
Changed different data in ffmpeg_fg.py and frame_generator.py fork
When compiling the samples, during CMAKE right after configuration is completed I get this error:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
OPENVR_LIBRARIES
linked by target "driver_linus_trinus" in directory /home/<my_home>/Downloads/LinusTrinus-master/samples/driver_linus_trinus
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
Hi people first let me congratulate you for your awesome work.
I've recently bought an "USB capture card" , price was 18€, that allows direct streaming to my Redmi note 8 Android phone with almost imperceptible lag. I'm wondering if you could implement a flag or something to substitute the current image transfer implementation with the UVC protocol which has native support since Android 9 as it would serve the same purpose but on the other hand would be blazingly fast. I'm linking to a sample UVC app repo, which by the way already has a cardboard VR option, in the hopes that you'll find the code more or less straightforward to implement.
I know there will be a bit of work but, you know, it would be totally awesome to run your software at that speed without being limited by the available CPU/GPU.
I guess the approach would be sending motion through wifi or using a USB splitter.
Sample UVC android app repo:
https://github.com/Peter-St/Android-UVC-Camera
Keep up with the excellent work! Thanks
Great project ! You're the only one who got this working ! But i'm unable to use it...
Here is the error :
alan@Ryzen-7:/usr/home/alan/Downloads/LinusTrinus-master/samples$ sudo bash make.sh
[sudo] password for alan:
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Compilation set for 64bits architectures.
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- Found GLEW: /usr/include (Required is at least version "1.11")
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/home/alan/Downloads/LinusTrinus-master/samples
Scanning dependencies of target driver_sample_autogen
[ 20%] Automatic MOC and UIC for target driver_sample
[ 20%] Built target driver_sample_autogen
Scanning dependencies of target driver_sample
[ 40%] Building CXX object driver_sample/CMakeFiles/driver_sample.dir/driver_sample.cpp.o
[ 80%] Building CXX object driver_sample/CMakeFiles/driver_sample.dir/driverlog.cpp.o
[ 80%] Building CXX object driver_sample/CMakeFiles/driver_sample.dir/driver_sample_autogen/mocs_compilation.cpp.o
/usr/home/alan/Downloads/LinusTrinus-master/samples/driver_sample/driver_sample.cpp:3:10: fatal error: openvr_driver.h: No such file or directory
#include <openvr_driver.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
driver_sample/CMakeFiles/driver_sample.dir/build.make:86: recipe for target 'driver_sample/CMakeFiles/driver_sample.dir/driver_sample.cpp.o' failed
make[2]: *** [driver_sample/CMakeFiles/driver_sample.dir/driver_sample.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/home/alan/Downloads/LinusTrinus-master/samples/driver_sample/driverlog.cpp:3:0:
/usr/home/alan/Downloads/LinusTrinus-master/samples/driver_sample/driverlog.h:9:10: fatal error: openvr_driver.h: No such file or directory
#include <openvr_driver.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
driver_sample/CMakeFiles/driver_sample.dir/build.make:62: recipe for target 'driver_sample/CMakeFiles/driver_sample.dir/driverlog.cpp.o' failed
make[2]: *** [driver_sample/CMakeFiles/driver_sample.dir/driverlog.cpp.o] Error 1
CMakeFiles/Makefile2:86: recipe for target 'driver_sample/CMakeFiles/driver_sample.dir/all' failed
make[1]: *** [driver_sample/CMakeFiles/driver_sample.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
mkdir: cannot create directory ‘/home/alan/.steam/steam/steamapps/common/SteamVR/drivers/sample/bin/linux64’: No such file or directory
rm: cannot remove '/home/alan/.steam/steam/logs/*': No such file or directory
SteamVR keeps asking for headset to be plunged in. Does this even work with SteamVR? The Readme is convoluted. "??? | !!!"
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
OPENVR_LIBRARIES
linked by target "driver_linus_trinus" in directory /home/izz/Downloads/LinusTrinus-master/samples/driver_linus_trinus
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
How to go forward from here? Installing this has been frustrating as hell .
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is Clang 16.0.6
-- The CXX compiler identification is Clang 16.0.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /etc/profiles/per-user/infinity/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /etc/profiles/per-user/infinity/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Compilation set for 64bits architectures.
CMake Error at /nix/store/4vq5ggsg1vmfs09r4sqbidmgvqlxrv14-cmake-3.27.8/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY
OPENGL_INCLUDE_DIR)
Call Stack (most recent call first):
/nix/store/4vq5ggsg1vmfs09r4sqbidmgvqlxrv14-cmake-3.27.8/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/nix/store/4vq5ggsg1vmfs09r4sqbidmgvqlxrv14-cmake-3.27.8/share/cmake-3.27/Modules/FindOpenGL.cmake:545 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:106 (find_package)
-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found. Stop.
cp: cannot stat './bin/linux64': No such file or directory
rm: cannot remove 'cmake_install.cmake': No such file or directory
rm: cannot remove 'Makefile': No such file or directory
rm: cannot remove 'driver_linus_trinus/cmake_install.cmake': No such file or directory
rm: cannot remove 'driver_linus_trinus/Makefile': No such file or directory
I was able to get the Python app to recognize my Android, which was great, but I couldn't figure out how to successfully compile the driver so that SteamVR could detect it.
The first problem I found was that my SteamVR path was different, it was actually: /home/user/.local/share/Steam/steamapps/common/OpenVR
Correcting that in the makefile got me a little closer but I got stuck on:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
OPENVR_LIBRARIES
linked by target "driver_linus_trinus" in directory /home/user/Gaming/LinusTrinus-master/samples/driver_linus_trinus
I assumed that this error meant it was looking for the OpenVR library file and I tried adding that to the driver_linus_trinus folder, but that didn't work either. Unfortunately this is where I'm stuck, I was really looking forward to trying this out!
Hello,
first of all, thank you very much for your awesome work.
The problem i got, if i work with one single physical desktop, the SteamVR desktop is mirrored to this screen.
Is there a possible solution to get the SteamVR window only in the headset/smartphone (like the windows version does this)?
There are workarounds like: virtaul dummy monitor, HDMI dummy plug. But they are all limited and might not work at any setup.
Have good remaining week.
It would be really nice to see OpenXR support in this as it seems to be the new standard. I was just wondering your thoughts on this? I really like this little application it allows for me to test vr applications on a budget but again would really love to see OpenXR
Stuck at "Something is wrong A key component of SteamVR isn't working correctly. Please reinstall SteamVR (303).
Only errors of interest I found were:
# vrclient_steam.txt
Mon Oct 02 2023 15:26:21.091139 [Info] - Unable to load driver linus_trinus. Primary driver shared library not found on filesystem (for this architecture): /home/jb/.steam/debian-installation/steamapps/common/SteamVR/drivers/linus_trinus/bin/linux32/driver_linus_trinus.so.
# vrcompositor.txt
Mon Oct 02 2023 15:21:45.497452 [Error] - CHmdWindowSDL: Failed to create direct mode surface
Mon Oct 02 2023 15:21:45.497591 [Error] - CHmdWindowSDL: VR requires direct mode.
Mon Oct 02 2023 15:21:45.497801 [Error] - Error making window!
Mon Oct 02 2023 15:21:45.510013 [Info] - Failed to kill gpu-trace
Mon Oct 02 2023 15:21:45.510098 [Info] - Failed to initialize compositor
Mon Oct 02 2023 15:21:45.510121 [Info] - Failed to start compositor: VRInitError_Compositor_CannotDRMLeaseDisplay
Just wondering if
I'm on Debian bookworm with steam installed from the official repos.
How to disable fake3d?
See title... Pairing the app with the server works just fine, and SteamVR seems to work fine too (save for some other issues that don't seem to be related to Trinus), but once I start SteamVR LinusTrinus displays the message
INFO:frame_generator.xwd_fg:Found compositor window id: 0x4e00008
and my PC starts beeping like it just got stabbed.
I've tried running this project as is with no luck (python ./main.py
); I've also tried adding my local IP manually in Discover.py
as well as changing the port from 7777 to 18086 but both Trinus and LinusTrinus stay waiting.
In short, does this project still work with current versions of Trinus or am I doing something wrong?
Hi, I'm trying to compile the driver on Ubuntu 20.04.
user@ubuntu:~/LinusTrinus-master/samples$ ./make.sh
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Compilation set for 64bits architectures.
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find GLEW (missing: GLEW_INCLUDE_DIRS GLEW_LIBRARIES) (Required
is at least version "1.11")
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.16/Modules/FindGLEW.cmake:207 (find_package_handle_standard_args)
CMakeLists.txt:111 (find_package)
I'm not sure what it's complaining about as GLEW should be installed.
Aside from that, I am able to successfully pair my phone (Galaxy S8) and the server. The only issue appears to be with the driver, thus SteamVR doesn't detect it.
Everything went fine, but I receive this bug in the end:
/usr/bin/ld: could not find -lOPENVR_LIBRARIES-NOTFOUND: Missing file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [driver_linus_trinus/CMakeFiles/driver_linus_trinus.dir/build.make:161: bin/linux64/driver_linus_trinus.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:99: driver_linus_trinus/CMakeFiles/driver_linus_trinus.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
Does someone know what could be happening?
Best regards
Since qt6 is 19gb I can not install it, hence I cannot compile the driver.
Can someone please provide to me precompiled version of this driver?
OpenSUSE Tumbleweed
Intel 630 GPU
64 Bit i3 9100
kernel 6.3.9-1-default
xfce
Please make a wiki or better readme with build and use instructions.
I've installed the Driver and ran the application but nothing works, steam keeps telling me to connect my headset
To make my point clear, I know that I need to download openvr_driver.h from Valve's SDK repository, but I'm not sure what directory to put it in. I'm also not sure if I'm meant to run make.sh, or manually run cmake as per the README. Regardless, I can't get anything to become of running cmake, even with the openvr driver header file downloaded, so do I need more than that? Do I also need the rest of the SDK, or just the header files? And what are the prerequisites for building?
If I could get some more direction, I'd love to be able to run this and possibly even contribute, but as of right now, I have no idea where to start. This is such an inspiring project! Just please, give us a better README!
Sincerely,
Some guy on the Internet
Hi,
Interesting to see that someone is progressing VR on Linux...
I was instrumental in reverse engineering the PSVR and have had a python script for controlling the device for some time:
https://github.com/mungewell/pyPSVR
This script can enable the screen into Cinema or VR mode, and (under Windows) could use VRidge-API to send gyro-data to SteamVR using the code under 'example4' directory. I would be ecstatic if it could do similar under Linux.
The main requirements would be:
1). LinuxTrinus rendering full screen to the 2nd monitor (which is the output to PSVR).
2). LinuxTrinus providing some portal to let my code send headset position/rotation.
The VRidge-API uses packed data packets (defined with protobuf) and ZeroMQ protcol, I'd be happy to adapt to whatever this project would need.
I did an example video of Windlands showing roughly how it works:
https://www.youtube.com/watch?v=411_nbcAnHk
Cheers,
Simon.
Traceback (most recent call last):
File "/home/lordars/Downloads/LinusTrinus/main.py", line 8, in
from frame_generator.xwd_fg import XwdFrameGenerator
File "/home/lordars/Downloads/LinusTrinus/frame_generator/xwd_fg.py", line 6, in
from wand.image import Image
ModuleNotFoundError: No module named 'wand'
hey, first thank you so much for this awesome project and the possibility to use a lot of Android devices as SteamVR device.
i got the Epson Moverio BT-300. i compiled your project and the tracking working like charm with Trinus CBVR App. But via Trinus App i got bad network glitches and freezes on my HMD. Then i tried to use you driver to track via opentrack and on the android device, i checked some tools for tracking (Heastracker, Head Tracker for OpenTrack, ...). That seems working, but it was not possible for me, to find the right settings for the output in Opentrack.
So can you give me hint please, how i can manage this issue (in my opinion the low fps rate is related to my HMD). Or you have maybe an Idea, how i get the headtracking working with opentrack.
Thanks a lot!
tilting the phone just triggers WARNING:sensor_client:Unknown sensor data len followed by an integer
and the movement does not seem to get tracked. connecting to the server works and so does displaying the images
i do not know how to run it on a chromebook with linus support is there something i need to do?
Everything is compiled and setup
But when I open steamvr it either crashes or gives me error 119
I tried the fork but no luck either
What should I try to do?
Running Pop!_OS 21.10
I've downloaded LinusTrinus
I've started LinusTrinus by entering python3 main.py from my raspberrypi 4 after starting the android client.
The following is printed on my terminal.
INFO:discover:Start discover
INFO:discover:Find: MyIpAddress
INFO:sender:{'build': 'lite',
'deviceType': 'android',
'full': False,
'height': 1080,
'id': '325195349',
'lensCenterX': 0.5363247990608215,
'lensCenterY': 0.5,
'ref': '3tsus',
'scaleInX': 2.450000047683716,
'scaleInY': 1.7000000476837158,
'scaleX': 0.14692780375480652,
'scaleY': 0.23000000417232513,
'screenCenterX': 0.5,
'screenCenterY': 0.5,
'sensorSupport': ['none', 'normal'],
'sensorVersion': 1,
'version': 75,
'videoSupport': ['none', 'mjpeg', 'limelight'],
'warpW': 0,
'warpX': 2.299999952316284,
'warpY': 0.2199999988079071,
'warpZ': 0.23999999463558197,
'width': 2340}
INFO:frame_generator:ffmpeg cmd: ffmpeg -f x11grab -loglevel error -s 1600x600 -framerate 30 -i :0.0+0,0 -f mjpeg -vsync 2 -
My android device is just showing a black screen.
Any help will be appreciated.
The current compositor size is too small when using a 1080p screen. Is there a way to either treat the phone as a second X server or a monitor? If I up the compositor window size to 1920x1080 I can't control the game because the window is hidden behind the compositor.
I'm stuck in this message:
INFO:discover:Start discover
Android App is up and running
i think i have my phone internet shared to my PC.
STEAMVR accepts the driver and runs correctly.
Maybe i failed to complile, or my phone can't tether with my pc but it seems my phone and the program dont comunicate.
in README.md:
Available modes
Devices
- Mouse
- Steamvr
I am interested in playing non-steam games that support vr. How would I do that? Add the game to my steam library? play in mouse mode?
The documentation does not say anything about not using steam...
when attempting to compile, i get the error: invalid new-expression of abstract class type ‘CSampleDeviceDriver’
output from make.sh:
└[$]> ./make.sh
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Compilation set for 64bits architectures.
CMake Warning (dev) at /usr/share/cmake/Modules/FindOpenGL.cmake:381 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run "cmake --help-policy CMP0072" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
FindOpenGL found both a legacy GL library:
OPENGL_gl_LIBRARY: /usr/lib/libGL.so
and GLVND libraries for OpenGL and GLX:
OPENGL_opengl_LIBRARY: /usr/lib/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/libGLX.so
OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
CMakeLists.txt:106 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found OpenGL: /usr/lib/libOpenGL.so
-- Found GLEW: /usr/include (found suitable version "2.2.0", minimum required is "1.11")
-- Configuring done (0.6s)
-- Generating done (0.0s)
-- Build files have been written to: /home/withering/tmp/LinusTrinus/samples
[ 0%] Built target driver_linus_trinus_autogen_timestamp_deps
[ 12%] Automatic MOC and UIC for target driver_linus_trinus
[ 12%] Built target driver_linus_trinus_autogen
[ 37%] Building CXX object driver_linus_trinus/CMakeFiles/driver_linus_trinus.dir/driver_linus_trinus.cpp.o
[ 37%] Building CXX object driver_linus_trinus/CMakeFiles/driver_linus_trinus.dir/driverlog.cpp.o
[ 62%] Building CXX object driver_linus_trinus/CMakeFiles/driver_linus_trinus.dir/driver_linus_trinus_autogen/mocs_compilation.cpp.o
[ 62%] Building CXX object driver_linus_trinus/CMakeFiles/driver_linus_trinus.dir/watchdog.cpp.o
[ 75%] Building CXX object driver_linus_trinus/CMakeFiles/driver_linus_trinus.dir/socket_process.cpp.o
/home/withering/tmp/LinusTrinus/samples/driver_linus_trinus/driver_linus_trinus.cpp: In member function ‘virtual vr::EVRInitError CServerDriver_Sample::Init(vr::IVRDriverContext*)’:
/home/withering/tmp/LinusTrinus/samples/driver_linus_trinus/driver_linus_trinus.cpp:259:52: error: invalid new-expression of abstract class type ‘CSampleDeviceDriver’
259 | m_pNullHmdLatest = new CSampleDeviceDriver();
| ^
/home/withering/tmp/LinusTrinus/samples/driver_linus_trinus/driver_linus_trinus.cpp:38:7: note: because the following virtual functions are pure within ‘CSampleDeviceDriver’:
38 | class CSampleDeviceDriver : public vr::ITrackedDeviceServerDriver, public vr::IVRDisplayComponent {
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/withering/tmp/LinusTrinus/samples/driver_linus_trinus/watchdog.h:4,
from /home/withering/tmp/LinusTrinus/samples/driver_linus_trinus/driver_linus_trinus.h:4,
from /home/withering/tmp/LinusTrinus/samples/driver_linus_trinus/driver_linus_trinus.cpp:3:
/usr/include/openvr/openvr_driver.h:2902:30: note: ‘virtual bool vr::IVRDisplayComponent::ComputeInverseDistortion(vr::HmdVector2_t*, vr::EVREye, uint32_t, float, float)’
2902 | virtual bool ComputeInverseDistortion( HmdVector2_t *pResult, EVREye eEye, uint32_t unChannel, float fU, float fV ) = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [driver_linus_trinus/CMakeFiles/driver_linus_trinus.dir/build.make:111: driver_linus_trinus/CMakeFiles/driver_linus_trinus.dir/driver_linus_trinus.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:101: driver_linus_trinus/CMakeFiles/driver_linus_trinus.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
I installed all the dependencies, downloaded the Trinus VR 2.2.1 app, and tried to follow the stepts in the readme file.
But I did not succeed to connect the phone to the pc, after running python3 main.py
it displays INFO: discover: Start discover and then nothing happens, the trinus app says usb detected and the start button is purple
I'm building using the readme.md from samples and i get this:
/home/rebok/LinusTrinus/samples/driver_linus_trinus/watchdog.cpp:58:45: error: no matching function for call to ‘vr::IVRWatchdogHost::WatchdogWakeUp(vr::ETrackedDeviceClass)’
58 | vr::VRWatchdogHost()->WatchdogWakeUp(vr::TrackedDeviceClass_HMD);
When i try to open main.py, i got this error
Traceback (most recent call last): File "main.py", line 8, in <module> from frame_generator import FrameGenerator File "/home/arleeb/Desktop/LinusTrinus-master/frame_generator.py", line 29 return f"{self.width}x{self.height}" ^ SyntaxError: invalid syntax
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.