Commit Graph

70 Commits

Author SHA1 Message Date
Luis Uguina b91bf3c0c5 Feat: in text UIs, show render progress in one line (#257)
The text UI gets quite messy during the render process, as it takes at least one extra line of the screen per second. This PR fixes that issue and also shows an ASCII bar to show the render progress.
2020-06-17 10:24:59 +02:00
Luis Uguina 8736892565 Fix: Job killed by time limit is incorrectly catalogued as NO_FILE_OUTPUT (#252)
As the value of the askForRendererKill flag is set right after the return of the kill process, under some particular memory and system load circumstances, a race condition occurs and the rendering process in the main thread is closed faster than the process.destroy() returns the control to the thread the called the OS.getOS().kill(process.getProcess()) method. If that condition occurs, the isAskForRendererKill() check returns false (the flag hasn't been set to True in the separate thread) and the execution continues with the frame output check (that doesn't exist as the rendering process was interrupted). The final outcome is a wrong NO_FILE_OUTPUT error instead of the proper RENDERER_KILLED_BY_USER_OVER_TIME.

The fix has been setting the askForRendererKill flag to true before the process is destroyed. If the racing condition occurs, the askForRendererKill will be correctly set.
2020-06-12 11:32:06 +02:00
Luis Uguina c850a95ea4 Include a header in error log with the information summarised for easier admin analysis (#238) 2020-06-02 16:06:03 +02:00
Laurent Clouet 44cf85739c Code formator (#236)
* Re-import code formator
2020-05-28 13:28:42 +02:00
Luis Uguina bd88b2e3dd Allow the user to configure the GPU render bucket size (#220)
* Feature: user defined render bucket size when using GPUs
2020-05-16 10:20:38 +02:00
Luis Uguina 87533a1262 feature: improve user information on queued uploads (#210)
* feature: improve user information about queued uploads
2020-04-19 17:01:43 +02:00
Laurent Clouet 57bc27bdcf Feat: change the architecture of the 'sheepit network', instead of storing every frame,mp4,zip on a single server, use multiple servers(shepherds) 2020-04-14 17:35:54 +02:00
Luis Uguina 07525f101e Feature: Show progress bar in systray icon 2020-03-19 23:48:06 +01:00
Laurent Clouet 9065a1aef6 2.80's tile size recomandation is 32x32 2019-09-04 21:01:44 +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 9f1f509bb6 Use lombok annotation instead of get/set 2019-08-07 22:17:59 +02:00
Laurent Clouet 3e9d701d7c Cleaner version of removing project's directory 2019-08-07 18:40:02 +02:00
Laurent Clouet de4dfcd047 Remove blend files after the render has started 2019-08-07 17:02:52 +02:00
Laurent Clouet edbd4cae52 Fix: update process remaing time on 'part' method 2019-08-07 15:26:11 +02:00
Laurent Clouet d4ec9f3d92 Slow update of ui was made for the javascript ui, since it's not used anymore, it should be removed 2019-08-07 15:22:34 +02:00
Laurent Clouet 71a85af3f4 code cleanup 2019-08-05 14:11:24 +02:00
Laurent Clouet c014e56a08 Better error detection 2019-08-05 14:06:46 +02:00
Laurent Clouet ddab4ac8f2 More error detection 2019-07-21 19:42:02 +02:00
Laurent Clouet 19c73fad96 Utils.parseNumber can generate NumberFormatException 2019-04-03 14:04:26 +02:00
Laurent Clouet 388b1158bd Max memory settings can be set using human number with unit 2019-02-20 13:53:18 +01:00
M*C*O 09c9fa1c6b fix missing parenthese in Job.java:808 2019-02-09 05:41:16 +01:00
Laurent Clouet 49d5980e8a More error detection 2019-02-08 13:08:20 +01:00
Laurent Clouet f81d3b67b3 Add openCL support 2018-08-24 19:46:03 +02:00
Laurent Clouet 4dc0603587 Don't use system python but blender's 2018-07-16 18:21:11 +02:00
Laurent Clouet 6c9d645005 Python error detection 2018-07-10 09:59:05 +02:00
Laurent Clouet 418bd4d75f More error detection 2018-06-30 02:08:21 +02:00
Laurent Clouet 25d5259332 More error detection 2018-06-30 01:31:42 +02:00
Laurent Clouet 23c0aaca89 Bugfix: when the render process is over user memory limit, kill it (finish only meant to give the render duration) 2018-06-17 12:22:04 +02:00
intrigus 1c9bbb3706 Ignore Ctrl+C in render process. Fixes #81
When sending Ctrl+C to the terminal it also get's sent to all subprocesses e.g. also the render process.
The java program handles Ctrl+C but the renderer quits on Ctrl+C
This script causes the renderer to ignore Ctrl+C.
2018-06-02 15:11:45 +02:00
Laurent Clouet 3bd86c56e3 More error detection (out of vram) 2017-05-20 13:56:43 +02:00
Jake Dube cb03b58dbc Display compute method for the current project 2017-05-07 21:00:20 +02:00
Laurent Clouet b447e54a4a 'Unset' default value could be 0 or -1 2017-04-29 22:17:58 +02:00
Laurent Clouet 8f9a54b51e Hide value could be 0 or -1 2017-04-26 23:43:13 +02:00
Laurent Clouet 0508db7f75 User can choose how much he willing to spent on each frame (based on pull request from 'Rolf Aretz Lap' 2017-04-25 13:06:23 +02:00
Laurent Clouet 8b92cba01e More error detection 2017-04-19 00:12:05 +02:00
Laurent Clouet 39bd52aca4 Bugfix: check if max ram is set before using it 2017-04-04 22:56:53 +02:00
Laurent Clouet 905fff3313 Allow user to set maximum memory he allows render to use 2017-03-29 22:13:04 +02:00
Rolf Aretz Lap 7d2209a0f4 Add commands to text user interface 2017-02-19 14:19:48 +01:00
Laurent Clouet f88fa05fb5 Blender 2.78b doesn't handle gpu the same way, i might changed again so deport the preferences calls to the server side 2017-02-11 16:54:40 +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 ea50176133 create an error type for when the server kills the render (before it was part of NOOUTPUTFILE) 2016-11-01 19:44:09 +01:00
Laurent Clouet 07f9662c00 * Better ui with more infos
* Remove revision from protocol since it's not use anymore
2016-10-12 00:34:51 +02:00
Laurent Clouet 09eb650da2 Bugfix: don't use gpu if the user doesn't want to 2016-10-10 00:03:40 +02:00
Laurent Clouet 28b257092a Project archive can be password protected 2016-10-05 23:01:03 +02:00
Laurent Clouet fe626a3bee Detect if the gpu is not supported by blender (for example GTX 10XX on Blender 2.77) 2016-09-21 23:52:41 +02:00
Jackson 55b909c98b Allow user to set tile size 2016-09-21 23:26:44 +02:00
Laurent Clouet 8a17cddfde Bugfix: check kill request before check render output 2016-08-29 18:06:17 +02:00
Laurent Clouet 988abfc8e7 Wrong log 2016-08-29 17:56:21 +02:00
Laurent Clouet ac7377ad19 Better out of memory detection 2016-05-01 15:04:31 +02:00