Skip to content

Fix hardware acceleration with docker deployments#13

Merged
dev-topsoil merged 6 commits into
mainfrom
hardware-acceleration
Jun 2, 2026
Merged

Fix hardware acceleration with docker deployments#13
dev-topsoil merged 6 commits into
mainfrom
hardware-acceleration

Conversation

@dev-topsoil

@dev-topsoil dev-topsoil commented May 31, 2026

Copy link
Copy Markdown
Owner

This PR potentially addresses #12

Hardware acceleration has been broken with docker deployments causing it to fall back to software rendering.

Whoops. My bad.

Some graphics drivers were missing in the container and with this PR they're not. Claude also did some other edits that I need to validate before I move this out of a draft and get it ready to merge.

Testing

To test the changes you'll need to re-build the container with the --no-cache flag:
docker compose build --no-cache && docker compose up -d

@seitzbg

seitzbg commented May 31, 2026

Copy link
Copy Markdown
Contributor

Mine was definitely hw transcoding w/o this but my setup is an nvidia p2000 -> Docker in LXC w/ nvidia-container-toolkit.

Sun May 31 17:45:23 2026
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.142                Driver Version: 580.142        CUDA Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  Quadro P2000                   Off |   00000000:C4:00.0 Off |                  N/A |
| 53%   47C    P0             25W /   75W |     557MiB /   5120MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A         1309646      C   ...exmediaserver/Plex Transcoder        461MiB |
|    0   N/A  N/A         1418445      C   ffmpeg                                   92MiB |
+-----------------------------------------------------------------------------------------+

@dev-topsoil
dev-topsoil force-pushed the hardware-acceleration branch from 125fa79 to da3d515 Compare June 2, 2026 06:16
@dev-topsoil
dev-topsoil marked this pull request as ready for review June 2, 2026 16:50
@dev-topsoil dev-topsoil changed the title [Draft] Fix hardware acceleration with docker deployments Fix hardware acceleration with docker deployments Jun 2, 2026
@dev-topsoil
dev-topsoil merged commit 250b9c3 into main Jun 2, 2026
1 check passed
@dev-topsoil
dev-topsoil deleted the hardware-acceleration branch June 2, 2026 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants