Luis Uguina 1dc865a979 Fix: EEVEE renders with CPU instead of GPU in Linux clients (#229)
* Fix: EEVEE renders with CPU instead of GPU in Linux clients

In Linux systems, setting the env LD_LIBRARY_PATH var to point the /lib folder included in the sheepit binary compressed .zip, mandates Blender to swap whatever openGL library is already in use by the OS. Modern GPU drivers install their own optimised version of the OpenGL library and replacing it creates incompatibilities that avoid EEVEE to run.

To detect if Blender already uses the standard OS provided OpenGL library is via _ldd_ Linux command. The execution in a system with OpenGL libraries already in use delivers an output similar to this:

ldd rend.exe
	linux-vdso.so.1 (0x00007ffda6bf9000)
	...
	libXfixes.so.3 => /lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007fefefe3a000)
	libXrender.so.1 => /lib/x86_64-linux-gnu/libXrender.so.1 (0x00007fefefc30000)
	libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007fefefb9c000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fefefa4d000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fefef85c000)
	...
	libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fefef6e7000)

While a system with no OS OpenGL libraries that requires the shipped default OpenGL lib to work returns this instead:

ldd rend.exe
	linux-vdso.so.1 (0x00007ffda6bf9000)
	...
	libXfixes.so.3 => /lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007fefefe3a000)
	libXrender.so.1 => /lib/x86_64-linux-gnu/libXrender.so.1 (0x00007fefefc30000)
	libGL.so.1 => not found
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fefefa4d000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fefef85c000)
	...
	libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fefef6e7000)

In the former case, the SheepIt client will set the LD_LIBRARY_PATH env var to point the /lib folder to allow Blender to execute properly.
2020-05-24 22:12:02 +02:00
2020-05-16 10:51:35 +02:00
2016-03-13 22:22:40 +01:00
2019-08-11 22:25:26 +02:00
2019-08-22 21:50:43 +02:00
2020-04-26 15:29:48 +02:00
2020-04-26 15:29:48 +02:00
2016-10-04 06:36:40 +02:00
2019-08-11 17:30:50 +02:00
2019-08-10 22:09:32 +02:00

SheepIt Render Farm Client

Build Status

Overview

SheepIt Render Farm Client is an Open Source client for the distributed render farm SheepIt.

Compilation

You will need Java 1.7 or higher. (OpenJDK and Oracle are both supported). To create the jar file, simply type ./gradlew shadowJar on linux/OSX and gradlew.bat shadowJar on Windows in the project's root directory.

Usage

Once you have the jar file, you can see how to use it by running:

java -jar build/libs/sheepit-client.jar --help

When you are doing development work, you can use a mirror of the main site specially made for demo/dev. The mirror is located at http://sandbox.sheepit-renderfarm.com, and you can use it by passing -server http://sandbox.sheepit-renderfarm.com to your invocation of the client.

At the command line ui (-ui text / -ui oneLine) you could type in the following commands and press enter to control the client:

  • status: get the current status of the client (paused, stoped, etc.)
  • priority : set the renderer process priority
  • block: block the current project
  • pause: pause the client to request new jobs after the current frame has finished to render
  • resume: resume the client after it was paused
  • stop: stop the client after the current frame has finished
  • cancel: cancel the stop request
  • quit: stop the client directly without finishing the current frame
Description
SheepIt client that saves project files to a separate location during processing.
Readme GPL-2.0 170 MiB
Languages
Java 98.4%
Shell 1.6%