Install Parsec on Raspberry PI

Parsec has a Raspberry Pi Application. We recommend using the RPi 3, but users have gotten it to work on the RPi 2 and RPi Zero with varying rates of success.

There are step-by-step directions below, but ETA Prime made an incredible, unsolicited tutorial about using Parsec. So if you’d rather watch a tutorial, check out this video.

Why ?
Allowing you to print in a GCP compliant printer from everywhere and from every device of yours, be it a desktop, a tablet or a smartphone

How ?
There are quote a lot of printers out there supporting GCP out of the box, but here I will explain how to turn every Linux supported printer in a fully functional GCP printer.

Requirements :

  • a Raspberry Pi 3 ( Can work on Rasp 2 and Zero too but not stable )
  • a Raspbian Jessie image
  • an Internet connexion
  • a Parsec account with a Gaming Desktop linked to it (One of yours or Rented on Parsec)
  • an Ethernet connexion or Wifi Dongle (Native Wifi is not good for gaming on Raspberry Pi 3)

Parsec has a Raspberry Pi Application. We recommend using the RPi 3, but users have gotten it to work on the RPi 2 and RPi Zero with varying rates of success.

There are step-by-step directions below, but ETA Prime made an incredible, unsolicited tutorial about using Parsec. So if you’d rather watch a tutorial, check out this video.

If you’re trying to use a non Debian-based version of the Pi, check out this article.

Step 1: Install Raspbian with GPU Memory Increased

The installation of Parsec is very simple. Start with a fresh distribution of Raspbian Lite or Jessie. You can get the latest Raspbian Lite image here.

The Raspberry Pi Organization provides detailed installation instructions here.

GPU MEMORY SPLIT

Once the installation and set up of Raspbian is complete, verify that the GPU memory split is 128mb or higher.

Please run this command :

sudo raspi-config

Navigate down to:

7 Advanced Options

Then:

A3 Memory Split

Enter 128, accept the option, and exit choosing to reboot.

Step 2: Install & Run PARSEC

After the Pi has rebooted, download Parsec from here:

wget https://s3.amazonaws.com/parsec-build/package/parsec-rpi.deb

Please move into the directory in which you downloaded Parsec and extract the file with:
(You may need to change the file name before doing this by changing)

sudo dpkg -i parsec-rpi.deb

Run the Parsec Client from any directory:

parsec

If you’re having trouble logging to Parsec, please note that the default keyboard is UK QWERTY, so you may need to change this to US QWERTY to make sure your keyboard works correctly.

If you prefer to run the Parsec Application headless, type from any directory:

parsec server_id=YOUR_SERVER_ID

Optional : RASPBERRY PI WIFI

The native Wifi adapter on the Pi is not good. We recommend using ethernet or buying one of these. Make sure the one you choose supports 5 Ghz Wifi.

Optional : SETTING UP XBOX CONTROLLERS ON PI

For the Raspberry Pi, you can type this for Xbox controller support:

sudo apt-get install xboxdrv

Unfortunately, however, if you have an Xbox One S and want to use the bluetooth connection, you’ll need this driver.

SETTING UP OTHER BLUETOOTH CONTROLLERS

This article gives a great explanation of setting up bluetooth controllers on the Pi.

MOUSE POLLING RATE ON PI

The speed at which the computer checks on its peripherals is referred to as “polling speed”. This happens very fast and usually without interaction. In the case of the Raspberry Pi, the polling speed for mice has been set by default to 62.5hz, or 62.5 times-per-second. This helps out the Pi by making it easier on the CPU, but it leads to poor performance in games and often very slow-feeling tracking speeds. What most users prefer is 125hz, that is a polling speed of 1000ms/125hz or 8ms. To set this on the Pi, perform the following commands:

sudo nano /boot/cmdline.txt

You should see something like:

dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 etc…

You need to add the parameter :

usbhid.mousepoll=8

so you end up with something like this:

dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 usbhid.mousepoll=8 etc…

You need to add the parameter :

usbhid.mousepoll=8

Then hit ctrl + x to exit, and say “Y” to save. After a reboot the mouse should feel much more responsive. The number 8 can be lowered to 1ms or even 0 to respect the USB devices internal poll rate, but be warned doing so can take a very steep toll on the Pi’s modest CPU and is not recommended.

Step 3: RPI Configuration Settings

After installing Parsec for the first time on your Pi or reinstalling it, run the app one time by typing:

parsec

Once you run Parsec once, the configuration file is located in home/pi/.parsec. If you don’t see the config file there, it might be hidden.

If you’re using an older version of Parsec for the Pi, the config file is in the client-rpi directory, which is saved in whatever directory you unpackaged it run this command:

ls -al

From this file, you can manage all of your connection settings, such as choosing your network adapter (if you are running a VPN on your local network), or the bitrate of your video file. For all settings and an example of those values, please check out this site. Adding a line like this encoder_bitrate=15; will make your default bitrate 15 Mbps. We recommend something higher than 15 Mbps for 1080p video. Please be careful, however, as the Raspberry Pi 3 probably maxes out at around 30-40 Mbps.

WINDOWS AND APPS OPENING BEHIND PARSEC WHEN YOU’RE STREAMING

If you’re using the desktop version of Raspbian and having an issue where windows and apps will open behind the Parsec app while you stream, you need to disconnect and press CTRL + ALT + F1 to open terminal full screen, then run Parsec – this will prevent things opening in the background.  You can close this full screen terminal window by pressing CTRL + ALT + F7.

(Visited 76 times, 1 visits today)

Leave a comment

Your email address will not be published. Required fields are marked *