Jump to content

Can't enable VAAPI, ffdetect crashes while probing.


jackti
Go to solution Solved by jackti,

Recommended Posts

Hi,

I'm having problems configuring hardware acceleration (VAAPI) in Emby. ffdetect crashes on my machine.

My setup is this:

Threadripper 1950x, Arch Linux (5.10.7 kernel), Emby 4.5.4.0.

GPU0: RX570 (amdgpu(-pro) driver)

GPU1: Vega 64 (non-initialized, bound to VFIO driver)

 

Problem: When I navigate to my Emby Transcoding tab and click advanced, hardware encoders/decoders are both empty. 

 

embyserver.txt shows this:

Quote

2021-01-16 12:56:01.780 Info VaapiCodecProvider: ProcessRun 'ffdetect_vaencdec' Execute: /usr/bin/ffdetect-emby -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 vaencdec -print_format json 
2021-01-16 12:56:01.891 Info VaapiCodecProvider: ProcessRun 'ffdetect_vaencdec' Process exited with code 135
2021-01-16 12:56:01.943 Error VaapiCodecProvider: Error running ffdetect for vaencdec - ffdetect version 4.3.0-emby_2020_05_23 Copyright (c) 2018-2019 softworkz for Emby LLC
  built with gcc 8.3.0 (crosstool-NG 1.24.0)
  configuration: --cc=x86_64-unknown-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffdetect-x64/staging --pkg-config=pkg-config --disable-debug --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-vdpau --enable-vaapi --extra-libs='-ldrm -lva -lva-drm -ldl -lm -lpthread' --enable-libmfx --enable-cuda --enable-cuvid --enable-nvdec --enable-nvenc --enable-cross-compile --cross-prefix=x86_64-unknown-linux-gnu- --arch=x86_64 --target-os=linux --disable-shared --enable-static
  libavutil      56. 36.100 / 56. 36.100
Begin GetVaAdapterInfo
Found 72 device entries
Begin get_nodes
Found -1 drm entries
Begin get_nodes
Found 3 drm entries
End GetVaAdapterInfo

`vainfo` confirms the RX570 and skips the Vega 64, as it should:

Quote

$ vainfo
vainfo: VA-API version: 1.10 (libva 2.10.0)
vainfo: Driver version: Mesa Gallium driver 20.3.2 for Radeon RX 570 Series (POLARIS10, DRM 3.40.0, 5.10.7-arch1-1, LLVM 11.0.0)
vainfo: Supported profile and entrypoints
     VAProfileMPEG2Simple            : VAEntrypointVLD
     VAProfileMPEG2Main              : VAEntrypointVLD
     VAProfileVC1Simple              : VAEntrypointVLD
     VAProfileVC1Main                : VAEntrypointVLD
     VAProfileVC1Advanced            : VAEntrypointVLD
     VAProfileH264ConstrainedBaseline: VAEntrypointVLD
     VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
     VAProfileH264Main               : VAEntrypointVLD
     VAProfileH264Main               : VAEntrypointEncSlice
     VAProfileH264High               : VAEntrypointVLD
     VAProfileH264High               : VAEntrypointEncSlice
     VAProfileHEVCMain               : VAEntrypointVLD
     VAProfileHEVCMain               : VAEntrypointEncSlice
     VAProfileHEVCMain10             : VAEntrypointVLD
     VAProfileJPEGBaseline           : VAEntrypointVLD
     VAProfileNone                   : VAEntrypointVideoProc

When I just run `ffdetect-emby vaencdec` from CLI, it exits fine, even though it lists the Vega 64 as unusable:

Quote

$ ffdetect-emby vaencdec|more
ffdetect version 4.3.0-emby_2020_05_23 Copyright (c) 2018-2019 softworkz for Emby LLC
  built with gcc 8.3.0 (crosstool-NG 1.24.0)
  configuration: --cc=x86_64-unknown-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffdetect-x64/staging --pkg-config=pkg-config --disable-debug --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-vdpau --enable-vaapi --extra-libs='-ldrm -lva -lva-drm -ldl -lm -lpthread' --enable-libmfx --enable-cuda --enable-cuvid --enable-nvdec --enable-nvenc --enable-cross-compile --cross-prefix=x86_64-unknown-linux-gnu- --arch=x86_64 --target-os=linux --disable-shared --enable-static
  libavutil      56. 36.100 / 56. 36.100
[DEVICE]
DeviceIndex=0
DEVICEINFO:VendorName=Advanced Micro Devices, Inc. [AMD/ATI]
DEVICEINFO:DeviceName=Vega 10 XL/XT [Radeon RX Vega 56/64]
DEVICEINFO:SubsytemVendorName=Sapphire Technology Limited
DEVICEINFO:VendorId=4098
DEVICEINFO:DeviceId=26751
DEVICEINFO:SubsytemVendorId=7586
DEVICEINFO:SubsytemDeviceId=58230
DEVICEINFO:DevPath=/sys/bus/pci/devices/0000:0c:00.0
DEVICEINFO:DrmCard=d\s
DEVICEINFO:IsEnabled=0
DEVICEINFO:IsBootVga=0
DEVICEINFO:ERROR:Number=-1
DEVICEINFO:ERROR:Message=Failed to open the drm device (null)
[/DEVICE]
[DEVICE]
DeviceIndex=1
DEVICEINFO:VendorName=Advanced Micro Devices, Inc. [AMD/ATI]
DEVICEINFO:DeviceName=Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
DEVICEINFO:SubsytemVendorName=Gigabyte Technology Co., Ltd
DEVICEINFO:SubsytemDeviceName=Radeon RX 570
DEVICEINFO:VendorId=4098
DEVICEINFO:DeviceId=26591
DEVICEINFO:SubsytemVendorId=5208
DEVICEINFO:SubsytemDeviceId=8944
DEVICEINFO:DevPath=/sys/bus/pci/devices/0000:42:00.0
DEVICEINFO:DrmCard=/dev/dri/card0
DEVICEINFO:DrmRender=/dev/dri/renderD128
DEVICEINFO:IsEnabled=1
DEVICEINFO:IsBootVga=1
DEVICEINFO:ApiVersionMajor=1
DEVICEINFO:ApiVersionMinor=10
DEVICEINFO:Driver=Mesa Gallium driver 20.3.2 for Radeon RX 570 Series (POLARIS10, DRM 3.40.0, 5.1
0.7-arch1-1, LLVM 11.0.0)
CodecName=MPEG2VIDEO
CodecProfile=MPEG2_SIMPLE
CodecId=2
MaxWidth=4096
MaxHeight=4096
ColorFormats=NV12  
RTFormat=3
CodecName=MPEG2VIDEO
CodecProfile=MPEG2_MAIN
CodecId=2
MaxWidth=4096
MaxHeight=4096
ColorFormats=NV12  
RTFormat=3
CodecName=WMV3
CodecProfile=VC1_SIMPLE
CodecId=71
MaxWidth=4096
MaxHeight=4096
ColorFormats=NV12  
RTFormat=3
CodecName=VC1
CodecProfile=VC1_SIMPLE
CodecId=70
MaxWidth=4096
MaxHeight=4096
ColorFormats=NV12  
RTFormat=3
CodecName=WMV3
CodecProfile=VC1_MAIN
CodecId=71
MaxWidth=4096
MaxHeight=4096
ColorFormats=NV12  
RTFormat=3
CodecName=VC1
CodecProfile=VC1_MAIN
CodecId=70
MaxWidth=4096
MaxHeight=4096
ColorFormats=NV12  
RTFormat=3
CodecName=WMV3
CodecProfile=VC1_COMPLEX
CodecId=71
MaxWidth=4096
MaxHeight=4096
ColorFormats=NV12  
RTFormat=3
CodecName=WMV3
CodecProfile=VC1_ADVANCED
CodecId=71
MaxWidth=4096
MaxHeight=4096
ColorFormats=NV12  
RTFormat=3
CodecName=VC1
CodecProfile=VC1_COMPLEX
CodecId=70
MaxWidth=4096
MaxHeight=4096
ColorFormats=NV12  
RTFormat=3
CodecName=VC1
CodecProfile=VC1_ADVANCED
CodecId=70
MaxWidth=4096
MaxHeight=4096
ColorFormats=NV12  
RTFormat=3
CodecName=H264
CodecProfile=H264_CONSTRAINED_BASELINE
CodecId=27
MaxWidth=4096
MaxHeight=4096
ColorFormats=NV12  
RTFormat=3
CodecName=H264
CodecProfile=H264_MAIN
CodecId=27
MaxWidth=4096
MaxHeight=4096
ColorFormats=NV12  
RTFormat=3
CodecName=H264
CodecProfile=H264_HIGH
CodecId=27
MaxWidth=4096
MaxHeight=4096
ColorFormats=NV12  
RTFormat=3
CodecName=HEVC
CodecProfile=HEVC_MAIN
CodecId=173
MaxWidth=4096
MaxHeight=4096
ColorFormats=NV12  
RTFormat=3
CodecName=HEVC
CodecProfile=HEVC_MAIN_10
CodecId=173
MaxWidth=4096
MaxHeight=4096
ColorFormats=NV12 P010  
RTFormat=259
CodecName=MJPEG
CodecProfile=MJPEG_HUFFMAN_BASELINE_DCT
CodecId=7
MaxWidth=4096
MaxHeight=4096
ColorFormats=NV12  
RTFormat=3
CodecName=H264
CodecProfile=H264_CONSTRAINED_BASELINE
CodecId=27
MaxWidth=4096
MaxHeight=2304
ColorFormats=NV12 P010  
RTFormat=1
RateControl=22
EncPackedHeaders=1
EncMaxRefFrames=1
CodecName=H264
CodecProfile=H264_MAIN
CodecId=27
MaxWidth=4096
MaxHeight=2304
ColorFormats=NV12 P010  
RTFormat=1
RateControl=22
EncPackedHeaders=1
EncMaxRefFrames=1
CodecName=H264
CodecProfile=H264_HIGH
CodecId=27
MaxWidth=4096
MaxHeight=2304
ColorFormats=NV12 P010  
RTFormat=1
RateControl=22
EncPackedHeaders=1
EncMaxRefFrames=1
CodecName=HEVC
CodecProfile=HEVC_MAIN
CodecId=173
MaxWidth=4096
MaxHeight=2304
ColorFormats=NV12 P010  
RTFormat=1
RateControl=22
EncPackedHeaders=1
EncMaxRefFrames=1
[/DEVICE]
$

Running `ffdetect-emby -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 vaencdec -print_format json` is not fine. Here, ffdetect crashes, seemingly trying to probe the VFIO-bound Vega 64:

Quote

$ ffdetect-emby -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 vaencdec -print_format json
ffdetect version 4.3.0-emby_2020_05_23 Copyright (c) 2018-2019 softworkz for Emby LLC
  built with gcc 8.3.0 (crosstool-NG 1.24.0)
  configuration: --cc=x86_64-unknown-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffdetect-x64/staging --pkg-config=pkg-config --disable-debug --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-vdpau --enable-vaapi --extra-libs='-ldrm -lva -lva-drm -ldl -lm -lpthread' --enable-libmfx --enable-cuda --enable-cuvid --enable-nvdec --enable-nvenc --enable-cross-compile --cross-prefix=x86_64-unknown-linux-gnu- --arch=x86_64 --target-os=linux --disable-shared --enable-static
  libavutil      56. 36.100 / 56. 36.100
{
    "ProgramVersion": {
        "Version": "4.3.0-emby_2020_05_23",
        "Copyright": "Copyright (c) 2018-2019 softworkz for Emby Llc",
        "Compiler": "gcc 8.3.0 (crosstool-NG 1.24.0)",
        "Configuration": "--cc=x86_64-unknown-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffdetect-x64/staging --pkg-config=pkg-config --disable-debug --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-vdpau --enable-vaapi --extra-libs='-ldrm -lva -lva-drm -ldl -lm -lpthread' --enable-libmfx --enable-cuda --enable-cuvid --enable-nvdec --enable-nvenc --enable-cross-compile --cross-prefix=x86_64-unknown-linux-gnu- --arch=x86_64 --target-os=linux --disable-shared --enable-static"
    },
    "Devices": [
Begin GetVaAdapterInfo
Found 72 device entries
Begin get_nodes
Found -1 drm entries
Begin get_nodes
Found 3 drm entries
End GetVaAdapterInfo
        {
            "DeviceIndex": 0,
            "DeviceInfo": {
                "VendorName": "Advanced Micro Devices, Inc. [AMD/ATI]",
                "DeviceName": "Vega 10 XL/XT [Radeon RX Vega 56/64]",
                "SubsytemVendorName": "Sapphire Technology Limited",
                "VendorId": 4098,
                "DeviceId": 26751,
                "SubsytemVendorId": 7586,
                "SubsytemDeviceId": 58230,
                "DevPath": "/sys/bus/pci/devices/0000:0c:00.0",
Bus error (core dumped)
$

Edit: The flag that makes `ffdetect-emby` crash is "-show_log 40". If I remove that, it does not crash, and the output looks like this:
Edit2: Might this be related to the handling of the value "ʱ�\u0001" by the field "DrmCard:" where something like "/dev/dri/cardX" is expected? This is the exact line that is being processed when the error occurs (compare the above log with the log below).

Quote

$ ffdetect-emby -hide_banner -show_program_version -loglevel 48 -show_error  vaencdec -print_format json
ffdetect version 4.3.0-emby_2020_05_23 Copyright (c) 2018-2019 softworkz for Emby LLC
  built with gcc 8.3.0 (crosstool-NG 1.24.0)
  configuration: --cc=x86_64-unknown-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffdetect-x64/staging --pkg-config=pkg-config --disable-debug --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-vdpau --enable-vaapi --extra-libs='-ldrm -lva -lva-drm -ldl -lm -lpthread' --enable-libmfx --enable-cuda --enable-cuvid --enable-nvdec --enable-nvenc --enable-cross-compile --cross-prefix=x86_64-unknown-linux-gnu- --arch=x86_64 --target-os=linux --disable-shared --enable-static
  libavutil      56. 36.100 / 56. 36.100
{
    "ProgramVersion": {
        "Version": "4.3.0-emby_2020_05_23",
        "Copyright": "Copyright (c) 2018-2019 softworkz for Emby Llc",
        "Compiler": "gcc 8.3.0 (crosstool-NG 1.24.0)",
        "Configuration": "--cc=x86_64-unknown-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffdetect-x64/staging --pkg-config=pkg-config --disable-debug --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-vdpau --enable-vaapi --extra-libs='-ldrm -lva -lva-drm -ldl -lm -lpthread' --enable-libmfx --enable-cuda --enable-cuvid --enable-nvdec --enable-nvenc --enable-cross-compile --cross-prefix=x86_64-unknown-linux-gnu- --arch=x86_64 --target-os=linux --disable-shared --enable-static"
    },
    "Devices": [
Begin GetVaAdapterInfo
Found 72 device entries
Begin get_nodes
Found -1 drm entries
Begin get_nodes
Found 3 drm entries
End GetVaAdapterInfo
        {
            "DeviceIndex": 0,
            "DeviceInfo": {
                "VendorName": "Advanced Micro Devices, Inc. [AMD/ATI]",
                "DeviceName": "Vega 10 XL/XT [Radeon RX Vega 56/64]",
                "SubsytemVendorName": "Sapphire Technology Limited",
                "VendorId": 4098,
                "DeviceId": 26751,
                "SubsytemVendorId": 7586,
                "SubsytemDeviceId": 58230,
                "DevPath": "/sys/bus/pci/devices/0000:0c:00.0",
                "DrmCard": "ʱ�\u0001",
                "IsEnabled": 0,
                "IsBootVga": 0,
                "Error": {
                    "Number": -1,
                    "Message": "Failed to open the drm device (null)"
                }
            }
        },
        {
            "DeviceIndex": 1,
            "DeviceInfo": {
                "VendorName": "Advanced Micro Devices, Inc. [AMD/ATI]",
                "DeviceName": "Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]",
                "SubsytemVendorName": "Gigabyte Technology Co., Ltd",
                "SubsytemDeviceName": "Radeon RX 570",
                "VendorId": 4098,
                "DeviceId": 26591,
                "SubsytemVendorId": 5208,
                "SubsytemDeviceId": 8944,
                "DevPath": "/sys/bus/pci/devices/0000:42:00.0",
                "DrmCard": "/dev/dri/card0",
                "DrmRender": "/dev/dri/renderD128",
                "IsEnabled": 1,
/dev/dri/renderD128: VA-API version: 1.10 (libva 1.7.0)
                "IsBootVga": 1,
                "ApiVersionMajor": 1,
/dev/dri/renderD128: Driver version: Mesa Gallium driver 20.3.2 for Radeon RX 570 Series (POLARIS10, DRM 3.40.0, 5.10.7-arch1-1, LLVM 11.0.0)
                "ApiVersionMinor": 10,
                "Driver": "Mesa Gallium driver 20.3.2 for Radeon RX 570 Series (POLARIS10, DRM 3.40.0, 5.10.7-arch1-1, LLVM 11.0.0)"
            },
            "Decoders": [
                {
                    "CodecName": "MPEG2VIDEO",
                    "CodecProfile": "MPEG2_SIMPLE",
                    "CodecId": 2,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "MPEG2VIDEO",
                    "CodecProfile": "MPEG2_MAIN",
                    "CodecId": 2,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "WMV3",
                    "CodecProfile": "VC1_SIMPLE",
                    "CodecId": 71,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "VC1",
                    "CodecProfile": "VC1_SIMPLE",
                    "CodecId": 70,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "WMV3",
                    "CodecProfile": "VC1_MAIN",
                    "CodecId": 71,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "VC1",
                    "CodecProfile": "VC1_MAIN",
                    "CodecId": 70,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "WMV3",
                    "CodecProfile": "VC1_COMPLEX",
                    "CodecId": 71,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "WMV3",
                    "CodecProfile": "VC1_ADVANCED",
                    "CodecId": 71,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "VC1",
                    "CodecProfile": "VC1_COMPLEX",
                    "CodecId": 70,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "VC1",
                    "CodecProfile": "VC1_ADVANCED",
                    "CodecId": 70,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "H264",
                    "CodecProfile": "H264_CONSTRAINED_BASELINE",
                    "CodecId": 27,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "H264",
                    "CodecProfile": "H264_MAIN",
                    "CodecId": 27,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "H264",
                    "CodecProfile": "H264_HIGH",
                    "CodecId": 27,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "HEVC",
                    "CodecProfile": "HEVC_MAIN",
                    "CodecId": 173,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "HEVC",
                    "CodecProfile": "HEVC_MAIN_10",
                    "CodecId": 173,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 P010 ",
                    "RTFormat": 259
                },
                {
                    "CodecName": "MJPEG",
                    "CodecProfile": "MJPEG_HUFFMAN_BASELINE_DCT",
                    "CodecId": 7,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                }
            ],
            "Encoders": [
                {
                    "CodecName": "H264",
                    "CodecProfile": "H264_CONSTRAINED_BASELINE",
                    "CodecId": 27,
                    "MaxWidth": 4096,
                    "MaxHeight": 2304,
                    "ColorFormats": "NV12 P010 ",
                    "RTFormat": 1,
                    "RateControl": 22,
                    "EncPackedHeaders": 1,
                    "EncMaxRefFrames": 1
                },
                {
                    "CodecName": "H264",
                    "CodecProfile": "H264_MAIN",
                    "CodecId": 27,
                    "MaxWidth": 4096,
                    "MaxHeight": 2304,
                    "ColorFormats": "NV12 P010 ",
                    "RTFormat": 1,
                    "RateControl": 22,
                    "EncPackedHeaders": 1,
                    "EncMaxRefFrames": 1
                },
                {
                    "CodecName": "H264",
                    "CodecProfile": "H264_HIGH",
                    "CodecId": 27,
                    "MaxWidth": 4096,
                    "MaxHeight": 2304,
                    "ColorFormats": "NV12 P010 ",
                    "RTFormat": 1,
                    "RateControl": 22,
                    "EncPackedHeaders": 1,
                    "EncMaxRefFrames": 1
                },
                {
                    "CodecName": "HEVC",
                    "CodecProfile": "HEVC_MAIN",
                    "CodecId": 173,
                    "MaxWidth": 4096,
                    "MaxHeight": 2304,
                    "ColorFormats": "NV12 P010 ",
                    "RTFormat": 1,
                    "RateControl": 22,
                    "EncPackedHeaders": 1,
                    "EncMaxRefFrames": 1
                }
            ]
        }
    ]
}

 

Is there any way to fix or circumvent this problem?

embyserver.txt

Edited by jackti
Link to comment
Share on other sites

alucryd

I was having the same issue until I blacklisted the problematic card here (useless Aspeed chip). We will have a look, thanks for the report.

Link to comment
Share on other sites

  • 2 weeks later...

@softworkz Hi, no problem.

Here's the output of `ffdetect-emby -hide_banner -show_program_version -loglevel trace -show_error -show_log 40 vaencdec -print_format json`:

Quote

$ ffdetect-emby -hide_banner -show_program_version -loglevel trace -show_error -show_log 40 vaencdec -print_format json
ffdetect version 4.3.0-emby_2020_05_23 Copyright (c) 2018-2019 softworkz for Emby LLC
  built with gcc 8.3.0 (crosstool-NG 1.24.0)
  configuration: --cc=x86_64-unknown-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffdetect-x64/staging --pkg-config=pkg-config --disable-debug --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-vdpau --enable-vaapi --extra-libs='-ldrm -lva -lva-drm -ldl -lm -lpthread' --enable-libmfx --enable-cuda --enable-cuvid --enable-nvdec --enable-nvenc --enable-cross-compile --cross-prefix=x86_64-unknown-linux-gnu- --arch=x86_64 --target-os=linux --disable-shared --enable-static
  libavutil      56. 36.100 / 56. 36.100
{
    "ProgramVersion": {
        "Version": "4.3.0-emby_2020_05_23",
        "Copyright": "Copyright (c) 2018-2019 softworkz for Emby Llc",
        "Compiler": "gcc 8.3.0 (crosstool-NG 1.24.0)",
        "Configuration": "--cc=x86_64-unknown-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffdetect-x64/staging --pkg-config=pkg-config --disable-debug --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-vdpau --enable-vaapi --extra-libs='-ldrm -lva -lva-drm -ldl -lm -lpthread' --enable-libmfx --enable-cuda --enable-cuvid --enable-nvdec --enable-nvenc --enable-cross-compile --cross-prefix=x86_64-unknown-linux-gnu- --arch=x86_64 --target-os=linux --disable-shared --enable-static"
    },
    "Devices": [
Begin GetVaAdapterInfo
Found 72 device entries
Check device at index 0: /sys/bus/pci/devices/0000:00:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:00.0/class
Check device at index 1: /sys/bus/pci/devices/0000:00:00.2/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:00.2/class
Check device at index 2: /sys/bus/pci/devices/0000:00:01.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:01.0/class
Check device at index 3: /sys/bus/pci/devices/0000:00:01.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:01.1/class
Check device at index 4: /sys/bus/pci/devices/0000:00:02.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:02.0/class
Check device at index 5: /sys/bus/pci/devices/0000:00:03.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:03.0/class
Check device at index 6: /sys/bus/pci/devices/0000:00:03.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:03.1/class
Check device at index 7: /sys/bus/pci/devices/0000:00:04.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:04.0/class
Check device at index 8: /sys/bus/pci/devices/0000:00:07.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:07.0/class
Check device at index 9: /sys/bus/pci/devices/0000:00:07.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:07.1/class
Check device at index 10: /sys/bus/pci/devices/0000:00:08.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:08.0/class
Check device at index 11: /sys/bus/pci/devices/0000:00:08.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:08.1/class
Check device at index 12: /sys/bus/pci/devices/0000:00:14.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:14.0/class
Check device at index 13: /sys/bus/pci/devices/0000:00:14.3/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:14.3/class
Check device at index 14: /sys/bus/pci/devices/0000:00:18.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:18.0/class
Check device at index 15: /sys/bus/pci/devices/0000:00:18.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:18.1/class
Check device at index 16: /sys/bus/pci/devices/0000:00:18.2/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:18.2/class
Check device at index 17: /sys/bus/pci/devices/0000:00:18.3/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:18.3/class
Check device at index 18: /sys/bus/pci/devices/0000:00:18.4/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:18.4/class
Check device at index 19: /sys/bus/pci/devices/0000:00:18.5/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:18.5/class
Check device at index 20: /sys/bus/pci/devices/0000:00:18.6/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:18.6/class
Check device at index 21: /sys/bus/pci/devices/0000:00:18.7/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:18.7/class
Check device at index 22: /sys/bus/pci/devices/0000:00:19.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:19.0/class
Check device at index 23: /sys/bus/pci/devices/0000:00:19.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:19.1/class
Check device at index 24: /sys/bus/pci/devices/0000:00:19.2/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:19.2/class
Check device at index 25: /sys/bus/pci/devices/0000:00:19.3/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:19.3/class
Check device at index 26: /sys/bus/pci/devices/0000:00:19.4/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:19.4/class
Check device at index 27: /sys/bus/pci/devices/0000:00:19.5/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:19.5/class
Check device at index 28: /sys/bus/pci/devices/0000:00:19.6/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:19.6/class
Check device at index 29: /sys/bus/pci/devices/0000:00:19.7/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:19.7/class
Check device at index 30: /sys/bus/pci/devices/0000:01:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:01:00.0/class
Check device at index 31: /sys/bus/pci/devices/0000:01:00.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:01:00.1/class
Check device at index 32: /sys/bus/pci/devices/0000:01:00.2/class
Device is not a display controller: /sys/bus/pci/devices/0000:01:00.2/class
Check device at index 33: /sys/bus/pci/devices/0000:02:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:02:00.0/class
Check device at index 34: /sys/bus/pci/devices/0000:02:02.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:02:02.0/class
Check device at index 35: /sys/bus/pci/devices/0000:02:03.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:02:03.0/class
Check device at index 36: /sys/bus/pci/devices/0000:02:04.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:02:04.0/class
Check device at index 37: /sys/bus/pci/devices/0000:02:05.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:02:05.0/class
Check device at index 38: /sys/bus/pci/devices/0000:02:06.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:02:06.0/class
Check device at index 39: /sys/bus/pci/devices/0000:02:07.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:02:07.0/class
Check device at index 40: /sys/bus/pci/devices/0000:03:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:03:00.0/class
Check device at index 41: /sys/bus/pci/devices/0000:08:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:08:00.0/class
Check device at index 42: /sys/bus/pci/devices/0000:0a:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:0a:00.0/class
Check device at index 43: /sys/bus/pci/devices/0000:0b:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:0b:00.0/class
Check device at index 44: /sys/bus/pci/devices/0000:0c:00.0/class
Adding adapter '/sys/bus/pci/devices/0000:0c:00.0' - VendorId: 4098 DeviceId: 26751 - Subsystem: V: 7586, 😧 58230
GetDeviceName - Start
find_record: found: Advanced Micro Devices, Inc. [AMD/ATI]
       adapter '/sys/bus/pci/devices/0000:0c:00.0' - VendorName: Advanced Micro Devices, Inc. [AMD/ATI]
GetDeviceName - Start
find_record: found: Vega 10 XL/XT [Radeon RX Vega 56/64]
       adapter '/sys/bus/pci/devices/0000:0c:00.0' - DeviceName: Vega 10 XL/XT [Radeon RX Vega 56/64]
GetDeviceName - Start
find_record: found: Sapphire Technology Limited
       adapter '/sys/bus/pci/devices/0000:0c:00.0' - Subsystem VendorName: Sapphire Technology Limited
GetDeviceName - Start
find_record: no record found
find_record: no record found
       adapter '/sys/bus/pci/devices/0000:0c:00.0' - Subsystem DeviceName: (null)
Begin get_nodes
Found -1 drm entries
Check device at index 45: /sys/bus/pci/devices/0000:0c:00.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:0c:00.1/class
Check device at index 46: /sys/bus/pci/devices/0000:0d:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:0d:00.0/class
Check device at index 47: /sys/bus/pci/devices/0000:0d:00.2/class
Device is not a display controller: /sys/bus/pci/devices/0000:0d:00.2/class
Check device at index 48: /sys/bus/pci/devices/0000:0d:00.3/class
Device is not a display controller: /sys/bus/pci/devices/0000:0d:00.3/class
Check device at index 49: /sys/bus/pci/devices/0000:0e:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:0e:00.0/class
Check device at index 50: /sys/bus/pci/devices/0000:0e:00.2/class
Device is not a display controller: /sys/bus/pci/devices/0000:0e:00.2/class
Check device at index 51: /sys/bus/pci/devices/0000:0e:00.3/class
Device is not a display controller: /sys/bus/pci/devices/0000:0e:00.3/class
Check device at index 52: /sys/bus/pci/devices/0000:40:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:00.0/class
Check device at index 53: /sys/bus/pci/devices/0000:40:00.2/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:00.2/class
Check device at index 54: /sys/bus/pci/devices/0000:40:01.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:01.0/class
Check device at index 55: /sys/bus/pci/devices/0000:40:01.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:01.1/class
Check device at index 56: /sys/bus/pci/devices/0000:40:02.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:02.0/class
Check device at index 57: /sys/bus/pci/devices/0000:40:03.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:03.0/class
Check device at index 58: /sys/bus/pci/devices/0000:40:03.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:03.1/class
Check device at index 59: /sys/bus/pci/devices/0000:40:04.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:04.0/class
Check device at index 60: /sys/bus/pci/devices/0000:40:07.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:07.0/class
Check device at index 61: /sys/bus/pci/devices/0000:40:07.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:07.1/class
Check device at index 62: /sys/bus/pci/devices/0000:40:08.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:08.0/class
Check device at index 63: /sys/bus/pci/devices/0000:40:08.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:08.1/class
Check device at index 64: /sys/bus/pci/devices/0000:41:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:41:00.0/class
Check device at index 65: /sys/bus/pci/devices/0000:42:00.0/class
Adding adapter '/sys/bus/pci/devices/0000:42:00.0' - VendorId: 4098 DeviceId: 26591 - Subsystem: V: 5208, 😧 8944
GetDeviceName - Start
find_record: found: Advanced Micro Devices, Inc. [AMD/ATI]
       adapter '/sys/bus/pci/devices/0000:42:00.0' - VendorName: Advanced Micro Devices, Inc. [AMD/ATI]
GetDeviceName - Start
find_record: found: Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
       adapter '/sys/bus/pci/devices/0000:42:00.0' - DeviceName: Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
GetDeviceName - Start
find_record: found: Gigabyte Technology Co., Ltd
       adapter '/sys/bus/pci/devices/0000:42:00.0' - Subsystem VendorName: Gigabyte Technology Co., Ltd
GetDeviceName - Start
find_record: found: Radeon RX 570
       adapter '/sys/bus/pci/devices/0000:42:00.0' - Subsystem DeviceName: Radeon RX 570
Begin get_nodes
Found 3 drm entries
Found drm node '/dev/dri/card0'
Found drm node '/dev/dri/controlD64'
Found drm node '/dev/dri/renderD128'
Check device at index 66: /sys/bus/pci/devices/0000:42:00.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:42:00.1/class
Check device at index 67: /sys/bus/pci/devices/0000:43:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:43:00.0/class
Check device at index 68: /sys/bus/pci/devices/0000:43:00.2/class
Device is not a display controller: /sys/bus/pci/devices/0000:43:00.2/class
Check device at index 69: /sys/bus/pci/devices/0000:43:00.3/class
Device is not a display controller: /sys/bus/pci/devices/0000:43:00.3/class
Check device at index 70: /sys/bus/pci/devices/0000:44:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:44:00.0/class
Check device at index 71: /sys/bus/pci/devices/0000:44:00.2/class
Device is not a display controller: /sys/bus/pci/devices/0000:44:00.2/class
End GetVaAdapterInfo
        {
            "DeviceIndex": 0,
            "DeviceInfo": {
                "VendorName": "Advanced Micro Devices, Inc. [AMD/ATI]",
                "DeviceName": "Vega 10 XL/XT [Radeon RX Vega 56/64]",
                "SubsytemVendorName": "Sapphire Technology Limited",
                "VendorId": 4098,
                "DeviceId": 26751,
                "SubsytemVendorId": 7586,
                "SubsytemDeviceId": 58230,
                "DevPath": "/sys/bus/pci/devices/0000:0c:00.0",
Bus error (core dumped)
$

 

And this is `ffdetect-emby -hide_banner -show_program_version -loglevel trace -show_error vaencdec -print_format json` ("-show_log 40" removed):

Quote

$ ffdetect-emby -hide_banner -show_program_version -loglevel trace -show_error vaencdec -print_format json
ffdetect version 4.3.0-emby_2020_05_23 Copyright (c) 2018-2019 softworkz for Emby LLC
  built with gcc 8.3.0 (crosstool-NG 1.24.0)
  configuration: --cc=x86_64-unknown-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffdetect-x64/staging --pkg-config=pkg-config --disable-debug --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-vdpau --enable-vaapi --extra-libs='-ldrm -lva -lva-drm -ldl -lm -lpthread' --enable-libmfx --enable-cuda --enable-cuvid --enable-nvdec --enable-nvenc --enable-cross-compile --cross-prefix=x86_64-unknown-linux-gnu- --arch=x86_64 --target-os=linux --disable-shared --enable-static
  libavutil      56. 36.100 / 56. 36.100
{
    "ProgramVersion": {
        "Version": "4.3.0-emby_2020_05_23",
        "Copyright": "Copyright (c) 2018-2019 softworkz for Emby Llc",
        "Compiler": "gcc 8.3.0 (crosstool-NG 1.24.0)",
        "Configuration": "--cc=x86_64-unknown-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffdetect-x64/staging --pkg-config=pkg-config --disable-debug --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-vdpau --enable-vaapi --extra-libs='-ldrm -lva -lva-drm -ldl -lm -lpthread' --enable-libmfx --enable-cuda --enable-cuvid --enable-nvdec --enable-nvenc --enable-cross-compile --cross-prefix=x86_64-unknown-linux-gnu- --arch=x86_64 --target-os=linux --disable-shared --enable-static"
    },
    "Devices": [
Begin GetVaAdapterInfo
Found 72 device entries
Check device at index 0: /sys/bus/pci/devices/0000:00:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:00.0/class
Check device at index 1: /sys/bus/pci/devices/0000:00:00.2/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:00.2/class
Check device at index 2: /sys/bus/pci/devices/0000:00:01.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:01.0/class
Check device at index 3: /sys/bus/pci/devices/0000:00:01.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:01.1/class
Check device at index 4: /sys/bus/pci/devices/0000:00:02.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:02.0/class
Check device at index 5: /sys/bus/pci/devices/0000:00:03.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:03.0/class
Check device at index 6: /sys/bus/pci/devices/0000:00:03.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:03.1/class
Check device at index 7: /sys/bus/pci/devices/0000:00:04.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:04.0/class
Check device at index 8: /sys/bus/pci/devices/0000:00:07.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:07.0/class
Check device at index 9: /sys/bus/pci/devices/0000:00:07.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:07.1/class
Check device at index 10: /sys/bus/pci/devices/0000:00:08.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:08.0/class
Check device at index 11: /sys/bus/pci/devices/0000:00:08.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:08.1/class
Check device at index 12: /sys/bus/pci/devices/0000:00:14.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:14.0/class
Check device at index 13: /sys/bus/pci/devices/0000:00:14.3/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:14.3/class
Check device at index 14: /sys/bus/pci/devices/0000:00:18.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:18.0/class
Check device at index 15: /sys/bus/pci/devices/0000:00:18.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:18.1/class
Check device at index 16: /sys/bus/pci/devices/0000:00:18.2/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:18.2/class
Check device at index 17: /sys/bus/pci/devices/0000:00:18.3/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:18.3/class
Check device at index 18: /sys/bus/pci/devices/0000:00:18.4/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:18.4/class
Check device at index 19: /sys/bus/pci/devices/0000:00:18.5/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:18.5/class
Check device at index 20: /sys/bus/pci/devices/0000:00:18.6/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:18.6/class
Check device at index 21: /sys/bus/pci/devices/0000:00:18.7/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:18.7/class
Check device at index 22: /sys/bus/pci/devices/0000:00:19.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:19.0/class
Check device at index 23: /sys/bus/pci/devices/0000:00:19.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:19.1/class
Check device at index 24: /sys/bus/pci/devices/0000:00:19.2/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:19.2/class
Check device at index 25: /sys/bus/pci/devices/0000:00:19.3/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:19.3/class
Check device at index 26: /sys/bus/pci/devices/0000:00:19.4/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:19.4/class
Check device at index 27: /sys/bus/pci/devices/0000:00:19.5/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:19.5/class
Check device at index 28: /sys/bus/pci/devices/0000:00:19.6/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:19.6/class
Check device at index 29: /sys/bus/pci/devices/0000:00:19.7/class
Device is not a display controller: /sys/bus/pci/devices/0000:00:19.7/class
Check device at index 30: /sys/bus/pci/devices/0000:01:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:01:00.0/class
Check device at index 31: /sys/bus/pci/devices/0000:01:00.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:01:00.1/class
Check device at index 32: /sys/bus/pci/devices/0000:01:00.2/class
Device is not a display controller: /sys/bus/pci/devices/0000:01:00.2/class
Check device at index 33: /sys/bus/pci/devices/0000:02:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:02:00.0/class
Check device at index 34: /sys/bus/pci/devices/0000:02:02.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:02:02.0/class
Check device at index 35: /sys/bus/pci/devices/0000:02:03.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:02:03.0/class
Check device at index 36: /sys/bus/pci/devices/0000:02:04.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:02:04.0/class
Check device at index 37: /sys/bus/pci/devices/0000:02:05.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:02:05.0/class
Check device at index 38: /sys/bus/pci/devices/0000:02:06.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:02:06.0/class
Check device at index 39: /sys/bus/pci/devices/0000:02:07.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:02:07.0/class
Check device at index 40: /sys/bus/pci/devices/0000:03:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:03:00.0/class
Check device at index 41: /sys/bus/pci/devices/0000:08:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:08:00.0/class
Check device at index 42: /sys/bus/pci/devices/0000:0a:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:0a:00.0/class
Check device at index 43: /sys/bus/pci/devices/0000:0b:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:0b:00.0/class
Check device at index 44: /sys/bus/pci/devices/0000:0c:00.0/class
Adding adapter '/sys/bus/pci/devices/0000:0c:00.0' - VendorId: 4098 DeviceId: 26751 - Subsystem: V: 7586, 😧 58230
GetDeviceName - Start
find_record: found: Advanced Micro Devices, Inc. [AMD/ATI]
       adapter '/sys/bus/pci/devices/0000:0c:00.0' - VendorName: Advanced Micro Devices, Inc. [AMD/ATI]
GetDeviceName - Start
find_record: found: Vega 10 XL/XT [Radeon RX Vega 56/64]
       adapter '/sys/bus/pci/devices/0000:0c:00.0' - DeviceName: Vega 10 XL/XT [Radeon RX Vega 56/64]
GetDeviceName - Start
find_record: found: Sapphire Technology Limited
       adapter '/sys/bus/pci/devices/0000:0c:00.0' - Subsystem VendorName: Sapphire Technology Limited
GetDeviceName - Start
find_record: no record found
find_record: no record found
       adapter '/sys/bus/pci/devices/0000:0c:00.0' - Subsystem DeviceName: (null)
Begin get_nodes
Found -1 drm entries
Check device at index 45: /sys/bus/pci/devices/0000:0c:00.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:0c:00.1/class
Check device at index 46: /sys/bus/pci/devices/0000:0d:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:0d:00.0/class
Check device at index 47: /sys/bus/pci/devices/0000:0d:00.2/class
Device is not a display controller: /sys/bus/pci/devices/0000:0d:00.2/class
Check device at index 48: /sys/bus/pci/devices/0000:0d:00.3/class
Device is not a display controller: /sys/bus/pci/devices/0000:0d:00.3/class
Check device at index 49: /sys/bus/pci/devices/0000:0e:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:0e:00.0/class
Check device at index 50: /sys/bus/pci/devices/0000:0e:00.2/class
Device is not a display controller: /sys/bus/pci/devices/0000:0e:00.2/class
Check device at index 51: /sys/bus/pci/devices/0000:0e:00.3/class
Device is not a display controller: /sys/bus/pci/devices/0000:0e:00.3/class
Check device at index 52: /sys/bus/pci/devices/0000:40:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:00.0/class
Check device at index 53: /sys/bus/pci/devices/0000:40:00.2/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:00.2/class
Check device at index 54: /sys/bus/pci/devices/0000:40:01.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:01.0/class
Check device at index 55: /sys/bus/pci/devices/0000:40:01.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:01.1/class
Check device at index 56: /sys/bus/pci/devices/0000:40:02.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:02.0/class
Check device at index 57: /sys/bus/pci/devices/0000:40:03.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:03.0/class
Check device at index 58: /sys/bus/pci/devices/0000:40:03.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:03.1/class
Check device at index 59: /sys/bus/pci/devices/0000:40:04.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:04.0/class
Check device at index 60: /sys/bus/pci/devices/0000:40:07.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:07.0/class
Check device at index 61: /sys/bus/pci/devices/0000:40:07.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:07.1/class
Check device at index 62: /sys/bus/pci/devices/0000:40:08.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:08.0/class
Check device at index 63: /sys/bus/pci/devices/0000:40:08.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:40:08.1/class
Check device at index 64: /sys/bus/pci/devices/0000:41:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:41:00.0/class
Check device at index 65: /sys/bus/pci/devices/0000:42:00.0/class
Adding adapter '/sys/bus/pci/devices/0000:42:00.0' - VendorId: 4098 DeviceId: 26591 - Subsystem: V: 5208, 😧 8944
GetDeviceName - Start
find_record: found: Advanced Micro Devices, Inc. [AMD/ATI]
       adapter '/sys/bus/pci/devices/0000:42:00.0' - VendorName: Advanced Micro Devices, Inc. [AMD/ATI]
GetDeviceName - Start
find_record: found: Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
       adapter '/sys/bus/pci/devices/0000:42:00.0' - DeviceName: Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
GetDeviceName - Start
find_record: found: Gigabyte Technology Co., Ltd
       adapter '/sys/bus/pci/devices/0000:42:00.0' - Subsystem VendorName: Gigabyte Technology Co., Ltd
GetDeviceName - Start
find_record: found: Radeon RX 570
       adapter '/sys/bus/pci/devices/0000:42:00.0' - Subsystem DeviceName: Radeon RX 570
Begin get_nodes
Found 3 drm entries
Found drm node '/dev/dri/card0'
Found drm node '/dev/dri/controlD64'
Found drm node '/dev/dri/renderD128'
Check device at index 66: /sys/bus/pci/devices/0000:42:00.1/class
Device is not a display controller: /sys/bus/pci/devices/0000:42:00.1/class
Check device at index 67: /sys/bus/pci/devices/0000:43:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:43:00.0/class
Check device at index 68: /sys/bus/pci/devices/0000:43:00.2/class
Device is not a display controller: /sys/bus/pci/devices/0000:43:00.2/class
Check device at index 69: /sys/bus/pci/devices/0000:43:00.3/class
Device is not a display controller: /sys/bus/pci/devices/0000:43:00.3/class
Check device at index 70: /sys/bus/pci/devices/0000:44:00.0/class
Device is not a display controller: /sys/bus/pci/devices/0000:44:00.0/class
Check device at index 71: /sys/bus/pci/devices/0000:44:00.2/class
Device is not a display controller: /sys/bus/pci/devices/0000:44:00.2/class
End GetVaAdapterInfo
        {
            "DeviceIndex": 0,
            "DeviceInfo": {
                "VendorName": "Advanced Micro Devices, Inc. [AMD/ATI]",
                "DeviceName": "Vega 10 XL/XT [Radeon RX Vega 56/64]",
                "SubsytemVendorName": "Sapphire Technology Limited",
                "VendorId": 4098,
                "DeviceId": 26751,
                "SubsytemVendorId": 7586,
                "SubsytemDeviceId": 58230,
                "DevPath": "/sys/bus/pci/devices/0000:0c:00.0",
                "DrmCard": "_T",
                "IsEnabled": 0,
                "IsBootVga": 0,
                "Error": {
                    "Number": -1,
                    "Message": "Failed to open the drm device (null)"
                }
            }
        },
        {
            "DeviceIndex": 1,
            "DeviceInfo": {
                "VendorName": "Advanced Micro Devices, Inc. [AMD/ATI]",
                "DeviceName": "Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]",
                "SubsytemVendorName": "Gigabyte Technology Co., Ltd",
                "SubsytemDeviceName": "Radeon RX 570",
                "VendorId": 4098,
                "DeviceId": 26591,
                "SubsytemVendorId": 5208,
                "SubsytemDeviceId": 8944,
                "DevPath": "/sys/bus/pci/devices/0000:42:00.0",
                "DrmCard": "/dev/dri/card0",
                "DrmRender": "/dev/dri/renderD128",
                "IsEnabled": 1,
/dev/dri/renderD128: VA-API version: 1.10 (libva 1.7.0)
                "IsBootVga": 1,
                "ApiVersionMajor": 1,
/dev/dri/renderD128: Driver version: Mesa Gallium driver 20.3.3 for Radeon RX 570 Series (POLARIS10, DRM 3.40.0, 5.10.10-arch1-1, LLVM 11.0.1)
                "ApiVersionMinor": 10,
                "Driver": "Mesa Gallium driver 20.3.3 for Radeon RX 570 Series (POLARIS10, DRM 3.40.0, 5.10.10-arch1-1, LLVM 11.0.1)"
            },
            "Decoders": [
                {
                    "CodecName": "MPEG2VIDEO",
                    "CodecProfile": "MPEG2_SIMPLE",
                    "CodecId": 2,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "MPEG2VIDEO",
                    "CodecProfile": "MPEG2_MAIN",
                    "CodecId": 2,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "WMV3",
                    "CodecProfile": "VC1_SIMPLE",
                    "CodecId": 71,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "VC1",
                    "CodecProfile": "VC1_SIMPLE",
                    "CodecId": 70,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "WMV3",
                    "CodecProfile": "VC1_MAIN",
                    "CodecId": 71,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "VC1",
                    "CodecProfile": "VC1_MAIN",
                    "CodecId": 70,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "WMV3",
                    "CodecProfile": "VC1_COMPLEX",
                    "CodecId": 71,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "WMV3",
                    "CodecProfile": "VC1_ADVANCED",
                    "CodecId": 71,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "VC1",
                    "CodecProfile": "VC1_COMPLEX",
                    "CodecId": 70,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "VC1",
                    "CodecProfile": "VC1_ADVANCED",
                    "CodecId": 70,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "H264",
                    "CodecProfile": "H264_CONSTRAINED_BASELINE",
                    "CodecId": 27,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "H264",
                    "CodecProfile": "H264_MAIN",
                    "CodecId": 27,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "H264",
                    "CodecProfile": "H264_HIGH",
                    "CodecId": 27,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "HEVC",
                    "CodecProfile": "HEVC_MAIN",
                    "CodecId": 173,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                },
                {
                    "CodecName": "HEVC",
                    "CodecProfile": "HEVC_MAIN_10",
                    "CodecId": 173,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 P010 ",
                    "RTFormat": 259
                },
                {
                    "CodecName": "MJPEG",
                    "CodecProfile": "MJPEG_HUFFMAN_BASELINE_DCT",
                    "CodecId": 7,
                    "MaxWidth": 4096,
                    "MaxHeight": 4096,
                    "ColorFormats": "NV12 ",
                    "RTFormat": 3
                }
            ],
            "Encoders": [
                {
                    "CodecName": "H264",
                    "CodecProfile": "H264_CONSTRAINED_BASELINE",
                    "CodecId": 27,
                    "MaxWidth": 4096,
                    "MaxHeight": 2304,
                    "ColorFormats": "NV12 P010 ",
                    "RTFormat": 1,
                    "RateControl": 22,
                    "EncPackedHeaders": 1,
                    "EncMaxRefFrames": 1
                },
                {
                    "CodecName": "H264",
                    "CodecProfile": "H264_MAIN",
                    "CodecId": 27,
                    "MaxWidth": 4096,
                    "MaxHeight": 2304,
                    "ColorFormats": "NV12 P010 ",
                    "RTFormat": 1,
                    "RateControl": 22,
                    "EncPackedHeaders": 1,
                    "EncMaxRefFrames": 1
                },
                {
                    "CodecName": "H264",
                    "CodecProfile": "H264_HIGH",
                    "CodecId": 27,
                    "MaxWidth": 4096,
                    "MaxHeight": 2304,
                    "ColorFormats": "NV12 P010 ",
                    "RTFormat": 1,
                    "RateControl": 22,
                    "EncPackedHeaders": 1,
                    "EncMaxRefFrames": 1
                },
                {
                    "CodecName": "HEVC",
                    "CodecProfile": "HEVC_MAIN",
                    "CodecId": 173,
                    "MaxWidth": 4096,
                    "MaxHeight": 2304,
                    "ColorFormats": "NV12 P010 ",
                    "RTFormat": 1,
                    "RateControl": 22,
                    "EncPackedHeaders": 1,
                    "EncMaxRefFrames": 1
                }
            ]
        }
    ]
}
$

 

Edited by jackti
  • Like 1
Link to comment
Share on other sites

Thanks a lot for posting that information. It allowed me to find the most probable cause.

The fix will be in the next beta.

Thank you very much for reporting!

Link to comment
Share on other sites

That sounds very promising. I'm on the stable version, but I'll pick up a new beta when it comes out and have a look. 

Glad I could be of help.

Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...