You are not logged in.

#1 2023-11-26 08:21:43

farnsworth
Member
From: /home/farnsworth
Registered: 2012-01-28
Posts: 28

[SOLVED] AMD GPU: VA-API/VDPAU which one should I install ?

Hello all,
I'm a bit lost with AMD GPU, I own a Ryzen 7 5800H with Radeon Graphics, "Zen 3" Core Architecture.
I have no idea and was not able to locate this information, which GPU comes with that chip.
according to https://wiki.archlinux.org/title/Hardwa … on#AMD/ATI I have two options:

AMD and ATI open-source drivers support both VA-API and VDPAU:

    VA-API on Radeon HD 2000 and newer GPUs is supported by libva-mesa-driver.
    VDPAU on Radeon R600 and newer GPUs is supported by mesa-vdpau.

Could you please help me choose the right one and maybe also understand the AMD GPU series ?
Thanks

Last edited by farnsworth (2023-11-26 18:30:23)

Offline

#2 2023-11-26 08:38:39

another
Member
Registered: 2023-11-26
Posts: 4

Re: [SOLVED] AMD GPU: VA-API/VDPAU which one should I install ?

Should be Vega. https://en.wikipedia.org/wiki/Radeon_RX … e_(2021)_2

VA-API should work. Not sure about VDPAU.

Offline

#3 2023-11-26 09:00:13

farnsworth
Member
From: /home/farnsworth
Registered: 2012-01-28
Posts: 28

Re: [SOLVED] AMD GPU: VA-API/VDPAU which one should I install ?

I will try it, thank you.

Offline

#4 2023-11-26 12:57:22

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,803

Re: [SOLVED] AMD GPU: VA-API/VDPAU which one should I install ?

VAAPI .

look at https://wiki.archlinux.org/title/Hardwa … son_tables and notice how little non-nvidia cards support on vdpau .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2023-11-26 18:29:32

farnsworth
Member
From: /home/farnsworth
Registered: 2012-01-28
Posts: 28

Re: [SOLVED] AMD GPU: VA-API/VDPAU which one should I install ?

Oh right, thank you
I tested VDPAU but it was, as expected (not from me wink ), failing, so I confirm VAAPI is the right one.
Thanks, closing this thread

Offline

#6 2023-11-26 19:55:44

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,999
Website

Re: [SOLVED] AMD GPU: VA-API/VDPAU which one should I install ?

farnsworth wrote:

I own a Ryzen 7 5800H with Radeon Graphics, "Zen 3" Core Architecture

You should be able to get both VA-API and VDPAU supported on that hardware.

farnsworth wrote:

I tested VDPAU but it was [...] failing

Try this in /etc/environment:

VDPAU_DRIVER=radeonsi

Then log out & back in again.


Jin, Jîyan, Azadî

Offline

#7 2023-11-26 21:14:45

farnsworth
Member
From: /home/farnsworth
Registered: 2012-01-28
Posts: 28

Re: [SOLVED] AMD GPU: VA-API/VDPAU which one should I install ?

Thank you, VDPAU is ok with the global variable.

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                    3 65536  4096  4096
MPEG2_MAIN                      3 65536  4096  4096
H264_BASELINE                  52 65536  4096  4096
H264_MAIN                      52 65536  4096  4096
H264_HIGH                      52 65536  4096  4096
VC1_SIMPLE                      1 65536  4096  4096
VC1_MAIN                        2 65536  4096  4096
VC1_ADVANCED                    4 65536  4096  4096
MPEG4_PART2_SP                  3 65536  4096  4096
MPEG4_PART2_ASP                 5 65536  4096  4096
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       0 65536  4096  4096
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                      186 139264  8192  4352
HEVC_MAIN_10                   186 139264  8192  4352
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:

name              width height nat types
----------------------------------------------------
B8G8R8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 P010 P016 I8A8 
R8G8B8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 P010 P016 I8A8 
R10G10B10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 P010 P016 I8A8 
B10G10R10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 P010 P016 I8A8 

Bitmap surface:

name              width height
------------------------------
B8G8R8A8         16384 16384
R8G8B8A8         16384 16384
R10G10B10A2      16384 16384
B10G10R10A2      16384 16384
A8               16384 16384

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     -
INVERSE_TELECINE                 -
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y
HIGH QUALITY SCALING - L1        y
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y        48     4096
VIDEO_SURFACE_HEIGHT             y        48     4096
CHROMA_TYPE                      y  
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y  
CSC_MATRIX                       y  
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y  
LUMA_KEY_MAX_LUMA                y  

I think I'll keep VAAPI as it seems more common for AMD GPU.

Trying display: wayland
vainfo: VA-API version: 1.20 (libva 2.20.0)
vainfo: Driver version: Mesa Gallium driver 23.2.1-arch1.2 for AMD Radeon Graphics (renoir, LLVM 16.0.6, DRM 3.54, 6.6.2-zen1-1-zen)
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
      VAProfileHEVCMain10             :	VAEntrypointEncSlice
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc

Last edited by farnsworth (2023-11-26 21:17:42)

Offline

Board footer

Powered by FluxBB