Mental Health, Project, Research, Wellness Journey

Using Technology to Escape My Depression 5: Side Loading & Mirroring Oculus Quest Games from my Linux (Ubuntu 18.04) laptop (using ADB Link, SideQuest, & Vysor)

Last post I “side loaded” Oculus Quest games for free from my Windows 10 gaming desktop PC, but this time I want to side load this amazing game called Pavlov from my Ubuntu 18.04 laptop (that way I can side load while on the go!). In order to do this, I’ve found myself a great YouTube video to follow.

  1. Enable Developer mode for Oculus Quest (which I already did in a previous post)
  2. Downloaded and extracted the Linux ADB link to control Android devices on my computer Jocala
  3. Launched the adbLink program, connected the Quest to the computer, and clicked “refresh ADB”
  4. Clicked “Install APK” button and selected the Pavlov apk file I downloaded from the official discord channel

Unfortunately, Pavlov didn’t install, so I had to do a bit of troubleshooting like always.

This is going SO WELL 0_0

I also took the time to find a way to stream the Oculus Quest image to Linux using the Vysor Chrome extension. In order to get Vysor working, I needed to install the Android SDK and required 64-bit libraries. I’m guessing that the Pavlov failing to install from the adb program was also due to missing the Android SDK.

sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
sudo cp -R /home/thecatgeek/Downloads/android-studio-ide-191.5977832-linux/android-studio/ /usr/local/
cd /usr/local/android-studio/bin/
./studio.sh

After the Android SDK was installed and I opened the Oculus Rift application to toggle Developer mode off/on, the pop up for debugging mode appeared. After that, Pavlov easily installed within seconds and the Vysor application connected to stream immediately.

I even discovered an option on the ADB server under “utilities” to turn on wireless server (it will need to be plugged in each time and then disconnected like the Windows solution, but it’s still great to have something almost identical for Linux!)

I attached the Quest to my forehead and reset the view to trick the quest into thinking I am currently wearing it so I can officially see the screen without having to wear the headset. This will allow me to work on development projects while watching TV at night with my love! <3

Aaaaaaaand as soon as I loaded Pavlov to test it nothing loaded…GREAT.

UGH!!!!

The problem is that I installed an outdated build, so I used adb link to uninstall Pavlov and I downloaded and extracted the correct version this time. Instead of installing via adb linker, I decided to use SideQuest since it’s supposedly a nice interface for installing packages to Android devices. To install SideQuest I used SmartGit to clone the github repo. After that I checked the README file and discovered I needed to use “yarn install”, the yarn command was broken but fortunately I found a forum thread post that walked through a solution to get yarn functioning.

sudo apt remove cmdtest
sudo apt remove yarn
sudo apt-get install curl
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update  
sudo apt-get install yarn
sudo apt-get update
sudo apt-get upgrade
cd SideQuest
yarn install
cd desktop-app
yarn start 

After trying all of the above, I hit a roadblock and could not for the life of me figure out how to install or launch this application. So I went back to download the tar.xz file and install manually via command line instead of using a git.

wtf is even happening anymore
cd Downloads
tar xf SideQuest-0.7.6.tar.xz
cd SideQuest-0.7.6
./sidequest

AND I FINALLY GOT SIDEQUEST WORKING!!! Now here’s hoping I can successfully install Pavlov!

OMG YAAAAASSSSSSSSS

To make things easier, I added my Quest as an Ad Hoc IP on the ADB Link software so I don’t need to plug it in to the PC first going forward.

And finally for future-Christi, here’s a cheatsheet of commands in order to get SideQuest and Vysor working on my Linux laptop:

  1. Start adb driver cd Downloads/adbll42/; ./adbLink
  2. Select the Oculus Quest Ad Hoc IP and click “Connect”
    • if shows offline, open Oculus phone app and ensure the app is connected to the device AND developer mode is on
  3. Start Vysor and connect to wireless: chrome://apps
  4. Start SideQuest: cd Downloads/SideQuest-0.7.6/; ./sidequest

Alright, it’s been a LONG road, but I’m finally in a good place to control my Quest in the comfort of my upstairs from just my laptop. Not only that, I can stream my screen wirelessly so I don’t even need to put on my headset to confirm games/apps have loaded and function properly!

Next time I’ll be focusing on how to control my laptop FROM my Quest itself, but for now I’m going to actually enjoy the Quest and play a game!

Leave a Reply