I recently bought a Radion RX580 and installed it. It plays video just fine. However I can't get it to use hardware acceleration. First I tried the proprietary AMD drivers, but none of the video editing programs I have installed show no hardware acceleration available. I used to have an Nvidia card. When I opened Handbrake and chose a codec for encoding the video, I saw something like h.264_nvenc. But now I get nothing comparable for the Radeon card. I first installed the AMD Proprietary drivers, but that was a headache. I followed their instructions but nothing worked. Then I got rid of them and tried the open source route. I went to install xserver-xorg-video-amdgpu but since the card was installed before the AMD divers were installed, it was already there. Next I installed mesa-va-drivers and vdpau-driver-all. I still have no hardware acceleration. Transcoding a video used up around 98% of the CPU. I know the card is ok because I also installed the AMD drivers in windows 10 and the hardware acceleration works great. Transcoding the same video uses 1 to 2% of the CPU. Can anyone help please? Some details about my setup are below. Thanks for any pointers you send my way.
Dell Optiplex 7010 with an Intel i5-3570 CPU @ 3.40GHz and 32GB RAM
OS Kubuntu 22.04
Graphics card data
$ sudo lshw -numeric -C display
*-display
description: VGA compatible controller
product: Polaris 20 XL [Radeon RX 580 2048SP] [1002:6FDF]
vendor: Advanced Micro Devices, Inc. [AMD/ATI] [1002]
physical id: 0
bus info: pci@0000:01:00.0
logical name: /dev/fb0
version: ef
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=amdgpu latency=0 resolution=1920,1080
resources: irq:30 memory:e0000000-efffffff memory:f0000000-f01fffff ioport:e000(size=256) memory:f7e00000-f7e3ffff memory:c0000-dffff
Dell Optiplex 7010 with an Intel i5-3570 CPU @ 3.40GHz and 32GB RAM
OS Kubuntu 22.04
Graphics card data
$ sudo lshw -numeric -C display
*-display
description: VGA compatible controller
product: Polaris 20 XL [Radeon RX 580 2048SP] [1002:6FDF]
vendor: Advanced Micro Devices, Inc. [AMD/ATI] [1002]
physical id: 0
bus info: pci@0000:01:00.0
logical name: /dev/fb0
version: ef
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=amdgpu latency=0 resolution=1920,1080
resources: irq:30 memory:e0000000-efffffff memory:f0000000-f01fffff ioport:e000(size=256) memory:f7e00000-f7e3ffff memory:c0000-dffff
Comment