Handbrake encode using Matroska/H.265 MKV 1080p30 preset causes computer to shutdown

My attempts to encode a MKV created with MakeMKV (bluray rip) is for some reason causing my computer to crash/shutdown. If I use an option that uses H.264 instead, I it works fine. For whatever reason, I could see no messages related to a panic when I checked journalctl. Not sure if I need to enable something so those get captured.

I am using Handbrake installed from the official repo binary - 1.3.3-4, 5.9 kernel, latest updates installed. I have already tried the obvious uninstall/reinstall of Handbrake with no change in symptoms.

Also - what’s the deal with getting a “No links” error posting this because it says “X[.]Org” in my inxi -Fazy output?

$ inxi -Fazy
Kernel: 5.9.3-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64
root=UUID=049442a2-72fd-45ab-89a6-0021ccba54e6 rw quiet apparmor=1
security=apparmor udev.log_priority=3
Desktop: Cinnamon 4.6.7 tk: GTK 3.24.23 dm: LightDM 1.30.0
Distro: Manjaro Linux
Type: Mini-pc System: Intel Client Systems product: NUC8i7BEH v: J72992-308
serial: Chassis: Intel Corporation type: 35 v: 2.0 serial:
Mobo: Intel model: NUC8BEB v: J72688-308 serial: UEFI: Intel
v: BECFL357.86A.0085.2020.1007.1917 date: 10/07/2020
Device-1: hidpp_battery_0
model: Logitech Wireless Mobile Mouse MX Anywhere 2S serial:
charge: 100% (should be ignored) rechargeable: yes status: Discharging
Info: Quad Core model: Intel Core i7-8559U bits: 64 type: MT MCP
arch: Kaby Lake family: 6 model-id: 8E (142) stepping: A (10) microcode: D6
L2 cache: 8192 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
bogomips: 43214
Speed: 1400 MHz min/max: 400/4500 MHz Core speeds (MHz): 1: 1400 2: 1400
3: 1399 4: 1400 5: 1400 6: 1400 7: 1400 8: 1400
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
IBRS_FW, STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Device-1: Intel Iris Plus Graphics 655 driver: i915 v: kernel
bus ID: 00:02.0 chip ID: 8086:3ea5
Display: x11 server: XOrg 1.20.9 driver: intel unloaded: modesetting
alternate: fbdev,vesa display ID: :0 screens: 1
Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.7x15.0")
s-diag: 777mm (30.6")
Monitor-1: DP1 res: 2560x1440 hz: 60 dpi: 108 size: 600x340mm (23.6x13.4")
diag: 690mm (27.2")
OpenGL: renderer: Mesa Intel Iris Plus Graphics 655 (CFL GT3)
v: 4.6 Mesa 20.2.1 direct render: Yes
Device-1: Intel Cannon Point-LP High Definition Audio driver: snd_hda_intel
v: kernel alternate: snd_soc_skl,snd_sof_pci bus ID: 00:1f.3
chip ID: 8086:9dc8
Device-2: AudioQuest USB2.0 Hub type: USB
driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-4.4:7 chip ID: 21b4:0083
Sound Server: ALSA v: k5.9.3-1-MANJARO
Device-1: Intel Cannon Point-LP CNVi [Wireless-AC] driver: iwlwifi v: kernel
port: 4000 bus ID: 00:14.3 chip ID: 8086:9df0
IF: wlp0s20f3 state: up mac:
Device-2: Intel Ethernet I219-V driver: e1000e v: kernel port: efa0
bus ID: 00:1f.6 chip ID: 8086:15be
IF: eno1 state: down mac:
IF-ID-1: virbr0 state: down mac:
IF-ID-2: virbr0-nic state: down mac:
Local Storage: total: 9.56 TiB used: 6.02 TiB (62.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 960 PRO 512GB size: 476.94 GiB
block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4
serial: rev: 4B6QCXP7 scheme: GPT
ID-2: /dev/sda vendor: Seagate model: ST2000LX001-1RG174 size: 1.82 TiB
block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
rotation: 5400 rpm serial: rev: SDM1 scheme: GPT
ID-3: /dev/sdb type: USB vendor: Western Digital model: WD My Book 25EE
size: 7.28 TiB block size: physical: 4096 B logical: 512 B serial:
rev: 4004 scheme: GPT
ID-1: / raw size: 233.24 GiB size: 228.58 GiB (98.00%)
used: 151.62 GiB (66.3%) fs: ext4 dev: /dev/nvme0n1p5
Alert: No Swap data was found.
System Temperatures: cpu: 44.0 C mobo: 27.8 C
Fan Speeds (RPM): N/A
Processes: 318 Uptime: 1h 28m Memory: 31.24 GiB used: 3.63 GiB (11.6%)
Init: systemd v: 246 Compilers: gcc: 10.2.0 Packages: 1356 pacman: 1353
lib: 361 flatpak: 0 snap: 3 Shell: Bash v: 5.0.18 running in: gnome-terminal
inxi: 3.1.08

I had the same problem and I coudn’t find any fix. So I started to use ffmpeg instead, it’s a litle more dificulte but use less resources and it’s faster

Thanks for the suggestion. Just realized that even using one of the Matroska H.264 presets will cause the crash/shutdown. Looking like it’ll work fine if I just use one of the General presets like HQ 1080p30 surround (H.264). Just seems odd that I can get this to work fine if I boot to Win 10. Must be a bug I guess.

Did you try to make your own present? maybe it’s a but in the preset itself

It isn’t the preset. It happens ever time I try to encode using H265 or qsv (H264 or H265). I posted about it on the Handbrake forum. They had me install Handbrake via flatpak and try again. Got a little farther this time, but it still crashed/shutdown like before. If I had more space on my boot ssd I’d try installing another distro to see if I could reproduce the issue. When my new 1 tb ssd gets to me on Monday, I’ll try some new things.