Repository navigation
Description
Problem Description
I have an old PC that I'd like to use for offloading long running tasks like transcoding. It has an AMD A10 APU from ca. 2015, so it has an iGPU that doesn't support hardware encoding on its own. I bought an Intel Arc A380 so I could try out QSV. Finally got the card working in Linux, GuC and HuC enabled, and I installed the IntelMediaSDK flatpak found here on Github. Every time I attempt to encode any video with QSV, Handbrake crashes to the desktop. The full log is posted below, but I believe the relevant portions are:
[14:45:39] Intel Quick Sync Video support: yes
[14:45:39] Intel Quick Sync Video discrete adapter with index 1 and renderD129
...
...
DRM_IOCTL_VERSION, unsupported drm device by media driver: rade
DRM_IOCTL_VERSION, unsupported drm device by media driver: rade
[AVHWDeviceContext @ 0x7fa3180cf3c0] libva: /app/extensions/lib/dri/iHD_drv_video.so init failed
[AVHWDeviceContext @ 0x7fa3180cf3c0] Failed to initialise VAAPI connection: 18 (invalid parameter).
[hevc_qsv @ 0x7fa31094d7c0] Failed to create a VAAPI device.
[hevc_qsv @ 0x7fa31094d7c0] Error initializing an MFX session
[hevc_qsv @ 0x7fa31094d7c0] Error decoding header
It seems that it's selecting "rade" for the media driver, which I assume is short for "radeon". Because of that, I even went in the BIOS and disabled the onboard GPU and set PCI Express as the preferred graphics adapter. Same log, same results. I don't know if it's possible to force Handbrake to use a different media driver. Searching for this issue came up with nothing relevant.
Activity Log, Crash Log or any other details
Handbrake Version: 1.7.1 (2023112700)
[14:45:39] gtkgui: Modified Preset: /Hardware/H.265 QSV 2160p 4K
[14:45:39] thread 7fa339dfb6c0 started ("work")
[14:45:39] Starting work at: Sat Dec 9 14:45:39 2023
[14:45:39] 1 job(s) to process
[14:45:39] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"CompressionLevel": -1.0,
"DRC": 0.0,
"DitherMethod": "auto",
"Encoder": "copy:truehd",
"Gain": 0.0,
"Mixdown": "none",
"Name": "Surround 5.1",
"NormalizeMixLevel": false,
"PresetEncoder": "av_aac",
"Quality": -3.0,
"Samplerate": 0,
"Track": 4
},
{
"Bitrate": 160,
"DRC": 0.0,
"Encoder": "copy:truehd",
"Gain": 0.0,
"Mixdown": "none",
"Name": "Surround 5.1",
"Quality": -3.0,
"Samplerate": 0,
"Track": 0
},
{
"Bitrate": 256,
"DRC": 0.0,
"Encoder": "av_aac",
"Gain": 3.0,
"Mixdown": "dpl2",
"Name": "Dolby Pro Logic II",
"Quality": -3.0,
"Samplerate": 0,
"Track": 5
},
{
"Bitrate": 224,
"DRC": 0.0,
"Encoder": "av_aac",
"Gain": 3.0,
"Mixdown": "dpl1",
"Name": "Dolby Surround",
"Quality": -3.0,
"Samplerate": 0,
"Track": 2
}
],
"CopyMask": [
"copy:aac"
],
"FallbackEncoder": "none"
},
"Destination": {
"AlignAVStart": false,
"ChapterList": [
{
"Duration": {
"Hours": 0,
"Minutes": 3,
"Seconds": 4,
"Ticks": 16597499
},
"Name": "Chapter 1"
},
{
"Duration": {
"Hours": 0,
"Minutes": 3,
"Seconds": 55,
"Ticks": 21105000
},
"Name": "Chapter 2"
},
{
"Duration": {
"Hours": 0,
"Minutes": 5,
"Seconds": 13,
"Ticks": 28147500
},
"Name": "Chapter 3"
},
{
"Duration": {
"Hours": 0,
"Minutes": 4,
"Seconds": 42,
"Ticks": 25368750
},
"Name": "Chapter 4"
},
{
"Duration": {
"Hours": 0,
"Minutes": 6,
"Seconds": 51,
"Ticks": 36993750
},
"Name": "Chapter 5"
},
{
"Duration": {
"Hours": 0,
"Minutes": 8,
"Seconds": 25,
"Ticks": 45420001
},
"Name": "Chapter 6"
},
{
"Duration": {
"Hours": 0,
"Minutes": 6,
"Seconds": 3,
"Ticks": 32703750
},
"Name": "Chapter 7"
},
{
"Duration": {
"Hours": 0,
"Minutes": 6,
"Seconds": 51,
"Ticks": 36990000
},
"Name": "Chapter 8"
},
{
"Duration": {
"Hours": 0,
"Minutes": 8,
"Seconds": 10,
"Ticks": 44129999
},
"Name": "Chapter 9"
},
{
"Duration": {
"Hours": 0,
"Minutes": 4,
"Seconds": 0,
"Ticks": 21611250
},
"Name": "Chapter 10"
},
{
"Duration": {
"Hours": 0,
"Minutes": 5,
"Seconds": 15,
"Ticks": 28353751
},
"Name": "Chapter 11"
},
{
"Duration": {
"Hours": 0,
"Minutes": 6,
"Seconds": 4,
"Ticks": 32744999
},
"Name": "Chapter 12"
},
{
"Duration": {
"Hours": 0,
"Minutes": 5,
"Seconds": 54,
"Ticks": 31815000
},
"Name": "Chapter 13"
},
{
"Duration": {
"Hours": 0,
"Minutes": 7,
"Seconds": 1,
"Ticks": 37867500
},
"Name": "Chapter 14"
},
{
"Duration": {
"Hours": 0,
"Minutes": 4,
"Seconds": 26,
"Ticks": 23921251
},
"Name": "Chapter 15"
},
{
"Duration": {
"Hours": 0,
"Minutes": 10,
"Seconds": 7,
"Ticks": 54667499
},
"Name": "Chapter 16"
},
{
"Duration": {
"Hours": 0,
"Minutes": 5,
"Seconds": 49,
"Ticks": 31413750
},
"Name": "Chapter 17"
},
{
"Duration": {
"Hours": 0,
"Minutes": 7,
"Seconds": 26,
"Ticks": 40170000
},
"Name": "Chapter 18"
},
{
"Duration": {
"Hours": 0,
"Minutes": 6,
"Seconds": 45,
"Ticks": 36438750
},
"Name": "Chapter 19"
},
{
"Duration": {
"Hours": 0,
"Minutes": 2,
"Seconds": 18,
"Ticks": 12408750
},
"Name": "Chapter 20"
},
{
"Duration": {
"Hours": 0,
"Minutes": 6,
"Seconds": 1,
"Ticks": 32501191
},
"Name": "Chapter 21"
}
],
"ChapterMarkers": true,
"File": "/media/dean/Work Space/video/Akira (1988)/Akira (1988) - 2160p.mkv",
"InlineParameterSets": false,
"Mux": "mkv",
"Options": {
"IpodAtom": false,
"Optimize": false
}
},
"Filters": {
"FilterList": [
{
"ID": 10,
"Settings": {
"mode": 0
}
},
{
"ID": 19,
"Settings": {
"crop-bottom": 44,
"crop-left": 0,
"crop-right": 0,
"crop-top": 42,
"height": 2074,
"width": 3840
}
}
]
},
"Metadata": {
"Name": "Akira"
},
"PAR": {
"Den": 1,
"Num": 1
},
"SequenceID": 0,
"Source": {
"Angle": 0,
"HWDecode": 0,
"Path": "/media/dean/Rip/_ripped/Akira/Akira_t07.mkv",
"Range": {
"End": 21,
"Start": 1,
"Type": "chapter"
},
"Title": 1
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": [
{
"Burn": false,
"Default": true,
"Forced": false,
"Import": {
"Codeset": "UTF-8",
"Filename": "/media/dean/Work Space/video/Akira (1988)/Akira (1988) - 2160p.en.srt",
"Format": "SRT",
"Language": "eng"
},
"Offset": 0,
"Track": 0
}
]
},
"Video": {
"ChromaLocation": 3,
"ColorInputFormat": 0,
"ColorMatrix": 9,
"ColorOutputFormat": 0,
"ColorPrimaries": 9,
"ColorRange": 1,
"ColorTransfer": 16,
"ContentLightLevel": {
"MaxCLL": 1000,
"MaxFALL": 369
},
"Encoder": "qsv_h265_10bit",
"HardwareDecode": 0,
"Level": "auto",
"MasteringDisplayColorVolume": {
"DisplayPrimaries": [
[
[
35400,
50000
],
[
14600,
50000
]
],
[
[
8500,
50000
],
[
39850,
50000
]
],
[
[
6550,
50000
],
[
2300,
50000
]
]
],
"HasLuminance": true,
"HasPrimaries": true,
"MaxLuminance": [
10000000,
10000
],
"MinLuminance": [
50,
10000
],
"WhitePoint": [
[
15635,
50000
],
[
16450,
50000
]
]
},
"MultiPass": false,
"Options": "",
"Preset": "balanced",
"Profile": "main10",
"QSV": {
"AdapterIndex": 0,
"AsyncDepth": 0,
"Decode": true
},
"Quality": 24.0,
"Tune": "",
"Turbo": false
}
}
[14:45:39] CPU: Unknown
[14:45:39] - logical processor count: 4
[14:45:39] Intel Quick Sync Video support: yes
[14:45:39] Intel Quick Sync Video discrete adapter with index 1 and renderD129
[14:45:39] Impl mfx-gen library path: /app/extensions/IntelMediaSDK/lib/libmfx-gen.so.1.2.9
[14:45:39] - Intel Media SDK hardware: API 2.9 (minimum: 1.3)
[14:45:39] - Decode support: h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[14:45:39] - H.264 encoder: yes
[14:45:39] - preferred implementation: hardware (any) via ANY
[14:45:39] - capabilities (hardware): lowpower breftype icq vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
[14:45:39] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[14:45:39] - preferred implementation: hardware (any) via ANY
[14:45:39] - capabilities (hardware): lowpower bpyramid icq vsinfo masteringinfo cllinfo opt1
[14:45:39] - AV1 encoder: yes (8bit: yes, 10bit: yes)
[14:45:39] - preferred implementation: hardware (any) via ANY
[14:45:39] - capabilities (hardware): lowpower bpyramid vsinfo masteringinfo cllinfo opt1 av1bitstream
[14:45:39] hb_scan: path=/media/dean/Rip/_ripped/Akira/Akira_t07.mkv, title_index=1
[14:45:39] thread 7fa322ffd6c0 started ("scan")
Input #0, matroska,webm, from '/media/dean/Rip/_ripped/Akira/Akira_t07.mkv':
Metadata:
title : Akira
encoder : libmakemkv v1.17.5 (1.3.10/1.5.2) x86_64-unknown-linux-gnu
creation_time : 2023-12-03T03:00:30.000000Z
Duration: 02:04:19.67, start: 0.000000, bitrate: 58379 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 184.416667
Metadata:
title : Chapter 01
Chapter #0:1: start 184.416667, end 418.916667
Metadata:
title : Chapter 02
Chapter #0:2: start 418.916667, end 731.666667
Metadata:
title : Chapter 03
Chapter #0:3: start 731.666667, end 1013.541667
Metadata:
title : Chapter 04
Chapter #0:4: start 1013.541667, end 1424.583333
Metadata:
title : Chapter 05
Chapter #0:5: start 1424.583333, end 1929.250000
Metadata:
title : Chapter 06
Chapter #0:6: start 1929.250000, end 2292.625000
Metadata:
title : Chapter 07
Chapter #0:7: start 2292.625000, end 2703.625000
Metadata:
title : Chapter 08
Chapter #0:8: start 2703.625000, end 3193.958333
Metadata:
title : Chapter 09
Chapter #0:9: start 3193.958333, end 3434.083333
Metadata:
title : Chapter 10
Chapter #0:10: start 3434.083333, end 3749.125000
Metadata:
title : Chapter 11
Chapter #0:11: start 3749.125000, end 4112.958333
Metadata:
title : Chapter 12
Chapter #0:12: start 4112.958333, end 4466.458333
Metadata:
title : Chapter 13
Chapter #0:13: start 4466.458333, end 4887.208333
Metadata:
title : Chapter 14
Chapter #0:14: start 4887.208333, end 5153.000000
Metadata:
title : Chapter 15
Chapter #0:15: start 5153.000000, end 5760.416667
Metadata:
title : Chapter 16
Chapter #0:16: start 5760.416667, end 6109.458333
Metadata:
title : Chapter 17
Chapter #0:17: start 6109.458333, end 6555.791667
Metadata:
title : Chapter 18
Chapter #0:18: start 6555.791667, end 6960.666667
Metadata:
title : Chapter 19
Chapter #0:19: start 6960.666667, end 7098.541667
Metadata:
title : Chapter 20
Chapter #0:20: start 7098.541667, end 7459.666667
Metadata:
title : Chapter 21
Stream #0:0(eng): Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 24 fps, 24 tbr, 1k tbn
Metadata:
BPS-eng : 48913964
DURATION-eng : 02:04:19.666666666
NUMBER_OF_FRAMES-eng: 179032
NUMBER_OF_BYTES-eng: 45610229299
SOURCE_ID-eng : 001011
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-03 03:00:30
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:1(eng): Audio: truehd, 48000 Hz, 5.1(side), s32 (24 bit) (default)
Metadata:
title : Surround 5.1
BPS-eng : 3219776
DURATION-eng : 02:04:19.667500000
NUMBER_OF_FRAMES-eng: 8951601
NUMBER_OF_BYTES-eng: 3002307118
SOURCE_ID-eng : 001101
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-03 03:00:30
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Metadata:
title : Surround 5.1
BPS-eng : 448000
DURATION-eng : 02:04:19.680000000
NUMBER_OF_FRAMES-eng: 233115
NUMBER_OF_BYTES-eng: 417742080
SOURCE_ID-eng : 001101
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-03 03:00:30
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:3(eng): Audio: truehd, 48000 Hz, stereo, s32 (24 bit)
Metadata:
title : Stereo
BPS-eng : 1535344
DURATION-eng : 02:04:19.667291666
NUMBER_OF_FRAMES-eng: 8951601
NUMBER_OF_BYTES-eng: 1431645104
SOURCE_ID-eng : 001102
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-03 03:00:30
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:4(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Metadata:
title : Stereo
BPS-eng : 192000
DURATION-eng : 02:04:19.680000000
NUMBER_OF_FRAMES-eng: 233115
NUMBER_OF_BYTES-eng: 179032320
SOURCE_ID-eng : 001102
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-03 03:00:30
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:5(jpn): Audio: truehd, 48000 Hz, 5.1(side), s32 (24 bit)
Metadata:
title : Surround 5.1
BPS-eng : 3559371
DURATION-eng : 02:04:19.667500000
NUMBER_OF_FRAMES-eng: 8951601
NUMBER_OF_BYTES-eng: 3318965352
SOURCE_ID-eng : 001100
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-03 03:00:30
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:6(jpn): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Metadata:
title : Surround 5.1
BPS-eng : 448000
DURATION-eng : 02:04:19.680000000
NUMBER_OF_FRAMES-eng: 233115
NUMBER_OF_BYTES-eng: 417742080
SOURCE_ID-eng : 001100
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-03 03:00:30
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:7(eng): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS-eng : 28748
DURATION-eng : 01:58:53.187500000
NUMBER_OF_FRAMES-eng: 2528
NUMBER_OF_BYTES-eng: 25633754
SOURCE_ID-eng : 0012A0
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-03 03:00:30
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:8(eng): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS-eng : 572
DURATION-eng : 01:44:44.229166666
NUMBER_OF_FRAMES-eng: 52
NUMBER_OF_BYTES-eng: 449637
SOURCE_ID-eng : 0012A1
_STATISTICS_WRITING_APP-eng: MakeMKV v1.17.5 linux(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2023-12-03 03:00:30
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[14:45:39] Found ffmpeg 21 chapters, container=matroska,webm
[14:45:39] Added chapter 1, name='Chapter 1', dur=16597499, (00:03:04)
[14:45:39] Added chapter 2, name='Chapter 2', dur=21105000, (00:03:55)
[14:45:39] Added chapter 3, name='Chapter 3', dur=28147500, (00:05:13)
[14:45:39] Added chapter 4, name='Chapter 4', dur=25368750, (00:04:42)
[14:45:39] Added chapter 5, name='Chapter 5', dur=36993750, (00:06:51)
[14:45:39] Added chapter 6, name='Chapter 6', dur=45420001, (00:08:25)
[14:45:39] Added chapter 7, name='Chapter 7', dur=32703750, (00:06:03)
[14:45:39] Added chapter 8, name='Chapter 8', dur=36990000, (00:06:51)
[14:45:39] Added chapter 9, name='Chapter 9', dur=44129999, (00:08:10)
[14:45:39] Added chapter 10, name='Chapter 10', dur=21611250, (00:04:00)
[14:45:39] Added chapter 11, name='Chapter 11', dur=28353751, (00:05:15)
[14:45:39] Added chapter 12, name='Chapter 12', dur=32744999, (00:06:04)
[14:45:39] Added chapter 13, name='Chapter 13', dur=31815000, (00:05:54)
[14:45:39] Added chapter 14, name='Chapter 14', dur=37867500, (00:07:01)
[14:45:39] Added chapter 15, name='Chapter 15', dur=23921251, (00:04:26)
[14:45:39] Added chapter 16, name='Chapter 16', dur=54667499, (00:10:07)
[14:45:39] Added chapter 17, name='Chapter 17', dur=31413750, (00:05:49)
[14:45:39] Added chapter 18, name='Chapter 18', dur=40170000, (00:07:26)
[14:45:39] Added chapter 19, name='Chapter 19', dur=36438750, (00:06:45)
[14:45:39] Added chapter 20, name='Chapter 20', dur=12408750, (00:02:18)
[14:45:39] Added chapter 21, name='Chapter 21', dur=32501191, (00:06:01)
[14:45:39] scan: decoding previews for title 1
[14:45:39] scan: preview 1
[14:45:39] fifo_close: trashing 0 buffer(s)
[14:45:39] scan: audio 0x1: truehd, rate=48000Hz, bitrate=1 English (TrueHD, 5.1 ch)
[14:45:39] fifo_close: trashing 0 buffer(s)
[14:45:39] scan: audio 0x2: ac3, rate=48000Hz, bitrate=448000 English (AC3, 5.1 ch, 448 kbps)
[14:45:39] fifo_close: trashing 0 buffer(s)
[14:45:39] scan: audio 0x3: truehd, rate=48000Hz, bitrate=1 English (TrueHD, 2.0 ch, Dolby Surround)
[14:45:39] fifo_close: trashing 0 buffer(s)
[14:45:39] scan: audio 0x4: ac3, rate=48000Hz, bitrate=192000 English (AC3, 2.0 ch, Dolby Surround, 192 kbps)
[14:45:39] fifo_close: trashing 0 buffer(s)
[14:45:39] scan: audio 0x5: truehd, rate=48000Hz, bitrate=1 日本語 (TrueHD, 5.1 ch)
[14:45:39] fifo_close: trashing 0 buffer(s)
[14:45:39] scan: audio 0x6: ac3, rate=48000Hz, bitrate=448000 日本語 (AC3, 5.1 ch, 448 kbps)
[14:45:40] scan: preview 2
[14:45:40] scan: preview 3
[14:45:41] scan: preview 4
[14:45:42] scan: preview 5
[14:45:43] scan: preview 6
[14:45:43] scan: preview 7
[14:45:44] scan: preview 8
[14:45:45] scan: preview 9
[14:45:46] scan: preview 10
[14:45:47] using container PAR 1:1
[14:45:47] crop: [0] 42/43/0/0
[14:45:47] crop: [1] 42/43/0/0
[14:45:47] crop: [2] 42/43/0/0
[14:45:47] crop: [3] 42/43/0/0
[14:45:47] crop: [4] 42/43/0/0
[14:45:47] crop: [5] 42/43/0/0
[14:45:47] crop: [6] 42/43/0/0
[14:45:47] crop: [7] 42/43/0/0
[14:45:47] crop: [8] 252/43/10/163
[14:45:47] crop: less_than_median_frame_count: 0,
[14:45:47] scan: 10 previews, 3840x2160, 24.000 fps, autocrop = 42/44/0/0, aspect 16:9, PAR 1:1, color profile: 9-16-9, chroma location: topleft
[14:45:47] scan: mastering display metadata: r(0.7080,0.2920) g(0.1700,0.7970) b(0.1310 0.0460) wp(0.3127, 0.3290) min_luminance=0.005000, max_luminance=1000.000000
[14:45:47] scan: content light level: max_cll=1000, max_fall=369
[14:45:47] scan: supported video decoders: avcodec qsv
[14:45:47] Freed 1 buffers of size 1024
[14:45:47] Freed 1 buffers of size 2048
[14:45:47] Freed 1 buffers of size 4096
[14:45:47] Freed 1 buffers of size 131072
[14:45:47] Freed 1 buffers of size 262144
[14:45:47] Freed 1 buffers of size 524288
[14:45:47] Freed 1 buffers of size 1048576
[14:45:47] Allocated 1973248 bytes of buffers on this pass and Freed 1973248 bytes, 0 bytes leaked
[14:45:47] thread 7fa322ffd6c0 exited ("scan")
[14:45:47] thread 7fa322ffd6c0 joined ("scan")
[14:45:47] libhb: scan thread found 1 valid title(s)
[14:45:47] Starting Task: Encoding Pass
[14:45:47] job configuration:
[14:45:47] * source
[14:45:47] + /media/dean/Rip/_ripped/Akira/Akira_t07.mkv
[14:45:47] + title 1, chapter(s) 1 to 21
[14:45:47] + container: matroska,webm
[14:45:47] + data rate: 58379 kbps
[14:45:47] * destination
[14:45:47] + /media/dean/Work Space/video/Akira (1988)/Akira (1988) - 2160p.mkv
[14:45:47] + container: Matroska (libavformat)
[14:45:47] + chapter markers
[14:45:47] * video track
[14:45:47] + decoder: hevc_qsv 10-bit (yuv420p10le)
[14:45:47] + filters
[14:45:47] + Framerate Shaper (mode=0)
[14:45:47] + frame rate: same as source (around 24.000 fps)
[14:45:47] + AVFilter (crop='x=0:y=42:w=3840:h=2074',zscale='width=3840:height=2074:filter=lanczos',format='pix_fmts=yuv420p10le',format='pix_fmts=p010le')
[14:45:47] + crop: x=0, y=42, w=3840, h=2074
[14:45:47] + zscale: width=3840, height=2074, filter=lanczos
[14:45:47] + format: pix_fmts=yuv420p10le
[14:45:47] + format: pix_fmts=p010le
[14:45:47] + Crop and Scale (width=3840:height=2074:crop-top=42:crop-bottom=44:crop-left=0:crop-right=0)
[14:45:47] + source: 3840 * 2160, crop (42/44/0/0): 3840 * 2074, scale: 3840 * 2074
[14:45:47] + Format (format=p010le)
[14:45:47] + Output geometry
[14:45:47] + storage dimensions: 3840 x 2074
[14:45:47] + pixel aspect ratio: 1 : 1
[14:45:47] + display dimensions: 3840 x 2074
[14:45:47] + encoder: H.265 10-bit (Intel Media SDK)
[14:45:47] + preset: balanced
[14:45:47] + profile: main10
[14:45:47] + level: auto
[14:45:47] + quality: 24.00 (ICQ)
[14:45:47] + color profile: 9-16-9
[14:45:47] + chroma location: topleft
[14:45:47] + mastering display metadata: r(0.7080,0.2920) g(0.1700,0.7970) b(0.1310 0.0460) wp(0.3127, 0.3290) min_luminance=0.005000, max_luminance=1000.000000
[14:45:47] + content light level: max_cll=1000, max_fall=369
[14:45:47] * subtitle track 1, English (SRT) (track 0, id 0xff000000, Text) -> Passthrough, Default, offset: 0, charset: UTF-8
[14:45:47] * audio track 1
[14:45:47] + name: Surround 5.1
[14:45:47] + decoder: 日本語 (TrueHD, 5.1 ch) (track 5, id 0x5)
[14:45:47] + samplerate: 48000 Hz
[14:45:47] + TrueHD Passthru
[14:45:47] * audio track 2
[14:45:47] + name: Surround 5.1
[14:45:47] + decoder: English (TrueHD, 5.1 ch) (track 1, id 0x1)
[14:45:47] + samplerate: 48000 Hz
[14:45:47] + TrueHD Passthru
[14:45:47] * audio track 3
[14:45:47] + name: Dolby Pro Logic II
[14:45:47] + decoder: 日本語 (AC3, 5.1 ch, 448 kbps) (track 6, id 0x6)
[14:45:47] + bitrate: 448 kbps, samplerate: 48000 Hz
[14:45:47] + mixdown: Dolby Pro Logic II
[14:45:47] + gain: 3dB
[14:45:47] + encoder: AAC (libavcodec)
[14:45:47] + bitrate: 256 kbps, samplerate: 48000 Hz
[14:45:47] * audio track 4
[14:45:47] + name: Dolby Surround
[14:45:47] + decoder: English (TrueHD, 2.0 ch, Dolby Surround) (track 3, id 0x3)
[14:45:47] + samplerate: 48000 Hz
[14:45:47] + mixdown: Dolby Surround
[14:45:47] + gain: 3dB
[14:45:47] + encoder: AAC (libavcodec)
[14:45:47] + bitrate: 224 kbps, samplerate: 48000 Hz
[14:45:47] SRT Start time 0, stop time 671369940
[14:45:47] sync: expecting 179031 video frames
[14:45:47] thread 7fa2ebfff6c0 started ("Audio Synchronization")
[14:45:47] thread 7fa2eb7fe6c0 started ("Audio Synchronization")
[14:45:47] thread 7fa2eaffd6c0 started ("Audio Synchronization")
[14:45:47] thread 7fa2ea7fc6c0 started ("Audio Synchronization")
[14:45:47] thread 7fa2e9ffb6c0 started ("Subtitle Synchronization")
libva info: VA-API version 1.19.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /app/extensions/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_19
libva info: va_openDriver() returns 0
libva info: VA-API version 1.19.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /app/extensions/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_19
libva info: va_openDriver() returns 0
[14:45:47] hb_display_init: using VA driver 'iHD'
libva info: VA-API version 1.19.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /app/extensions/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_19
libva info: va_openDriver() returns 0
[14:45:47] encqsvInit: using encode-only via system memory (LowPower) path
[14:45:47] encqsvInit: H.265/HEVC Main 10 profile @ level (null)
[14:45:47] encqsvInit: TargetUsage 4 AsyncDepth 6
[14:45:47] encqsvInit: GopRefDist 8 GopPicSize 56 NumRefFrame 4 IdrInterval 0
[14:45:47] encqsvInit: BFramesMax 7 BRefType pyramid
[14:45:47] encqsvInit: RateControlMethod ICQ ICQQuality 24
[14:45:47] Writing Metadata to output file...
[14:45:47] thread 7fa2e97fa6c0 started ("Muxer")
[14:45:47] thread 7fa2e1dfd6c0 started ("Muxer")
[14:45:47] thread 7fa2e15fc6c0 started ("Muxer")
[14:45:47] thread 7fa2e0dfb6c0 started ("Muxer")
[14:45:47] thread 7fa2e05fa6c0 started ("Muxer")
[14:45:47] thread 7fa2dfdf96c0 started ("Reader")
[14:45:47] ffmpeg_read starting chapter 1 at 0
[14:45:47] thread 7fa2df5f86c0 started ("Audio decoder (libavcodec)")
[14:45:47] thread 7fa2dedf76c0 started ("Audio decoder (libavcodec)")
[14:45:47] thread 7fa2de5f66c0 started ("Audio decoder (libavcodec)")
[14:45:47] thread 7fa2dddf56c0 started ("Audio decoder (libavcodec)")
[14:45:47] thread 7fa2dd5f46c0 started ("SRT Subtitle Decoder")
[14:45:47] thread 7fa2dcdf36c0 started ("Video decoder (libavcodec)")
[14:45:47] thread 7fa2dc5f26c0 started ("Video Synchronization")
[14:45:47] thread 7fa2dbdf16c0 started ("AVCodec Audio encoder (libavcodec)")
[14:45:47] thread 7fa2db5f06c0 started ("AVCodec Audio encoder (libavcodec)")
[14:45:47] thread 7fa2dadef6c0 started ("Quick Sync Video encoder (Intel Media SDK)")
[14:45:47] thread 7fa2d82166c0 started ("Muxer")
[14:45:47] thread 7fa2d7a156c0 started ("Framerate Shaper")
[14:45:47] thread 7fa2d72146c0 started ("AVFilter")
libva info: VA-API version 1.19.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /app/extensions/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_19
[14:45:47] sync: first pts audio 0x5 is 0
[14:45:47] sync: first pts audio 0x1 is 0
[14:45:47] sync: first pts audio 0x3 is 0
libva info: va_openDriver() returns 0
[14:45:47] worker Subtitle Synchronization waiting to die
[14:45:47] worker SRT Subtitle Decoder waiting to die
[14:45:47] thread 7fa2dd5f46c0 exited ("SRT Subtitle Decoder")
libva info: VA-API version 1.19.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /app/extensions/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_19
libva info: va_openDriver() returns 0
DRM_IOCTL_VERSION, unsupported drm device by media driver: rade
DRM_IOCTL_VERSION, unsupported drm device by media driver: rade
[AVHWDeviceContext @ 0x7fa3180cf3c0] libva: /app/extensions/lib/dri/iHD_drv_video.so init failed
[AVHWDeviceContext @ 0x7fa3180cf3c0] Failed to initialise VAAPI connection: 18 (invalid parameter).
[hevc_qsv @ 0x7fa31094d7c0] Failed to create a VAAPI device.
[hevc_qsv @ 0x7fa31094d7c0] Error initializing an MFX session
[hevc_qsv @ 0x7fa31094d7c0] Error decoding header
What Operating System are you running?
Linux Mint 21.2 Cinnamon, kernel 6.2.0-37-generic
What version of HandBrake are you running?
1.7.1 (x86_64)
Where did you download HandBrake from?
Mint's Software Manager (Flathub)
Activity
thelackey3326 commentedon Dec 10, 2023
Began looking at QSV support in ffmpeg. It seems a command line arg, -qsv_device, was added at some point to address a similar issue with the incorrect device being selected when multiple devices are available.
https://trac.ffmpeg.org/wiki/Hardware/QuickSync
Does handbrake have anything like that?
sr55 commentedon Dec 14, 2023
@galinart This may be of interest to you
sr55 commentedon Nov 5, 2024
Is this still an issue with the latest release?
thelackey3326 commentedon Nov 6, 2024
github-actions commentedon Jan 2, 2025
Hello,
Warning
This issue appears to be inactive and will be automatically closed within 5 days if no further activity is detected.
If you wish this issue to remain open, please request the stale label to be removed and an appropriate label assigned.
Tip
If this ticket is awaiting feedback, please make sure the requested information is provided. This may be a sample file, log files etc.
Thank You,
The HandBrake Bot
github-actions commentedon Jan 7, 2025
Hello,
Note
This ticket has now been closed due to inactivity.
If you believe this is in error, please leave a comment and we can re-open it.
Thank You,
The HandBrake Bot