View Issue Details

IDProjectCategoryView StatusLast Update
0003146DCP-o-maticBugspublic2026-04-11 16:29
ReporterGuddu Assigned Tocarl  
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Platform64 bitOSLinuxOS VersionUbuntu
Product Version2.18.37 
Summary0003146: dcpomatic with grok - Encoding stuck when burning subtitles into image
Description

With grok enabled, when encoding a DCP, it is getting stuck at 540th frame. If I disable GPU Acceleration then I am able to encode it without any issues but with grok it hangs at 540th frame.

My setup is as follows
dcpomatic 2.18.37
Ubuntu 24.04
GeForce RTX 2080
NVIDIA-SMI 580.126.09
Driver Version: 580.126.09
CUDA Version: 13.0

Here is the log from the run

Sun 05 Apr 2026 07:34:56 PM -04: DCP video rate 24 fps
Sun 05 Apr 2026 07:34:56 PM -04: Video bit rate 150000000
Sun 05 Apr 2026 07:34:56 PM -04: Transcode job starting
Sun 05 Apr 2026 07:34:56 PM -04: Thread counts from: grok=yes, only_servers=no, master=16
Sun 05 Apr 2026 07:34:56 PM -04: Making threads: CPU=0, GPU=16, Remote=0
Sun 05 Apr 2026 07:34:56 PM -04: Sub-job Encoding starting
Sun 05 Apr 2026 07:34:59 PM -04: [GROK] ./grk_compress -batch_src GRK_MSGR_BATCH_IMAGE,1998,1998,1080,3,12 -out_fmt j2k -k 1 -G 0 -cinema2K 24,150000000 -J https://grokcompression.com/api/register -v
Sun 05 Apr 2026 07:35:00 PM -04: ERROR: Failed to schedule encode of 541 using grok
Sun 05 Apr 2026 07:35:00 PM -04: ERROR: Failed to schedule encode of 542 using grok
Sun 05 Apr 2026 07:35:00 PM -04: ERROR: Failed to schedule encode of 540 using grok
Sun 05 Apr 2026 07:35:00 PM -04: ERROR: Failed to schedule encode of 543 using grok
Sun 05 Apr 2026 07:35:00 PM -04: ERROR: Failed to schedule encode of 544 using grok
Sun 05 Apr 2026 07:35:00 PM -04: ERROR: Failed to schedule encode of 545 using grok
Sun 05 Apr 2026 07:35:00 PM -04: ERROR: Failed to schedule encode of 546 using grok
Sun 05 Apr 2026 07:35:00 PM -04: ERROR: Failed to schedule encode of 547 using grok
Sun 05 Apr 2026 07:35:00 PM -04: ERROR: Failed to schedule encode of 548 using grok
Sun 05 Apr 2026 07:35:00 PM -04: ERROR: Failed to schedule encode of 549 using grok
Sun 05 Apr 2026 07:35:00 PM -04: ERROR: Failed to schedule encode of 550 using grok
Sun 05 Apr 2026 07:35:00 PM -04: ERROR: Failed to schedule encode of 551 using grok
Sun 05 Apr 2026 07:35:00 PM -04: ERROR: Failed to schedule encode of 552 using grok
Sun 05 Apr 2026 07:35:00 PM -04: ERROR: Failed to schedule encode of 553 using grok
Sun 05 Apr 2026 07:35:00 PM -04: ERROR: Failed to schedule encode of 554 using grok
Sun 05 Apr 2026 07:35:00 PM -04: ERROR: Failed to schedule encode of 555 using grok

I have determined this to be happening "only" when I use Subtitles with "Burn Subtitles into image" option selected.

Test 1 - grok enabled. No Subtitles files - DCP encodes fine.

Test 2 - grok enabled. Subtitles files loaded with "Burn Subtitles into image" option unchecked - DCP encodes fine.

Test 3 - grok enabled. Subtitles files loaded with "Burn Subtitles into image" option checked - DCP does not encode. Gets stuck at the frame where the first subtitle needs to show up.

Test 4 - grok enabled. Subtitles files loaded. A minimal file with just 1 subtitle and "Burn Subtitles into image" option checked - DCP does not encode fine. Gets stuck at the frame where the first subtitle needs to show up.

With grok disabled, all the above tests result in the DCP encoding just fine.

Steps To Reproduce

I have determined this to be happening "only" when I use Subtitles with "Burn Subtitles into image" option selected and grok gpu acceleration enabled.

Additional Information

dcpomatic 2.18.37
Ubuntu 24.04
GeForce RTX 2080
NVIDIA-SMI 580.126.09
Driver Version: 580.126.09
CUDA Version: 13.0

TagsNo tags attached.
Branch
Estimated weeks required
Estimated work required

Activities

carl

2026-04-11 16:29

administrator   ~0007284

Fixed by Aaron here: https://github.com/cth103/dcpomatic/pull/40

1b33fb3d1e17b859dc5166cb4d0783b17c60becf

Issue History

Date Modified Username Field Change
2026-04-08 13:26 Guddu New Issue
2026-04-11 16:29 carl Note Added: 0007284
2026-04-11 16:29 carl Assigned To => carl
2026-04-11 16:29 carl Status new => resolved
2026-04-11 16:29 carl Resolution open => fixed