You are not logged in.

#1 2023-08-15 08:25:55

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 876

[SOLVED] Setup hardware video decode on AMD Oland chip

I recently bought an AMD graphics card, with an Oland chip:

$ lspci | grep AMD
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Oland [Radeon HD 8570 / R5 430 OEM / R7 240/340 / Radeon 520 OEM] (rev 87)

It should support hardware decode for both VDPAU and VA-API with its UVD 4.0 engine, so I installed `mesa-vdpau` and `libva-mesa-driver` as suggested by the wiki. But the verification steps give me these results:

$ vdpauinfo
display: :0   screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0

Video surface:

name   width height types
-------------------------------------------
420    16384 16384  NV12 YV12 
422    16384 16384  UYVY YUYV 
444    16384 16384  Y8U8V8A8 V8U8Y8A8 
420_16 16384 16384  
422_16 16384 16384  
444_16 16384 16384  

Decoder capabilities:

name                        level macbs width height
----------------------------------------------------
MPEG1                          --- not supported ---
MPEG2_SIMPLE                   --- not supported ---
MPEG2_MAIN                     --- not supported ---
H264_BASELINE                  --- not supported ---
H264_MAIN                      --- not supported ---
H264_HIGH                      --- not supported ---
VC1_SIMPLE                     --- not supported ---
VC1_MAIN                       --- not supported ---
VC1_ADVANCED                   --- not supported ---
MPEG4_PART2_SP                 --- not supported ---
MPEG4_PART2_ASP                --- not supported ---
DIVX4_QMOBILE                  --- not supported ---
DIVX4_MOBILE                   --- not supported ---
DIVX4_HOME_THEATER             --- not supported ---
DIVX4_HD_1080P                 --- not supported ---
DIVX5_QMOBILE                  --- not supported ---
DIVX5_MOBILE                   --- not supported ---
DIVX5_HOME_THEATER             --- not supported ---
DIVX5_HD_1080P                 --- not supported ---
H264_CONSTRAINED_BASELINE      --- not supported ---
H264_EXTENDED                  --- not supported ---
H264_PROGRESSIVE_HIGH          --- not supported ---
H264_CONSTRAINED_HIGH          --- not supported ---
H264_HIGH_444_PREDICTIVE       --- not supported ---
VP9_PROFILE_0                  --- not supported ---
VP9_PROFILE_1                  --- not supported ---
VP9_PROFILE_2                  --- not supported ---
VP9_PROFILE_3                  --- not supported ---
HEVC_MAIN                      --- not supported ---
HEVC_MAIN_10                   --- not supported ---
HEVC_MAIN_STILL                --- not supported ---
HEVC_MAIN_12                   --- not supported ---
HEVC_MAIN_444                  --- not supported ---
HEVC_MAIN_444_10               --- not supported ---
HEVC_MAIN_444_12               --- not supported ---
AV1_MAIN                       --- not supported ---
AV1_HIGH                       --- not supported ---
AV1_PROFESSIONAL               --- not supported ---

Output surface:
 . . .

$ vainfo
Trying display: wayland
Trying display: x11
vainfo: VA-API version: 1.19 (libva 2.19.0)
vainfo: Driver version: Mesa Gallium driver 23.1.5 for OLAND (, LLVM 15.0.7, DRM 2.50, 6.4.10-arch1-1)
vainfo: Supported profile and entrypoints
      VAProfileNone                   : VAEntrypointVideoProc

which make me think that hardware decode does not work, but I cannot figure out what's wrong. Any ideas?
Thank you

Last edited by snack (2023-08-15 09:04:02)

Offline

#2 2023-08-15 08:48:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,774

Re: [SOLVED] Setup hardware video decode on AMD Oland chip

You probably/potentially want to switch to amdgpu and check again: https://wiki.archlinux.org/title/AMDGPU … K)_support

Offline

#3 2023-08-15 09:03:29

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 876

Re: [SOLVED] Setup hardware video decode on AMD Oland chip

With the amdgpu kernel module the VDPAU and VA-API diagnostics seem fine. Thanks V1del for your suggestion. Just another question: I get this error in dmesg:

[    6.698308] kfd kfd: amdgpu: OLAND  not supported in kfd

Is this something to worry about? Everything seems to work fine so I'd say no...

Offline

#4 2023-08-15 10:26:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,774

Re: [SOLVED] Setup hardware video decode on AMD Oland chip

No, this "simply" means it won't be supported by the ROCM stack: https://wiki.archlinux.org/title/AMDGPU … ted_in_kfd

Offline

Board footer

Powered by FluxBB