Commit Graph

20 Commits

Author SHA1 Message Date
Luis Uguina
cdf552f708 Fix: priority functionality not working properly (#232) 2020-05-28 15:05:52 +02:00
Laurent Clouet
44cf85739c Code formator (#236)
* Re-import code formator
2020-05-28 13:28:42 +02:00
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
Laurent Clouet
3413301609 Moving to Intellij IDEA 2019-08-11 22:25:26 +02:00
Laurent Clouet
3230807a7d Migrate from ant to gradle 2019-08-10 22:09:32 +02:00
Laurent Clouet
208f49ba1d Memory amount should be in long not int 2019-02-20 13:46:53 +01:00
Laurent Clouet
e9b7ed61fc Use the right attribut for available memory.
MemFree: The amount of physical RAM, in kilobytes, left unused by the system.
MemAvailable: An estimate of how much memory is available for starting new applications, without swapping.
2018-08-29 15:42:04 +02:00
Laurent Clouet
6ded57fc0a Use the actual available free memory instead of the max possible 2018-08-10 17:33:50 +02:00
Laurent Clouet
0a68a3357c On linux, only the root can create process with high priority, so don't display the option is the client is launched as regular user 2017-03-19 18:14:33 +01:00
Rolf Aretz Lap
d8aa315699 add the ability to set the priority of the render process as commandline argument 2017-01-05 09:58:27 +01:00
Laurent Clouet
1f8757264b No need to set the system path, project dir path is enough 2015-05-06 20:58:37 +01:00
Laurent Clouet
39addc82ef Bugfix: the array need to have a lenght of at least 2 2015-05-06 20:04:28 +01:00
Mathis Chenuet
38ba5a995d Typo: english 2015-03-02 18:03:58 +00:00
Laurent Clouet
f444bd5526 Cleanup: use generic list instead of low level array 2015-01-25 19:07:32 +00:00
Laurent Clouet
f119eabc77 Merge pull request #10 from artemisart/clean
Fix typo  and Clean up.
2015-01-18 00:08:41 +01:00
Laurent Clouet
b61df37034 Set the BLENDER_USER_CONFIG env variable to not use the local blender conf 2015-01-16 17:51:50 +01:00
Mathis Chenuet
b65d47e906 typo 2015-01-12 23:08:24 +01:00
mvolli
bdf10b36c3 spelling/language corrections 2014-12-23 20:05:29 +01:00
Laurent Clouet
51752b0e49 The OSX package of blender require a specific path to be launch. If the path is modified 'dyld: Library not loaded: @loader_path' error or static python appear on blender 2.72 2014-11-30 23:42:57 +00:00
Laurent Clouet
422a9e74c8 Initial commit
Version 3.3 of the client
2014-11-20 13:21:19 +00:00