Virtual Reality chroot for android

ruapotato

Member
Apr 3, 2016
11
3
0
You will need google cardboard or some other VR headset.

This project is built on top of Deploy Linux. It uses SDL Xserver as well as a custom x11 compositor for VR graphics
To install do the following:
(Install base)
1: install openSuSE 13.2 with "Linux Deploy"
1.1: Installation type: FIle
1.2: Desktop Environment: LXDE
1.3: X Server​
2: /usr/sbin/sshd (start ssh)
3: Run: zypper in pango* (this will fix the issue with text being all boxes [])

At this point you should have a working SuSE install

4: Download the project https://bitbucket.org/ruapotato/vrsuse.git
5: Install python-xpyb-1.3.1-4.fc22.armv7hl.rpm (zypper in /path/to/vrlinux/python-xpyb-1.3.1-4.fc22.armv7hl.rpm)
6: Run: sed -i -e 's/RECTANGLE/xproto.RECTANGLE/g' /usr/lib/python2.7/site-packages/xcb/damage.py

Now we should be able to run the project
In a terminal run:
(With xserver sdl open)
7: source vrlinux/display.sh
8: lxsession &
9: vrlinux/pycompmgr &

OTG works alternatively you can use synergyc -f HOSTCOMPUTER for mouse/keyboard input

http://postimg.org/image/wbftuwg7t/
http://postimg.org/image/66fl8m251/

Done:
OTG mouse/keyboard input! :)

TODO:
better graphics (smaller with some correction for blur around the edges)
auto startup
head tracking
Add other distro (Ubuntu, Arch, etc)
fix systemd (to run properly in a chroot)


XDA:DevDB Information
VR Linux, Tool/Utility for the Google Nexus 5

Contributors
ruapotato
Source Code: https://bitbucket.org/ruapotato/vrsuse.git


Version Information
Status: Alpha

Created 2016-04-03
Last Updated 2016-04-08