---
title: "Hardware acceleration on a 2020 iMac, checked properly"
url: https://endomint.com/p/8wFyDEaeRYBcvxh0ciAqnw/hardware-acceleration-on-a-2020-imac-checked-properly
published: 2026-11-23
updated: 2026-11-23
tags: ["amdgpu", "hyprland", "imac", "mpv", "omarchy", "radeon", "vaapi", "vulkan"]
---

# Hardware acceleration on a 2020 iMac, checked properly

The 2020 iMac on my desk has a Radeon Pro 5300 in it, and mpv was decoding video in software while every other app on the desktop used the GPU. The silicon was never the problem. The configuration was.

The machine is not exotic: an iMac20,1 with Navi 14 graphics, running [Omarchy](https://omarchy.org/) on Hyprland. What follows is the check I ran to find out whether the graphics stack was really on the GPU, and the configuration that was quietly wrong.

## What the kernel says

Start at the kernel, because a GPU that is not driving the display is not doing the work, whatever the userspace tools claim.

| Check | Result |
| :-: | :-: |
| PCI device | `03:00.0` Navi 14, Radeon Pro 5300, `1002:7340` |
| Driver | `amdgpu 3.64.0` on kernel `7.2.11` |
| Command line | `amdgpu.modeset=1 video=efifb:off` |
| Memory | 4080M GDDR6, 128-bit, plus 32070M GTT |
| Display | `eDP-1` connected and enabled, the three DP outputs disconnected |
| Link | PCIe 8.0 GT/s x16 |
| Load | `gpu_busy_percent` at 27 and then 61 on two samples, core clock in the 500Mhz state with the 1650Mhz boost state available |

No GPU hang, no ring timeout, no reset since boot. The SMU initialised cleanly, the display engine came up on DCN 2.0, and the kernel registered five planes and a framebuffer for the 5K panel.

## What the userspace stacks report

`vainfo` comes back as Mesa Gallium on radeonsi, navi14, with VA-API 1.24:

| Direction | Profiles |
| :-: | :-: |
| Decode | H.264 (ConstrainedBaseline, Main, High), HEVC Main and Main10, VP9 Profile 0 and 2, MPEG-2, VC-1, JPEG baseline |
| Encode | H.264, HEVC Main and Main10, all through `VAEntrypointEncSlice` |

`vulkaninfo` lists two devices. GPU0 is `AMD Radeon Graphics (RADV NAVI14)`, Mesa 26.3.1, `PHYSICAL_DEVICE_TYPE_DISCRETE_GPU`. GPU1 is llvmpipe, reported as a CPU device, which is the loader's software fallback and nothing on this desktop is using it.

The compositor is the part worth checking, because a desktop rendering through llvmpipe still looks like a desktop. Hyprland maps `libEGL_mesa`, `libgallium`, `libdrm_amdgpu` and `dri_gbm`, and there is not one `llvmpipe` or `swrast` entry in its memory maps. On the DRI nodes, `lsof` shows Hyprland, Xwayland, Chrome, Telegram and the rest holding `/dev/dri/renderD128`, with Chrome's GPU process pointed straight at it.

## The app that was quietly wrong

mpv was decoding in software, and it said nothing about it.

Its config carried two settings that mpv 0.42 rejects. `gpu-device=/dev/dri/renderD128` comes back as "option not found", and `hwdec=auto-safe-vaapi` comes back as an unsupported hardware decode name. Neither stops the video from playing, which is why it went unnoticed for as long as it did.

The config now reads:

```ini
vo=gpu-next
gpu-context=wayland
hwdec=auto-safe
```

`auto-safe` is a real name, and on this machine it resolves to VA-API. mpv reports `Using hardware decoding (vaapi)` and renders through the gpu-next Vulkan path.

## The one thing the hardware cannot do

AV1 is the capability that is simply absent. Navi 14 has no AV1 block, and the kernel reports the VCN firmware at ENC 1.24 and DEC 8 with no AV1 level. Every AV1 stream will be decoded in software, and no configuration changes that.

## The quiet failure mode

Permissions are the other thing that can go wrong. `/dev/dri/card1` belongs to `root:video` with an ACL granting my user account read and write, and `/dev/dri/renderD128` is world writable. My account is in neither the `video` nor the `render` group, so the access comes entirely from that ACL. Rebuild this machine without it and VA-API, Vulkan and Chrome carry on working right up until they quietly do not.

The hardware has been fine since 2020. The ACL is the part that can change without anyone noticing, because a reinstall is the likeliest way to lose it.
