Skip to content

Instantly share code, notes, and snippets.

View trevorparscal's full-sized avatar

Trevor Parscal trevorparscal

View GitHub Profile
@rejunity
rejunity / recipe_for_Unity_offscreen.sh
Last active November 18, 2022 02:22
How to run Unity standalone application "offscreen" on Linux
# Recipe on running Unity (or any OpenGL based application) offscreen on your local Linux machine.
# Requirement: X server, NVIDIA drivers installed and working correctly.
# Tested on Ubuntu14.04.
# Summary: install XDummy and VirtualGL, configure virtual framebuffer, run your application via VirtualGL
# install XDummy
sudo apt-get update
sudo apt-get install xorg-video-abi-15 xserver-xorg-video-dummy