From c5d55368364b29f0915eb2c0abff9ec6d9907189 Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 1 Oct 2025 10:02:20 +0200 Subject: [PATCH] feat: additional instructions for running on different platforms --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..2de386b --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ + + +# Project Description + +This is a basic future game engine for OpenGL 3D rendered games + +## Multi-GPU Devices + +If you want to use non-primary GPU on your device when launching the game specifically on Linux you should specify additional environment variables before running. For example in my case I have a hybrid gaming laptop with 2 GPUs AMD from CPU and NVIDIA discrete. + +The run command in that case would look following: + +```console +__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia ./build/CodingGame +```