Page MenuHomeSolus

steam-devices
Open, WishlistPublic

Description

Package: steam-devices
common in debian also supported by redhat/Cent OS.
Used for Drivers/modules for the HTC VIVE VR headset, today the VR software works in steam but it cant detect the headset.

Open source provided by valve
https://github.com/ValveSoftware/openvr

Event Timeline

tintinz created this task.Feb 16 2020, 10:05 PM
DataDrake triaged this task as Wishlist priority.Feb 16 2020, 10:52 PM
DataDrake moved this task from Backlog to Accepted For Inclusion on the Package Requests board.

I have tried make a eopkg file.
git clone https://github.com/ValveSoftware/openvr.git openvr
mkdir build
cd build
cmake .. (result:)
//

  • The C compiler identification is GNU 9.2.0
  • The CXX compiler identification is GNU 9.2.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 for '64' Bit
  • Looking for pthread.h
  • Looking for pthread.h - found
  • Performing Test CMAKE_HAVE_LIBC_PTHREAD
  • Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
  • Looking for pthread_create in pthreads
  • Looking for pthread_create in pthreads - not found
  • Looking for pthread_create in pthread
  • Looking for pthread_create in pthread - found
  • Found Threads: TRUE
  • Found SDL2: /usr/lib/libSDL2main.a;/usr/lib/libSDL2.so;-lpthread

Found libopenvr_api: /home/patrik/Hämtningar/openVR/openvr.old/lib/linux64/libopenvr_api.so

  • Found GLEW: /usr/include (found version "2.1.0")
  • Configuring done
  • Generating done
  • Build files have been written to: /home/patrik/Hämtningar/openVR/openvr.old/build

//

make
result:

//[ 20%] Building CXX object samples/hellovr_opengl/CMakeFiles/hellovr.dir/hellovr_opengl_main.cpp.o
/home/patrik/Hämtningar/openVR/openvr.old/samples/hellovr_opengl/hellovr_opengl_main.cpp: I medlemsfunktion ”void CMainApplication::RenderFrame()”:
/home/patrik/Hämtningar/openVR/openvr.old/samples/hellovr_opengl/hellovr_opengl_main.cpp:694:54: varning: typkonvertering till pekare från heltal med annan storlek [-Wint-to-pointer-cast]

694 |   vr::Texture_t leftEyeTexture = {(void*)leftEyeDesc.m_nResolveTextureId, vr::API_OpenGL, vr::ColorSpace_Gamma };
    |                                                      ^~~~~~~~~~~~~~~~~~~

/home/patrik/Hämtningar/openVR/openvr.old/samples/hellovr_opengl/hellovr_opengl_main.cpp:696:56: varning: typkonvertering till pekare från heltal med annan storlek [-Wint-to-pointer-cast]

696 |   vr::Texture_t rightEyeTexture = {(void*)rightEyeDesc.m_nResolveTextureId, vr::API_OpenGL, vr::ColorSpace_Gamma };
    |                                                        ^~~~~~~~~~~~~~~~~~~

/home/patrik/Hämtningar/openVR/openvr.old/samples/hellovr_opengl/hellovr_opengl_main.cpp: I medlemsfunktion ”void CMainApplication::DrawControllers()”:
/home/patrik/Hämtningar/openVR/openvr.old/samples/hellovr_opengl/hellovr_opengl_main.cpp:1211:74: varning: typkonvertering till pekare från heltal med annan storlek [-Wint-to-pointer-cast]
1211 | glVertexAttribPointer( 0, 3, GL_FLOAT, GL_FALSE, stride, (const void *)offset);

|                                                                          ^~~~~~

/home/patrik/Hämtningar/openVR/openvr.old/samples/hellovr_opengl/hellovr_opengl_main.cpp:1215:74: varning: typkonvertering till pekare från heltal med annan storlek [-Wint-to-pointer-cast]
1215 | glVertexAttribPointer( 1, 3, GL_FLOAT, GL_FALSE, stride, (const void *)offset);

|                                                                          ^~~~~~

/home/patrik/Hämtningar/openVR/openvr.old/samples/hellovr_opengl/hellovr_opengl_main.cpp: I medlemsfunktion ”void CMainApplication::RenderDistortion()”:
/home/patrik/Hämtningar/openVR/openvr.old/samples/hellovr_opengl/hellovr_opengl_main.cpp:1564:96: varning: typkonvertering till pekare från heltal med annan storlek [-Wint-to-pointer-cast]
1564 | glDrawElements( GL_TRIANGLES, m_uiIndexSize/2, GL_UNSIGNED_SHORT, (const void *)(m_uiIndexSize) );

//