Add guidance to the documentation on runnin FLAME GPU 2 in visuaslisation mode on optimus laptops.
With nvidia driver 435.17+, using PRIME render offload with X is the driver-supported solution:
https://download.nvidia.com/XFree86/Linux-x86_64/435.17/README/primerenderoffload.html
e.g. the following should work
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia ./bin/release/...
which may be available instead as prime-run.
Or there are tools which do the same / similar but are not officially supported (nvidia-xrun, bumblebee, optimus-manager)
Alternatively the nvidia gpu can be enabled full time (via sudo prime-select nvidia or similar), but this will significantly hurt battery life (as the nvidia gpu is always active).
This was originally identified in FLAMEGPU/FLAMEGPU2#1289
Add guidance to the documentation on runnin FLAME GPU 2 in visuaslisation mode on optimus laptops.
With nvidia driver 435.17+, using PRIME render offload with X is the driver-supported solution:
https://download.nvidia.com/XFree86/Linux-x86_64/435.17/README/primerenderoffload.html
e.g. the following should work
which may be available instead as
prime-run.Or there are tools which do the same / similar but are not officially supported (
nvidia-xrun,bumblebee,optimus-manager)Alternatively the nvidia gpu can be enabled full time (via
sudo prime-select nvidiaor similar), but this will significantly hurt battery life (as the nvidia gpu is always active).This was originally identified in FLAMEGPU/FLAMEGPU2#1289