AMD VCE on Ubuntu 20.04

Support for HandBrake on Linux, Solaris, and other Unix-like platforms
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
johnston
New User
Posts: 1
Joined: Sun Nov 15, 2020 2:31 pm

AMD VCE on Ubuntu 20.04

Post by johnston »

Description of problem or question:
Can't get hardware encoding to work with a AMD RX580 . Have the amdgpu-pro installed along with the amf-amdgpu-pro and vulkan-sdk


HandBrake version:
Built from source with the --enable-vce flag

20201114154440-edd291d61-master (x86_64)


Operating system and version:

Ubuntu 20.04 LTS


HandBrake Activity Log

Code: Select all

[14:41:39] gtkgui: HandBrake 20201114154440-edd291d61-master (2020111501) - Linux x86_64 - https://handbrake.fr
[14:41:39] Compile-time hardening features are enabled
0120-10-15 14:41:39 8D860AC0 [AMFDeviceVulkanImpl]   Error: ../../../../../runtime/src/core/DeviceVulkanImpl.cpp(750):Assertion failed:vkCreateDevice() failed, Error=-7
0120-10-15 14:41:39 8D860AC0 [AMFDeviceVulkanImpl]   Error: ../../../../../runtime/src/core/DeviceVulkanImpl.cpp(417):AMF_ERROR 1 : AMF_FAIL: CreateDeviceAndFindQueues() failed
0120-10-15 14:41:39 8D860AC0 [AMFContextImpl]   Error: ../../../../../runtime/src/core/ContextImpl.cpp(885):AMF_ERROR 1 : AMF_FAIL: pDeviceVulkan->Init(pVulkanDevice)
[14:41:39] VCE: AMF failed to initialise on the given Vulkan device.

Cannot load libnvidia-encode.so.1
0120-10-15 14:41:39 8D860AC0 [AMFDeviceVulkanImpl]   Error: ../../../../../runtime/src/core/DeviceVulkanImpl.cpp(750):Assertion failed:vkCreateDevice() failed, Error=-7
0120-10-15 14:41:39 8D860AC0 [AMFDeviceVulkanImpl]   Error: ../../../../../runtime/src/core/DeviceVulkanImpl.cpp(417):AMF_ERROR 1 : AMF_FAIL: CreateDeviceAndFindQueues() failed
0120-10-15 14:41:39 8D860AC0 [AMFContextImpl]   Error: ../../../../../runtime/src/core/ContextImpl.cpp(885):AMF_ERROR 1 : AMF_FAIL: pDeviceVulkan->Init(pVulkanDevice)
Cannot load libnvidia-encode.so.1
0120-10-15 14:41:39 8D860AC0 [AMFDeviceVulkanImpl]   Error: ../../../../../runtime/src/core/DeviceVulkanImpl.cpp(750):Assertion failed:vkCreateDevice() failed, Error=-7
0120-10-15 14:41:39 8D860AC0 [AMFDeviceVulkanImpl]   Error: ../../../../../runtime/src/core/DeviceVulkanImpl.cpp(417):AMF_ERROR 1 : AMF_FAIL: CreateDeviceAndFindQueues() failed
0120-10-15 14:41:39 8D860AC0 [AMFContextImpl]   Error: ../../../../../runtime/src/core/ContextImpl.cpp(885):AMF_ERROR 1 : AMF_FAIL: pDeviceVulkan->Init(pVulkanDevice)
Cannot load libnvidia-encode.so.1
0120-10-15 14:41:39 8D860AC0 [AMFDeviceVulkanImpl]   Error: ../../../../../runtime/src/core/DeviceVulkanImpl.cpp(750):Assertion failed:vkCreateDevice() failed, Error=-7
0120-10-15 14:41:39 8D860AC0 [AMFDeviceVulkanImpl]   Error: ../../../../../runtime/src/core/DeviceVulkanImpl.cpp(417):AMF_ERROR 1 : AMF_FAIL: CreateDeviceAndFindQueues() failed
0120-10-15 14:41:39 8D860AC0 [AMFContextImpl]   Error: ../../../../../runtime/src/core/ContextImpl.cpp(885):AMF_ERROR 1 : AMF_FAIL: pDeviceVulkan->Init(pVulkanDevice)
Cannot load libnvidia-encode.so.1
[14:41:39] hb_init: starting libhb thread
[14:41:39] hb_init: starting libhb thread
[14:41:39] hb_init: starting libhb thread

I;m guessing it has something to do with the Vulkan Device but it has me stumped.
Post Reply