AndreGilerson / rviz_vive_plugin

RVIZ Plugin for the HTC Vive
13 stars 7 forks source link

Setting the Vive as a display #4

Open ghost opened 5 years ago

ghost commented 5 years ago

My working setup: Asus laptop, Ubuntu 14.04.5, GTX 960M Not working setup: PC, Ubuntu 14.04.5, GTX 1080Ti Using the HDMI cable

The Vive device works perfectly fine with SteamVR apps and whatever. During idle time the screen is simply turned off.

The issue: I am not able to setup the Vive to behave as a second display. xrand will always show the port as disconnected, even while SteamVR is running. What this means is, when I start the plugin in RVIZ, the window will simply appear on my main display, because there is no other.

Any help would be appreciated!

AndreGilerson commented 5 years ago

What versions of SteamVR etc. are you using? If you are running the SteamVR apps, its likely one of the newer ones, meaning it is incompatible with this whole setup. This project was developed before actual Linux support for the Vive was released and is therefore quite hacky and wont work with any other version of SteamVR or probably even any another version of the Nvidia Drivers than the ones mentioned in the tutorial.

I sadly currently dont have the time to update this whole project, although it is on the backlog of things i plan to do.

Ddylen commented 5 years ago

I had a similar issue with the Vive not being picked up as a second display, which I was able to solve by running the command: sudo nvidia-xconfig --allow-hmd=yes Its turns out (at least my) nvidia driver by default has a setting that explicitly prevents hmd's from being picked up as a second display, which the command above changes