Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QSV, AV1, sudden crash error code 4 #335

Open
adam-rudd opened this issue Apr 5, 2024 · 1 comment
Open

QSV, AV1, sudden crash error code 4 #335

adam-rudd opened this issue Apr 5, 2024 · 1 comment
Labels

Comments

@adam-rudd
Copy link

Current Behavior

Most of my system works, plex can decode AV1 on gpu for clients that can't otherwise. System sees gpu, handbrake sees gpu.

Crash, Error Code 4. Not sure what to do with this :(

Any thoughts?

Handbrake Version: 1.7.3 (2024030500)
[16:23:59] gtkgui: Custom Preset: /ME/4K QSV-AV1 main10 lvl5 ICQ20
[16:23:59] thread 7b2f2303db20 started ("work")
[16:23:59] Starting work at: Fri Apr  5 16:23:59 2024

[16:23:59] 1 job(s) to process
[16:23:59] json job:
{
    "Audio": {
        "AudioList": [],
        "CopyMask": [],
        "FallbackEncoder": 0
    },
    "Destination": {
        "AlignAVStart": false,
        "ChapterList": [
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 0,
                    "Seconds": 20,
                    "Ticks": 1854360
                },
                "Name": ""
            }
        ],
        "ChapterMarkers": false,
        "File": "/output/mytestvid-001_ME_4K QSV-AV1 main10 lvl5 ICQ20_ICQ20.mkv",
        "InlineParameterSets": false,
        "Mux": "mkv",
        "Options": {
            "IpodAtom": false,
            "Optimize": false
        }
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 10,
                "Settings": {
                    "mode": 1
                }
            },
            {
                "ID": 19,
                "Settings": {
                    "crop-bottom": 0,
                    "crop-left": 0,
                    "crop-right": 0,
                    "crop-top": 0,
                    "height": 2160,
                    "width": 3840
                }
            }
        ]
    },
    "Metadata": {
        "Name": "mytestvid"
    },
    "PAR": {
        "Den": 1,
        "Num": 1
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "HWDecode": 0,
        "Path": "/storage/sataG/mytestvid-001.mkv",
        "Range": {
            "End": 1,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": false,
            "Forced": false
        },
        "SubtitleList": []
    },
    "Video": {
        "ChromaLocation": 3,
        "ColorInputFormat": 0,
        "ColorMatrix": 9,
        "ColorOutputFormat": 0,
        "ColorPrimaries": 9,
        "ColorRange": 1,
        "ColorTransfer": 16,
        "Encoder": "qsv_av1_10bit",
        "HardwareDecode": 0,
        "Level": "4.0",
        "MasteringDisplayColorVolume": {
            "DisplayPrimaries": [
                [
                    [
                        0,
                        50000
                    ],
                    [
                        0,
                        50000
                    ]
                ],
                [
                    [
                        0,
                        50000
                    ],
                    [
                        0,
                        50000
                    ]
                ],
                [
                    [
                        0,
                        50000
                    ],
                    [
                        0,
                        50000
                    ]
                ]
            ],
            "HasLuminance": true,
            "HasPrimaries": true,
            "MaxLuminance": [
                0,
                10000
            ],
            "MinLuminance": [
                0,
                10000
            ],
            "WhitePoint": [
                [
                    0,
                    50000
                ],
                [
                    0,
                    50000
                ]
            ]
        },
        "MultiPass": false,
        "Options": "gpu=1",
        "Preset": "speed",
        "Profile": "main",
        "QSV": {
            "AdapterIndex": 1,
            "AsyncDepth": 0,
            "Decode": true
        },
        "Quality": 20.0,
        "Tune": "",
        "Turbo": false
    }
}
[16:23:59] CPU: Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz
[16:23:59]  - Intel microarchitecture Kaby Lake
[16:23:59]  - logical processor count: 4
[16:23:59] Intel Quick Sync Video support: yes
[16:23:59] Intel Quick Sync Video discrete adapter with index 1 and renderD129
[16:23:59] Impl mfx-gen library path: /usr/lib/libmfx-gen.so.1.2.9
[16:23:59]  - Intel Media SDK hardware: API 2.9 (minimum: 1.3)
[16:23:59]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[16:23:59]  - H.264 encoder: yes
[16:23:59]     - preferred implementation: hardware (any) via ANY
[16:23:59]     - capabilities (hardware):  lowpower breftype icq vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
[16:23:59]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[16:23:59]     - preferred implementation: hardware (any) via ANY
[16:23:59]     - capabilities (hardware):  lowpower bpyramid icq vsinfo masteringinfo cllinfo opt1
[16:23:59]  - AV1 encoder: yes (8bit: yes, 10bit: yes)
[16:23:59]     - preferred implementation: hardware (any) via ANY
[16:23:59]     - capabilities (hardware):  lowpower bpyramid icq vsinfo masteringinfo cllinfo opt1 av1bitstream
[16:23:59] Intel Quick Sync Video integrated adapter with index 0 and renderD128
[16:23:59] Impl mfxhw64 library path: /usr/lib/libmfxhw64.so.1.35
[16:23:59]  - Intel Media SDK hardware: API 1.35 (minimum: 1.3)
[16:23:59]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes)
[16:23:59]  - H.264 encoder: yes
[16:23:59]     - preferred implementation: hardware (any) via ANY
[16:23:59]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
[16:23:59]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[16:23:59]     - preferred implementation: hardware (any) via ANY
[16:23:59]     - capabilities (hardware):  bpyramid icq vsinfo masteringinfo cllinfo opt1
[16:23:59]  - AV1 encoder: no
[16:23:59] hb_scan: path=/storage/sataG/mytestvid-001.mkv, title_index=1
[16:23:59] thread 7b2f2248fb20 started ("scan")
Input #0, matroska,webm, from '/storage/sataG/mytestvid-001.mkv':
  Metadata:
    title           : mytestvid
    encoder         : libebml v1.4.5 + libmatroska v1.7.1
    creation_time   : 2024-04-05T20:22:51.000000Z
  Duration: 00:00:20.60, start: 0.000000, bitrate: 32732 kb/s
  Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      title           : mytestvid
      BPS             : 32727881
      DURATION        : 00:00:20.604000000
      NUMBER_OF_FRAMES: 494
      NUMBER_OF_BYTES : 84290659
      _STATISTICS_WRITING_APP: mkvmerge v83.0 ('Circle Of Friends') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-04-05 20:22:51
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[16:23:59] Found ffmpeg 0 chapters, container=matroska,webm
[16:23:59] scan: decoding previews for title 1
[16:23:59] scan: preview 1
[16:23:59] scan: preview 2
[16:24:00] scan: preview 3
[16:24:00] scan: preview 4
[16:24:00] scan: preview 5
[16:24:01] scan: preview 6
[16:24:01] scan: preview 7
[16:24:01] scan: preview 8
[16:24:02] scan: preview 9
[16:24:02] scan: preview 10
[16:24:03] using container PAR 1:1
[16:24:03] crop: [0] 0/0/0/0
[16:24:03] crop: [1] 0/0/0/0
[16:24:03] crop: [2] 0/0/0/0
[16:24:03] crop: [3] 0/0/0/0
[16:24:03] crop: [4] 0/0/0/0
[16:24:03] crop: [5] 0/0/0/0
[16:24:03] crop: [6] 0/0/0/0
[16:24:03] crop: [7] 0/0/0/1
[16:24:03] crop: [8] 0/0/0/1
[16:24:03] crop: less_than_median_frame_count: 0,
[16:24:03] scan: 10 previews, 3840x2160, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 9-16-9, chroma location: topleft
[16:24:03] scan: mastering display metadata: r(0.0000,0.0000) g(0.0000,0.0000) b(0.0000 0.0000) wp(0.0000, 0.0000) min_luminance=0.000000, max_luminance=0.000000
[16:24:03] scan: supported video decoders: avcodec qsv
[16:24:03] Freed 1 buffers of size 1024
[16:24:03] Freed 1 buffers of size 4096
[16:24:03] Freed 1 buffers of size 65536
[16:24:03] Freed 1 buffers of size 131072
[16:24:03] Freed 1 buffers of size 262144
[16:24:03] Freed 1 buffers of size 524288
[16:24:03] Freed 1 buffers of size 1048576
[16:24:03] Freed 1 buffers of size 2097152
[16:24:03] Freed 1 buffers of size 16777216
[16:24:03] Allocated 20911104 bytes of buffers on this pass and Freed 20911104 bytes, 0 bytes leaked
[16:24:03] thread 7b2f2248fb20 exited ("scan")
[16:24:03] thread 7b2f2248fb20 joined ("scan")
[16:24:03] libhb: scan thread found 1 valid title(s)
[16:24:03] qsv: discrete qsv adapter with index 1 has been selected
[16:24:03] qsv: discrete qsv adapter with index 1 has been selected
[16:24:03] Starting Task: Encoding Pass
[16:24:03] work: skipping crop/scale filter
[16:24:03] job configuration:
[16:24:03]  * source
[16:24:03]    + /storage/sataG/mytestvid-001.mkv
[16:24:03]    + title 1, chapter(s) 1 to 1
[16:24:03]    + container: matroska,webm
[16:24:03]    + data rate: 32732 kbps
[16:24:03]  * destination
[16:24:03]    + /output/mytestvid-001_ME_4K QSV-AV1 main10 lvl5 ICQ20_ICQ20.mkv
[16:24:03]    + container: Matroska (libavformat)
[16:24:03]  * video track
[16:24:03]    + decoder: hevc_qsv 10-bit (yuv420p10le)
[16:24:03]    + filters
[16:24:03]      + Framerate Shaper (mode=1)
[16:24:03]        + frame rate: 23.976 fps -> constant 23.976 fps
[16:24:03]      + AVFilter (format='pix_fmts=p010le')
[16:24:03]        + format: pix_fmts=p010le
[16:24:03]      + Format (format=p010le)
[16:24:03]    + Output geometry
[16:24:03]      + storage dimensions: 3840 x 2160
[16:24:03]      + pixel aspect ratio: 1 : 1
[16:24:03]      + display dimensions: 3840 x 2160
[16:24:03]    + encoder: AV1 10-bit (Intel Media SDK)
[16:24:03]      + preset:  speed
[16:24:03]      + options: gpu=1
[16:24:03]      + profile: main
[16:24:03]      + level:   4.0
[16:24:03]      + quality: 20.00 (ICQ)
[16:24:03]      + color profile: 9-16-9
[16:24:03]      + chroma location: topleft
[16:24:03]      + mastering display metadata: r(0.0000,0.0000) g(0.0000,0.0000) b(0.0000 0.0000) wp(0.0000, 0.0000) min_luminance=0.000000, max_luminance=0.000000
[16:24:03] sync: expecting 494 video frames
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
[16:24:03] hb_display_init: using VA driver 'iHD'
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
[16:24:03] encqsvInit: using encode-only via system memory (LowPower) path
[16:24:03] encqsvInit: AV1 Main profile @ level 5.0
[16:24:03] encqsvInit: TargetUsage 7 AsyncDepth 6
[16:24:03] encqsvInit: GopRefDist 8 GopPicSize 48 NumRefFrame 4 IdrInterval 0
[16:24:03] encqsvInit: BFramesMax 7 BRefType pyramid
[16:24:03] encqsvInit: RateControlMethod ICQ ICQQuality 20
[16:24:03] Writing Metadata to output file...
[16:24:03] thread 7b2f201f8b20 started ("Reader")
[16:24:03] thread 7b2f1fff1b20 started ("Video decoder (libavcodec)")
[16:24:03] ffmpeg_read starting chapter 1 at 0
[16:24:03] thread 7b2f1fdeab20 started ("Video Synchronization")
[16:24:03] thread 7b2f1fbe3b20 started ("Quick Sync Video encoder (Intel Media SDK)")
[16:24:03] thread 7b2f1f9dcb20 started ("Muxer")
[16:24:03] thread 7b2f1f072b20 started ("Framerate Shaper")
[16:24:03] thread 7b2f1ee6bb20 started ("AVFilter")
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
[16:24:04] sync: first pts video is 0
[16:24:04] sync: Chapter 1 at frame 1 time 0
[16:24:04] qsv_enc_init: using 'hardware (2) via VAAPI' implementation, API: 2.9
[16:24:17] avformatMux: track 0, av_interleaved_write_frame failed with error 'Invalid data found when processing input'
[16:24:17] Last error repeated 23 times
[16:24:17] avformatMux: track 0 av_bsf_receive_packet failed
[16:24:17] avformatMux: track 0, av_interleaved_write_frame failed with error 'Invalid data found when processing input'
[16:24:17] worker Muxer waiting to die
[16:24:17] thread 7b2f1f9dcb20 exited ("Muxer")
[16:24:17] thread 7b2f1f9dcb20 joined ("Muxer")
[16:24:17] work: average encoding speed for job is 28.294077 fps
[16:24:17] worker Quick Sync Video encoder (Intel Media SDK) waiting to die
[16:24:17] thread 7b2f1fbe3b20 exited ("Quick Sync Video encoder (Intel Media SDK)")
[16:24:17] worker Video decoder (libavcodec) waiting to die
[16:24:17] thread 7b2f1fff1b20 exited ("Video decoder (libavcodec)")
[16:24:17] worker Reader waiting to die
[16:24:17] thread 7b2f201f8b20 exited ("Reader")
[16:24:17] worker Video Synchronization waiting to die
[16:24:17] thread 7b2f1fdeab20 exited ("Video Synchronization")
[16:24:17] thread 7b2f1f072b20 exited ("Framerate Shaper")
[16:24:17] thread 7b2f1f072b20 joined ("Framerate Shaper")
[16:24:17] vfr: 378 frames output, 0 dropped and 0 duped for CFR/PFR
[16:24:17] vfr: lost time: 0 (0 frames)
[16:24:17] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:24:17] fifo_close: trashing 3 buffer(s)
[16:24:17] thread 7b2f1ee6bb20 exited ("AVFilter")
[16:24:17] thread 7b2f1ee6bb20 joined ("AVFilter")
[16:24:17] thread 7b2f201f8b20 joined ("Reader")
[16:24:17] thread 7b2f1fff1b20 joined ("Video decoder (libavcodec)")
[16:24:17] thread 7b2f1fdeab20 joined ("Video Synchronization")
[16:24:17] thread 7b2f1fbe3b20 joined ("Quick Sync Video encoder (Intel Media SDK)")
[16:24:17] hevc_qsv-decoder done: 403 frames, 0 decoder errors
[16:24:17] sync: got 382 frames, 494 expected
[16:24:17] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
[16:24:17] avformatMux: track 0, av_interleaved_write_frame failed with error 'Invalid data found when processing input'
[16:24:17] Last error repeated 45 times
[16:24:17] avformatMux: track 0 av_bsf_receive_packet failed
[16:24:17] avformatMux: track 0, av_interleaved_write_frame failed with error 'Invalid data found when processing input'
[16:24:17] avformatMux: track 0, av_interleaved_write_frame failed with error 'Invalid data found when processing input'
[16:24:17] Last error repeated 45 times
[16:24:17] avformatMux: track 0 av_bsf_receive_packet failed
[16:24:17] avformatMux: track 0, av_interleaved_write_frame failed with error 'Invalid data found when processing input'
[16:24:17] avformatMux: track 0, av_interleaved_write_frame failed with error 'Invalid data found when processing input'
[16:24:17] Last error repeated 45 times
[16:24:17] avformatMux: track 0 av_bsf_receive_packet failed
[16:24:17] avformatMux: track 0, av_interleaved_write_frame failed with error 'Invalid data found when processing input'
[16:24:17] avformatMux: track 0, av_interleaved_write_frame failed with error 'Invalid data found when processing input'
[16:24:17] Last error repeated 45 times
[16:24:17] avformatMux: track 0 av_bsf_receive_packet failed
[16:24:17] avformatMux: track 0, av_interleaved_write_frame failed with error 'Invalid data found when processing input'
[16:24:17] avformatMux: track 0, av_interleaved_write_frame failed with error 'Invalid data found when processing input'
[16:24:17] Last error repeated 45 times
[16:24:17] avformatMux: track 0 av_bsf_receive_packet failed
[16:24:17] avformatMux: track 0, av_interleaved_write_frame failed with error 'Invalid data found when processing input'
[16:24:17] avformatMux: track 0, av_interleaved_write_frame failed with error 'Invalid data found when processing input'
[16:24:17] Last error repeated 45 times
[16:24:17] avformatMux: track 0 av_bsf_receive_packet failed
[16:24:17] avformatMux: track 0, av_interleaved_write_frame failed with error 'Invalid data found when processing input'
[16:24:17] avformatMux: track 0, av_interleaved_write_frame failed with error 'Invalid data found when processing input'
[16:24:17] Last error repeated 45 times
[16:24:17] avformatMux: track 0 av_bsf_receive_packet failed
[16:24:17] avformatMux: track 0, av_interleaved_write_frame failed with error 'Invalid data found when processing input'
[16:24:17] mux: file size, 1155 bytes
[16:24:17] mux: track 0, 362 frames, 10614327 bytes, 5624.07 kbps, fifo 512
[16:24:17] mux: overhead, 50957858526724096.00 bytes per frame
[16:24:17] fifo_close: trashing 12 buffer(s)
[16:24:17] fifo_close: trashing 0 buffer(s)
[16:24:17] fifo_close: trashing 0 buffer(s)
[16:24:17] fifo_close: trashing 1 buffer(s)
[16:24:17] fifo_close: trashing 0 buffer(s)
[16:24:17] fifo_close: trashing 0 buffer(s)
[16:24:17] Freed 1 buffers of size 1024
[16:24:17] Freed 1 buffers of size 8192
[16:24:17] Freed 10 buffers of size 65536
[16:24:17] Freed 12 buffers of size 131072
[16:24:17] Freed 6 buffers of size 524288
[16:24:17] Freed 1 buffers of size 2097152
[16:24:17] Allocated 23553024 bytes of buffers on this pass and Freed 7480320 bytes, 16072704 bytes leaked
[16:24:17] Finished work at: Fri Apr  5 16:24:17 2024

[16:24:17] thread 7b2f2303db20 exited ("work")
[16:24:17] thread 7b2f2303db20 joined ("work")
[16:24:17] libhb: work result = 4

Expected Behavior

H265 encodes on QSV on GPU completes successfully! All good, work code 0:

Handbrake Version: 1.7.3 (2024030500)
[16:06:28] gtkgui: Custom Preset: /ME/4K QSV-H265 main10 lvl5 ICQ12
[16:06:28] thread 7b2f22559b20 started ("work")
[16:06:28] Starting work at: Fri Apr  5 16:06:28 2024

[16:06:28] 1 job(s) to process
[16:06:28] json job:
{
    "Audio": {
        "AudioList": [],
        "CopyMask": [],
        "FallbackEncoder": 0
    },
    "Destination": {
        "AlignAVStart": false,
        "ChapterList": [
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 0,
                    "Ticks": 10852110
                },
                "Name": ""
            }
        ],
        "ChapterMarkers": false,
        "File": "/output/mytestvid-001_ME_4K QSV-H265 main10 lvl5 ICQ12_ICQ12.mkv",
        "InlineParameterSets": false,
        "Mux": "mkv",
        "Options": {
            "IpodAtom": false,
            "Optimize": false
        }
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 10,
                "Settings": {
                    "mode": 1
                }
            },
            {
                "ID": 19,
                "Settings": {
                    "crop-bottom": 0,
                    "crop-left": 0,
                    "crop-right": 0,
                    "crop-top": 0,
                    "height": 2160,
                    "width": 3840
                }
            }
        ]
    },
    "Metadata": {
        "Name": "mytestvid"
    },
    "PAR": {
        "Den": 1,
        "Num": 1
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "HWDecode": 0,
        "Path": "/storage/sataG/mytestvid-001.mkv",
        "Range": {
            "End": 1,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": false,
            "Forced": false
        },
        "SubtitleList": []
    },
    "Video": {
        "ChromaLocation": 3,
        "ColorInputFormat": 0,
        "ColorMatrix": 9,
        "ColorOutputFormat": 0,
        "ColorPrimaries": 9,
        "ColorRange": 1,
        "ColorTransfer": 16,
        "Encoder": "qsv_h265_10bit",
        "HardwareDecode": 0,
        "Level": "5.0",
        "MasteringDisplayColorVolume": {
            "DisplayPrimaries": [
                [
                    [
                        0,
                        50000
                    ],
                    [
                        0,
                        50000
                    ]
                ],
                [
                    [
                        0,
                        50000
                    ],
                    [
                        0,
                        50000
                    ]
                ],
                [
                    [
                        0,
                        50000
                    ],
                    [
                        0,
                        50000
                    ]
                ]
            ],
            "HasLuminance": true,
            "HasPrimaries": true,
            "MaxLuminance": [
                0,
                10000
            ],
            "MinLuminance": [
                0,
                10000
            ],
            "WhitePoint": [
                [
                    0,
                    50000
                ],
                [
                    0,
                    50000
                ]
            ]
        },
        "MultiPass": false,
        "Options": "gpu=1",
        "Preset": "balanced",
        "Profile": "main10",
        "QSV": {
            "AdapterIndex": 1,
            "AsyncDepth": 0,
            "Decode": true
        },
        "Quality": 12.0,
        "Tune": "",
        "Turbo": false
    }
}
[16:06:28] CPU: Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz
[16:06:28]  - Intel microarchitecture Kaby Lake
[16:06:28]  - logical processor count: 4
[16:06:28] Intel Quick Sync Video support: yes
[16:06:28] Intel Quick Sync Video discrete adapter with index 1 and renderD129
[16:06:28] Impl mfx-gen library path: /usr/lib/libmfx-gen.so.1.2.9
[16:06:28]  - Intel Media SDK hardware: API 2.9 (minimum: 1.3)
[16:06:28]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[16:06:28]  - H.264 encoder: yes
[16:06:28]     - preferred implementation: hardware (any) via ANY
[16:06:28]     - capabilities (hardware):  lowpower breftype icq vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
[16:06:28]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[16:06:28]     - preferred implementation: hardware (any) via ANY
[16:06:28]     - capabilities (hardware):  lowpower bpyramid icq vsinfo masteringinfo cllinfo opt1
[16:06:28]  - AV1 encoder: yes (8bit: yes, 10bit: yes)
[16:06:28]     - preferred implementation: hardware (any) via ANY
[16:06:28]     - capabilities (hardware):  lowpower bpyramid icq vsinfo masteringinfo cllinfo opt1 av1bitstream
[16:06:28] Intel Quick Sync Video integrated adapter with index 0 and renderD128
[16:06:28] Impl mfxhw64 library path: /usr/lib/libmfxhw64.so.1.35
[16:06:28]  - Intel Media SDK hardware: API 1.35 (minimum: 1.3)
[16:06:28]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes)
[16:06:28]  - H.264 encoder: yes
[16:06:28]     - preferred implementation: hardware (any) via ANY
[16:06:28]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
[16:06:28]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[16:06:28]     - preferred implementation: hardware (any) via ANY
[16:06:28]     - capabilities (hardware):  bpyramid icq vsinfo masteringinfo cllinfo opt1
[16:06:28]  - AV1 encoder: no
[16:06:28] hb_scan: path=/storage/sataG/mytestvid-001.mkv, title_index=1
[16:06:28] thread 7b2f22352b20 started ("scan")
Input #0, matroska,webm, from '/storage/sataG/mytestvid-001.mkv':
  Metadata:
    title           : mytestvid
    encoder         : libebml v1.4.5 + libmatroska v1.7.1
    creation_time   : 2024-04-05T19:55:19.000000Z
  Duration: 00:02:00.58, start: 0.000000, bitrate: 44041 kb/s
  Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      title           : mytestvid
      BPS             : 44039262
      DURATION        : 00:02:00.579000000
      NUMBER_OF_FRAMES: 2891
      NUMBER_OF_BYTES : 663776277
      _STATISTICS_WRITING_APP: mkvmerge v83.0 ('Circle Of Friends') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2024-04-05 19:55:19
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[16:06:28] Found ffmpeg 0 chapters, container=matroska,webm
[16:06:28] scan: decoding previews for title 1
[16:06:28] scan: preview 1
[16:06:28] scan: preview 2
[16:06:28] scan: preview 3
[16:06:29] scan: preview 4
[16:06:29] scan: preview 5
[16:06:29] scan: preview 6
[16:06:30] scan: preview 7
[16:06:30] scan: preview 8
[16:06:31] scan: preview 9
[16:06:31] scan: preview 10
[16:06:31] using container PAR 1:1
[16:06:31] crop: [0] 0/0/0/0
[16:06:31] crop: [1] 0/0/0/0
[16:06:31] crop: [2] 0/0/0/0
[16:06:31] crop: [3] 0/0/0/0
[16:06:31] crop: [4] 0/0/0/0
[16:06:31] crop: [5] 0/0/0/0
[16:06:31] crop: [6] 0/0/0/0
[16:06:31] crop: [7] 0/0/0/0
[16:06:31] crop: [8] 0/0/0/1
[16:06:31] crop: less_than_median_frame_count: 0,
[16:06:31] scan: 10 previews, 3840x2160, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 9-16-9, chroma location: topleft
[16:06:31] scan: mastering display metadata: r(0.0000,0.0000) g(0.0000,0.0000) b(0.0000 0.0000) wp(0.0000, 0.0000) min_luminance=0.000000, max_luminance=0.000000
[16:06:31] scan: supported video decoders: avcodec qsv
[16:06:31] Freed 1 buffers of size 1024
[16:06:31] Freed 1 buffers of size 4096
[16:06:31] Freed 1 buffers of size 32768
[16:06:31] Freed 1 buffers of size 65536
[16:06:31] Freed 1 buffers of size 131072
[16:06:31] Freed 1 buffers of size 262144
[16:06:31] Freed 1 buffers of size 524288
[16:06:31] Freed 1 buffers of size 1048576
[16:06:31] Freed 1 buffers of size 2097152
[16:06:31] Freed 1 buffers of size 16777216
[16:06:31] Allocated 20943872 bytes of buffers on this pass and Freed 20943872 bytes, 0 bytes leaked
[16:06:31] thread 7b2f22352b20 exited ("scan")
[16:06:31] thread 7b2f22352b20 joined ("scan")
[16:06:31] libhb: scan thread found 1 valid title(s)
[16:06:31] qsv: discrete qsv adapter with index 1 has been selected
[16:06:31] qsv: discrete qsv adapter with index 1 has been selected
[16:06:31] Starting Task: Encoding Pass
[16:06:31] work: skipping crop/scale filter
[16:06:31] job configuration:
[16:06:31]  * source
[16:06:31]    + /storage/sataG/mytestvid-001.mkv
[16:06:31]    + title 1, chapter(s) 1 to 1
[16:06:31]    + container: matroska,webm
[16:06:31]    + data rate: 44041 kbps
[16:06:31]  * destination
[16:06:31]    + /output/mytestvid-001_ME_4K QSV-H265 main10 lvl5 ICQ12_ICQ12.mkv
[16:06:31]    + container: Matroska (libavformat)
[16:06:31]  * video track
[16:06:31]    + decoder: hevc_qsv 10-bit (yuv420p10le)
[16:06:31]    + filters
[16:06:31]      + Framerate Shaper (mode=1)
[16:06:31]        + frame rate: 23.976 fps -> constant 23.976 fps
[16:06:31]      + AVFilter (format='pix_fmts=p010le')
[16:06:31]        + format: pix_fmts=p010le
[16:06:31]      + Format (format=p010le)
[16:06:31]    + Output geometry
[16:06:31]      + storage dimensions: 3840 x 2160
[16:06:31]      + pixel aspect ratio: 1 : 1
[16:06:31]      + display dimensions: 3840 x 2160
[16:06:31]    + encoder: H.265 10-bit (Intel Media SDK)
[16:06:31]      + preset:  balanced
[16:06:31]      + options: gpu=1
[16:06:31]      + profile: main10
[16:06:31]      + level:   5.0
[16:06:31]      + quality: 12.00 (ICQ)
[16:06:31]      + color profile: 9-16-9
[16:06:31]      + chroma location: topleft
[16:06:31]      + mastering display metadata: r(0.0000,0.0000) g(0.0000,0.0000) b(0.0000 0.0000) wp(0.0000, 0.0000) min_luminance=0.000000, max_luminance=0.000000
[16:06:31] sync: expecting 2891 video frames
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
[16:06:31] hb_display_init: using VA driver 'iHD'
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
[16:06:31] encqsvInit: using encode-only via system memory (LowPower) path
[16:06:31] encqsvInit: H.265/HEVC Main 10 profile @ level 5.0
[16:06:31] encqsvInit: TargetUsage 4 AsyncDepth 6
[16:06:31] encqsvInit: GopRefDist 8 GopPicSize 48 NumRefFrame 4 IdrInterval 0
[16:06:31] encqsvInit: BFramesMax 7 BRefType pyramid
[16:06:31] encqsvInit: RateControlMethod ICQ ICQQuality 12
[16:06:31] Writing Metadata to output file...
[16:06:31] thread 7b2f201f8b20 started ("Reader")
[16:06:31] thread 7b2f1fff1b20 started ("Video decoder (libavcodec)")
[16:06:31] ffmpeg_read starting chapter 1 at 0
[16:06:31] thread 7b2f1fdeab20 started ("Video Synchronization")
[16:06:31] thread 7b2f1fbe3b20 started ("Quick Sync Video encoder (Intel Media SDK)")
[16:06:31] thread 7b2f1f04ab20 started ("Muxer")
[16:06:31] thread 7b2f1ee43b20 started ("Framerate Shaper")
[16:06:31] thread 7b2f1ec3cb20 started ("AVFilter")
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
[16:06:32] sync: first pts video is 0
[16:06:32] sync: Chapter 1 at frame 1 time 0
[16:06:33] qsv_enc_init: using 'hardware (2) via VAAPI' implementation, API: 2.9
[16:06:33] compute_init_delay: 11261 (3 frames)
[16:08:11] reader: done. 1 scr changes
[16:08:11] worker Reader waiting to die
[16:08:11] thread 7b2f201f8b20 exited ("Reader")
[16:08:12] worker Video decoder (libavcodec) waiting to die
[16:08:12] worker Video Synchronization waiting to die
[16:08:12] worker Quick Sync Video encoder (Intel Media SDK) waiting to die
[16:08:12] worker Muxer waiting to die
[16:08:12] thread 7b2f1f04ab20 exited ("Muxer")
[16:08:12] thread 7b2f1f04ab20 joined ("Muxer")
[16:08:12] work: average encoding speed for job is 28.779589 fps
[16:08:12] thread 7b2f1fff1b20 exited ("Video decoder (libavcodec)")
[16:08:12] thread 7b2f1fdeab20 exited ("Video Synchronization")
[16:08:12] thread 7b2f1ee43b20 exited ("Framerate Shaper")
[16:08:12] thread 7b2f1ee43b20 joined ("Framerate Shaper")
[16:08:12] vfr: 2891 frames output, 0 dropped and 0 duped for CFR/PFR
[16:08:12] vfr: lost time: 0 (0 frames)
[16:08:12] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:08:12] fifo_close: trashing 0 buffer(s)
[16:08:13] thread 7b2f1ec3cb20 exited ("AVFilter")
[16:08:13] thread 7b2f1ec3cb20 joined ("AVFilter")
[16:08:13] thread 7b2f201f8b20 joined ("Reader")
[16:08:13] thread 7b2f1fff1b20 joined ("Video decoder (libavcodec)")
[16:08:13] thread 7b2f1fdeab20 joined ("Video Synchronization")
[16:08:13] thread 7b2f1fbe3b20 exited ("Quick Sync Video encoder (Intel Media SDK)")
[16:08:13] thread 7b2f1fbe3b20 joined ("Quick Sync Video encoder (Intel Media SDK)")
[16:08:13] hevc_qsv-decoder done: 2891 frames, 0 decoder errors
[16:08:13] sync: got 2891 frames, 2891 expected
[16:08:13] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
[16:08:13] mux: file size, 638006391 bytes
[16:08:13] mux: track 0, 2891 frames, 637978782 bytes, 42327.76 kbps, fifo 512
[16:08:13] mux: overhead, 9.55 bytes per frame
[16:08:13] fifo_close: trashing 0 buffer(s)
[16:08:13] fifo_close: trashing 0 buffer(s)
[16:08:13] fifo_close: trashing 0 buffer(s)
[16:08:13] fifo_close: trashing 0 buffer(s)
[16:08:13] fifo_close: trashing 0 buffer(s)
[16:08:13] fifo_close: trashing 0 buffer(s)
[16:08:13] Freed 24 buffers of size 1024
[16:08:13] Freed 23 buffers of size 4096
[16:08:13] Freed 32 buffers of size 8192
[16:08:13] Freed 32 buffers of size 16384
[16:08:13] Freed 32 buffers of size 32768
[16:08:13] Freed 32 buffers of size 65536
[16:08:13] Freed 32 buffers of size 131072
[16:08:13] Freed 32 buffers of size 262144
[16:08:13] Freed 27 buffers of size 524288
[16:08:13] Freed 11 buffers of size 1048576
[16:08:13] Freed 7 buffers of size 2097152
[16:08:13] Allocated 57004032 bytes of buffers on this pass and Freed 57004032 bytes, 0 bytes leaked
[16:08:13] Finished work at: Fri Apr  5 16:08:13 2024

[16:08:13] thread 7b2f22559b20 exited ("work")
[16:08:13] thread 7b2f22559b20 joined ("work")
[16:08:13] libhb: work result = 0

Steps To Reproduce

Demo file and settings attached.
https://drive.proton.me/urls/4W8G1SFQYW#im4bMt6wTw20

Environment

OS: Ubuntu 22.04.3 LTS x86_64
Kernel: 6.5.0-26-generic
CPU: Intel i3-8100 (4) @ 3.600GHz

  • Docker version:
:~$ docker version
Client:
 Version:           20.10.25
 API version:       1.41
 Go version:        go1.20.3
 Git commit:        20.10.25-0ubuntu1~22.04.2
 Built:             Thu Aug 10 20:13:18 2023
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.25
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.20.3
  Git commit:       20.10.25-0ubuntu1~22.04.2
  Built:            Fri Aug  4 09:20:46 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.2
  GitCommit:        
 runc:
  Version:          1.1.7-0ubuntu1~22.04.2
  GitCommit:        
 docker-init:
  Version:          0.19.0
  GitCommit:        

Container creation

sudo docker-compose up -d

version: '3'
services:
  handbrake:
    image: jlesage/handbrake
    container_name: handbrake
    devices:
        - /dev/dri:/dev/dri
    ports:
      - '5800:5800'
    environment:
      - TZ=America/New_York
      - USER_ID=1000
      - GROUP_ID=1000
      - HANDBRAKE_GUI=1
    volumes:
      - ./config:/config:rw
      - /mnt:/storage:ro
      - /home/plex/Videos:/home/plex/Videos
#      - '/home/user/HandBrake/watch:/watch:rw'
      - /home/plex/Videos:/output:rw

Container log

:~/handbrake$ docker logs handbrake
[init        ] container is starting...
[cont-env    ] loading container environment variables...
[cont-env    ] APP_NAME: loading...
[cont-env    ] APP_VERSION: loading...
[cont-env    ] DISPLAY: executing...
[cont-env    ] DISPLAY: terminated successfully.
[cont-env    ] DISPLAY: loading...
[cont-env    ] DOCKER_IMAGE_PLATFORM: loading...
[cont-env    ] DOCKER_IMAGE_VERSION: loading...
[cont-env    ] GTK2_RC_FILES: executing...
[cont-env    ] GTK2_RC_FILES: terminated successfully.
[cont-env    ] GTK2_RC_FILES: loading...
[cont-env    ] GTK_THEME: executing...
[cont-env    ] GTK_THEME: terminated successfully.
[cont-env    ] GTK_THEME: loading...
[cont-env    ] HOME: loading...
[cont-env    ] INSTALL_PACKAGES_INTERNAL: executing...
[cont-env    ] INSTALL_PACKAGES_INTERNAL: terminated successfully.
[cont-env    ] INSTALL_PACKAGES_INTERNAL: loading...
[cont-env    ] QT_STYLE_OVERRIDE: executing...
[cont-env    ] QT_STYLE_OVERRIDE: terminated successfully.
[cont-env    ] QT_STYLE_OVERRIDE: loading...
[cont-env    ] SUP_GROUP_IDS_INTERNAL: executing...
[cont-env    ] SUP_GROUP_IDS_INTERNAL: terminated successfully.
[cont-env    ] SUP_GROUP_IDS_INTERNAL: loading...
[cont-env    ] TAKE_CONFIG_OWNERSHIP: loading...
[cont-env    ] XDG_CACHE_HOME: loading...
[cont-env    ] XDG_CONFIG_HOME: loading...
[cont-env    ] XDG_DATA_HOME: loading...
[cont-env    ] XDG_RUNTIME_DIR: loading...
[cont-env    ] XDG_STATE_HOME: loading...
[cont-env    ] container environment variables initialized.
[cont-secrets] loading container secrets...
[cont-secrets] container secrets loaded.
[cont-init   ] executing container initialization scripts...
[cont-init   ] 10-certs.sh: executing...
[cont-init   ] 10-certs.sh: terminated successfully.
[cont-init   ] 10-check-app-niceness.sh: executing...
[cont-init   ] 10-check-app-niceness.sh: terminated successfully.
[cont-init   ] 10-clean-logmonitor-states.sh: executing...
[cont-init   ] 10-clean-logmonitor-states.sh: terminated successfully.
[cont-init   ] 10-clean-tmp-dir.sh: executing...
[cont-init   ] 10-clean-tmp-dir.sh: terminated successfully.
[cont-init   ] 10-fontconfig-cache-dir.sh: executing...
[cont-init   ] 10-fontconfig-cache-dir.sh: terminated successfully.
[cont-init   ] 10-init-users.sh: executing...
[cont-init   ] 10-init-users.sh: terminated successfully.
[cont-init   ] 10-nginx.sh: executing...
[cont-init   ] 10-nginx.sh: terminated successfully.
[cont-init   ] 10-openbox.sh: executing...
[cont-init   ] 10-openbox.sh: terminated successfully.
[cont-init   ] 10-pkgs-mirror.sh: executing...
[cont-init   ] 10-pkgs-mirror.sh: terminated successfully.
[cont-init   ] 10-set-tmp-dir-perms.sh: executing...
[cont-init   ] 10-set-tmp-dir-perms.sh: terminated successfully.
[cont-init   ] 10-vnc-password.sh: executing...
[cont-init   ] 10-vnc-password.sh: terminated successfully.
[cont-init   ] 10-web-data.sh: executing...
[cont-init   ] 10-web-data.sh: terminated successfully.
[cont-init   ] 10-x11-unix.sh: executing...
[cont-init   ] 10-x11-unix.sh: terminated successfully.
[cont-init   ] 10-xdg-runtime-dir.sh: executing...
[cont-init   ] 10-xdg-runtime-dir.sh: terminated successfully.
[cont-init   ] 15-cjk-font.sh: executing...
[cont-init   ] 15-cjk-font.sh: terminated successfully.
[cont-init   ] 15-install-pkgs.sh: executing...
[cont-init   ] 15-install-pkgs.sh: terminated successfully.
[cont-init   ] 54-check-optical-drive.sh: executing...
[cont-init   ] 54-check-optical-drive.sh: looking for usable optical drives...
[cont-init   ] 54-check-optical-drive.sh: no usable optical drive found.
[cont-init   ] 54-check-optical-drive.sh: terminated successfully.
[cont-init   ] 54-check-qsv.sh: executing...
[cont-init   ] 54-check-qsv.sh: Processor: Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz
[cont-init   ] 54-check-qsv.sh: Microarchitecture: INTEL_CFL
[cont-init   ] 54-check-qsv.sh: Kernel: 6.5.0-26-generic
[cont-init   ] 54-check-qsv.sh: terminated successfully.
[cont-init   ] 54-check-trash-dir.sh: executing...
[cont-init   ] 54-check-trash-dir.sh: terminated successfully.
[cont-init   ] 55-handbrake.sh: executing...
[cont-init   ] 55-handbrake.sh: generating machine-id...
[cont-init   ] 55-handbrake.sh: core dump file location: |/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E
[cont-init   ] 55-handbrake.sh: core dump file size: unlimited (blocks)
[cont-init   ] 55-handbrake.sh: terminated successfully.
[cont-init   ] 85-take-config-ownership.sh: executing...
[cont-init   ] 85-take-config-ownership.sh: terminated successfully.
[cont-init   ] 89-info.sh: executing...
    ╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮
    │                                                                      │
    │ Application:           HandBrake                                     │
    │ Application Version:   1.7.3                                         │
    │ Docker Image Version:  24.03.1                                       │
    │ Docker Image Platform: linux/amd64                                   │
    │                                                                      │
    ╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯
[cont-init   ] 89-info.sh: terminated successfully.
[cont-init   ] all container initialization scripts executed.
[init        ] giving control to process supervisor.
[supervisor  ] loading services...
[supervisor  ] loading service 'default'...
[supervisor  ] loading service 'logrotate'...
[supervisor  ] loading service 'app'...
[supervisor  ] loading service 'gui'...
[supervisor  ] loading service 'xvnc'...
[supervisor  ] loading service 'openbox'...
[supervisor  ] loading service 'certsmonitor'...
[supervisor  ] service 'certsmonitor' is disabled.
[supervisor  ] loading service 'nginx'...
[supervisor  ] loading service 'logmonitor'...
[supervisor  ] service 'logmonitor' is disabled.
[supervisor  ] loading service 'autovideoconverter'...
[supervisor  ] all services loaded.
[supervisor        ] starting services...
[supervisor        ] starting service 'xvnc'...
[xvnc              ] Xvnc TigerVNC 1.13.1 - built Dec 21 2023 00:54:05
[xvnc              ] Copyright (C) 1999-2022 TigerVNC Team and many others (see README.rst)
[xvnc              ] See https://www.tigervnc.org for information on TigerVNC.
[xvnc              ] Underlying X server release 12014000
[xvnc              ] Fri Apr  5 15:08:25 2024
[xvnc              ]  vncext:      VNC extension running!
[xvnc              ]  vncext:      Listening for VNC connections on /tmp/vnc.sock (mode 0660)
[xvnc              ]  vncext:      Listening for VNC connections on all interface(s), port 5900
[xvnc              ]  vncext:      created VNC server for screen 0
[supervisor        ] starting service 'openbox'...
[supervisor        ] starting service 'nginx'...
[nginx             ] Listening for HTTP connections on port 5800.
[supervisor        ] starting service 'app'...
[supervisor        ] starting service 'autovideoconverter'...
[autovideoconverter] Processing watch folder '/watch'...
[autovideoconverter] Watch folder '/watch' processing terminated.
[supervisor        ] all services started.
[xvnc              ] Fri Apr  5 15:08:36 2024
[xvnc              ]  Connections: accepted: /tmp/vnc.sock
[xvnc              ]  SConnection: Client needs protocol version 3.8
[xvnc              ]  SConnection: Client requests security type None(1)
[xvnc              ]  VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
[xvnc              ]  VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian bgr888
[xvnc              ] Fri Apr  5 15:16:30 2024
[xvnc              ]  VNCSConnST:  closing /tmp/vnc.sock: Clean disconnection
[xvnc              ]  EncodeManager: Framebuffer updates: 5731
[xvnc              ]  EncodeManager:   Tight:
[xvnc              ]  EncodeManager:     Solid: 7.039 krects, 39.7388 Mpixels
[xvnc              ]  EncodeManager:            109.984 KiB (1:1412.13 ratio)
[xvnc              ]  EncodeManager:     Bitmap RLE: 2.513 krects, 832.671 kpixels
[xvnc              ]  EncodeManager:                 73.0527 KiB (1:44.9274 ratio)
[xvnc              ]  EncodeManager:     Indexed RLE: 9.833 krects, 8.25184 Mpixels
[xvnc              ]  EncodeManager:                  1.43907 MiB (1:21.9522 ratio)
[xvnc              ]  EncodeManager:   Tight (JPEG):
[xvnc              ]  EncodeManager:     Full Colour: 8.719 krects, 60.3717 Mpixels
[xvnc              ]  EncodeManager:                  31.2024 MiB (1:7.38403 ratio)
[xvnc              ]  EncodeManager:   Total: 28.104 krects, 109.195 Mpixels
[xvnc              ]  EncodeManager:          32.8202 MiB (1:12.7015 ratio)
[xvnc              ]  Connections: closed: /tmp/vnc.sock
[xvnc              ]  ComparingUpdateTracker: 302.803 Mpixels in / 95.8098 Mpixels out
[xvnc              ]  ComparingUpdateTracker: (1:3.16046 ratio)
[xvnc              ] Fri Apr  5 15:16:31 2024
[xvnc              ]  Connections: accepted: /tmp/vnc.sock
[xvnc              ]  SConnection: Client needs protocol version 3.8
[xvnc              ]  SConnection: Client requests security type None(1)
[xvnc              ]  VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
[xvnc              ]  VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian bgr888
[xvnc              ]  ComparingUpdateTracker: 57.154 kpixels in / 136 pixels out
[xvnc              ]  ComparingUpdateTracker: (1:420.25 ratio)
[xvnc              ] Fri Apr  5 15:16:49 2024
[xvnc              ]  ComparingUpdateTracker: 10.8914 Mpixels in / 3.77704 Mpixels out
[xvnc              ]  ComparingUpdateTracker: (1:2.88358 ratio)
[xvnc              ] Fri Apr  5 15:17:11 2024
[xvnc              ]  VNCSConnST:  closing /tmp/vnc.sock: Clean disconnection
[xvnc              ]  EncodeManager: Framebuffer updates: 424
[xvnc              ]  EncodeManager:   Tight:
[xvnc              ]  EncodeManager:     Solid: 321 rects, 8.37862 Mpixels
[xvnc              ]  EncodeManager:            5.01562 KiB (1:6526.16 ratio)
[xvnc              ]  EncodeManager:     Bitmap RLE: 65 rects, 67.232 kpixels
[xvnc              ]  EncodeManager:                 1.99512 KiB (1:132.016 ratio)
[xvnc              ]  EncodeManager:     Indexed RLE: 491 rects, 523.729 kpixels
[xvnc              ]  EncodeManager:                  79.4316 KiB (1:25.8281 ratio)
[xvnc              ]  EncodeManager:   Tight (JPEG):
[xvnc              ]  EncodeManager:     Full Colour: 573 rects, 4.08339 Mpixels
[xvnc              ]  EncodeManager:                  1.60678 MiB (1:9.69853 ratio)
[xvnc              ]  EncodeManager:   Total: 1.45 krects, 13.053 Mpixels
[xvnc              ]  EncodeManager:          1.6912 MiB (1:29.4523 ratio)
[xvnc              ]  Connections: closed: /tmp/vnc.sock
[xvnc              ]  ComparingUpdateTracker: 6.88354 Mpixels in / 3.31492 Mpixels out
[xvnc              ]  ComparingUpdateTracker: (1:2.07653 ratio)
[supervisor        ] SIGTERM received, shutting down...
[supervisor        ] stopping service 'autovideoconverter'...
[supervisor        ] service 'autovideoconverter' exited (got signal SIGTERM).
[supervisor        ] stopping service 'app'...
[supervisor        ] service 'app' exited (got signal SIGTERM).
[supervisor        ] stopping service 'nginx'...
[supervisor        ] service 'nginx' exited (with status 0).
[supervisor        ] stopping service 'openbox'...
[supervisor        ] service 'openbox' exited (with status 0).
[supervisor        ] stopping service 'xvnc'...
[xvnc              ] Fri Apr  5 15:19:00 2024
[xvnc              ]  ComparingUpdateTracker: 0 pixels in / 0 pixels out
[xvnc              ]  ComparingUpdateTracker: (1:-nan ratio)
[supervisor        ] service 'xvnc' exited (with status 0).
[finish      ] executing container finish scripts...
[finish      ] all container finish scripts executed.
[init        ] container is starting...
[cont-env    ] loading container environment variables...
[cont-env    ] APP_NAME: loading...
[cont-env    ] APP_VERSION: loading...
[cont-env    ] DISPLAY: executing...
[cont-env    ] DISPLAY: terminated successfully.
[cont-env    ] DISPLAY: loading...
[cont-env    ] DOCKER_IMAGE_PLATFORM: loading...
[cont-env    ] DOCKER_IMAGE_VERSION: loading...
[cont-env    ] GTK2_RC_FILES: executing...
[cont-env    ] GTK2_RC_FILES: terminated successfully.
[cont-env    ] GTK2_RC_FILES: loading...
[cont-env    ] GTK_THEME: executing...
[cont-env    ] GTK_THEME: terminated successfully.
[cont-env    ] GTK_THEME: loading...
[cont-env    ] HOME: loading...
[cont-env    ] INSTALL_PACKAGES_INTERNAL: executing...
[cont-env    ] INSTALL_PACKAGES_INTERNAL: terminated successfully.
[cont-env    ] INSTALL_PACKAGES_INTERNAL: loading...
[cont-env    ] QT_STYLE_OVERRIDE: executing...
[cont-env    ] QT_STYLE_OVERRIDE: terminated successfully.
[cont-env    ] QT_STYLE_OVERRIDE: loading...
[cont-env    ] SUP_GROUP_IDS_INTERNAL: executing...
[cont-env    ] SUP_GROUP_IDS_INTERNAL: terminated successfully.
[cont-env    ] SUP_GROUP_IDS_INTERNAL: loading...
[cont-env    ] TAKE_CONFIG_OWNERSHIP: loading...
[cont-env    ] XDG_CACHE_HOME: loading...
[cont-env    ] XDG_CONFIG_HOME: loading...
[cont-env    ] XDG_DATA_HOME: loading...
[cont-env    ] XDG_RUNTIME_DIR: loading...
[cont-env    ] XDG_STATE_HOME: loading...
[cont-env    ] container environment variables initialized.
[cont-secrets] loading container secrets...
[cont-secrets] container secrets loaded.
[cont-init   ] executing container initialization scripts...
[cont-init   ] 10-certs.sh: executing...
[cont-init   ] 10-certs.sh: terminated successfully.
[cont-init   ] 10-check-app-niceness.sh: executing...
[cont-init   ] 10-check-app-niceness.sh: terminated successfully.
[cont-init   ] 10-clean-logmonitor-states.sh: executing...
[cont-init   ] 10-clean-logmonitor-states.sh: terminated successfully.
[cont-init   ] 10-clean-tmp-dir.sh: executing...
[cont-init   ] 10-clean-tmp-dir.sh: terminated successfully.
[cont-init   ] 10-fontconfig-cache-dir.sh: executing...
[cont-init   ] 10-fontconfig-cache-dir.sh: terminated successfully.
[cont-init   ] 10-init-users.sh: executing...
[cont-init   ] 10-init-users.sh: terminated successfully.
[cont-init   ] 10-nginx.sh: executing...
[cont-init   ] 10-nginx.sh: terminated successfully.
[cont-init   ] 10-openbox.sh: executing...
[cont-init   ] 10-openbox.sh: terminated successfully.
[cont-init   ] 10-pkgs-mirror.sh: executing...
[cont-init   ] 10-pkgs-mirror.sh: terminated successfully.
[cont-init   ] 10-set-tmp-dir-perms.sh: executing...
[cont-init   ] 10-set-tmp-dir-perms.sh: terminated successfully.
[cont-init   ] 10-vnc-password.sh: executing...
[cont-init   ] 10-vnc-password.sh: terminated successfully.
[cont-init   ] 10-web-data.sh: executing...
[cont-init   ] 10-web-data.sh: terminated successfully.
[cont-init   ] 10-x11-unix.sh: executing...
[cont-init   ] 10-x11-unix.sh: terminated successfully.
[cont-init   ] 10-xdg-runtime-dir.sh: executing...
[cont-init   ] 10-xdg-runtime-dir.sh: terminated successfully.
[cont-init   ] 15-cjk-font.sh: executing...
[cont-init   ] 15-cjk-font.sh: terminated successfully.
[cont-init   ] 15-install-pkgs.sh: executing...
[cont-init   ] 15-install-pkgs.sh: terminated successfully.
[cont-init   ] 54-check-optical-drive.sh: executing...
[cont-init   ] 54-check-optical-drive.sh: looking for usable optical drives...
[cont-init   ] 54-check-optical-drive.sh: no usable optical drive found.
[cont-init   ] 54-check-optical-drive.sh: terminated successfully.
[cont-init   ] 54-check-qsv.sh: executing...
[cont-init   ] 54-check-qsv.sh: Processor: Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz
[cont-init   ] 54-check-qsv.sh: Microarchitecture: INTEL_CFL
[cont-init   ] 54-check-qsv.sh: Kernel: 6.5.0-26-generic
[cont-init   ] 54-check-qsv.sh: terminated successfully.
[cont-init   ] 54-check-trash-dir.sh: executing...
[cont-init   ] 54-check-trash-dir.sh: terminated successfully.
[cont-init   ] 55-handbrake.sh: executing...
[cont-init   ] 55-handbrake.sh: core dump file location: |/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E
[cont-init   ] 55-handbrake.sh: core dump file size: unlimited (blocks)
[cont-init   ] 55-handbrake.sh: terminated successfully.
[cont-init   ] 85-take-config-ownership.sh: executing...
[cont-init   ] 85-take-config-ownership.sh: terminated successfully.
[cont-init   ] 89-info.sh: executing...
    ╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮
    │                                                                      │
    │ Application:           HandBrake                                     │
    │ Application Version:   1.7.3                                         │
    │ Docker Image Version:  24.03.1                                       │
    │ Docker Image Platform: linux/amd64                                   │
    │                                                                      │
    ╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯
[cont-init   ] 89-info.sh: terminated successfully.
[cont-init   ] all container initialization scripts executed.
[init        ] giving control to process supervisor.
[supervisor  ] loading services...
[supervisor  ] loading service 'default'...
[supervisor  ] loading service 'logrotate'...
[supervisor  ] loading service 'app'...
[supervisor  ] loading service 'gui'...
[supervisor  ] loading service 'xvnc'...
[supervisor  ] loading service 'openbox'...
[supervisor  ] loading service 'certsmonitor'...
[supervisor  ] service 'certsmonitor' is disabled.
[supervisor  ] loading service 'nginx'...
[supervisor  ] loading service 'logmonitor'...
[supervisor  ] service 'logmonitor' is disabled.
[supervisor  ] loading service 'autovideoconverter'...
[supervisor  ] all services loaded.
[supervisor        ] starting services...
[supervisor        ] starting service 'xvnc'...
[xvnc              ] Xvnc TigerVNC 1.13.1 - built Dec 21 2023 00:54:05
[xvnc              ] Copyright (C) 1999-2022 TigerVNC Team and many others (see README.rst)
[xvnc              ] See https://www.tigervnc.org for information on TigerVNC.
[xvnc              ] Underlying X server release 12014000
[xvnc              ] Fri Apr  5 15:52:33 2024
[xvnc              ]  vncext:      VNC extension running!
[xvnc              ]  vncext:      Listening for VNC connections on /tmp/vnc.sock (mode 0660)
[xvnc              ]  vncext:      Listening for VNC connections on all interface(s), port 5900
[xvnc              ]  vncext:      created VNC server for screen 0
[supervisor        ] starting service 'openbox'...
[supervisor        ] starting service 'nginx'...
[nginx             ] Listening for HTTP connections on port 5800.
[supervisor        ] starting service 'app'...
[supervisor        ] starting service 'autovideoconverter'...
[autovideoconverter] Processing watch folder '/watch'...
[autovideoconverter] Watch folder '/watch' processing terminated.
[supervisor        ] all services started.
[xvnc              ] Fri Apr  5 15:52:39 2024
[xvnc              ]  Connections: accepted: /tmp/vnc.sock
[xvnc              ]  SConnection: Client needs protocol version 3.8
[xvnc              ]  SConnection: Client requests security type None(1)
[xvnc              ]  VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
[xvnc              ]  VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian bgr888
[xvnc              ] Fri Apr  5 15:53:42 2024
[xvnc              ]  VNCSConnST:  closing /tmp/vnc.sock: Clean disconnection
[xvnc              ]  EncodeManager: Framebuffer updates: 936
[xvnc              ]  EncodeManager:   Tight:
[xvnc              ]  EncodeManager:     Solid: 963 rects, 6.37946 Mpixels
[xvnc              ]  EncodeManager:            15.0469 KiB (1:1656.89 ratio)
[xvnc              ]  EncodeManager:     Bitmap RLE: 142 rects, 39.179 kpixels
[xvnc              ]  EncodeManager:                 4.14551 KiB (1:37.3192 ratio)
[xvnc              ]  EncodeManager:     Indexed RLE: 2.041 krects, 1.77567 Mpixels
[xvnc              ]  EncodeManager:                  308.145 KiB (1:22.5872 ratio)
[xvnc              ]  EncodeManager:   Tight (JPEG):
[xvnc              ]  EncodeManager:     Full Colour: 1.522 krects, 10.9634 Mpixels
[xvnc              ]  EncodeManager:                  5.34795 MiB (1:7.82343 ratio)
[xvnc              ]  EncodeManager:   Total: 4.668 krects, 19.1577 Mpixels
[xvnc              ]  EncodeManager:          5.66761 MiB (1:12.9039 ratio)
[xvnc              ]  Connections: closed: /tmp/vnc.sock
[xvnc              ]  ComparingUpdateTracker: 47.6899 Mpixels in / 13.5932 Mpixels out
[xvnc              ]  ComparingUpdateTracker: (1:3.50837 ratio)
[xvnc              ] Fri Apr  5 15:56:26 2024
[xvnc              ]  Connections: accepted: /tmp/vnc.sock
[xvnc              ]  SConnection: Client needs protocol version 3.8
[xvnc              ]  SConnection: Client requests security type None(1)
[xvnc              ]  VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
[xvnc              ]  VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian bgr888
[xvnc              ] Fri Apr  5 16:26:06 2024
[xvnc              ]  VNCSConnST:  closing /tmp/vnc.sock: Clean disconnection
[xvnc              ]  EncodeManager: Framebuffer updates: 6463
[xvnc              ]  EncodeManager:   Tight:
[xvnc              ]  EncodeManager:     Solid: 2.493 krects, 28.1686 Mpixels
[xvnc              ]  EncodeManager:            38.9531 KiB (1:2825.52 ratio)
[xvnc              ]  EncodeManager:     Bitmap RLE: 684 rects, 411.678 kpixels
[xvnc              ]  EncodeManager:                 19.8164 KiB (1:81.5553 ratio)
[xvnc              ]  EncodeManager:     Indexed RLE: 8.901 krects, 5.23394 Mpixels
[xvnc              ]  EncodeManager:                  1.05628 MiB (1:18.9986 ratio)
[xvnc              ]  EncodeManager:   Tight (JPEG):
[xvnc              ]  EncodeManager:     Full Colour: 7.054 krects, 41.7594 Mpixels
[xvnc              ]  EncodeManager:                  25.7644 MiB (1:6.18606 ratio)
[xvnc              ]  EncodeManager:   Total: 19.132 krects, 75.5736 Mpixels
[xvnc              ]  EncodeManager:          26.8781 MiB (1:10.734 ratio)
[xvnc              ]  Connections: closed: /tmp/vnc.sock
[xvnc              ]  ComparingUpdateTracker: 236.666 Mpixels in / 62.0925 Mpixels out
[xvnc              ]  ComparingUpdateTracker: (1:3.81151 ratio)

Container inspect

There was an error creating your issue: body is too long (maximum is 65536 characters).

Anything else?

No response

@adam-rudd adam-rudd added the bug label Apr 5, 2024
@TNFB
Copy link

TNFB commented Jul 11, 2024

Hey !
It seems like Handbrake is using your integrated GPU of your CPU for hardware accel...
Can you log into your container and type lspci |grep VGA ? It must output only the dedicated GPU

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants