Commit Graph

156 Commits

Author SHA1 Message Date
Da Cool
f5faceebd6 Minor --show-gpu helptext adjustment
Not limited to CUDA, also OPENCL
(and possibly VULKAN in the near future)
2021-04-21 20:41:23 +00:00
Harlekin
5c1451d322 Added explanation tooltips to the settings activity 2021-04-21 09:05:22 +02:00
harlekin
e5b102b2d7 Fix: NPE that occurs when the config file specifies a GPU thats not available anymore 2021-02-23 20:25:56 +00:00
Bryan Stenson
c0155f141b exit if os is unsupported 2020-12-29 17:59:25 +00:00
Raimund58
bdb78b461f Fix for paths without /\ and with white spaces. 2020-12-29 15:11:22 +00:00
Raimund58
fa82be607c Add a method to prevent special characters in the cache path 2020-12-11 20:30:16 +00:00
Luis Uguina
b21e5c5a2c feat: make stats and last rendered frame panels collapsible
The visual footprint of the client is quite big (520x800 px). This PR allows the use to collapse/expand any of the Global stats, Session infos and Last uploaded frame panels to reduce the vertical visual footprint.

Fixed the wrong size detection at client start issue found by Clou.
2020-10-30 07:21:29 +11:00
Luis Uguina
7c798e6364 fix: showLastRender method randomly breaks upload queue
The method img.getScaledInstance returns null under some conditions (some images cannot be properly managed by Java Runtime), breaking the upload process and reducing the upload queue size in 1.

The process can potentially consume the three concurrent upload slots and hence leaving the client in a zombie state.
2020-10-29 16:45:33 +00:00
Luis Uguina
6587b4dcef Feature: support for shared downloads directory (#295)
* Feature: support for shared downloads directory

This feature is especially relevant for users with several clients running simultaneously within the same computer (computers running several GPUs or any combination of GPUs + CPUs) or multiple computers running in a network. The feature allows the user to specify a shared downloads directory via the new -shared-downloads-dir client option. All the clients using that option will share the same binaries and scene files.

How it works?
The first client downloading a binary or scene will save the file in the directory especified in -shared-downloads-directory. The rest of the clients using the same option will wait until the file has been downloaded. Once the file has been downloaded, it will be ready for the rest of the clients.

This feature is especially relevant for users with metered/slow connections or multiple computers/clients that don't want to download the same binary/file multiple times.

IMPORTANT: All the clients intended to share the binaries and scenes must execute the client with the same -shared-downloads-dir parameter.
2020-10-21 13:03:09 +02:00
Luis Uguina
d152e0b0ff Feature: add session data consumption information in GUI/text UIs (#287)
* Feature: add session data consumption information in GUI/text UIs

Adds the total bytes downloaded and uploaded in the current session as well as the average data transfer rate for both UL/DL. The information is not added to the 1-line UI as the line will take 150+ characters in the screen.
2020-09-12 02:00:24 +02:00
Luis Uguina
18aa522c11 Feature: Make -hostname a cmd line variable (#290) 2020-09-09 12:18:46 +02:00
Luis Uguina
9f5c35d02f Feature: allow the client to shut down the computer at or after a certain time (#249)
A new -shutdown <time> option has been created to specify the time when the client will stop asking for new jobs, will finish uploading the frames in the upload queue and will shutdown the computer. The time argument can have two different formats: an absolute date & time in the format yyyy-MM-ddThh:mm:ss (24h format) or a relative time in the format +m where m is the number of minutes from now.

The user can also select the shutdown-mode, where "wait" will wait for all the processes (render + pending uploads) to finish and "hard" will cancel all the pending jobs and will initiate the computer shutdown.
2020-07-27 16:49:36 +02:00
DaCoolX
caca7e1f7c Include public key as password in help (#276)
* Include public key as password in help
2020-06-27 01:52:00 +02:00
Luis Uguina
36c14b6ee1 Fix: -renderbucket-size value not applied to GPU render (#256)
* Fix: -renderbucket-size option not applied if configuration file doesn't exist
2020-06-21 11:21:23 +02:00
Luis Uguina
608e1d7aea Fix: -compute-method not set when configuration file present (#268) 2020-06-20 18:31:31 +02:00
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
fe69d6faa2 Feature: in text UI, show downloads in a single-line (#250)
* Feature: show downloads in a single-line in text UIs
2020-06-14 12:01:32 +02:00
Luis Uguina
e06a9a9c1b Feature: minimize to SysTray option on the settings screen (#246)
* Feature: minimize to SysTray on the settings screen
2020-06-09 06:47:39 +02:00
Luis Uguina
49acd3ede3 Refactor: remove unused imports (#248) 2020-06-06 10:26:33 +02:00
Luis Uguina
1e8911790d Feature: include app version in Settings screen (#247) 2020-06-05 18:04:29 +02:00
Luis Uguina
929e77bbb8 Feature: add timestamp information to text UIs (#241) 2020-06-02 17:10:14 +02:00
Luis Uguina
cdf552f708 Fix: priority functionality not working properly (#232) 2020-05-28 15:05:52 +02:00
Luis Uguina
737377098f Review and improve error messages. (#234) 2020-05-28 15:05:19 +02:00
Laurent Clouet
44cf85739c Code formator (#236)
* Re-import code formator
2020-05-28 13:28:42 +02:00
Luis Uguina
dd09997bfa Fix: ugly JavaException when failing to generate thumbnail in SWING client (#224) 2020-05-16 10:56:57 +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
26155a28dc Fix: racing condition with messages when the queue is full (#223)
There was a racing condition between the queue full message and *any* error message where the later are overwritten by the former.
2020-05-11 13:51:36 +02:00
Luis Uguina
d6984fa450 Feature: improve the application exit-button process (#214)
* Improve the application exit-button behaviour
2020-04-27 14:28:04 +02:00
Luis Uguina
aae5ec3254 Improve the pause button screen workflow (#216) 2020-04-26 15:35:05 +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
Luis Uguina
433ed5ed74 fix: background uploads queuing not working properly (#209)
Fix the sync/async detection to ensure that handle the server side projects properly. The routine was incorrectly uploading sync files with the async routine and vice-versa.
2020-04-15 09:40:51 +02:00
Laurent Clouet
08fe55564c Feat: Don't do last render image request, use local image 2020-04-14 17:32:22 +02:00
Luis Uguina
b2227e9f4f feature: light/dark mode theme support (#208)
* feature: light/dark mode theme support

New feature providing a more modern flat design with support for light and dark modes, including:
- New SheepIt logo (old one removed)
- New configuration option (-theme) that changes the existing client theme.
- Minimal UI cosmetic changes (some separation lines under the logo and above the buttons)
2020-04-14 15:24:28 +02:00
Andy Li
c1020d1534 Resolve compiler warnings (#200)
* Fix: resolve compiler warnings
* Fix: supress warnings about internal api usage
See https://stackoverflow.com/a/19553686/6238618
2020-04-09 17:39:09 +02:00
Luis Uguina
07525f101e Feature: Show progress bar in systray icon 2020-03-19 23:48:06 +01:00
DaCoolX
1471eccec4 Slightly improve logging messages 2020-02-23 15:22:46 +01:00
Laurent Clouet
7b693a8f36 Save config file 2019-09-15 21:34:16 +02:00
Laurent Clouet
9065a1aef6 2.80's tile size recomandation is 32x32 2019-09-04 21:01:44 +02:00
Laurent Clouet
72462b88c7 Feature: do not store the passwrd as plain text but instead use a public key generated on server side 2019-08-22 21:35:26 +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
a09f1ab016 Fix: do not use gpu order to set its id, instead use the same method as blender 2019-07-09 17:55:00 +02:00
Robin Jönsson
242104735b Adding option to collapse panels in settings 2019-05-03 15:49:51 +02:00
Laurent Clouet
388b1158bd Max memory settings can be set using human number with unit 2019-02-20 13:53:18 +01:00
Laurent Clouet
208f49ba1d Memory amount should be in long not int 2019-02-20 13:46:53 +01:00
Laurent Clouet
8f4c899ea2 Add info about renderable project for this session: number of project allow by scheduler depending on the past error, current settings (ram, cpu, gpu,...) 2019-02-10 13:17:39 +01:00
Laurent Clouet
39b9830879 Improvement: allow multi config file support 2018-12-18 22:53:01 +01:00
Laurent Clouet
f81d3b67b3 Add openCL support 2018-08-24 19:46:03 +02:00
Laurent Clouet
9a63ea06ed Create dedicated directories on the user set cache dir (who is supose to be already dedicated...) 2018-08-18 02:05:43 +02:00