radeonsi: VCE VA-API no accelerated encoding with mobile Radeon HD 8000M series (Mars)
System information
inxi -GSC -xx
System:
Host: hp-840-G1 Kernel: 5.15.0-92-generic x86_64 bits: 64 compiler: gcc
v: 11.4.0 Desktop: KDE Plasma 5.24.7 tk: Qt 5.15.3 wm: kwin_x11 dm: SDDM
Distro: Ubuntu 22.04.3 LTS (Jammy Jellyfish)
CPU:
Info: dual core model: Intel Core i7-4600U bits: 64 type: MT MCP
arch: Haswell rev: 1 cache: L1: 128 KiB L2: 512 KiB L3: 4 MiB
Speed (MHz): avg: 798 high: 799 min/max: 800/3300 cores: 1: 798 2: 798
3: 798 4: 799 bogomips: 21549
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel Haswell-ULT Integrated Graphics vendor: Hewlett-Packard
driver: i915 v: kernel ports: active: eDP-1
empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:0a16
Device-2: AMD Mars [Radeon HD 8730M] vendor: Hewlett-Packard
driver: radeon v: kernel pcie: speed: 5 GT/s lanes: 4 ports: active: none
empty: DP-3,DP-4 bus-ID: 03:00.0 chip-ID: 1002:6601
Device-3: Lite-On HP HD Webcam type: USB driver: uvcvideo bus-ID: 2-7:5
chip-ID: 04ca:7024
Display: x11 server: X.Org v: 1.21.1.4 compositor: kwin_x11 driver: X:
loaded: modesetting,radeon unloaded: fbdev,vesa alternate: ati gpu: i915
display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96
Monitor-1: eDP-1 model: AU Optronics res: 1920x1080 dpi: 158
diag: 354mm (13.9")
OpenGL: renderer: Mesa Intel HD Graphics 4400 (HSW GT2)
v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1 direct render: Yes
I have a laptop with dual graphics, primary GPU Intel HD 4400 and secondary AMD Radeon HD 8750M. I want to use my secondary AMD GPU for hardware accelerated encoding but vainfo does not show any encoding profiles although it is a GCN1.0 graphics chip and should have VCE1. Also ffmpeg throws an error message respectively when trying -hwaccel vaapi.
DRI_PRIME=1 LIBVA_DRIVER_NAME=radeonsi vainfo
libva info: VA-API version 1.14.0
libva info: User environment variable requested driver 'radeonsi'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.14 (libva 2.12.0)
vainfo: Driver version: Mesa Gallium driver 23.0.4-0ubuntu1~22.04.1 for OLAND (, LLVM 15.0.7, DRM 2.50, 5.15.0-92-generic)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
From [https://www.techpowerup.com/gpu-specs/radeon-hd-8750m.c1968]:
Generation: Sea Islands
Desktop Variant: Oland
Mobile Variant: Opal / Litho
Codename: Tiran
Graphics/Compute: GFX6 (gfx601)
Display Core Engine: 6.4
Unified Video Decoder: 4.0
*Video Compression Engine: 1.0*
CLRX: GCN 1.0
Just tell me whether you need any more information!