shinyquagsire23 / monado

https://gitlab.freedesktop.org/monado/monado
Boost Software License 1.0
16 stars 3 forks source link

Compilation issue - Linux Pop!_OS #1

Open aureliensoria opened 11 months ago

aureliensoria commented 11 months ago

Hello,

After watching your youtube short, I tried to install your Monado Quest Link driver on my OS. Pop!_OS 22.04 LTS. Thanks a lot for all your work by the way !

Regarding my issue, I was following your Linux compilation guide. https://gist.github.com/shinyquagsire23/3c68aecd872cc7ac21c28e950245dbd2 I have installed without issue all the required dependencies. While compiling (Make -> Line 35 of your guide), I encounter the following compilation error:

/games/monado/monado/src/xrt/drivers/wivrn/video_encoder_nvenc.cpp: In member function ‘virtual void xrt::drivers::wivrn::VideoEncoderNvenc::Encode(int, bool, std::chrono::_V2::steady_clock::time_point)’: /games/monado/monado/src/xrt/drivers/wivrn/video_encoder_nvenc.cpp:284:9: error: ‘SendData’ was not declared in this scope 284 | SendData( | ^~~~ make[2]: [src/xrt/drivers/CMakeFiles/drv_wivrn.dir/build.make:309: src/xrt/drivers/CMakeFiles/drv_wivrn.dir/wivrn/video_encoder_nvenc.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:2190: src/xrt/drivers/CMakeFiles/drv_wivrn.dir/all] Error 2 make: *** [Makefile:146: all] Error 2

I'm on macos_ql_merge branch as required and the last commit is 2ea6503dab507b2978ce6e9c7de4cc7a507cf31f

Thank you for your help ! Sincerly.

aureliensoria commented 10 months ago

The issue persists with commit 41abf1e75d443e40c01e3a844d2cdb198d84ded7

The compilation issue seems related to Nvidia/Nvenc. I have an Nvidia GPU. (RTX 3080 TI). When setting -DXRT_HAVE_CUDA=0, the compilation works well.

But at the cost of NVENC/Hardware encoding functionality ?