Commit graph

240 commits

Author SHA1 Message Date
SergeantPanda
c3d1600c07 Additional logging. 2025-06-27 20:22:49 -05:00
dekzter
a1576bd493 merged in dev 2025-06-10 08:55:14 -04:00
SergeantPanda
722965b987 Replaced old images with ghcr images. 2025-06-03 21:32:24 -05:00
dekzter
9f96529707 merged in main 2025-06-03 17:49:24 -04:00
SergeantPanda
6ce387b0b0 Auto-scales Celery based on demand. Should lower overall memory and CPU usage while allowing for high cpu demand tasks to complete quickly.
Closes #111
2025-06-02 18:03:32 -05:00
dekzter
3f445607e0 looooots of updates for user-management, initial commit of access control 2025-05-31 18:01:46 -04:00
SergeantPanda
303123f3ec Buffer overflow error. 2025-05-21 09:44:09 -05:00
SergeantPanda
1174e2e0c7 EPG processing enhancements. Celery memory management. 2025-05-17 16:42:37 -05:00
SergeantPanda
44a79d2a8a Log UWSGI if debug is set (DISPATCHARR_DEBUG=true) 2025-05-14 18:49:46 -05:00
SergeantPanda
14c3944578 Don't hardcode dispatch as user for nginx. Use postgres_user. 2025-05-14 10:19:55 -05:00
SergeantPanda
cecc057ea4 Make sure we can change render group gid to match host and capture errors so we don't crash server. 2025-05-14 09:32:24 -05:00
SergeantPanda
cff68625e0 Move hardware detection to end of entrypoint so it's easier to find. 2025-05-13 12:44:32 -05:00
SergeantPanda
0a9250c3d5 Vastly improved logic for detecting recommended acceleration methods. 2025-05-13 12:32:49 -05:00
SergeantPanda
dd54a13bdd Fix script exiting entrypoint if no devices were found. 2025-05-13 00:37:07 -05:00
SergeantPanda
40765ed46d One more attempt at proper intel detection. 2025-05-12 21:19:43 -05:00
SergeantPanda
bb73da1cb9 Fixes invalid regex detection for intel gpu models. 2025-05-12 20:55:35 -05:00
SergeantPanda
08493321dd Fixes intel devices not matching correctly for libva_driver recommendations. 2025-05-12 20:27:38 -05:00
SergeantPanda
b43f096ea6 Cleaned up unneeded comment for group_add and added log level. 2025-05-12 20:06:16 -05:00
SergeantPanda
bee2226e75 Use base for debug 2025-05-12 20:04:32 -05:00
SergeantPanda
1ab3dcac48 Use base for dev. 2025-05-12 20:04:02 -05:00
SergeantPanda
3098b96919 Removed render group creation as now it's done in the base build. 2025-05-12 20:03:25 -05:00
SergeantPanda
0953e044b7 Huge improvement to hardware acceleration script. Renamed for accuracy. 2025-05-12 19:46:23 -05:00
SergeantPanda
634d16d402 Improved logic for assigned GID's and group memberships for video and render groups. 2025-05-12 17:23:10 -05:00
SergeantPanda
397ec499fe Assign GID 109 to render group 2025-05-12 17:02:10 -05:00
SergeantPanda
9f1d382472 Don't force GID for render group. 2025-05-12 16:02:24 -05:00
SergeantPanda
74152406d1 Add Render group to base. 2025-05-12 15:57:25 -05:00
SergeantPanda
d25d57c162 Add render group creation for hardware acceleration support in Dockerfile 2025-05-12 14:26:32 -05:00
SergeantPanda
ade8a625bc Refactor environment variable handling in entrypoint.sh for consistency and efficiency 2025-05-12 13:57:22 -05:00
SergeantPanda
da9a78c875 Only write LIBVA_DRIVER_NAME to dispatcharr.sh if it's set by the user. 2025-05-12 13:16:15 -05:00
SergeantPanda
87798f4434 Only set LIBVA_DRIVER_NAME if user has it specified. Fixes but where FFmpeg wasn't auto detecting the correct driver for VAAPI and QSV. 2025-05-12 12:52:11 -05:00
SergeantPanda
8dd3bd6878 Use variables in export. 2025-05-12 09:10:38 -05:00
SergeantPanda
b85a5be023 Add LD_LIBRARY_PATH to dispatch user and global. 2025-05-12 08:44:07 -05:00
SergeantPanda
3a06b12f2c Hopefully fixes QSV hardware acceleration. 2025-05-11 12:45:57 -05:00
SergeantPanda
3a4631e9ad Add extra note if model isn't detected. 2025-05-10 16:51:42 -05:00
SergeantPanda
3c1157d330 Enhance user group verification messages to include the username for clarity 2025-05-10 16:45:01 -05:00
SergeantPanda
decd54dba9 Add NVIDIA device name to summary 2025-05-10 15:45:08 -05:00
SergeantPanda
4afa3166ba Improved group checking logic. 2025-05-10 15:35:48 -05:00
SergeantPanda
e59521ae94 Add Dispatch to video and render groups if they exist. 2025-05-10 15:29:25 -05:00
SergeantPanda
3a5dcab919 Also add LIBVA_DRIVERS_PATH to global environment. 2025-05-10 15:07:38 -05:00
SergeantPanda
67b2178978 Add LIBVA_DRIVER_PATH to environmental variables for all users. 2025-05-10 14:44:47 -05:00
SergeantPanda
ae2af82d1a Update docker compose to show new log level. 2025-05-10 14:33:52 -05:00
SergeantPanda
67aca64420 Properly set EV for all profiles so uWSGI daemons can see it. 2025-05-10 13:25:03 -05:00
SergeantPanda
24fba3c2b1 Change some celery tasks from info to debug. 2025-05-10 09:58:57 -05:00
SergeantPanda
d3615e1a66 Huge overhaul of logging. More standardized and we are now capturing logs from celery task and sening to console.
Also adds a new environmental variable: DISPATCHARR_LOG_LEVEL, log levels available: TRACE, DEBUG, INFO, WARNING, ERROR, CRITICAL
2025-05-10 09:29:06 -05:00
SergeantPanda
23b678bb03 Add pciutils for better hardware detection. 2025-05-09 20:06:28 -05:00
SergeantPanda
2ddc6beb15 Better messaging since nvidia variables will always exist in our container. 2025-05-09 18:31:16 -05:00
SergeantPanda
18bc422077 Better detection. 2025-05-09 17:37:39 -05:00
SergeantPanda
aff93591fd Detect hardware acceleration capabilities and provide suggestions. 2025-05-09 17:19:46 -05:00
SergeantPanda
713350713f
Merge pull request #94 from SergeantPanda/docker-refactor
Docker refactor
2025-05-09 10:49:21 -05:00
SergeantPanda
d6637d30a6 Build 2025-05-09 08:23:42 -05:00