Enable hardware on AMD Radeon R5 graphics?

edwin@atopnuc:~$ update-alternatives --list /etc/vulkan/icd.d/amd_icd64.json
update-alternatives: error: alternative name (/etc/vulkan/icd.d/amd_icd64.json) must not contain '/' and spaces
edwin@atopnuc:~$

Hmm maybe

update-alternatives --list amd_icd64.json

edwin@atopnuc:~$ update-alternatives --list amd_icd64.json
/opt/amdgpu-pro/etc/vulkan/icd.d/amd_icd64.json
edwin@atopnuc:~$

Hm not sure.

Try:

sudo apt install vulkan-utils
vulkaninfo

edwin@atopnuc:~$ sudo apt install vulkan-utils
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package vulkan-utils
edwin@atopnuc:~$ vulkaninfo
WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 0.  Skipping ICD.
Cannot create Vulkan instance.
This problem is often caused by a faulty installation of the Vulkan driver or attempting to use a GPU that does not support Vulkan.
ERROR at ./vulkaninfo/vulkaninfo.h:649:vkCreateInstance failed with ERROR_INCOMPATIBLE_DRIVER
edwin@atopnuc:~$

This is where I stand now ... no hurry as this is just a test PC ,,,, Some of my PC Clientele use AMD that is the main reason I got it to add to my test system.

amf
[Parsed_color_0 @ 0x2796bc0] size:640x480 rate:25/1 duration:-1.000000 sar:1/1
Input #0, lavfi, from 'color=black:640x480':
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Video: rawvideo, 1 reference frame (I420 / 0x30323449), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_amf))
Press [q] to stop, [?] for help
[graph 0 input from stream 0:0 @ 0x27c6d80] w:640 h:480 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1
[h264_amf @ 0x27c2f00] DLL libamfrt64.so.1 failed to open
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!

Emby Hardware works tthey use

VAAPI Stoney Radeon R2/R3/R4/R5 Graphics - MPEG-2
VC-1

VAAPI Stoney Radeon R2/R3/R4/R5 Graphics - VC-1
H.264 (AVC)

VAAPI Stoney Radeon R2/R3/R4/R5 Graphics - H.264 (AVC)
H.265 (HEVC)

VAAPI Stoney Radeon R2/R3/R4/R5 Graphics - H.265 (HEVC)
Preferred Hardware Encoders
H.264 (AVC)

VAAPI Stoney Radeon R2/R3/R4/R5 Graphics - H.264 (AVC)

eblieb@M715Q-Ubuntu:~$ vulkaninfoWARNING: [Loader Message] Code 0 : terminat - Pastebin.com Here is my vulkaninfo... seems everything is fine but ChannelsDVR is still failing hardware scans.

Think I finally got it working... DO NOT install the 5.6 drivers (the ones on the AMD website). They do not contain the proprietary support files. Manually change the source.list.d to point to 5.5.2 for all the lists (Amdgpu, amdgpu-proprietary and rocm). Then manually force the components (including DKMS) to install